Lines Matching refs:NodeToMatch
2634 SDNode *NodeToMatch, SDValue InputChain, in UpdateChains() argument
2657 if (ChainNode == NodeToMatch && isMorphNodeTo) in UpdateChains()
2673 if (ChainNode != NodeToMatch && ChainNode->use_empty() && in UpdateChains()
3147 SDNode **NodeToMatch; member in __anoncb0c1b940511::MatchStateUpdater
3152 MatchStateUpdater(SelectionDAG &DAG, SDNode **NodeToMatch, in MatchStateUpdater() argument
3155 : SelectionDAG::DAGUpdateListener(DAG), NodeToMatch(NodeToMatch), in MatchStateUpdater()
3167 if (N == *NodeToMatch) in NodeDeleted()
3168 *NodeToMatch = E; in NodeDeleted()
3185 void SelectionDAGISel::SelectCodeCommon(SDNode *NodeToMatch, in SelectCodeCommon() argument
3189 switch (NodeToMatch->getOpcode()) { in SelectCodeCommon()
3216 NodeToMatch->setNodeId(-1); // Mark selected. in SelectCodeCommon()
3221 ReplaceUses(SDValue(NodeToMatch, 0), NodeToMatch->getOperand(0)); in SelectCodeCommon()
3222 CurDAG->RemoveDeadNode(NodeToMatch); in SelectCodeCommon()
3226 Select_INLINEASM(NodeToMatch); in SelectCodeCommon()
3229 Select_READ_REGISTER(NodeToMatch); in SelectCodeCommon()
3232 Select_WRITE_REGISTER(NodeToMatch); in SelectCodeCommon()
3235 Select_UNDEF(NodeToMatch); in SelectCodeCommon()
3238 Select_FREEZE(NodeToMatch); in SelectCodeCommon()
3241 Select_ARITH_FENCE(NodeToMatch); in SelectCodeCommon()
3244 Select_MEMBARRIER(NodeToMatch); in SelectCodeCommon()
3247 Select_STACKMAP(NodeToMatch); in SelectCodeCommon()
3250 Select_PATCHPOINT(NodeToMatch); in SelectCodeCommon()
3253 Select_JUMP_TABLE_DEBUG_INFO(NodeToMatch); in SelectCodeCommon()
3256 Select_CONVERGENCECTRL_ANCHOR(NodeToMatch); in SelectCodeCommon()
3259 Select_CONVERGENCECTRL_ENTRY(NodeToMatch); in SelectCodeCommon()
3262 Select_CONVERGENCECTRL_LOOP(NodeToMatch); in SelectCodeCommon()
3266 assert(!NodeToMatch->isMachineOpcode() && "Node already selected!"); in SelectCodeCommon()
3270 SDValue N = SDValue(NodeToMatch, 0); in SelectCodeCommon()
3561 MSU.reset(new MatchStateUpdater(*CurDAG, &NodeToMatch, RecordedNodes, in SelectCodeCommon()
3564 if (!CheckComplexPattern(NodeToMatch, RecordedNodes[RecNo].second, in SelectCodeCommon()
3764 NodeToMatch) || in SelectCodeCommon()
3766 NodeToMatch, OptLevel, in SelectCodeCommon()
3804 CurDAG->getTargetConstant(Val, SDLoc(NodeToMatch), VT), nullptr)); in SelectCodeCommon()
3858 Imm = CurDAG->getTargetConstant(*Val, SDLoc(NodeToMatch), in SelectCodeCommon()
3862 Imm = CurDAG->getTargetConstantFP(*Val, SDLoc(NodeToMatch), in SelectCodeCommon()
3888 if (ChainNodesMatched.back() != NodeToMatch && in SelectCodeCommon()
3927 if (ChainNodesMatched.back() != NodeToMatch && in SelectCodeCommon()
3969 InputChain = CurDAG->getCopyToReg(InputChain, SDLoc(NodeToMatch), in SelectCodeCommon()
4109 assert(NodeToMatch->getNumOperands() >= FirstOpToCopy && in SelectCodeCommon()
4113 for (unsigned i = FirstOpToCopy, e = NodeToMatch->getNumOperands(); in SelectCodeCommon()
4115 SDValue V = NodeToMatch->getOperand(i); in SelectCodeCommon()
4144 Res = CurDAG->getMachineNode(TargetOpc, SDLoc(NodeToMatch), in SelectCodeCommon()
4154 assert(NodeToMatch->getOpcode() != ISD::DELETED_NODE && in SelectCodeCommon()
4164 Res = cast<MachineSDNode>(MorphNode(NodeToMatch, TargetOpc, VTList, in SelectCodeCommon()
4245 assert(i < NodeToMatch->getNumValues() && in SelectCodeCommon()
4246 NodeToMatch->getValueType(i) != MVT::Other && in SelectCodeCommon()
4247 NodeToMatch->getValueType(i) != MVT::Glue && in SelectCodeCommon()
4249 assert((NodeToMatch->getValueType(i) == Res.getValueType() || in SelectCodeCommon()
4250 NodeToMatch->getValueType(i) == MVT::iPTR || in SelectCodeCommon()
4252 NodeToMatch->getValueType(i).getSizeInBits() == in SelectCodeCommon()
4255 ReplaceUses(SDValue(NodeToMatch, i), Res); in SelectCodeCommon()
4259 UpdateChains(NodeToMatch, InputChain, ChainNodesMatched, false); in SelectCodeCommon()
4265 if (NodeToMatch->getValueType(NodeToMatch->getNumValues() - 1) == in SelectCodeCommon()
4268 ReplaceUses(SDValue(NodeToMatch, NodeToMatch->getNumValues() - 1), in SelectCodeCommon()
4271 assert(NodeToMatch->use_empty() && in SelectCodeCommon()
4273 CurDAG->RemoveDeadNode(NodeToMatch); in SelectCodeCommon()
4287 CannotYetSelect(NodeToMatch); in SelectCodeCommon()