Lines Matching refs:CDP
1168 static unsigned GetNumNodeResults(Record *Operator, CodeGenDAGPatterns &CDP) { in GetNumNodeResults() argument
1174 return CDP.getIntrinsic(Operator).IS.RetVTs.size(); in GetNumNodeResults()
1177 return CDP.getSDNodeInfo(Operator).getNumResults(); in GetNumNodeResults()
1183 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator)) in GetNumNodeResults()
1193 return GetNumNodeResults(Op, CDP); in GetNumNodeResults()
1197 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator); in GetNumNodeResults()
1206 !CDP.getDefaultOperand(OperandNode).DefaultOps.empty()) in GetNumNodeResults()
1211 if (InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()) !=MVT::Other) in GetNumNodeResults()
1539 getIntrinsicInfo(const CodeGenDAGPatterns &CDP) const { in getIntrinsicInfo()
1540 if (getOperator() != CDP.get_intrinsic_void_sdnode() && in getIntrinsicInfo()
1541 getOperator() != CDP.get_intrinsic_w_chain_sdnode() && in getIntrinsicInfo()
1542 getOperator() != CDP.get_intrinsic_wo_chain_sdnode()) in getIntrinsicInfo()
1546 return &CDP.getIntrinsicInfo(IID); in getIntrinsicInfo()
1619 TreePatternNode::isCommutativeIntrinsic(const CodeGenDAGPatterns &CDP) const { in isCommutativeIntrinsic()
1620 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) in isCommutativeIntrinsic()
1658 CodeGenDAGPatterns &CDP = TP.getDAGPatterns(); in ApplyTypeConstraints() local
1729 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) { in ApplyTypeConstraints()
1760 const SDNodeInfo &NI = CDP.getSDNodeInfo(getOperator()); in ApplyTypeConstraints()
1777 const DAGInstruction &Inst = CDP.getInstruction(getOperator()); in ApplyTypeConstraints()
1779 CDP.getTargetInfo().getInstruction(getOperator()); in ApplyTypeConstraints()
1798 InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()); in ApplyTypeConstraints()
1848 !CDP.getDefaultOperand(OperandNode).DefaultOps.empty()) in ApplyTypeConstraints()
1868 if (Child->getNumMIResults(CDP) < NumArgs) { in ApplyTypeConstraints()
1959 const CodeGenDAGPatterns &CDP) { in canPatternMatch() argument
1963 if (!getChild(i)->canPatternMatch(Reason, CDP)) in canPatternMatch()
1978 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(getOperator()); in canPatternMatch()
1979 bool isCommIntrinsic = isCommutativeIntrinsic(CDP); in canPatternMatch()
2001 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp), in TreePattern()
2008 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp), in TreePattern()
2014 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp), in TreePattern()
2199 unsigned NumResults = GetNumNodeResults(Operator, CDP); in ParseTreePattern()
2696 const CodeGenDAGPatterns &CDP; member in InstAnalyzer
2705 : CDP(cdp), hasSideEffects(false), mayStore(false), mayLoad(false), in InstAnalyzer()
2735 const SDNodeInfo &OpInfo = CDP.getSDNodeInfo(N1->getOperator()); in IsNodeBitcast()
2748 const ComplexPattern &CP = CDP.getComplexPattern(LeafRec); in AnalyzeNode()
2768 if (N->NodeHasProperty(SDNPMayStore, CDP)) mayStore = true; in AnalyzeNode()
2769 if (N->NodeHasProperty(SDNPMayLoad, CDP)) mayLoad = true; in AnalyzeNode()
2770 if (N->NodeHasProperty(SDNPSideEffect, CDP)) hasSideEffects = true; in AnalyzeNode()
2771 if (N->NodeHasProperty(SDNPVariadic, CDP)) isVariadic = true; in AnalyzeNode()
2773 if (const CodeGenIntrinsic *IntInfo = N->getIntrinsicInfo(CDP)) { in AnalyzeNode()
3518 CodeGenDAGPatterns &CDP, in CombineChildVariants() argument
3555 if (!R->canPatternMatch(ErrString, CDP)) { in CombineChildVariants()
3596 CodeGenDAGPatterns &CDP, in CombineChildVariants() argument
3601 CombineChildVariants(Orig, ChildVariants, OutVariants, CDP, DepVars); in CombineChildVariants()
3633 CodeGenDAGPatterns &CDP, in GenerateVariantsOf() argument
3642 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(N->getOperator()); in GenerateVariantsOf()
3655 GenerateVariantsOf(MaximalChildren[0], AVariants, CDP, DepVars); in GenerateVariantsOf()
3656 GenerateVariantsOf(MaximalChildren[1], BVariants, CDP, DepVars); in GenerateVariantsOf()
3657 GenerateVariantsOf(MaximalChildren[2], CVariants, CDP, DepVars); in GenerateVariantsOf()
3670 CombineChildVariants(N, AVariants, BVariants, ABVariants, CDP, DepVars); in GenerateVariantsOf()
3671 CombineChildVariants(N, BVariants, AVariants, BAVariants, CDP, DepVars); in GenerateVariantsOf()
3672 CombineChildVariants(N, AVariants, CVariants, ACVariants, CDP, DepVars); in GenerateVariantsOf()
3673 CombineChildVariants(N, CVariants, AVariants, CAVariants, CDP, DepVars); in GenerateVariantsOf()
3674 CombineChildVariants(N, BVariants, CVariants, BCVariants, CDP, DepVars); in GenerateVariantsOf()
3675 CombineChildVariants(N, CVariants, BVariants, CBVariants, CDP, DepVars); in GenerateVariantsOf()
3678 CombineChildVariants(N, ABVariants, CVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3679 CombineChildVariants(N, BAVariants, CVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3680 CombineChildVariants(N, ACVariants, BVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3681 CombineChildVariants(N, CAVariants, BVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3682 CombineChildVariants(N, BCVariants, AVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3683 CombineChildVariants(N, CBVariants, AVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3686 CombineChildVariants(N, CVariants, ABVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3687 CombineChildVariants(N, CVariants, BAVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3688 CombineChildVariants(N, BVariants, ACVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3689 CombineChildVariants(N, BVariants, CAVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3690 CombineChildVariants(N, AVariants, BCVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3691 CombineChildVariants(N, AVariants, CBVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3700 GenerateVariantsOf(N->getChild(i), ChildVariants[i], CDP, DepVars); in GenerateVariantsOf()
3703 CombineChildVariants(N, ChildVariants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3706 bool isCommIntrinsic = N->isCommutativeIntrinsic(CDP); in GenerateVariantsOf()
3735 CombineChildVariants(N, Variants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3738 OutVariants, CDP, DepVars); in GenerateVariantsOf()