Home
last modified time | relevance | path

Searched refs:LLVMState (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DLlvmState.cpp25 LLVMState::LLVMState(const std::string &Triple, const std::string &CpuName, in LLVMState() function in llvm::exegesis::LLVMState
50 LLVMState::LLVMState(const std::string &CpuName) in LLVMState() function in llvm::exegesis::LLVMState
51 : LLVMState(sys::getProcessTriple(), in LLVMState()
54 std::unique_ptr<LLVMTargetMachine> LLVMState::createTargetMachine() const { in createTargetMachine()
63 bool LLVMState::canAssemble(const MCInst &Inst) const { in canAssemble()
DTarget.h72 createCounter(StringRef CounterName, const LLVMState &State) const;
153 const LLVMState &State,
157 InstructionBenchmark::ModeE Mode, const LLVMState &State,
191 const LLVMState &State, const SnippetGenerator::Options &Opts) const;
193 const LLVMState &State, const SnippetGenerator::Options &Opts) const;
195 const LLVMState &State, InstructionBenchmark::ModeE Mode,
198 const LLVMState &State,
DTarget.cpp33 ExegesisTarget::createCounter(StringRef CounterName, const LLVMState &) const { in createCounter()
56 InstructionBenchmark::ModeE Mode, const LLVMState &State, in createSnippetGenerator()
72 InstructionBenchmark::ModeE Mode, const LLVMState &State, in createBenchmarkRunner()
100 const LLVMState &State, const SnippetGenerator::Options &Opts) const { in createSerialSnippetGenerator()
105 const LLVMState &State, const SnippetGenerator::Options &Opts) const { in createParallelSnippetGenerator()
110 const LLVMState &State, InstructionBenchmark::ModeE Mode, in createLatencyBenchmarkRunner()
116 const LLVMState &State, in createUopsBenchmarkRunner()
DBenchmarkResult.h80 static Expected<InstructionBenchmark> readYaml(const LLVMState &State,
84 readYamls(const LLVMState &State, StringRef Filename);
86 class Error readYamlFrom(const LLVMState &State, StringRef InputContent);
89 class Error writeYamlTo(const LLVMState &State, raw_ostream &S);
91 class Error writeYaml(const LLVMState &State, const StringRef Filename);
DSnippetRepetitor.h32 Create(InstructionBenchmark::RepetitionModeE Mode, const LLVMState &State);
44 explicit SnippetRepetitor(const LLVMState &State) : State(State) {} in SnippetRepetitor()
47 const LLVMState &State;
DLlvmState.h36 class LLVMState {
39 LLVMState(const std::string &CpuName);
41 LLVMState(const std::string &Triple,
DBenchmarkResult.cpp35 YamlContext(const exegesis::LLVMState &State) in YamlContext()
174 const exegesis::LLVMState *State;
335 InstructionBenchmark::readYaml(const LLVMState &State, StringRef Filename) { in readYaml()
352 InstructionBenchmark::readYamls(const LLVMState &State, StringRef Filename) { in readYamls()
373 Error InstructionBenchmark::writeYamlTo(const LLVMState &State, in writeYamlTo()
386 Error InstructionBenchmark::readYamlFrom(const LLVMState &State, in readYamlFrom()
397 Error InstructionBenchmark::writeYaml(const LLVMState &State, in writeYaml()
DSnippetGenerator.h58 explicit SnippetGenerator(const LLVMState &State, const Options &Opts);
72 const LLVMState &State;
101 Error randomizeUnsetVariables(const LLVMState &State,
DBenchmarkRunner.h37 explicit BenchmarkRunner(const LLVMState &State,
77 const LLVMState &State;
DSnippetRepetitor.cpp50 explicit LoopSnippetRepetitor(const LLVMState &State) in LoopSnippetRepetitor()
107 const LLVMState &State) { in Create()
DSnippetFile.h29 Expected<std::vector<BenchmarkCode>> readSnippets(const LLVMState &State,
DBenchmarkRunner.cpp32 BenchmarkRunner::BenchmarkRunner(const LLVMState &State, in BenchmarkRunner()
41 FunctionExecutorImpl(const LLVMState &State, in FunctionExecutorImpl()
129 const LLVMState &State;
DSnippetGenerator.cpp36 SnippetGenerator::SnippetGenerator(const LLVMState &State, const Options &Opts) in SnippetGenerator()
225 static Error randomizeMCOperand(const LLVMState &State, in randomizeMCOperand()
261 Error randomizeUnsetVariables(const LLVMState &State, in randomizeUnsetVariables()
DUopsBenchmarkRunner.h24 UopsBenchmarkRunner(const LLVMState &State) in UopsBenchmarkRunner()
DLatencyBenchmarkRunner.h25 const LLVMState &State, InstructionBenchmark::ModeE Mode,
DSerialSnippetGenerator.cpp38 computeAliasingInstructions(const LLVMState &State, const Instruction *Instr, in computeAliasingInstructions()
89 static void appendCodeTemplates(const LLVMState &State, in appendCodeTemplates()
DLatencyBenchmarkRunner.cpp22 const LLVMState &State, InstructionBenchmark::ModeE Mode, in LatencyBenchmarkRunner()
DSnippetFile.cpp120 Expected<std::vector<BenchmarkCode>> readSnippets(const LLVMState &State, in readSnippets()
DParallelSnippetGenerator.cpp118 const LLVMState &State, const InstructionTemplate &IT, in generateSnippetUsingStaticRenaming()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/Mips/
DTestBase.h36 const LLVMState State;
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/PowerPC/
DTestBase.h36 const LLVMState State;
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/X86/
DTestBase.h38 const LLVMState State;
DBenchmarkResultTest.cpp60 const LLVMState State("x86_64-unknown-linux", "haswell"); in TEST()
/external/llvm-project/llvm/tools/llvm-exegesis/
Dllvm-exegesis.cpp249 generateSnippets(const LLVMState &State, unsigned Opcode, in generateSnippets()
297 const LLVMState State(CpuName); in benchmarkMain()
409 const LLVMState State(""); in analysisMain()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/X86/
DTarget.cpp231 const LLVMState &State, const SnippetGenerator::Options &Opts, in generateLEATemplatesCommon()
647 createCounter(StringRef CounterName, const LLVMState &State) const override { in createCounter()
707 const LLVMState &State, in createSerialSnippetGenerator()
713 const LLVMState &State, in createParallelSnippetGenerator()

12