Lines Matching refs:CDP
1214 static unsigned GetNumNodeResults(Record *Operator, CodeGenDAGPatterns &CDP) { in GetNumNodeResults() argument
1220 return CDP.getIntrinsic(Operator).IS.RetVTs.size(); in GetNumNodeResults()
1223 return CDP.getSDNodeInfo(Operator).getNumResults(); in GetNumNodeResults()
1229 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator)) in GetNumNodeResults()
1239 return GetNumNodeResults(Op, CDP); in GetNumNodeResults()
1243 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator); in GetNumNodeResults()
1252 !CDP.getDefaultOperand(OperandNode).DefaultOps.empty()) in GetNumNodeResults()
1257 if (InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()) !=MVT::Other) in GetNumNodeResults()
1584 getIntrinsicInfo(const CodeGenDAGPatterns &CDP) const { in getIntrinsicInfo()
1585 if (getOperator() != CDP.get_intrinsic_void_sdnode() && in getIntrinsicInfo()
1586 getOperator() != CDP.get_intrinsic_w_chain_sdnode() && in getIntrinsicInfo()
1587 getOperator() != CDP.get_intrinsic_wo_chain_sdnode()) in getIntrinsicInfo()
1591 return &CDP.getIntrinsicInfo(IID); in getIntrinsicInfo()
1664 TreePatternNode::isCommutativeIntrinsic(const CodeGenDAGPatterns &CDP) const { in isCommutativeIntrinsic()
1665 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) in isCommutativeIntrinsic()
1703 CodeGenDAGPatterns &CDP = TP.getDAGPatterns(); in ApplyTypeConstraints() local
1774 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) { in ApplyTypeConstraints()
1805 const SDNodeInfo &NI = CDP.getSDNodeInfo(getOperator()); in ApplyTypeConstraints()
1822 const DAGInstruction &Inst = CDP.getInstruction(getOperator()); in ApplyTypeConstraints()
1824 CDP.getTargetInfo().getInstruction(getOperator()); in ApplyTypeConstraints()
1843 InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()); in ApplyTypeConstraints()
1893 !CDP.getDefaultOperand(OperandNode).DefaultOps.empty()) in ApplyTypeConstraints()
1913 if (Child->getNumMIResults(CDP) < NumArgs) { in ApplyTypeConstraints()
2004 const CodeGenDAGPatterns &CDP) { in canPatternMatch() argument
2008 if (!getChild(i)->canPatternMatch(Reason, CDP)) in canPatternMatch()
2023 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(getOperator()); in canPatternMatch()
2024 bool isCommIntrinsic = isCommutativeIntrinsic(CDP); in canPatternMatch()
2046 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp), in TreePattern()
2053 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp), in TreePattern()
2059 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp), in TreePattern()
2245 unsigned NumResults = GetNumNodeResults(Operator, CDP); in ParseTreePattern()
2740 const CodeGenDAGPatterns &CDP; member in InstAnalyzer
2749 : CDP(cdp), hasSideEffects(false), mayStore(false), mayLoad(false), in InstAnalyzer()
2779 const SDNodeInfo &OpInfo = CDP.getSDNodeInfo(N1->getOperator()); in IsNodeBitcast()
2792 const ComplexPattern &CP = CDP.getComplexPattern(LeafRec); in AnalyzeNode()
2812 if (N->NodeHasProperty(SDNPMayStore, CDP)) mayStore = true; in AnalyzeNode()
2813 if (N->NodeHasProperty(SDNPMayLoad, CDP)) mayLoad = true; in AnalyzeNode()
2814 if (N->NodeHasProperty(SDNPSideEffect, CDP)) hasSideEffects = true; in AnalyzeNode()
2815 if (N->NodeHasProperty(SDNPVariadic, CDP)) isVariadic = true; in AnalyzeNode()
2817 if (const CodeGenIntrinsic *IntInfo = N->getIntrinsicInfo(CDP)) { in AnalyzeNode()
3563 CodeGenDAGPatterns &CDP, in CombineChildVariants() argument
3604 if (R->canPatternMatch(ErrString, CDP) && in CombineChildVariants()
3631 CodeGenDAGPatterns &CDP, in CombineChildVariants() argument
3636 CombineChildVariants(Orig, ChildVariants, OutVariants, CDP, DepVars); in CombineChildVariants()
3668 CodeGenDAGPatterns &CDP, in GenerateVariantsOf() argument
3677 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(N->getOperator()); in GenerateVariantsOf()
3690 GenerateVariantsOf(MaximalChildren[0], AVariants, CDP, DepVars); in GenerateVariantsOf()
3691 GenerateVariantsOf(MaximalChildren[1], BVariants, CDP, DepVars); in GenerateVariantsOf()
3692 GenerateVariantsOf(MaximalChildren[2], CVariants, CDP, DepVars); in GenerateVariantsOf()
3705 CombineChildVariants(N, AVariants, BVariants, ABVariants, CDP, DepVars); in GenerateVariantsOf()
3706 CombineChildVariants(N, BVariants, AVariants, BAVariants, CDP, DepVars); in GenerateVariantsOf()
3707 CombineChildVariants(N, AVariants, CVariants, ACVariants, CDP, DepVars); in GenerateVariantsOf()
3708 CombineChildVariants(N, CVariants, AVariants, CAVariants, CDP, DepVars); in GenerateVariantsOf()
3709 CombineChildVariants(N, BVariants, CVariants, BCVariants, CDP, DepVars); in GenerateVariantsOf()
3710 CombineChildVariants(N, CVariants, BVariants, CBVariants, CDP, DepVars); in GenerateVariantsOf()
3713 CombineChildVariants(N, ABVariants, CVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3714 CombineChildVariants(N, BAVariants, CVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3715 CombineChildVariants(N, ACVariants, BVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3716 CombineChildVariants(N, CAVariants, BVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3717 CombineChildVariants(N, BCVariants, AVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3718 CombineChildVariants(N, CBVariants, AVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3721 CombineChildVariants(N, CVariants, ABVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3722 CombineChildVariants(N, CVariants, BAVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3723 CombineChildVariants(N, BVariants, ACVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3724 CombineChildVariants(N, BVariants, CAVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3725 CombineChildVariants(N, AVariants, BCVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3726 CombineChildVariants(N, AVariants, CBVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3735 GenerateVariantsOf(N->getChild(i), ChildVariants[i], CDP, DepVars); in GenerateVariantsOf()
3738 CombineChildVariants(N, ChildVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3741 bool isCommIntrinsic = N->isCommutativeIntrinsic(CDP); in GenerateVariantsOf()
3770 CombineChildVariants(N, Variants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3773 OutVariants, CDP, DepVars); in GenerateVariantsOf()