Lines Matching refs:NodeToMatch

2500     SDNode *NodeToMatch, SDValue InputChain,  in UpdateChains()  argument
2523 if (ChainNode == NodeToMatch && isMorphNodeTo) in UpdateChains()
2539 if (ChainNode != NodeToMatch && ChainNode->use_empty() && in UpdateChains()
3013 SDNode **NodeToMatch; member in __anona6baf40a0511::MatchStateUpdater
3018 MatchStateUpdater(SelectionDAG &DAG, SDNode **NodeToMatch, in MatchStateUpdater() argument
3021 : SelectionDAG::DAGUpdateListener(DAG), NodeToMatch(NodeToMatch), in MatchStateUpdater()
3033 if (N == *NodeToMatch) in NodeDeleted()
3034 *NodeToMatch = E; in NodeDeleted()
3051 void SelectionDAGISel::SelectCodeCommon(SDNode *NodeToMatch, in SelectCodeCommon() argument
3055 switch (NodeToMatch->getOpcode()) { in SelectCodeCommon()
3082 NodeToMatch->setNodeId(-1); // Mark selected. in SelectCodeCommon()
3087 ReplaceUses(SDValue(NodeToMatch, 0), NodeToMatch->getOperand(0)); in SelectCodeCommon()
3088 CurDAG->RemoveDeadNode(NodeToMatch); in SelectCodeCommon()
3092 Select_INLINEASM(NodeToMatch); in SelectCodeCommon()
3095 Select_READ_REGISTER(NodeToMatch); in SelectCodeCommon()
3098 Select_WRITE_REGISTER(NodeToMatch); in SelectCodeCommon()
3101 Select_UNDEF(NodeToMatch); in SelectCodeCommon()
3104 Select_FREEZE(NodeToMatch); in SelectCodeCommon()
3107 Select_ARITH_FENCE(NodeToMatch); in SelectCodeCommon()
3110 Select_MEMBARRIER(NodeToMatch); in SelectCodeCommon()
3113 Select_STACKMAP(NodeToMatch); in SelectCodeCommon()
3116 Select_PATCHPOINT(NodeToMatch); in SelectCodeCommon()
3119 Select_JUMP_TABLE_DEBUG_INFO(NodeToMatch); in SelectCodeCommon()
3123 assert(!NodeToMatch->isMachineOpcode() && "Node already selected!"); in SelectCodeCommon()
3127 SDValue N = SDValue(NodeToMatch, 0); in SelectCodeCommon()
3418 MSU.reset(new MatchStateUpdater(*CurDAG, &NodeToMatch, RecordedNodes, in SelectCodeCommon()
3421 if (!CheckComplexPattern(NodeToMatch, RecordedNodes[RecNo].second, in SelectCodeCommon()
3621 NodeToMatch) || in SelectCodeCommon()
3623 NodeToMatch, OptLevel, in SelectCodeCommon()
3661 CurDAG->getTargetConstant(Val, SDLoc(NodeToMatch), VT), nullptr)); in SelectCodeCommon()
3715 Imm = CurDAG->getTargetConstant(*Val, SDLoc(NodeToMatch), in SelectCodeCommon()
3719 Imm = CurDAG->getTargetConstantFP(*Val, SDLoc(NodeToMatch), in SelectCodeCommon()
3745 if (ChainNodesMatched.back() != NodeToMatch && in SelectCodeCommon()
3784 if (ChainNodesMatched.back() != NodeToMatch && in SelectCodeCommon()
3826 InputChain = CurDAG->getCopyToReg(InputChain, SDLoc(NodeToMatch), in SelectCodeCommon()
3966 assert(NodeToMatch->getNumOperands() >= FirstOpToCopy && in SelectCodeCommon()
3970 for (unsigned i = FirstOpToCopy, e = NodeToMatch->getNumOperands(); in SelectCodeCommon()
3972 SDValue V = NodeToMatch->getOperand(i); in SelectCodeCommon()
4001 Res = CurDAG->getMachineNode(TargetOpc, SDLoc(NodeToMatch), in SelectCodeCommon()
4011 assert(NodeToMatch->getOpcode() != ISD::DELETED_NODE && in SelectCodeCommon()
4021 Res = cast<MachineSDNode>(MorphNode(NodeToMatch, TargetOpc, VTList, in SelectCodeCommon()
4102 assert(i < NodeToMatch->getNumValues() && in SelectCodeCommon()
4103 NodeToMatch->getValueType(i) != MVT::Other && in SelectCodeCommon()
4104 NodeToMatch->getValueType(i) != MVT::Glue && in SelectCodeCommon()
4106 assert((NodeToMatch->getValueType(i) == Res.getValueType() || in SelectCodeCommon()
4107 NodeToMatch->getValueType(i) == MVT::iPTR || in SelectCodeCommon()
4109 NodeToMatch->getValueType(i).getSizeInBits() == in SelectCodeCommon()
4112 ReplaceUses(SDValue(NodeToMatch, i), Res); in SelectCodeCommon()
4116 UpdateChains(NodeToMatch, InputChain, ChainNodesMatched, false); in SelectCodeCommon()
4122 if (NodeToMatch->getValueType(NodeToMatch->getNumValues() - 1) == in SelectCodeCommon()
4125 ReplaceUses(SDValue(NodeToMatch, NodeToMatch->getNumValues() - 1), in SelectCodeCommon()
4128 assert(NodeToMatch->use_empty() && in SelectCodeCommon()
4130 CurDAG->RemoveDeadNode(NodeToMatch); in SelectCodeCommon()
4144 CannotYetSelect(NodeToMatch); in SelectCodeCommon()