Home | History | Annotate | Download | only in TableGen

Lines Matching defs:CDP

1079 static unsigned GetNumNodeResults(Record *Operator, CodeGenDAGPatterns &CDP) {
1085 return CDP.getIntrinsic(Operator).IS.RetVTs.size();
1088 return CDP.getSDNodeInfo(Operator).getNumResults();
1094 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator))
1104 return GetNumNodeResults(Op, CDP);
1108 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator);
1114 if (InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()) !=MVT::Other)
1431 getIntrinsicInfo(const CodeGenDAGPatterns &CDP) const {
1432 CDP.get_intrinsic_void_sdnode() &&
1433 getOperator() != CDP.get_intrinsic_w_chain_sdnode() &&
1434 getOperator() != CDP.get_intrinsic_wo_chain_sdnode())
1438 return &CDP.getIntrinsicInfo(IID);
1486 TreePatternNode::isCommutativeIntrinsic(const CodeGenDAGPatterns &CDP) const {
1487 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP))
1500 CodeGenDAGPatterns &CDP = TP.getDAGPatterns();
1571 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) {
1602 const SDNodeInfo &NI = CDP.getSDNodeInfo(getOperator());
1619 const DAGInstruction &Inst = CDP.getInstruction(getOperator());
1621 CDP.getTargetInfo().getInstruction(getOperator());
1640 InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo());
1662 !CDP.getDefaultOperand(OperandNode).DefaultOps.empty())
1682 const ComplexPattern *AM = Child->getComplexPatternInfo(CDP);
1765 const CodeGenDAGPatterns &CDP) {
1769 if (!getChild(i)->canPatternMatch(Reason, CDP))
1781 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(getOperator());
1782 bool isCommIntrinsic = isCommutativeIntrinsic(CDP);
1804 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp),
1811 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp),
1817 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp),
1980 unsigned NumResults = GetNumNodeResults(Operator, CDP);
2470 const CodeGenDAGPatterns &CDP;
2478 InstAnalyzer(const CodeGenDAGPatterns &cdp)
2479 : CDP(cdp), hasSideEffects(false), mayStore(false), mayLoad(false),
2509 const SDNodeInfo &OpInfo = CDP.getSDNodeInfo(N1->getOperator());
2522 const ComplexPattern &CP = CDP.getComplexPattern(LeafRec);
2542 const SDNodeInfo &OpInfo = CDP.getSDNodeInfo(N->getOperator());
2550 if (const CodeGenIntrinsic *IntInfo = N->getIntrinsicInfo(CDP)) {
3294 CodeGenDAGPatterns &CDP,
3331 if (!R->canPatternMatch(ErrString, CDP)) {
3372 CodeGenDAGPatterns &CDP,
3377 CombineChildVariants(Orig, ChildVariants, OutVariants, CDP, DepVars);
3409 CodeGenDAGPatterns &CDP,
3418 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(N->getOperator());
3431 GenerateVariantsOf(MaximalChildren[0], AVariants, CDP, DepVars);
3432 GenerateVariantsOf(MaximalChildren[1], BVariants, CDP, DepVars);
3433 GenerateVariantsOf(MaximalChildren[2], CVariants, CDP, DepVars);
3446 CombineChildVariants(N, AVariants, BVariants, ABVariants, CDP, DepVars);
3447 CombineChildVariants(N, BVariants, AVariants, BAVariants, CDP, DepVars);
3448 CombineChildVariants(N, AVariants, CVariants, ACVariants, CDP, DepVars);
3449 CombineChildVariants(N, CVariants, AVariants, CAVariants, CDP, DepVars);
3450 CombineChildVariants(N, BVariants, CVariants, BCVariants, CDP, DepVars);
3451 CombineChildVariants(N, CVariants, BVariants, CBVariants, CDP, DepVars);
3454 CombineChildVariants(N, ABVariants, CVariants, OutVariants, CDP, DepVars);
3455 CombineChildVariants(N, BAVariants, CVariants, OutVariants, CDP, DepVars);
3456 CombineChildVariants(N, ACVariants, BVariants, OutVariants, CDP, DepVars);
3457 CombineChildVariants(N, CAVariants, BVariants, OutVariants, CDP, DepVars);
3458 CombineChildVariants(N, BCVariants, AVariants, OutVariants, CDP, DepVars);
3459 CombineChildVariants(N, CBVariants, AVariants, OutVariants, CDP, DepVars);
3462 CombineChildVariants(N, CVariants, ABVariants, OutVariants, CDP, DepVars);
3463 CombineChildVariants(N, CVariants, BAVariants, OutVariants, CDP, DepVars);
3464 CombineChildVariants(N, BVariants, ACVariants, OutVariants, CDP, DepVars);
3465 CombineChildVariants(N, BVariants, CAVariants, OutVariants, CDP, DepVars);
3466 CombineChildVariants(N, AVariants, BCVariants, OutVariants, CDP, DepVars);
3467 CombineChildVariants(N, AVariants, CBVariants, OutVariants, CDP, DepVars);
3476 GenerateVariantsOf(N->getChild(i), ChildVariants[i], CDP, DepVars);
3479 CombineChildVariants(N, ChildVariants, OutVariants, CDP, DepVars);
3482 bool isCommIntrinsic = N->isCommutativeIntrinsic(CDP);
3511 CombineChildVariants(N, Variants, OutVariants, CDP, DepVars);
3514 OutVariants, CDP, DepVars);