• Home
  • Raw
  • Download

Lines Matching refs:CGP

51     const CodeGenDAGPatterns &CGP;  member in __anon1ac2b5390111::MatcherGen
154 : Pattern(pattern), CGP(cgp), NextRecordedOperandNo(0), in MatcherGen()
182 TreePattern &TP = *CGP.pf_begin()->second; in InferPossibleTypes()
215 const SDNodeInfo &NI = CGP.getSDNodeInfo(CGP.getSDNodeNamed("imm")); in EmitLeafMatchCode()
310 const SDNodeInfo &CInfo = CGP.getSDNodeInfo(N->getOperator()); in EmitOperatorMatchCode()
354 if (N->NodeHasProperty(SDNPMemOperand, CGP)) in EmitOperatorMatchCode()
360 if (N->NodeHasProperty(SDNPHasChain, CGP)) { in EmitOperatorMatchCode()
404 const SDNodeInfo &PInfo = CGP.getSDNodeInfo(Root->getOperator()); in EmitOperatorMatchCode()
406 Root->getOperator() == CGP.get_intrinsic_void_sdnode() || in EmitOperatorMatchCode()
407 Root->getOperator() == CGP.get_intrinsic_w_chain_sdnode() || in EmitOperatorMatchCode()
408 Root->getOperator() == CGP.get_intrinsic_wo_chain_sdnode() || in EmitOperatorMatchCode()
421 if (N->NodeHasProperty(SDNPOutGlue, CGP) && in EmitOperatorMatchCode()
435 if (N->NodeHasProperty(SDNPOptInGlue, CGP) || in EmitOperatorMatchCode()
436 N->NodeHasProperty(SDNPInGlue, CGP)) in EmitOperatorMatchCode()
508 Pattern.getSrcPattern()->getComplexPatternInfo(CGP)) { in EmitMatcherCode()
513 AddMatcher(new CheckOpcodeMatcher(CGP.getSDNodeInfo(OpNodes[Variant]))); in EmitMatcherCode()
540 CurOp += N->getChild(i)->getNumMIResults(CGP); in EmitMatcherCode()
547 const ComplexPattern &CP = *N->getComplexPatternInfo(CGP); in EmitMatcherCode()
587 for (unsigned i = 0; i < N->getNumMIResults(CGP); ++i) in EmitResultOfNamedOperand()
607 for (unsigned i = 0; i < N->getNumMIResults(CGP); ++i) in EmitResultOfNamedOperand()
626 CGP.getTargetInfo().getRegBank().getReg(Def); in EmitResultLeafAsOperand()
686 const CodeGenDAGPatterns &CGP) { in mayInstNodeLoadOrStore() argument
688 const CodeGenTarget &CGT = CGP.getTargetInfo(); in mayInstNodeLoadOrStore()
695 const CodeGenDAGPatterns &CGP) { in numNodesThatMayLoadOrStore() argument
704 if (mayInstNodeLoadOrStore(N, CGP)) in numNodesThatMayLoadOrStore()
708 Count += numNodesThatMayLoadOrStore(N->getChild(i), CGP); in numNodesThatMayLoadOrStore()
717 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultInstructionAsOperand()
719 const DAGInstruction &Inst = CGP.getInstruction(Op); in EmitResultInstructionAsOperand()
731 InstPatNode->TreeHasProperty(SDNPHasChain, CGP); in EmitResultInstructionAsOperand()
735 if (Pattern.getSrcPattern()->TreeHasProperty(SDNPHasChain, CGP) in EmitResultInstructionAsOperand()
746 TreeHasInGlue = SrcPat->TreeHasProperty(SDNPOptInGlue, CGP) || in EmitResultInstructionAsOperand()
747 SrcPat->TreeHasProperty(SDNPInGlue, CGP); in EmitResultInstructionAsOperand()
751 TreeHasOutGlue = SrcPat->TreeHasProperty(SDNPOutGlue, CGP); in EmitResultInstructionAsOperand()
776 !CGP.getDefaultOperand(OperandNode).DefaultOps.empty()) { in EmitResultInstructionAsOperand()
780 = CGP.getDefaultOperand(OperandNode); in EmitResultInstructionAsOperand()
870 Pattern.getSrcPattern()->NodeHasProperty(SDNPVariadic, CGP)) in EmitResultInstructionAsOperand()
881 Pattern.getSrcPattern()->TreeHasProperty(SDNPMemOperand, CGP); in EmitResultInstructionAsOperand()
886 numNodesThatMayLoadOrStore(Pattern.getDstPattern(), CGP); in EmitResultInstructionAsOperand()
887 bool NodeIsUniqueLoadOrStore = mayInstNodeLoadOrStore(N, CGP) && in EmitResultInstructionAsOperand()
890 NodeIsUniqueLoadOrStore || (isRoot && (mayInstNodeLoadOrStore(N, CGP) || in EmitResultInstructionAsOperand()
975 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultCode()
1005 const CodeGenDAGPatterns &CGP) { in ConvertPatternToMatcher() argument
1006 MatcherGen Gen(Pattern, CGP); in ConvertPatternToMatcher()