Go to the documentation of this file.
20 #define DEBUG_TYPE "bpf-subtarget"
22 #define GET_SUBTARGETINFO_TARGET_DESC
23 #define GET_SUBTARGETINFO_CTOR
24 #include "BPFGenSubtargetInfo.inc"
26 void BPFSubtarget::anchor() {}
30 initializeEnvironment();
31 initSubtargetFeatures(CPU,
FS);
36 void BPFSubtarget::initializeEnvironment() {
46 if (CPU ==
"generic" || CPU ==
"v1")
63 FrameLowering(initializeSubtargetDependencies(CPU,
FS)),
This is an optimization pass for GlobalISel generic memory operations.
Triple - Helper class for working with autoconf configuration names.
BPFSubtarget & initializeSubtargetDependencies(StringRef CPU, StringRef FS)
void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS)
BPFSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM)
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.
Analysis the ScalarEvolution expression for r is this
StringRef getHostCPUNameForBPF()
const char LLVMTargetMachineRef TM