Lines Matching defs:CGI
462 auto &CGI = CGP.getInst();
464 CGI.TheDef->isSubClassOf("GenericInstruction")
465 ? CGI.TheDef->getValueAsOptionalDef("variadicOpsType")
472 for (unsigned K = 0; K < CGI.Operands.NumDefs; ++K)
473 OpTypes.push_back(CGI.Operands[K].OperandType);
477 for (unsigned K = CGI.Operands.NumDefs; K < CGP.getNumInstDefs(); ++K)
482 // in the CGI anymore.
483 int CGIOpOffset = int(CGI.Operands.NumDefs) - CGP.getNumInstDefs();
489 if (CGIOpIdx >= CGI.Operands.size()) {
493 OpTypes.push_back(CGI.Operands[CGIOpIdx].OperandType);
1633 for (const CodeGenInstruction *CGI : AOP.insts()) {
1635 CGI->TheDef->getName() + "'");
1643 IM.addPredicate<InstructionOpcodeMatcher>(CGI);