Lines Matching refs:NodeToMatch
2043 UpdateChainsAndGlue(SDNode *NodeToMatch, SDValue InputChain, in UpdateChainsAndGlue() argument
2066 if (ChainNode == NodeToMatch && isMorphNodeTo) in UpdateChainsAndGlue()
2610 SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable, in SelectCodeCommon() argument
2613 switch (NodeToMatch->getOpcode()) { in SelectCodeCommon()
2637 NodeToMatch->setNodeId(-1); // Mark selected. in SelectCodeCommon()
2641 CurDAG->ReplaceAllUsesOfValueWith(SDValue(NodeToMatch, 0), in SelectCodeCommon()
2642 NodeToMatch->getOperand(0)); in SelectCodeCommon()
2644 case ISD::INLINEASM: return Select_INLINEASM(NodeToMatch); in SelectCodeCommon()
2645 case ISD::READ_REGISTER: return Select_READ_REGISTER(NodeToMatch); in SelectCodeCommon()
2646 case ISD::WRITE_REGISTER: return Select_WRITE_REGISTER(NodeToMatch); in SelectCodeCommon()
2647 case ISD::UNDEF: return Select_UNDEF(NodeToMatch); in SelectCodeCommon()
2650 assert(!NodeToMatch->isMachineOpcode() && "Node already selected!"); in SelectCodeCommon()
2654 SDValue N = SDValue(NodeToMatch, 0); in SelectCodeCommon()
2683 NodeToMatch->dump(CurDAG); in SelectCodeCommon()
2869 if (!CheckComplexPattern(NodeToMatch, RecordedNodes[RecNo].second, in SelectCodeCommon()
2992 NodeToMatch) || in SelectCodeCommon()
2994 NodeToMatch, OptLevel, in SelectCodeCommon()
3064 if (ChainNodesMatched.back() != NodeToMatch && in SelectCodeCommon()
3101 if (ChainNodesMatched.back() != NodeToMatch && in SelectCodeCommon()
3129 InputChain = CurDAG->getCopyToReg(InputChain, SDLoc(NodeToMatch), in SelectCodeCommon()
3194 assert(NodeToMatch->getNumOperands() >= FirstOpToCopy && in SelectCodeCommon()
3198 for (unsigned i = FirstOpToCopy, e = NodeToMatch->getNumOperands(); in SelectCodeCommon()
3200 SDValue V = NodeToMatch->getOperand(i); in SelectCodeCommon()
3217 Res = CurDAG->getMachineNode(TargetOpc, SDLoc(NodeToMatch), in SelectCodeCommon()
3227 } else if (NodeToMatch->getOpcode() != ISD::DELETED_NODE) { in SelectCodeCommon()
3228 Res = MorphNode(NodeToMatch, TargetOpc, VTList, Ops, EmitNodeInfo); in SelectCodeCommon()
3300 UpdateChainsAndGlue(NodeToMatch, InputChain, ChainNodesMatched, in SelectCodeCommon()
3337 assert(i < NodeToMatch->getNumValues() && in SelectCodeCommon()
3338 NodeToMatch->getValueType(i) != MVT::Other && in SelectCodeCommon()
3339 NodeToMatch->getValueType(i) != MVT::Glue && in SelectCodeCommon()
3341 assert((NodeToMatch->getValueType(i) == Res.getValueType() || in SelectCodeCommon()
3342 NodeToMatch->getValueType(i) == MVT::iPTR || in SelectCodeCommon()
3344 NodeToMatch->getValueType(i).getSizeInBits() == in SelectCodeCommon()
3347 CurDAG->ReplaceAllUsesOfValueWith(SDValue(NodeToMatch, i), Res); in SelectCodeCommon()
3351 if (NodeToMatch->getValueType(NodeToMatch->getNumValues()-1) == MVT::Glue) in SelectCodeCommon()
3352 GlueResultNodesMatched.push_back(NodeToMatch); in SelectCodeCommon()
3355 UpdateChainsAndGlue(NodeToMatch, InputChain, ChainNodesMatched, in SelectCodeCommon()
3358 assert(NodeToMatch->use_empty() && in SelectCodeCommon()
3374 CannotYetSelect(NodeToMatch); in SelectCodeCommon()