Home
last modified time | relevance | path

Searched refs:ResNode (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp370 SDNode *ResNode = in SelectIndexedBinOp() local
372 cast<MachineSDNode>(ResNode)->setMemRefs(MemRefs0, MemRefs0 + 1); in SelectIndexedBinOp()
374 ReplaceUses(SDValue(N1.getNode(), 2), SDValue(ResNode, 2)); in SelectIndexedBinOp()
376 ReplaceUses(SDValue(N1.getNode(), 1), SDValue(ResNode, 1)); in SelectIndexedBinOp()
377 return ResNode; in SelectIndexedBinOp()
415 if (SDNode *ResNode = SelectIndexedLoad(Node)) in Select() local
416 return ResNode; in Select()
420 if (SDNode *ResNode = in Select() local
424 return ResNode; in Select()
425 else if (SDNode *ResNode = in Select() local
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp1626 SDNode *ResNode = in SwapAllSelectUsers() local
1635 DEBUG(ResNode->dump(CurDAG)); in SwapAllSelectUsers()
1638 ReplaceUses(User, ResNode); in SwapAllSelectUsers()
1651 SDNode *ResNode = MachineNode; in PeepholeCROps() local
1707 ResNode = MachineNode->getOperand(0).getNode(); in PeepholeCROps()
1710 ResNode = MachineNode->getOperand(1).getNode(); in PeepholeCROps()
1713 ResNode = MachineNode->getOperand(0).getNode(); in PeepholeCROps()
1716 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode), in PeepholeCROps()
1720 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode), in PeepholeCROps()
1726 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode), in PeepholeCROps()
[all …]
/external/llvm/lib/Target/Mips/
DMipsISelDAGToDAG.cpp215 SDNode *ResNode = SelectCode(Node); in Select() local
218 if (ResNode == nullptr || ResNode == Node) in Select()
221 DEBUG(ResNode->dump(CurDAG)); in Select()
223 return ResNode; in Select()
DMipsSEISelDAGToDAG.cpp790 SDValue ResNode = CurDAG->getCopyFromReg(Chain, DL, DestReg, PtrVT); in selectNode() local
791 ReplaceUses(SDValue(Node, 0), ResNode); in selectNode()
792 return std::make_pair(true, ResNode.getNode()); in selectNode()
/external/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp1046 SDNode *ResNode = nullptr; in Select() local
1050 ResNode = tryRxSBG(Node, SystemZ::ROSBG); in Select()
1055 ResNode = tryRxSBG(Node, SystemZ::RXSBG); in Select()
1060 if (!ResNode && Node->getValueType(0) == MVT::i64) in Select()
1071 ResNode = tryRxSBG(Node, SystemZ::RNSBG); in Select()
1077 if (!ResNode) in Select()
1078 ResNode = tryRISBGZero(Node); in Select()
1115 if (!ResNode) in Select()
1116 ResNode = SelectCode(Node); in Select()
1119 if (ResNode == nullptr || ResNode == Node) in Select()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp199 if (SDNode *ResNode = SelectBRIND(N)) in Select() local
200 return ResNode; in Select()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp128 SDNode *ResNode = nullptr; in Select() local
131 ResNode = SelectLoad(N); in Select()
134 ResNode = SelectStore(N); in Select()
138 ResNode = SelectLoadVector(N); in Select()
144 ResNode = SelectLDGLDU(N); in Select()
148 ResNode = SelectStoreVector(N); in Select()
153 ResNode = SelectLoadParam(N); in Select()
158 ResNode = SelectStoreRetval(N); in Select()
165 ResNode = SelectStoreParam(N); in Select()
168 ResNode = SelectIntrinsicNoChain(N); in Select()
[all …]
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2426 SDNode *ResNode = SelectInlineAsm(N); in Select() local
2427 if (ResNode) in Select()
2428 return ResNode; in Select()
2433 SDNode *ResNode = SelectABSOp(N); in Select() local
2434 if (ResNode) in Select()
2435 return ResNode; in Select()
2465 SDNode *ResNode; in Select() local
2470 ResNode = CurDAG->getMachineNode(ARM::tLDRpci, dl, MVT::i32, MVT::Other, in Select()
2480 ResNode=CurDAG->getMachineNode(ARM::LDRcp, dl, MVT::i32, MVT::Other, in Select()
2483 ReplaceUses(SDValue(N, 0), SDValue(ResNode, 0)); in Select()
[all …]
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1582 SDNode *ResNode = CurDAG->getMachineNode(Opc, SDLoc(Node), in SelectAtomic64() local
1584 cast<MachineSDNode>(ResNode)->setMemRefs(MemOp, MemOp + 1); in SelectAtomic64()
1585 return ResNode; in SelectAtomic64()
2048 SDNode *ResNode = CurDAG->getMachineNode(Opc, SDLoc(Node), VTs, Ops); in SelectGather() local
2053 ReplaceUses(SDValue(Node, 0), SDValue(ResNode, 0)); in SelectGather()
2054 ReplaceUses(SDValue(Node, 1), SDValue(ResNode, 2)); in SelectGather()
2055 return ResNode; in SelectGather()
2748 SDNode *ResNode = SelectCode(Node); in Select() local
2751 if (ResNode == nullptr || ResNode == Node) in Select()
2754 ResNode->dump(CurDAG); in Select()
[all …]
DX86ISelLowering.cpp5719 SDValue ResNode = in EltsFromConsecutiveLoads() local
5731 SDValue(LDBase, 1), SDValue(ResNode.getNode(), 1)); in EltsFromConsecutiveLoads()
5734 SDValue(ResNode.getNode(), 1)); in EltsFromConsecutiveLoads()
5737 return DAG.getNode(ISD::BITCAST, DL, VT, ResNode); in EltsFromConsecutiveLoads()
18372 SDValue ResNode = in PerformShuffleCombine256() local
18385 SDValue(Ld, 1), SDValue(ResNode.getNode(), 1)); in PerformShuffleCombine256()
18388 SDValue(ResNode.getNode(), 1)); in PerformShuffleCombine256()
18391 return DAG.getNode(ISD::BITCAST, dl, VT, ResNode); in PerformShuffleCombine256()
/external/llvm/lib/Target/R600/
DAMDGPUISelDAGToDAG.cpp795 SDNode *ResNode = Lowering.PostISelFolding(MachineNode, *CurDAG); in PostprocessISelDAG() local
796 if (ResNode != Node) { in PostprocessISelDAG()
797 ReplaceUses(Node, ResNode); in PostprocessISelDAG()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp2056 SDNode *ResNode = nullptr; in Select() local
3016 ResNode = SelectCode(Node); in Select()
3019 if (ResNode == nullptr || ResNode == Node) in Select()
3022 DEBUG(ResNode->dump(CurDAG)); in Select()
3025 return ResNode; in Select()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp865 SDNode *ResNode = Select(Node); in DoInstructionSelection() local
871 if (ResNode == Node || Node->getOpcode() == ISD::DELETED_NODE) in DoInstructionSelection()
874 if (ResNode) { in DoInstructionSelection()
875 ReplaceUses(Node, ResNode); in DoInstructionSelection()