21 #define DEBUG_TYPE "bpf-subtarget" 23 #define GET_SUBTARGETINFO_TARGET_DESC 24 #define GET_SUBTARGETINFO_CTOR 25 #include "BPFGenSubtargetInfo.inc" 27 void BPFSubtarget::anchor() {}
31 initializeEnvironment();
32 initSubtargetFeatures(CPU, FS);
37 void BPFSubtarget::initializeEnvironment() {
46 if (CPU ==
"generic" || CPU ==
"v1")
This class represents lattice values for constants.
void ParseSubtargetFeatures(StringRef CPU, StringRef FS)
BPFSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM)
StringRef getHostCPUNameForBPF()
BPFSubtarget & initializeSubtargetDependencies(StringRef CPU, StringRef FS)
Triple - Helper class for working with autoconf configuration names.
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.