/external/llvm-project/llvm/tools/llvm-exegesis/lib/ |
D | CodeTemplate.cpp | 18 InstructionTemplate::InstructionTemplate(const Instruction *Instr) in InstructionTemplate() function in llvm::exegesis::InstructionTemplate 21 InstructionTemplate::InstructionTemplate(InstructionTemplate &&) = default; 23 InstructionTemplate &InstructionTemplate:: 24 operator=(InstructionTemplate &&) = default; 26 InstructionTemplate::InstructionTemplate(const InstructionTemplate &) = default; 28 InstructionTemplate &InstructionTemplate:: 29 operator=(const InstructionTemplate &) = default; 31 unsigned InstructionTemplate::getOpcode() const { in getOpcode() 35 MCOperand &InstructionTemplate::getValueFor(const Variable &Var) { in getValueFor() 39 const MCOperand &InstructionTemplate::getValueFor(const Variable &Var) const { in getValueFor() [all …]
|
D | CodeTemplate.h | 25 struct InstructionTemplate { struct 26 InstructionTemplate(const Instruction *Instr); 28 InstructionTemplate(const InstructionTemplate &); // default 29 InstructionTemplate &operator=(const InstructionTemplate &); // default argument 30 InstructionTemplate(InstructionTemplate &&); // default 31 InstructionTemplate &operator=(InstructionTemplate &&); // default argument 131 std::vector<InstructionTemplate> Instructions;
|
D | SnippetGenerator.h | 37 generateSelfAliasingCodeTemplates(InstructionTemplate Variant); 41 generateUnconstrainedCodeTemplates(const InstructionTemplate &Variant, 63 Error generateConfigurations(const InstructionTemplate &Variant, 69 const std::vector<InstructionTemplate> &Snippet) const; 78 generateCodeTemplates(InstructionTemplate Variant, 97 InstructionTemplate &DefIB, InstructionTemplate &UseIB); 103 InstructionTemplate &IT);
|
D | ParallelSnippetGenerator.cpp | 95 std::vector<InstructionTemplate> &Instructions) const { in instantiateMemoryOperands() 102 for (InstructionTemplate &IT : Instructions) { in instantiateMemoryOperands() 108 InstructionTemplate IT = Instructions[I % OriginalInstructionsSize]; in instantiateMemoryOperands() 117 static std::vector<InstructionTemplate> generateSnippetUsingStaticRenaming( in generateSnippetUsingStaticRenaming() 118 const LLVMState &State, const InstructionTemplate &IT, in generateSnippetUsingStaticRenaming() 121 std::vector<InstructionTemplate> Instructions; in generateSnippetUsingStaticRenaming() 135 InstructionTemplate TmpIT = IT; in generateSnippetUsingStaticRenaming() 159 InstructionTemplate Variant, const BitVector &ForbiddenRegisters) const { in generateCodeTemplates()
|
D | SnippetGenerator.cpp | 42 const InstructionTemplate &Variant, std::vector<BenchmarkCode> &Benchmarks, in generateConfigurations() 78 for (InstructionTemplate &IT : CT.Instructions) { in generateConfigurations() 101 const std::vector<InstructionTemplate> &Instructions) const { in computeRegisterInitialValues() 108 for (const InstructionTemplate &IT : Instructions) { in computeRegisterInitialValues() 143 generateSelfAliasingCodeTemplates(InstructionTemplate Variant) { in generateSelfAliasingCodeTemplates() 164 generateUnconstrainedCodeTemplates(const InstructionTemplate &Variant, in generateUnconstrainedCodeTemplates() 193 InstructionTemplate &IB) { in setRegisterOperandValue() 217 InstructionTemplate &DefIB, InstructionTemplate &UseIB) { in setRandomAliasing() 263 InstructionTemplate &IT) { in randomizeUnsetVariables()
|
D | ParallelSnippetGenerator.h | 28 generateCodeTemplates(InstructionTemplate Variant, 59 std::vector<InstructionTemplate> &SnippetTemplate) const;
|
D | SerialSnippetGenerator.cpp | 90 InstructionTemplate Variant, in appendCodeTemplates() 139 InstructionTemplate ThisIT(Variant); in appendCodeTemplates() 140 InstructionTemplate OtherIT(OtherInstr); in appendCodeTemplates() 163 InstructionTemplate Variant, const BitVector &ForbiddenRegisters) const { in generateCodeTemplates()
|
D | Target.h | 88 virtual void fillMemoryOperands(InstructionTemplate &IT, unsigned Reg, in fillMemoryOperands() 138 virtual std::vector<InstructionTemplate>
|
D | SerialSnippetGenerator.h | 30 generateCodeTemplates(InstructionTemplate Variant,
|
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/X86/ |
D | SnippetGeneratorTest.cpp | 87 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 110 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 132 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 175 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 196 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 234 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 255 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 313 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 350 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 379 InstructionTemplate getInstructionTemplate(unsigned Opcode) { in getInstructionTemplate() [all …]
|
D | TargetTest.cpp | 363 InstructionTemplate IT(&I); in TEST_F() 376 InstructionTemplate IT(&I); in TEST_F()
|
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/PowerPC/ |
D | SnippetGeneratorTest.cpp | 71 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 101 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 127 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F()
|
/external/llvm-project/llvm/tools/llvm-exegesis/lib/PowerPC/ |
D | Target.cpp | 17 static void setMemOp(InstructionTemplate &IT, int OpIdx, in setMemOp() 38 void fillMemoryOperands(InstructionTemplate &IT, unsigned Reg, 73 void ExegesisPowerPCTarget::fillMemoryOperands(InstructionTemplate &IT, in fillMemoryOperands()
|
/external/llvm-project/llvm/tools/llvm-exegesis/lib/Mips/ |
D | Target.cpp | 42 static void setMemOp(InstructionTemplate &IT, int OpIdx, in setMemOp() 59 void fillMemoryOperands(InstructionTemplate &IT, unsigned Reg, 137 void ExegesisMipsTarget::fillMemoryOperands(InstructionTemplate &IT, in fillMemoryOperands()
|
/external/llvm-project/llvm/tools/llvm-exegesis/lib/X86/ |
D | Target.cpp | 220 static void setMemOp(InstructionTemplate &IT, int OpIdx, in setMemOp() 258 InstructionTemplate IT(&Instr); in generateLEATemplatesCommon() 299 generateCodeTemplates(InstructionTemplate Variant, 306 InstructionTemplate Variant, const BitVector &ForbiddenRegisters) const { in generateCodeTemplates() 358 generateCodeTemplates(InstructionTemplate Variant, 366 InstructionTemplate Variant, const BitVector &ForbiddenRegisters) const { in generateCodeTemplates() 680 void fillMemoryOperands(InstructionTemplate &IT, unsigned Reg, 702 std::vector<InstructionTemplate> 796 void ExegesisX86Target::fillMemoryOperands(InstructionTemplate &IT, in fillMemoryOperands() 876 std::vector<InstructionTemplate> ExegesisX86Target::generateInstructionVariants( in generateInstructionVariants() [all …]
|
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/Mips/ |
D | SnippetGeneratorTest.cpp | 71 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F() 119 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F()
|
/external/llvm-project/llvm/tools/llvm-exegesis/ |
D | llvm-exegesis.cpp | 261 const std::vector<InstructionTemplate> InstructionVariants = in generateSnippets() 274 for (const InstructionTemplate &Variant : InstructionVariants) { in generateSnippets()
|