reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/llvm-exegesis/lib/CodeTemplate.cpp
   60   for (const auto &Op : Instr.Operands)
tools/llvm-exegesis/lib/MCInstrDescView.cpp
  113     Operands.push_back(Operand);
  122     Operands.push_back(Operand);
  131     Operands.push_back(Operand);
  134   Variables.reserve(Operands.size()); // Variables.size() <= Operands.size()
  135   for (auto &Op : Operands)
  143   for (auto &Op : Operands)
  145       Op.VariableIndex = Operands[Op.getTiedToIndex()].getVariableIndex();
  147   for (auto &Op : Operands)
  155   for (const auto &Op : Operands) {
  172   assert(PrimaryOperandIndex < Operands.size());
  173   return Operands[PrimaryOperandIndex];
  177   return any_of(Operands, [](const Operand &Op) {
  230   for (const auto &Op : Operands) {
  336       addOperandIfAlias(Reg, true, DefInstruction.Operands, ARO.Defs);
  337       addOperandIfAlias(Reg, false, UseInstruction.Operands, ARO.Uses);
tools/llvm-exegesis/lib/SnippetGenerator.cpp
   58     for (const auto &Op : Instr.Operands) {
  115     for (const Operand &Op : IT.Instr.Operands) {
  125     for (const Operand &Op : IT.Instr.Operands) {
tools/llvm-exegesis/lib/Uops.cpp
  192   for (const auto &Op : Instr.Operands) {
  205   for (const auto &Op : Instr.Operands) {
tools/llvm-exegesis/lib/X86/Target.cpp
  161   for (const Operand &Op : Instr.Operands)
  167   for (const Operand &Op : Instr.Operands)
  181   const auto Op = IT.Instr.Operands[OpIdx];
  192   assert(Instr.Operands.size() == 6 && "invalid LEA");
  200       Instr.Operands[kDestOp].getRegisterAliasing().sourceBits();
  203       Instr.Operands[kBaseOp].getRegisterAliasing().sourceBits();
  206       Instr.Operands[kIndexOp].getRegisterAliasing().sourceBits();
  317         Instr.Operands[0].getRegisterAliasing().sourceBits();
  639     const auto &Op = IT.Instr.Operands[I];
unittests/tools/llvm-exegesis/X86/TargetTest.cpp
  363   EXPECT_THAT(IT.getValueFor(I.Operands[2]), IsReg(X86::RDI));
  364   EXPECT_THAT(IT.getValueFor(I.Operands[3]), IsImm(1));
  365   EXPECT_THAT(IT.getValueFor(I.Operands[4]), IsReg(0));
  366   EXPECT_THAT(IT.getValueFor(I.Operands[5]), IsImm(kOffset));
  367   EXPECT_THAT(IT.getValueFor(I.Operands[6]), IsReg(0));
  376   EXPECT_THAT(IT.getValueFor(I.Operands[4]), IsReg(X86::RDI));
  377   EXPECT_THAT(IT.getValueFor(I.Operands[5]), IsImm(1));
  378   EXPECT_THAT(IT.getValueFor(I.Operands[6]), IsReg(0));
  379   EXPECT_THAT(IT.getValueFor(I.Operands[7]), IsImm(kOffset));
  380   EXPECT_THAT(IT.getValueFor(I.Operands[8]), IsReg(0));