Lines Matching refs:CGI
66 CodeGenInstruction &CGI = Target.getInstruction(R); in AddCodeToMergeInOperand() local
87 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) { in AddCodeToMergeInOperand()
89 OpIdx = CGI.Operands[OpIdx].MIOperandNo; in AddCodeToMergeInOperand()
90 assert(!CGI.Operands.isFlatOperandNotEmitted(OpIdx) && in AddCodeToMergeInOperand()
93 unsigned NumberOps = CGI.Operands.size(); in AddCodeToMergeInOperand()
97 (CGI.Operands.isFlatOperandNotEmitted(NumberedOp) || in AddCodeToMergeInOperand()
99 CGI.Operands.getSubOperandNumber(NumberedOp).first)))) { in AddCodeToMergeInOperand()
102 if (NumberedOp >= CGI.Operands.back().MIOperandNo + in AddCodeToMergeInOperand()
103 CGI.Operands.back().MINumOperands) { in AddCodeToMergeInOperand()
116 std::pair<unsigned, unsigned> SO = CGI.Operands.getSubOperandNumber(OpIdx); in AddCodeToMergeInOperand()
117 std::string &EncoderMethodName = CGI.Operands[SO.first].EncoderMethodName; in AddCodeToMergeInOperand()
190 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCase() local
193 if (!CGI.Operands.hasOperandNamed(Vals[i].getName(), OpIdx)) in getInstructionCase()
240 for (const CodeGenInstruction *CGI : NumberedInstructions) { in run() local
241 Record *R = CGI->TheDef; in run()