LLVM  10.0.0svn
Macros | Functions | Variables
BPFISelLowering.cpp File Reference
#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/SelectionDAGISel.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/raw_ostream.h"
#include "BPFGenCallingConv.inc"
Include dependency graph for BPFISelLowering.cpp:

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)
 
static void fail (const SDLoc &DL, SelectionDAG &DAG, const char *Msg, SDValue Val)
 
static void NegateCC (SDValue &LHS, SDValue &RHS, ISD::CondCode &CC)
 

Variables

static cl::opt< boolBPFExpandMemcpyInOrder ("bpf-expand-memcpy-in-order", cl::Hidden, cl::init(false), cl::desc("Expand memcpy into load/store pairs in order"))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "bpf-lower"

Definition at line 33 of file BPFISelLowering.cpp.

◆ SET_NEWCC

#define SET_NEWCC (   X,
  Y 
)
Value:
case ISD::X: \
if (is32BitCmp && HasJmp32) \
NewCC = isSelectRROp ? BPF::Y##_rr_32 : BPF::Y##_ri_32; \
else \
NewCC = isSelectRROp ? BPF::Y##_rr : BPF::Y##_ri; \
break
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml", "ocaml 3.10-compatible collector")

Referenced by llvm::BPFTargetLowering::EmitInstrWithCustomInserter().

Function Documentation

◆ fail() [1/2]

static void fail ( const SDLoc DL,
SelectionDAG DAG,
const Twine Msg 
)
static

◆ fail() [2/2]

static void fail ( const SDLoc DL,
SelectionDAG DAG,
const char Msg,
SDValue  Val 
)
static

◆ NegateCC()

static void NegateCC ( SDValue LHS,
SDValue RHS,
ISD::CondCode CC 
)
static

Variable Documentation

◆ BPFExpandMemcpyInOrder

cl::opt<bool> BPFExpandMemcpyInOrder("bpf-expand-memcpy-in-order", cl::Hidden, cl::init(false), cl::desc("Expand memcpy into load/store pairs in order"))
static