• Home
  • Raw
  • Download

Lines Matching refs:CGP

55     const CodeGenDAGPatterns &CGP;  member in __anon5e3ec3c90111::MatcherGen
148 : Pattern(pattern), CGP(cgp), NextRecordedOperandNo(0), in MatcherGen()
176 TreePattern &TP = *CGP.pf_begin()->second; in InferPossibleTypes()
211 const SDNodeInfo &NI = CGP.getSDNodeInfo(CGP.getSDNodeNamed("imm")); in EmitLeafMatchCode()
285 const SDNodeInfo &NI = CGP.getSDNodeInfo(CGP.getSDNodeNamed("build_vector")); in EmitLeafMatchCode()
295 const SDNodeInfo &NI = CGP.getSDNodeInfo(CGP.getSDNodeNamed("build_vector")); in EmitLeafMatchCode()
328 const SDNodeInfo &CInfo = CGP.getSDNodeInfo(N->getOperator()); in EmitOperatorMatchCode()
372 if (N->NodeHasProperty(SDNPMemOperand, CGP)) in EmitOperatorMatchCode()
378 if (N->NodeHasProperty(SDNPHasChain, CGP)) { in EmitOperatorMatchCode()
422 const SDNodeInfo &PInfo = CGP.getSDNodeInfo(Root->getOperator()); in EmitOperatorMatchCode()
424 Root->getOperator() == CGP.get_intrinsic_void_sdnode() || in EmitOperatorMatchCode()
425 Root->getOperator() == CGP.get_intrinsic_w_chain_sdnode() || in EmitOperatorMatchCode()
426 Root->getOperator() == CGP.get_intrinsic_wo_chain_sdnode() || in EmitOperatorMatchCode()
439 if (N->NodeHasProperty(SDNPOutGlue, CGP) && in EmitOperatorMatchCode()
451 if (N->NodeHasProperty(SDNPOptInGlue, CGP) || in EmitOperatorMatchCode()
452 N->NodeHasProperty(SDNPInGlue, CGP)) in EmitOperatorMatchCode()
563 Pattern.getSrcPattern()->getComplexPatternInfo(CGP)) { in EmitMatcherCode()
568 AddMatcher(new CheckOpcodeMatcher(CGP.getSDNodeInfo(OpNodes[Variant]))); in EmitMatcherCode()
596 CurOp += N->getChild(i)->getNumMIResults(CGP); in EmitMatcherCode()
603 const ComplexPattern &CP = *N->getComplexPatternInfo(CGP); in EmitMatcherCode()
643 for (unsigned i = 0; i < N->getNumMIResults(CGP); ++i) in EmitResultOfNamedOperand()
663 for (unsigned i = 0; i < N->getNumMIResults(CGP); ++i) in EmitResultOfNamedOperand()
682 CGP.getTargetInfo().getRegBank().getReg(Def); in EmitResultLeafAsOperand()
714 CGP.getTargetInfo().getRegisterClass(Def); in EmitResultLeafAsOperand()
728 const CodeGenRegBank &RB = CGP.getTargetInfo().getRegBank(); in EmitResultLeafAsOperand()
753 const CodeGenDAGPatterns &CGP) { in mayInstNodeLoadOrStore() argument
755 const CodeGenTarget &CGT = CGP.getTargetInfo(); in mayInstNodeLoadOrStore()
762 const CodeGenDAGPatterns &CGP) { in numNodesThatMayLoadOrStore() argument
771 if (mayInstNodeLoadOrStore(N, CGP)) in numNodesThatMayLoadOrStore()
775 Count += numNodesThatMayLoadOrStore(N->getChild(i), CGP); in numNodesThatMayLoadOrStore()
784 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultInstructionAsOperand()
786 const DAGInstruction &Inst = CGP.getInstruction(Op); in EmitResultInstructionAsOperand()
794 TreeHasInGlue = SrcPat->TreeHasProperty(SDNPOptInGlue, CGP) || in EmitResultInstructionAsOperand()
795 SrcPat->TreeHasProperty(SDNPInGlue, CGP); in EmitResultInstructionAsOperand()
799 TreeHasOutGlue = SrcPat->TreeHasProperty(SDNPOutGlue, CGP); in EmitResultInstructionAsOperand()
828 CGP.operandHasDefault(II.Operands[NonOverridableOperands-1].Rec)) in EmitResultInstructionAsOperand()
835 if (CGP.operandHasDefault(OperandNode) && in EmitResultInstructionAsOperand()
841 = CGP.getDefaultOperand(OperandNode); in EmitResultInstructionAsOperand()
894 CGP.getTargetInfo().getRegBank().getReg(PhysRegInputs[i].first); in EmitResultInstructionAsOperand()
934 Pattern.getSrcPattern()->NodeHasProperty(SDNPVariadic, CGP)) in EmitResultInstructionAsOperand()
945 Pattern.getSrcPattern()->TreeHasProperty(SDNPMemOperand, CGP); in EmitResultInstructionAsOperand()
950 numNodesThatMayLoadOrStore(Pattern.getDstPattern(), CGP); in EmitResultInstructionAsOperand()
951 bool NodeIsUniqueLoadOrStore = mayInstNodeLoadOrStore(N, CGP) && in EmitResultInstructionAsOperand()
954 NodeIsUniqueLoadOrStore || (isRoot && (mayInstNodeLoadOrStore(N, CGP) || in EmitResultInstructionAsOperand()
960 if (Pattern.getSrcPattern()->TreeHasProperty(SDNPHasChain, CGP)) { in EmitResultInstructionAsOperand()
1059 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultCode()
1089 const CodeGenDAGPatterns &CGP) { in ConvertPatternToMatcher() argument
1090 MatcherGen Gen(Pattern, CGP); in ConvertPatternToMatcher()