LLVM 20.0.0git
|
#include "BPFISelLowering.h"
#include "BPF.h"
#include "BPFSubtarget.h"
#include "BPFTargetMachine.h"
#include "llvm/CodeGen/CallingConvLower.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include "BPFGenCallingConv.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "bpf-lower" |
#define | SET_NEWCC(X, Y) |
Functions | |
static void | fail (const SDLoc &DL, SelectionDAG &DAG, const Twine &Msg, SDValue Val={}) |
static void | NegateCC (SDValue &LHS, SDValue &RHS, ISD::CondCode &CC) |
static SDValue | getTargetNode (GlobalAddressSDNode *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, unsigned Flags) |
static SDValue | getTargetNode (ConstantPoolSDNode *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, unsigned Flags) |
Variables | |
static cl::opt< bool > | BPFExpandMemcpyInOrder ("bpf-expand-memcpy-in-order", cl::Hidden, cl::init(false), cl::desc("Expand memcpy into load/store pairs in order")) |
#define DEBUG_TYPE "bpf-lower" |
Definition at line 34 of file BPFISelLowering.cpp.
|
static |
Definition at line 40 of file BPFISelLowering.cpp.
Referenced by checkAsyncContextProjectFunction(), checkAsyncFuncPointer(), checkConstantInt(), llvm::CoroAsyncEndInst::checkWellFormed(), checkWFAlloc(), checkWFDealloc(), and checkWFRetconPrototype().
|
static |
Definition at line 700 of file BPFISelLowering.cpp.
References llvm::SelectionDAG::getTargetConstantPool(), and N.
|
static |
Definition at line 695 of file BPFISelLowering.cpp.
References DL, llvm::SelectionDAG::getTargetGlobalAddress(), and N.
|
static |
Definition at line 613 of file BPFISelLowering.cpp.
References CC, llvm::ISD::getSetCCSwappedOperands(), LHS, RHS, llvm::ISD::SETLE, llvm::ISD::SETLT, llvm::ISD::SETULE, llvm::ISD::SETULT, and std::swap().
|
static |
Referenced by llvm::BPFTargetLowering::BPFTargetLowering().