Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A 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()
H A 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,
H A 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()
H A 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);
H A DSnippetRepetitor.h32 Create(InstructionBenchmark::RepetitionModeE Mode, const LLVMState &State);
45 explicit SnippetRepetitor(const LLVMState &State) : State(State) {} in SnippetRepetitor()
48 const LLVMState &State;
H A DLlvmState.h36 class LLVMState {
39 LLVMState(const std::string &CpuName);
41 LLVMState(const std::string &Triple,
H A DSnippetGenerator.h59 explicit SnippetGenerator(const LLVMState &State, const Options &Opts);
73 const LLVMState &State;
102 Error randomizeUnsetVariables(const LLVMState &State,
H A 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()
H A DBenchmarkRunner.h37 explicit BenchmarkRunner(const LLVMState &State,
78 const LLVMState &State;
H A DSnippetRepetitor.cpp51 explicit LoopSnippetRepetitor(const LLVMState &State) in LoopSnippetRepetitor()
120 const LLVMState &State) { in Create()
H A DSnippetFile.h29 Expected<std::vector<BenchmarkCode>> readSnippets(const LLVMState &State,
H A DBenchmarkRunner.cpp32 BenchmarkRunner::BenchmarkRunner(const LLVMState &State, in BenchmarkRunner()
41 FunctionExecutorImpl(const LLVMState &State, in FunctionExecutorImpl()
129 const LLVMState &State;
H A 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()
H A DUopsBenchmarkRunner.h24 UopsBenchmarkRunner(const LLVMState &State) in UopsBenchmarkRunner()
H A DLatencyBenchmarkRunner.h25 const LLVMState &State, InstructionBenchmark::ModeE Mode,
H A DSerialSnippetGenerator.cpp38 computeAliasingInstructions(const LLVMState &State, const Instruction *Instr, in computeAliasingInstructions()
89 static void appendCodeTemplates(const LLVMState &State, in appendCodeTemplates()
H A DLatencyBenchmarkRunner.cpp22 const LLVMState &State, InstructionBenchmark::ModeE Mode, in LatencyBenchmarkRunner()
H A DSnippetFile.cpp121 Expected<std::vector<BenchmarkCode>> readSnippets(const LLVMState &State, in readSnippets()
H A DParallelSnippetGenerator.cpp118 const LLVMState &State, const InstructionTemplate &IT, in generateSnippetUsingStaticRenaming()
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/Mips/
H A DTestBase.h36 const LLVMState State;
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/PowerPC/
H A DTestBase.h36 const LLVMState State;
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/X86/
H A DTestBase.h38 const LLVMState State;
H A DBenchmarkResultTest.cpp56 const LLVMState State("x86_64-unknown-linux", "haswell"); in TEST()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/
H A Dllvm-exegesis.cpp257 generateSnippets(const LLVMState &State, unsigned Opcode, in generateSnippets()
306 const LLVMState State(CpuName); in benchmarkMain()
418 const LLVMState State(""); in analysisMain()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/X86/
H A DTarget.cpp251 const LLVMState &State, const SnippetGenerator::Options &Opts, in generateLEATemplatesCommon()
667 createCounter(StringRef CounterName, const LLVMState &State) const override { in createCounter()
727 const LLVMState &State, in createSerialSnippetGenerator()
733 const LLVMState &State, in createParallelSnippetGenerator()

12