Home | History | Annotate | Download | only in TableGen

Lines Matching refs:cdp

1007 static unsigned GetNumNodeResults(Record *Operator, CodeGenDAGPatterns &CDP) {
1013 return CDP.getIntrinsic(Operator).IS.RetVTs.size();
1016 return CDP.getSDNodeInfo(Operator).getNumResults();
1022 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator))
1031 return GetNumNodeResults(Op, CDP);
1035 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator);
1041 if (InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()) !=MVT::Other)
1317 getIntrinsicInfo(const CodeGenDAGPatterns &CDP) const {
1318 if (getOperator() != CDP.get_intrinsic_void_sdnode() &&
1319 getOperator() != CDP.get_intrinsic_w_chain_sdnode() &&
1320 getOperator() != CDP.get_intrinsic_wo_chain_sdnode())
1325 return &CDP.getIntrinsicInfo(IID);
1373 TreePatternNode::isCommutativeIntrinsic(const CodeGenDAGPatterns &CDP) const {
1374 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP))
1385 CodeGenDAGPatterns &CDP = TP.getDAGPatterns();
1480 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) {
1509 const SDNodeInfo &NI = CDP.getSDNodeInfo(getOperator());
1524 const DAGInstruction &Inst = CDP.getInstruction(getOperator());
1526 CDP.getTargetInfo().getInstruction(getOperator());
1542 CDP.getTargetInfo().getRegisterClass(RegClass);
1550 CDP.getTargetInfo().getRegisterClass(ResultNode);
1563 InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo());
1586 !CDP.getDefaultOperand(OperandNode).DefaultOps.empty())
1600 CDP.getTargetInfo().getRegisterClass(OperandNode);
1605 CDP.getTargetInfo().getRegisterClass(RegClass);
1667 const CodeGenDAGPatterns &CDP) {
1671 if (!getChild(i)->canPatternMatch(Reason, CDP))
1683 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(getOperator());
1684 bool isCommIntrinsic = isCommutativeIntrinsic(CDP);
1706 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp){
1713 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp){
1719 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp){
1869 unsigned NumResults = GetNumNodeResults(Operator, CDP);
2369 const CodeGenDAGPatterns &CDP;
2376 InstAnalyzer(const CodeGenDAGPatterns &cdp,
2378 : CDP(cdp), mayStore(maystore), mayLoad(mayload), IsBitcast(isbc),
2385 const TreePattern *Pattern = CDP.getInstruction(InstRecord).getPattern();
2415 const SDNodeInfo &OpInfo = CDP.getSDNodeInfo(N1->getOperator());
2427 const ComplexPattern &CP = CDP.getComplexPattern(LeafRec);
2447 const SDNodeInfo &OpInfo = CDP.getSDNodeInfo(N->getOperator());
2455 if (const CodeGenIntrinsic *IntInfo = N->getIntrinsicInfo(CDP)) {
2475 const CodeGenDAGPatterns &CDP) {
2479 InstAnalyzer(CDP, MayStore, MayLoad, IsBitcast, HasSideEffects, IsVariadic)
2997 CodeGenDAGPatterns &CDP,
3034 if (!R->canPatternMatch(ErrString, CDP)) {
3075 CodeGenDAGPatterns &CDP,
3080 CDP, DepVars);
3112 CodeGenDAGPatterns &CDP,
3121 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(N->getOperator());
3134 GenerateVariantsOf(MaximalChildren[0], AVariants, CDP, DepVars);
3135 GenerateVariantsOf(MaximalChildren[1], BVariants, CDP, DepVars);
3136 GenerateVariantsOf(MaximalChildren[2], CVariants, CDP, DepVars);
3149 CombineChildVariants(N, AVariants, BVariants, ABVariants, CDP, DepVars);
3150 CombineChildVariants(N, BVariants, AVariants, BAVariants, CDP, DepVars);
3151 CombineChildVariants(N, AVariants, CVariants, ACVariants, CDP, DepVars);
3152 CombineChildVariants(N, CVariants, AVariants, CAVariants, CDP, DepVars);
3153 CombineChildVariants(N, BVariants, CVariants, BCVariants, CDP, DepVars);
3154 CombineChildVariants(N, CVariants, BVariants, CBVariants, CDP, DepVars);
3157 CombineChildVariants(N, ABVariants, CVariants, OutVariants, CDP, DepVars);
3158 CombineChildVariants(N, BAVariants, CVariants, OutVariants, CDP, DepVars);
3159 CombineChildVariants(N, ACVariants, BVariants, OutVariants, CDP, DepVars);
3160 CombineChildVariants(N, CAVariants, BVariants, OutVariants, CDP, DepVars);
3161 CombineChildVariants(N, BCVariants, AVariants, OutVariants, CDP, DepVars);
3162 CombineChildVariants(N, CBVariants, AVariants, OutVariants, CDP, DepVars);
3165 CombineChildVariants(N, CVariants, ABVariants, OutVariants, CDP, DepVars);
3166 CombineChildVariants(N, CVariants, BAVariants, OutVariants, CDP, DepVars);
3167 CombineChildVariants(N, BVariants, ACVariants, OutVariants, CDP, DepVars);
3168 CombineChildVariants(N, BVariants, CAVariants, OutVariants, CDP, DepVars);
3169 CombineChildVariants(N, AVariants, BCVariants, OutVariants, CDP, DepVars);
3170 CombineChildVariants(N, AVariants, CBVariants, OutVariants, CDP, DepVars);
3179 GenerateVariantsOf(N->getChild(i), ChildVariants[i], CDP, DepVars);
3182 CombineChildVariants(N, ChildVariants, OutVariants, CDP, DepVars);
3185 bool isCommIntrinsic = N->isCommutativeIntrinsic(CDP);
3214 CombineChildVariants(N, Variants, OutVariants, CDP, DepVars);
3217 OutVariants, CDP, DepVars);