LLVM: lib/Target/BPF/TargetInfo/BPFTargetInfo.cpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
12
13using namespace llvm;
14
16 static Target TheBPFleTarget;
17 return TheBPFleTarget;
18}
20 static Target TheBPFbeTarget;
21 return TheBPFbeTarget;
22}
24 static Target TheBPFTarget;
25 return TheBPFTarget;
26}
27
32 true);
36 "BPF (big endian)", "BPF");
37}
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeBPFTargetInfo()
Definition BPFTargetInfo.cpp:29
#define LLVM_EXTERNAL_VISIBILITY
static TableGen::Emitter::Opt Y("gen-skeleton-entry", EmitSkeleton, "Generate example skeleton entry")
static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")
Target - Wrapper for Target specific information.
This is an optimization pass for GlobalISel generic memory operations.
Target & getTheBPFleTarget()
Definition BPFTargetInfo.cpp:15
Target & getTheBPFbeTarget()
Definition BPFTargetInfo.cpp:19
Target & getTheBPFTarget()
Definition BPFTargetInfo.cpp:23
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...
static LLVM_ABI void RegisterTarget(Target &T, const char *Name, const char *ShortDesc, const char *BackendName, Target::ArchMatchFnTy ArchMatchFn, bool HasJIT=false)
RegisterTarget - Register the given target.