Lines Matching refs:NodeToMatch

2481     SDNode *NodeToMatch, SDValue InputChain,  in UpdateChains()  argument
2504 if (ChainNode == NodeToMatch && isMorphNodeTo) in UpdateChains()
2520 if (ChainNode != NodeToMatch && ChainNode->use_empty() && in UpdateChains()
2897 SDNode **NodeToMatch; member in __anon7401eed90511::MatchStateUpdater
2902 MatchStateUpdater(SelectionDAG &DAG, SDNode **NodeToMatch, in MatchStateUpdater() argument
2905 : SelectionDAG::DAGUpdateListener(DAG), NodeToMatch(NodeToMatch), in MatchStateUpdater()
2917 if (N == *NodeToMatch) in NodeDeleted()
2918 *NodeToMatch = E; in NodeDeleted()
2935 void SelectionDAGISel::SelectCodeCommon(SDNode *NodeToMatch, in SelectCodeCommon() argument
2939 switch (NodeToMatch->getOpcode()) { in SelectCodeCommon()
2965 NodeToMatch->setNodeId(-1); // Mark selected. in SelectCodeCommon()
2969 ReplaceUses(SDValue(NodeToMatch, 0), NodeToMatch->getOperand(0)); in SelectCodeCommon()
2970 CurDAG->RemoveDeadNode(NodeToMatch); in SelectCodeCommon()
2973 Select_INLINEASM(NodeToMatch); in SelectCodeCommon()
2976 Select_READ_REGISTER(NodeToMatch); in SelectCodeCommon()
2979 Select_WRITE_REGISTER(NodeToMatch); in SelectCodeCommon()
2982 Select_UNDEF(NodeToMatch); in SelectCodeCommon()
2986 assert(!NodeToMatch->isMachineOpcode() && "Node already selected!"); in SelectCodeCommon()
2990 SDValue N = SDValue(NodeToMatch, 0); in SelectCodeCommon()
3229 MSU.reset(new MatchStateUpdater(*CurDAG, &NodeToMatch, RecordedNodes, in SelectCodeCommon()
3232 if (!CheckComplexPattern(NodeToMatch, RecordedNodes[RecNo].second, in SelectCodeCommon()
3367 NodeToMatch) || in SelectCodeCommon()
3369 NodeToMatch, OptLevel, in SelectCodeCommon()
3382 CurDAG->getTargetConstant(Val, SDLoc(NodeToMatch), in SelectCodeCommon()
3415 Imm = CurDAG->getTargetConstant(*Val, SDLoc(NodeToMatch), in SelectCodeCommon()
3419 Imm = CurDAG->getTargetConstantFP(*Val, SDLoc(NodeToMatch), in SelectCodeCommon()
3443 if (ChainNodesMatched.back() != NodeToMatch && in SelectCodeCommon()
3480 if (ChainNodesMatched.back() != NodeToMatch && in SelectCodeCommon()
3508 InputChain = CurDAG->getCopyToReg(InputChain, SDLoc(NodeToMatch), in SelectCodeCommon()
3591 assert(NodeToMatch->getNumOperands() >= FirstOpToCopy && in SelectCodeCommon()
3595 for (unsigned i = FirstOpToCopy, e = NodeToMatch->getNumOperands(); in SelectCodeCommon()
3597 SDValue V = NodeToMatch->getOperand(i); in SelectCodeCommon()
3616 Res = CurDAG->getMachineNode(TargetOpc, SDLoc(NodeToMatch), in SelectCodeCommon()
3626 assert(NodeToMatch->getOpcode() != ISD::DELETED_NODE && in SelectCodeCommon()
3636 Res = cast<MachineSDNode>(MorphNode(NodeToMatch, TargetOpc, VTList, in SelectCodeCommon()
3709 assert(i < NodeToMatch->getNumValues() && in SelectCodeCommon()
3710 NodeToMatch->getValueType(i) != MVT::Other && in SelectCodeCommon()
3711 NodeToMatch->getValueType(i) != MVT::Glue && in SelectCodeCommon()
3713 assert((NodeToMatch->getValueType(i) == Res.getValueType() || in SelectCodeCommon()
3714 NodeToMatch->getValueType(i) == MVT::iPTR || in SelectCodeCommon()
3716 NodeToMatch->getValueType(i).getSizeInBits() == in SelectCodeCommon()
3719 ReplaceUses(SDValue(NodeToMatch, i), Res); in SelectCodeCommon()
3723 UpdateChains(NodeToMatch, InputChain, ChainNodesMatched, false); in SelectCodeCommon()
3729 if (NodeToMatch->getValueType(NodeToMatch->getNumValues() - 1) == in SelectCodeCommon()
3732 ReplaceUses(SDValue(NodeToMatch, NodeToMatch->getNumValues() - 1), in SelectCodeCommon()
3735 assert(NodeToMatch->use_empty() && in SelectCodeCommon()
3737 CurDAG->RemoveDeadNode(NodeToMatch); in SelectCodeCommon()
3751 CannotYetSelect(NodeToMatch); in SelectCodeCommon()