Lines Matching refs:CGP

249   getMCOIOperandTypes(const CodeGenInstructionPattern &CGP);
396 const auto *CGP = dyn_cast<CodeGenInstructionPattern>(&IP); in inferImmediateType() local
397 if (!CGP || CGP->isIntrinsic()) in inferImmediateType()
412 const auto MCOITypes = getMCOIOperandTypes(*CGP); in inferImmediateType()
463 const CodeGenInstructionPattern &CGP) { in getMCOIOperandTypes() argument
469 auto &CGI = CGP.getInst(); in getMCOIOperandTypes()
482 if (CGP.hasVariadicDefs()) { in getMCOIOperandTypes()
483 for (unsigned K = CGI.Operands.NumDefs; K < CGP.getNumInstDefs(); ++K) in getMCOIOperandTypes()
489 int CGIOpOffset = int(CGI.Operands.NumDefs) - CGP.getNumInstDefs(); in getMCOIOperandTypes()
490 assert(CGP.hasVariadicDefs() ? (CGIOpOffset <= 0) : (CGIOpOffset == 0)); in getMCOIOperandTypes()
493 for (unsigned K = CGP.getNumInstDefs(); K < CGP.getNumInstOperands(); ++K) { in getMCOIOperandTypes()
496 assert(CGP.isVariadic()); in getMCOIOperandTypes()
503 assert(OpTypes.size() == CGP.operands_size()); in getMCOIOperandTypes()
525 auto *CGP = dyn_cast<CodeGenInstructionPattern>(&P); in getInstEqClasses() local
526 if (!CGP || CGP->isIntrinsic()) in getInstEqClasses()
529 const auto MCOITypes = getMCOIOperandTypes(*CGP); in getInstEqClasses()
1159 if (const auto *CGP = dyn_cast<CodeGenInstructionPattern>(Pat)) { in checkSemantics() local
1160 if (auto *FI = CGP->getMIFlagsInfo()) { in checkSemantics()
1164 PrintNote("MIFlags in '" + CGP->getName() + in checkSemantics()
1207 if (const auto *CGP = dyn_cast<CodeGenInstructionPattern>(IP)) { in checkSemantics() local
1208 if (auto *FI = CGP->getMIFlagsInfo()) { in checkSemantics()
1213 "' referenced in MIFlags of '" + CGP->getName() + "'"); in checkSemantics()
1221 CGP->getName() + "'"); in checkSemantics()
1506 if (const auto *CGP = dyn_cast<CodeGenInstructionPattern>(&IP)) { in emitMatchPattern() local
1507 if (!emitCodeGenInstructionMatchPattern(CE, Alts, M, IM, *CGP, SeenPats, in emitMatchPattern()
2106 if (const auto *CGP = dyn_cast<CodeGenInstructionPattern>(&P)) { in isLiteralImm() local
2107 StringRef InstName = CGP->getInst().TheDef->getName(); in isLiteralImm()