LLVM 20.0.0git
Macros | Variables
BPFSubtarget.cpp File Reference
#include "BPFSubtarget.h"
#include "BPF.h"
#include "BPFTargetMachine.h"
#include "GISel/BPFCallLowering.h"
#include "GISel/BPFLegalizerInfo.h"
#include "GISel/BPFRegisterBankInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/TargetParser/Host.h"
#include "BPFGenSubtargetInfo.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "bpf-subtarget"
 
#define GET_SUBTARGETINFO_TARGET_DESC
 
#define GET_SUBTARGETINFO_CTOR
 

Variables

static cl::opt< boolDisable_ldsx ("disable-ldsx", cl::Hidden, cl::init(false), cl::desc("Disable ldsx insns"))
 
static cl::opt< boolDisable_movsx ("disable-movsx", cl::Hidden, cl::init(false), cl::desc("Disable movsx insns"))
 
static cl::opt< boolDisable_bswap ("disable-bswap", cl::Hidden, cl::init(false), cl::desc("Disable bswap insns"))
 
static cl::opt< boolDisable_sdiv_smod ("disable-sdiv-smod", cl::Hidden, cl::init(false), cl::desc("Disable sdiv/smod insns"))
 
static cl::opt< boolDisable_gotol ("disable-gotol", cl::Hidden, cl::init(false), cl::desc("Disable gotol insn"))
 
static cl::opt< boolDisable_StoreImm ("disable-storeimm", cl::Hidden, cl::init(false), cl::desc("Disable BPF_ST (immediate store) insn"))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "bpf-subtarget"

Definition at line 24 of file BPFSubtarget.cpp.

◆ GET_SUBTARGETINFO_CTOR

#define GET_SUBTARGETINFO_CTOR

Definition at line 27 of file BPFSubtarget.cpp.

◆ GET_SUBTARGETINFO_TARGET_DESC

#define GET_SUBTARGETINFO_TARGET_DESC

Definition at line 26 of file BPFSubtarget.cpp.

Variable Documentation

◆ Disable_bswap

cl::opt< bool > Disable_bswap("disable-bswap", cl::Hidden, cl::init(false), cl::desc("Disable bswap insns")) ( "disable-bswap"  ,
cl::Hidden  ,
cl::init(false)  ,
cl::desc("Disable bswap insns")   
)
static

◆ Disable_gotol

cl::opt< bool > Disable_gotol("disable-gotol", cl::Hidden, cl::init(false), cl::desc("Disable gotol insn")) ( "disable-gotol"  ,
cl::Hidden  ,
cl::init(false)  ,
cl::desc("Disable gotol insn")   
)
static

◆ Disable_ldsx

cl::opt< bool > Disable_ldsx("disable-ldsx", cl::Hidden, cl::init(false), cl::desc("Disable ldsx insns")) ( "disable-ldsx"  ,
cl::Hidden  ,
cl::init(false)  ,
cl::desc("Disable ldsx insns")   
)
static

◆ Disable_movsx

cl::opt< bool > Disable_movsx("disable-movsx", cl::Hidden, cl::init(false), cl::desc("Disable movsx insns")) ( "disable-movsx"  ,
cl::Hidden  ,
cl::init(false)  ,
cl::desc("Disable movsx insns")   
)
static

◆ Disable_sdiv_smod

cl::opt< bool > Disable_sdiv_smod("disable-sdiv-smod", cl::Hidden, cl::init(false), cl::desc("Disable sdiv/smod insns")) ( "disable-sdiv-smod"  ,
cl::Hidden  ,
cl::init(false)  ,
cl::desc("Disable sdiv/smod insns")   
)
static

◆ Disable_StoreImm

cl::opt< bool > Disable_StoreImm("disable-storeimm", cl::Hidden, cl::init(false), cl::desc("Disable BPF_ST (immediate store) insn")) ( "disable-storeimm"  ,
cl::Hidden  ,
cl::init(false)  ,
cl::desc("Disable BPF_ST (immediate store) insn")   
)
static