• Home
  • Raw
  • Download

Lines Matching refs:CGP

52     const CodeGenDAGPatterns &CGP;  member in __anon0c6e02690111::MatcherGen
145 : Pattern(pattern), CGP(cgp), NextRecordedOperandNo(0), in MatcherGen()
173 TreePattern &TP = *CGP.pf_begin()->second; in InferPossibleTypes()
211 const SDNodeInfo &NI = CGP.getSDNodeInfo(CGP.getSDNodeNamed("imm")); in EmitLeafMatchCode()
270 const SDNodeInfo &CInfo = CGP.getSDNodeInfo(N->getOperator()); in EmitOperatorMatchCode()
314 if (N->NodeHasProperty(SDNPMemOperand, CGP)) in EmitOperatorMatchCode()
320 if (N->NodeHasProperty(SDNPHasChain, CGP)) { in EmitOperatorMatchCode()
364 const SDNodeInfo &PInfo = CGP.getSDNodeInfo(Root->getOperator()); in EmitOperatorMatchCode()
366 Root->getOperator() == CGP.get_intrinsic_void_sdnode() || in EmitOperatorMatchCode()
367 Root->getOperator() == CGP.get_intrinsic_w_chain_sdnode() || in EmitOperatorMatchCode()
368 Root->getOperator() == CGP.get_intrinsic_wo_chain_sdnode() || in EmitOperatorMatchCode()
381 if (N->NodeHasProperty(SDNPOutGlue, CGP) && in EmitOperatorMatchCode()
395 if (N->NodeHasProperty(SDNPOptInGlue, CGP) || in EmitOperatorMatchCode()
396 N->NodeHasProperty(SDNPInGlue, CGP)) in EmitOperatorMatchCode()
464 Pattern.getSrcPattern()->getComplexPatternInfo(CGP)) { in EmitMatcherCode()
469 AddMatcher(new CheckOpcodeMatcher(CGP.getSDNodeInfo(OpNodes[Variant]))); in EmitMatcherCode()
499 CGP.getComplexPattern(((DefInit*)N->getLeafValue())->getDef()); in EmitMatcherCode()
538 if (const ComplexPattern *CP = N->getComplexPatternInfo(CGP)) { in EmitResultOfNamedOperand()
586 CGP.getTargetInfo().getRegBank().getReg(Def); in EmitResultLeafAsOperand()
646 const CodeGenDAGPatterns &CGP) { in mayInstNodeLoadOrStore() argument
648 const CodeGenTarget &CGT = CGP.getTargetInfo(); in mayInstNodeLoadOrStore()
655 const CodeGenDAGPatterns &CGP) { in numNodesThatMayLoadOrStore() argument
664 if (mayInstNodeLoadOrStore(N, CGP)) in numNodesThatMayLoadOrStore()
668 Count += numNodesThatMayLoadOrStore(N->getChild(i), CGP); in numNodesThatMayLoadOrStore()
677 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultInstructionAsOperand()
679 const DAGInstruction &Inst = CGP.getInstruction(Op); in EmitResultInstructionAsOperand()
691 InstPatNode->TreeHasProperty(SDNPHasChain, CGP); in EmitResultInstructionAsOperand()
699 TreeHasInGlue = SrcPat->TreeHasProperty(SDNPOptInGlue, CGP) || in EmitResultInstructionAsOperand()
700 SrcPat->TreeHasProperty(SDNPInGlue, CGP); in EmitResultInstructionAsOperand()
704 TreeHasOutGlue = SrcPat->TreeHasProperty(SDNPOutGlue, CGP); in EmitResultInstructionAsOperand()
725 !CGP.getDefaultOperand(OperandNode).DefaultOps.empty()) { in EmitResultInstructionAsOperand()
729 = CGP.getDefaultOperand(OperandNode); in EmitResultInstructionAsOperand()
796 (Pattern.getSrcPattern()->NodeHasProperty(SDNPVariadic, CGP))) in EmitResultInstructionAsOperand()
807 Pattern.getSrcPattern()->TreeHasProperty(SDNPMemOperand, CGP); in EmitResultInstructionAsOperand()
812 numNodesThatMayLoadOrStore(Pattern.getDstPattern(), CGP); in EmitResultInstructionAsOperand()
813 bool NodeIsUniqueLoadOrStore = mayInstNodeLoadOrStore(N, CGP) && in EmitResultInstructionAsOperand()
816 NodeIsUniqueLoadOrStore || (isRoot && (mayInstNodeLoadOrStore(N, CGP) || in EmitResultInstructionAsOperand()
903 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultCode()
934 const CodeGenDAGPatterns &CGP) { in ConvertPatternToMatcher() argument
935 MatcherGen Gen(Pattern, CGP); in ConvertPatternToMatcher()