Lines Matching refs:NodeToMatch

1836 UpdateChainsAndGlue(SDNode *NodeToMatch, SDValue InputChain,
1859 if (ChainNode == NodeToMatch && isMorphNodeTo)
2351 SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable,
2354 switch (NodeToMatch->getOpcode()) {
2380 NodeToMatch->setNodeId(-1); // Mark selected.
2384 CurDAG->ReplaceAllUsesOfValueWith(SDValue(NodeToMatch, 0),
2385 NodeToMatch->getOperand(0));
2387 case ISD::INLINEASM: return Select_INLINEASM(NodeToMatch);
2388 case ISD::UNDEF: return Select_UNDEF(NodeToMatch);
2391 assert(!NodeToMatch->isMachineOpcode() && "Node already selected!");
2393 // Set up the node stack with NodeToMatch as the only node on the stack.
2395 SDValue N = SDValue(NodeToMatch, 0);
2424 NodeToMatch->dump(CurDAG);
2602 if (!CheckComplexPattern(NodeToMatch, RecordedNodes[RecNo].second,
2719 NodeToMatch) ||
2721 NodeToMatch, OptLevel,
2791 if (ChainNodesMatched.back() != NodeToMatch &&
2828 if (ChainNodesMatched.back() != NodeToMatch &&
2856 InputChain = CurDAG->getCopyToReg(InputChain, SDLoc(NodeToMatch),
2920 assert(NodeToMatch->getNumOperands() >= FirstOpToCopy &&
2924 for (unsigned i = FirstOpToCopy, e = NodeToMatch->getNumOperands();
2926 SDValue V = NodeToMatch->getOperand(i);
2943 Res = CurDAG->getMachineNode(TargetOpc, SDLoc(NodeToMatch),
2953 } else if (NodeToMatch->getOpcode() != ISD::DELETED_NODE) {
2954 Res = MorphNode(NodeToMatch, TargetOpc, VTList, Ops.data(), Ops.size(),
2957 // NodeToMatch was eliminated by CSE when the target changed the DAG.
3027 UpdateChainsAndGlue(NodeToMatch, InputChain, ChainNodesMatched,
3064 assert(i < NodeToMatch->getNumValues() &&
3065 NodeToMatch->getValueType(i) != MVT::Other &&
3066 NodeToMatch->getValueType(i) != MVT::Glue &&
3068 assert((NodeToMatch->getValueType(i) == Res.getValueType() ||
3069 NodeToMatch->getValueType(i) == MVT::iPTR ||
3071 NodeToMatch->getValueType(i).getSizeInBits() ==
3074 CurDAG->ReplaceAllUsesOfValueWith(SDValue(NodeToMatch, i), Res);
3078 if (NodeToMatch->getValueType(NodeToMatch->getNumValues()-1) == MVT::Glue)
3079 GlueResultNodesMatched.push_back(NodeToMatch);
3082 UpdateChainsAndGlue(NodeToMatch, InputChain, ChainNodesMatched,
3085 assert(NodeToMatch->use_empty() &&
3101 CannotYetSelect(NodeToMatch);