Lines Matching refs:CGP

258   getMCOIOperandTypes(const CodeGenInstructionPattern &CGP);
405 const auto *CGP = dyn_cast<CodeGenInstructionPattern>(&IP); in inferImmediateType() local
406 if (!CGP) in inferImmediateType()
421 const auto MCOITypes = getMCOIOperandTypes(*CGP); in inferImmediateType()
472 const CodeGenInstructionPattern &CGP) { in getMCOIOperandTypes() argument
478 auto &CGI = CGP.getInst(); in getMCOIOperandTypes()
491 if (CGP.hasVariadicDefs()) { in getMCOIOperandTypes()
492 for (unsigned K = CGI.Operands.NumDefs; K < CGP.getNumInstDefs(); ++K) in getMCOIOperandTypes()
498 int CGIOpOffset = int(CGI.Operands.NumDefs) - CGP.getNumInstDefs(); in getMCOIOperandTypes()
499 assert(CGP.hasVariadicDefs() ? (CGIOpOffset <= 0) : (CGIOpOffset == 0)); in getMCOIOperandTypes()
502 for (unsigned K = CGP.getNumInstDefs(); K < CGP.getNumInstOperands(); ++K) { in getMCOIOperandTypes()
505 assert(CGP.isVariadic()); in getMCOIOperandTypes()
512 assert(OpTypes.size() == CGP.operands_size()); in getMCOIOperandTypes()
530 auto *CGP = dyn_cast<CodeGenInstructionPattern>(&P); in getInstEqClasses() local
531 if (!CGP) in getInstEqClasses()
534 const auto MCOITypes = getMCOIOperandTypes(*CGP); in getInstEqClasses()
1180 if (const auto *CGP = dyn_cast<CodeGenInstructionPattern>(Pat)) { in checkSemantics() local
1181 if (auto *FI = CGP->getMIFlagsInfo()) { in checkSemantics()
1185 PrintNote("MIFlags in '" + CGP->getName() + in checkSemantics()
1217 if (const auto *CGP = dyn_cast<CodeGenInstructionPattern>(IP)) { in checkSemantics() local
1218 if (auto *FI = CGP->getMIFlagsInfo()) { in checkSemantics()
1223 "' referenced in MIFlags of '" + CGP->getName() + "'"); in checkSemantics()
1231 CGP->getName() + "'"); in checkSemantics()
1900 if (const auto *CGP = dyn_cast<CodeGenInstructionPattern>(&IP)) { in emitMatchPattern() local
1901 if (!emitCodeGenInstructionMatchPattern(CE, Alts, M, IM, *CGP, SeenPats, in emitMatchPattern()
2434 if (const auto *CGP = dyn_cast<CodeGenInstructionPattern>(&P)) { in isLiteralImm() local
2435 StringRef InstName = CGP->getInst().TheDef->getName(); in isLiteralImm()