Home
last modified time | relevance | path

Searched refs:getValueFor (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DCodeTemplate.cpp35 MCOperand &InstructionTemplate::getValueFor(const Variable &Var) { in getValueFor() function in llvm::exegesis::InstructionTemplate
39 const MCOperand &InstructionTemplate::getValueFor(const Variable &Var) const { in getValueFor() function in llvm::exegesis::InstructionTemplate
43 MCOperand &InstructionTemplate::getValueFor(const Operand &Op) { in getValueFor() function in llvm::exegesis::InstructionTemplate
44 return getValueFor(Instr->Variables[Op.getVariableIndex()]); in getValueFor()
47 const MCOperand &InstructionTemplate::getValueFor(const Operand &Op) const { in getValueFor() function in llvm::exegesis::InstructionTemplate
48 return getValueFor(Instr->Variables[Op.getVariableIndex()]); in getValueFor()
62 Result.addOperand(getValueFor(Op)); in build()
H A DCodeTemplate.h34 MCOperand &getValueFor(const Variable &Var);
35 const MCOperand &getValueFor(const Variable &Var) const;
36 MCOperand &getValueFor(const Operand &Op);
37 const MCOperand &getValueFor(const Operand &Op) const;
H A DSnippetGenerator.cpp116 if (Op.isExplicit() && IT.getValueFor(Op).isReg()) in computeRegisterInitialValues()
117 return IT.getValueFor(Op).getReg(); in computeRegisterInitialValues()
196 auto &AssignedValue = IB.getValueFor(*ROV.Op); in setRegisterOperandValue()
265 MCOperand &AssignedValue = IT.getValueFor(Var); in randomizeUnsetVariables()
H A DParallelSnippetGenerator.cpp144 TmpIT.getValueFor(*TiedVariables[VarId]) = in generateSnippetUsingStaticRenaming()
230 Variant.getValueFor(Op) = MCOperand::createReg(RandomReg); in generateCodeTemplates()
244 Variant.getValueFor(Op) = MCOperand::createReg(RandomReg); in generateCodeTemplates()
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/X86/
H A DTargetTest.cpp367 EXPECT_THAT(IT.getValueFor(I.Operands[2]), IsReg(X86::RDI)); in TEST_F()
368 EXPECT_THAT(IT.getValueFor(I.Operands[3]), IsImm(1)); in TEST_F()
369 EXPECT_THAT(IT.getValueFor(I.Operands[4]), IsReg(0)); in TEST_F()
370 EXPECT_THAT(IT.getValueFor(I.Operands[5]), IsImm(kOffset)); in TEST_F()
371 EXPECT_THAT(IT.getValueFor(I.Operands[6]), IsReg(0)); in TEST_F()
380 EXPECT_THAT(IT.getValueFor(I.Operands[4]), IsReg(X86::RDI)); in TEST_F()
381 EXPECT_THAT(IT.getValueFor(I.Operands[5]), IsImm(1)); in TEST_F()
382 EXPECT_THAT(IT.getValueFor(I.Operands[6]), IsReg(0)); in TEST_F()
383 EXPECT_THAT(IT.getValueFor(I.Operands[7]), IsImm(kOffset)); in TEST_F()
384 EXPECT_THAT(IT.getValueFor(I.Operands[8]), IsReg(0)); in TEST_F()
H A DSnippetGeneratorTest.cpp429 IT.getValueFor(IT.getInstr().Variables[0]) = MCOperand::createReg(X86::AX); in TEST_F()
444 Mov.getValueFor(Mov.getInstr().Variables[0]) = in TEST_F()
446 Mov.getValueFor(Mov.getInstr().Variables[1]) = MCOperand::createImm(42); in TEST_F()
451 Add.getValueFor(Add.getInstr().Variables[0]) = in TEST_F()
453 Add.getValueFor(Add.getInstr().Variables[1]) = in TEST_F()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/PowerPC/
H A DTarget.cpp21 IT.getValueFor(Op) = OpVal; in setMemOp()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/Mips/
H A DTarget.cpp46 IT.getValueFor(Op) = OpVal; in setMemOp()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/X86/
H A DTarget.cpp244 IT.getValueFor(Op) = OpVal; in setMemOp()