Lines Matching refs:Node
131 /// MatchWrapper - Try to match MSP430ISD::Wrapper node into an addressing mode.
164 /// MatchAddressBase - Helper for MatchAddress. Add the specified node to the
379 void MSP430DAGToDAGISel::Select(SDNode *Node) {
380 SDLoc dl(Node);
382 // Dump information about the Node being selected
384 DEBUG(Node->dump(CurDAG));
387 // If we have a custom node, we already have selected!
388 if (Node->isMachineOpcode()) {
390 Node->dump(CurDAG);
392 Node->setNodeId(-1);
397 switch (Node->getOpcode()) {
400 assert(Node->getValueType(0) == MVT::i16);
401 int FI = cast<FrameIndexSDNode>(Node)->getIndex();
403 if (Node->hasOneUse()) {
404 CurDAG->SelectNodeTo(Node, MSP430::ADD16ri, MVT::i16, TFI,
408 ReplaceNode(Node, CurDAG->getMachineNode(
414 if (tryIndexedLoad(Node))
419 if (tryIndexedBinOp(Node, Node->getOperand(0), Node->getOperand(1),
422 else if (tryIndexedBinOp(Node, Node->getOperand(1), Node->getOperand(0),
429 if (tryIndexedBinOp(Node, Node->getOperand(0), Node->getOperand(1),
436 if (tryIndexedBinOp(Node, Node->getOperand(0), Node->getOperand(1),
439 else if (tryIndexedBinOp(Node, Node->getOperand(1), Node->getOperand(0),
446 if (tryIndexedBinOp(Node, Node->getOperand(0), Node->getOperand(1),
449 else if (tryIndexedBinOp(Node, Node->getOperand(1), Node->getOperand(0),
456 if (tryIndexedBinOp(Node, Node->getOperand(0), Node->getOperand(1),
459 else if (tryIndexedBinOp(Node, Node->getOperand(1), Node->getOperand(0),
468 SelectCode(Node);