Home
last modified time | relevance | path

Searched refs:ExegesisTarget (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DTarget.cpp20 ExegesisTarget::~ExegesisTarget() {} // anchor. in ~ExegesisTarget()
22 static ExegesisTarget *FirstTarget = nullptr;
24 const ExegesisTarget *ExegesisTarget::lookup(Triple TT) { in lookup()
25 for (const ExegesisTarget *T = FirstTarget; T != nullptr; T = T->Next) { in lookup()
33 ExegesisTarget::createCounter(StringRef CounterName, const LLVMState &) const { in createCounter()
44 void ExegesisTarget::registerTarget(ExegesisTarget *Target) { in registerTarget()
55 std::unique_ptr<SnippetGenerator> ExegesisTarget::createSnippetGenerator( in createSnippetGenerator()
71 ExegesisTarget::createBenchmarkRunner( in createBenchmarkRunner()
99 std::unique_ptr<SnippetGenerator> ExegesisTarget::createSerialSnippetGenerator( in createSerialSnippetGenerator()
104 std::unique_ptr<SnippetGenerator> ExegesisTarget::createParallelSnippetGenerator( in createParallelSnippetGenerator()
[all …]
DTarget.h65 class ExegesisTarget {
67 explicit ExegesisTarget(ArrayRef<CpuAndPfmCounters> CpuPfmCounters) in ExegesisTarget() function
163 static const ExegesisTarget *lookup(Triple TT);
165 static const ExegesisTarget &getDefault();
167 static void registerTarget(ExegesisTarget *T);
169 virtual ~ExegesisTarget();
201 const ExegesisTarget *Next = nullptr;
DLlvmState.h31 class ExegesisTarget; variable
48 const ExegesisTarget &getExegesisTarget() const { return *TheExegesisTarget; } in getExegesisTarget()
69 const ExegesisTarget *TheExegesisTarget;
DAssembler.h38 class ExegesisTarget; variable
90 Error assembleToStream(const ExegesisTarget &ET,
DLlvmState.cpp35 TheExegesisTarget = ExegesisTarget::lookup(TheTargetMachine->getTargetTriple()); in LLVMState()
38 TheExegesisTarget = &ExegesisTarget::getDefault(); in LLVMState()
DAssembler.cpp38 const ExegesisTarget &ET, const MCSubtargetInfo *const MSI, in generateSnippetSetupCode()
170 Error assembleToStream(const ExegesisTarget &ET, in assembleToStream()
DBenchmarkRunner.cpp74 const ExegesisTarget &ET = State.getExegesisTarget(); in runAndSample()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/AArch64/
DTarget.cpp39 class ExegesisAArch64Target : public ExegesisTarget {
41 ExegesisAArch64Target() : ExegesisTarget(AArch64CpuPfmCounters) {} in ExegesisAArch64Target()
66 static ExegesisTarget *getTheExegesisAArch64Target() { in getTheExegesisAArch64Target()
72 ExegesisTarget::registerTarget(getTheExegesisAArch64Target()); in InitializeAArch64ExegesisTarget()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/PowerPC/
DTarget.cpp27 class ExegesisPowerPCTarget : public ExegesisTarget {
29 ExegesisPowerPCTarget() : ExegesisTarget(PPCCpuPfmCounters) {} in ExegesisPowerPCTarget()
130 static ExegesisTarget *getTheExegesisPowerPCTarget() { in getTheExegesisPowerPCTarget()
136 ExegesisTarget::registerTarget(getTheExegesisPowerPCTarget()); in InitializePowerPCExegesisTarget()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/Mips/
DTarget.cpp52 class ExegesisMipsTarget : public ExegesisTarget {
54 ExegesisMipsTarget() : ExegesisTarget(MipsCpuPfmCounters) {} in ExegesisMipsTarget()
158 static ExegesisTarget *getTheExegesisMipsTarget() { in getTheExegesisMipsTarget()
164 ExegesisTarget::registerTarget(getTheExegesisMipsTarget()); in InitializeMipsExegesisTarget()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/PowerPC/
DTargetTest.cpp36 : ExegesisTarget_(ExegesisTarget::lookup(Triple(kTriple))) { in PowerPCTargetTest()
50 const ExegesisTarget *const ExegesisTarget_;
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/AArch64/
DTargetTest.cpp37 : ExegesisTarget_(ExegesisTarget::lookup(Triple(kTriple))) { in AArch64TargetTest()
58 const ExegesisTarget *const ExegesisTarget_;
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/Common/
DAssemblerUtils.h36 ET(ExegesisTarget::lookup(Triple(TT))) { in MachineFunctionGeneratorBaseTest()
89 const ExegesisTarget *const ET;
/external/llvm-project/llvm/tools/llvm-exegesis/lib/X86/
DTarget.cpp601 class X86SavedState : public ExegesisTarget::SavedState {
642 class ExegesisX86Target : public ExegesisTarget {
644 ExegesisX86Target() : ExegesisTarget(X86CpuPfmCounters) {} in ExegesisX86Target()
664 return ExegesisTarget::createCounter(CounterName, State); in createCounter()
904 return ExegesisTarget::generateInstructionVariants(Instr, in generateInstructionVariants()
929 static ExegesisTarget *getTheExegesisX86Target() { in getTheExegesisX86Target()
935 ExegesisTarget::registerTarget(getTheExegesisX86Target()); in InitializeX86ExegesisTarget()
/external/llvm-project/llvm/tools/llvm-exegesis/
DCMakeLists.txt21 …GS "-DLLVM_EXEGESIS_INITIALIZE_NATIVE_TARGET=Initialize${LLVM_EXEGESIS_NATIVE_ARCH}ExegesisTarget")