Home
last modified time | relevance | path

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

/external/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp365 SDNode *ResNode = in SelectIndexedBinOp() local
367 cast<MachineSDNode>(ResNode)->setMemRefs(MemRefs0, MemRefs0 + 1); in SelectIndexedBinOp()
369 ReplaceUses(SDValue(N1.getNode(), 2), SDValue(ResNode, 2)); in SelectIndexedBinOp()
371 ReplaceUses(SDValue(N1.getNode(), 1), SDValue(ResNode, 1)); in SelectIndexedBinOp()
372 return ResNode; in SelectIndexedBinOp()
410 if (SDNode *ResNode = SelectIndexedLoad(Node)) in Select() local
411 return ResNode; in Select()
415 if (SDNode *ResNode = in Select() local
419 return ResNode; in Select()
420 else if (SDNode *ResNode = in Select() local
[all …]
/external/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp146 SDNode *ResNode = SelectCode(Node); in Select() local
149 if (ResNode == nullptr || ResNode == Node) in Select()
152 ResNode->dump(CurDAG); in Select()
154 return ResNode; in Select()
/external/llvm/lib/Target/Mips/
DMipsISelDAGToDAG.cpp221 SDNode *ResNode = SelectCode(Node); in Select() local
224 if (ResNode == nullptr || ResNode == Node) in Select()
227 DEBUG(ResNode->dump(CurDAG)); in Select()
229 return ResNode; in Select()
DMipsSEISelDAGToDAG.cpp856 SDValue ResNode = CurDAG->getCopyFromReg(Chain, DL, DestReg, PtrVT); in selectNode() local
857 ReplaceUses(SDValue(Node, 0), ResNode); in selectNode()
858 return std::make_pair(true, ResNode.getNode()); in selectNode()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp3361 SDNode *ResNode = in SwapAllSelectUsers() local
3370 DEBUG(ResNode->dump(CurDAG)); in SwapAllSelectUsers()
3373 ReplaceUses(User, ResNode); in SwapAllSelectUsers()
3386 SDNode *ResNode = MachineNode; in PeepholeCROps() local
3447 ResNode = MachineNode->getOperand(0).getNode(); in PeepholeCROps()
3450 ResNode = MachineNode->getOperand(1).getNode(); in PeepholeCROps()
3453 ResNode = MachineNode->getOperand(0).getNode(); in PeepholeCROps()
3456 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode), in PeepholeCROps()
3460 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode), in PeepholeCROps()
3466 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode), in PeepholeCROps()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp1055 SDNode *ResNode = nullptr; in Select() local
1059 ResNode = tryRxSBG(Node, SystemZ::ROSBG); in Select()
1064 ResNode = tryRxSBG(Node, SystemZ::RXSBG); in Select()
1069 if (!ResNode && Node->getValueType(0) == MVT::i64) in Select()
1080 ResNode = tryRxSBG(Node, SystemZ::RNSBG); in Select()
1086 if (!ResNode) in Select()
1087 ResNode = tryRISBGZero(Node); in Select()
1124 if (!ResNode) in Select()
1125 ResNode = SelectCode(Node); in Select()
1128 if (ResNode == nullptr || ResNode == Node) in Select()
[all …]
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2447 SDNode *ResNode = SelectInlineAsm(N); in Select() local
2448 if (ResNode) in Select()
2449 return ResNode; in Select()
2454 SDNode *ResNode = SelectABSOp(N); in Select() local
2455 if (ResNode) in Select()
2456 return ResNode; in Select()
2485 SDNode *ResNode; in Select() local
2490 ResNode = CurDAG->getMachineNode(ARM::tLDRpci, dl, MVT::i32, MVT::Other, in Select()
2500 ResNode=CurDAG->getMachineNode(ARM::LDRcp, dl, MVT::i32, MVT::Other, in Select()
2503 ReplaceUses(SDValue(N, 0), SDValue(ResNode, 0)); in Select()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp197 if (SDNode *ResNode = SelectBRIND(N)) in Select() local
198 return ResNode; in Select()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp113 SDNode *ResNode = nullptr; in Select() local
116 ResNode = SelectLoad(N); in Select()
119 ResNode = SelectStore(N); in Select()
123 ResNode = SelectLoadVector(N); in Select()
129 ResNode = SelectLDGLDU(N); in Select()
133 ResNode = SelectStoreVector(N); in Select()
138 ResNode = SelectLoadParam(N); in Select()
143 ResNode = SelectStoreRetval(N); in Select()
150 ResNode = SelectStoreParam(N); in Select()
153 ResNode = SelectIntrinsicNoChain(N); in Select()
[all …]
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp2061 SDNode *ResNode = CurDAG->getMachineNode(Opc, SDLoc(Node), VTs, Ops); in SelectGather() local
2066 ReplaceUses(SDValue(Node, 0), SDValue(ResNode, 0)); in SelectGather()
2067 ReplaceUses(SDValue(Node, 1), SDValue(ResNode, 2)); in SelectGather()
2068 return ResNode; in SelectGather()
2809 SDNode *ResNode = SelectCode(Node); in Select() local
2812 if (ResNode == nullptr || ResNode == Node) in Select()
2815 ResNode->dump(CurDAG); in Select()
2818 return ResNode; in Select()
DX86ISelLowering.cpp4841 SDValue ResNode = in EltsFromConsecutiveLoads() local
4853 SDValue(LDBase, 1), SDValue(ResNode.getNode(), 1)); in EltsFromConsecutiveLoads()
4856 SDValue(ResNode.getNode(), 1)); in EltsFromConsecutiveLoads()
4859 return DAG.getNode(ISD::BITCAST, DL, VT, ResNode); in EltsFromConsecutiveLoads()
19486 SDValue ResNode = in PerformShuffleCombine256() local
19499 SDValue(Ld, 1), SDValue(ResNode.getNode(), 1)); in PerformShuffleCombine256()
19502 SDValue(ResNode.getNode(), 1)); in PerformShuffleCombine256()
19505 return DAG.getNode(ISD::BITCAST, dl, VT, ResNode); in PerformShuffleCombine256()
/external/llvm/lib/Target/R600/
DAMDGPUISelDAGToDAG.cpp1310 SDNode *ResNode = Lowering.PostISelFolding(MachineNode, *CurDAG); in PostprocessISelDAG() local
1311 if (ResNode != Node) { in PostprocessISelDAG()
1312 ReplaceUses(Node, ResNode); in PostprocessISelDAG()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp2113 SDNode *ResNode = nullptr; in Select() local
3084 ResNode = SelectCode(Node); in Select()
3087 if (ResNode == nullptr || ResNode == Node) in Select()
3090 DEBUG(ResNode->dump(CurDAG)); in Select()
3093 return ResNode; in Select()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp885 SDNode *ResNode = Select(Node); in DoInstructionSelection() local
891 if (ResNode == Node || Node->getOpcode() == ISD::DELETED_NODE) in DoInstructionSelection()
894 if (ResNode) { in DoInstructionSelection()
895 ReplaceUses(Node, ResNode); in DoInstructionSelection()