Home
last modified time | relevance | path

Searched refs:CurDAG (Results 1 – 25 of 76) sorted by relevance

1234

/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelDAGToDAG.cpp171 return CurDAG->getTargetConstant(Imm, MVT::i32); in getI32Imm()
176 return CurDAG->getTargetConstant(Imm, SPUtli.getPointerTy()); in getSmallIPtrImm()
186 (SPU::get_vec_i16imm(bvNode, *CurDAG, MVT::i16).getNode() != 0)) || in emitBuildVector()
188 ((SPU::get_vec_i16imm(bvNode, *CurDAG, MVT::i32).getNode() != 0) || in emitBuildVector()
189 (SPU::get_ILHUvec_imm(bvNode, *CurDAG, MVT::i32).getNode() != 0) || in emitBuildVector()
190 (SPU::get_vec_u18imm(bvNode, *CurDAG, MVT::i32).getNode() != 0) || in emitBuildVector()
191 (SPU::get_v4i32_imm(bvNode, *CurDAG).getNode() != 0))) || in emitBuildVector()
193 ((SPU::get_vec_i16imm(bvNode, *CurDAG, MVT::i64).getNode() != 0) || in emitBuildVector()
194 (SPU::get_ILHUvec_imm(bvNode, *CurDAG, MVT::i64).getNode() != 0) || in emitBuildVector()
195 (SPU::get_vec_u18imm(bvNode, *CurDAG, MVT::i64).getNode() != 0)))) { in emitBuildVector()
[all …]
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp82 return CurDAG->getTargetConstant(Imm, dl, MVT::i32); in getI32Imm()
131 Pred = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(N), MVT::i32); in SelectCMOVPred()
132 Reg = CurDAG->getRegister(ARM::CPSR, MVT::i32); in SelectCMOVPred()
340 for (SelectionDAG::allnodes_iterator I = CurDAG->allnodes_begin(), in PreprocessISelDAG()
341 E = CurDAG->allnodes_end(); I != E; ) { in PreprocessISelDAG()
405 Srl = CurDAG->getNode(ISD::SRL, SDLoc(Srl), MVT::i32, in PreprocessISelDAG()
407 CurDAG->getConstant(Srl_imm + TZ, SDLoc(Srl), in PreprocessISelDAG()
409 N1 = CurDAG->getNode(ISD::AND, SDLoc(N1), MVT::i32, in PreprocessISelDAG()
411 CurDAG->getConstant(And_imm, SDLoc(Srl), MVT::i32)); in PreprocessISelDAG()
412 N1 = CurDAG->getNode(ISD::SHL, SDLoc(N1), MVT::i32, in PreprocessISelDAG()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp229 SDValue M0 = Lowering.copyToM0(*CurDAG, CurDAG->getEntryNode(), SDLoc(N), in glueCopyToM0()
230 CurDAG->getTargetConstant(-1, SDLoc(N), MVT::i32)); in glueCopyToM0()
239 CurDAG->MorphNodeTo(N, N->getOpcode(), N->getVTList(), Ops); in glueCopyToM0()
315 SDValue RegClass = CurDAG->getTargetConstant(RegClassID, DL, MVT::i32); in Select()
318 CurDAG->SelectNodeTo(N, AMDGPU::COPY_TO_REGCLASS, EltVT, N->getOperand(0), in Select()
330 RegSeqArgs[0] = CurDAG->getTargetConstant(RegClassID, DL, MVT::i32); in Select()
341 CurDAG->getTargetConstant(TRI->getSubRegFromChannel(i), DL, in Select()
349 MachineSDNode *ImpDef = CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, in Select()
354 CurDAG->getTargetConstant(TRI->getSubRegFromChannel(i), DL, MVT::i32); in Select()
360 CurDAG->SelectNodeTo(N, AMDGPU::REG_SEQUENCE, N->getVTList(), RegSeqArgs); in Select()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
DAlphaISelDAGToDAG.cpp92 !CurDAG->MaskedValueIsZero(LHS, in get_zapImm()
140 return CurDAG->getTargetConstant(Imm, MVT::i64); in getI64Imm()
196 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode(); in getGlobalBaseReg()
203 return CurDAG->getRegister(GlobalRetAddr, TLI.getPointerTy()).getNode(); in getGlobalRetAddr()
221 return CurDAG->SelectNodeTo(N, Alpha::LDA, MVT::i64, in Select()
222 CurDAG->getTargetFrameIndex(FI, MVT::i32), in Select()
231 SDValue Chain = CurDAG->getEntryNode(); in Select()
235 Chain = CurDAG->getCopyToReg(Chain, dl, Alpha::R24, N1, in Select()
237 Chain = CurDAG->getCopyToReg(Chain, dl, Alpha::R25, N2, in Select()
239 Chain = CurDAG->getCopyToReg(Chain, dl, Alpha::R27, N0, in Select()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsISelDAGToDAG.cpp92 return CurDAG->getTargetConstant(Imm, MVT::i32); in getI32Imm()
107 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode(); in getGlobalBaseReg()
119 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in SelectAddr()
120 Offset = CurDAG->getTargetConstant(0, ValTy); in SelectAddr()
127 Base = CurDAG->getRegister(GPReg, ValTy); in SelectAddr()
136 Base = CurDAG->getRegister(GPReg, ValTy); in SelectAddr()
143 if (CurDAG->isBaseWithConstantOffset(Addr)) { in SelectAddr()
150 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in SelectAddr()
154 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), ValTy); in SelectAddr()
183 Offset = CurDAG->getTargetConstant(0, ValTy); in SelectAddr()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp71 return CurDAG->getRegister(GlobalBaseReg, in getGlobalBaseReg()
72 TLI->getPointerTy(CurDAG->getDataLayout())) in getGlobalBaseReg()
79 Base = CurDAG->getTargetFrameIndex( in SelectADDRri()
80 FIN->getIndex(), TLI->getPointerTy(CurDAG->getDataLayout())); in SelectADDRri()
81 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectADDRri()
95 Base = CurDAG->getTargetFrameIndex( in SelectADDRri()
96 FIN->getIndex(), TLI->getPointerTy(CurDAG->getDataLayout())); in SelectADDRri()
100 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr), in SelectADDRri()
117 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectADDRri()
141 R2 = CurDAG->getRegister(SP::G0, TLI->getPointerTy(CurDAG->getDataLayout())); in SelectADDRrr()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelDAGToDAG.cpp89 return CurDAG->getTargetConstant(Imm, MVT::i32); in getI32Imm()
408 Opc = CurDAG->getTargetConstant(ARM_AM::getSORegOpc(ShOpcVal, ShImmVal), in SelectImmShifterOperand()
435 Opc = CurDAG->getTargetConstant(ARM_AM::getSORegOpc(ShOpcVal, ShImmVal), in SelectRegShifterOperand()
448 !CurDAG->isBaseWithConstantOffset(N)) { in SelectAddrModeImm12()
452 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy()); in SelectAddrModeImm12()
453 OffImm = CurDAG->getTargetConstant(0, MVT::i32); in SelectAddrModeImm12()
463 OffImm = CurDAG->getTargetConstant(0, MVT::i32); in SelectAddrModeImm12()
476 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy()); in SelectAddrModeImm12()
478 OffImm = CurDAG->getTargetConstant(RHSC, MVT::i32); in SelectAddrModeImm12()
485 OffImm = CurDAG->getTargetConstant(0, MVT::i32); in SelectAddrModeImm12()
[all …]
/external/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp62 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i64); in SelectAddr()
63 Offset = CurDAG->getTargetConstant(0, DL, MVT::i64); in SelectAddr()
72 if (CurDAG->isBaseWithConstantOffset(Addr)) { in SelectAddr()
79 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i64); in SelectAddr()
83 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectAddr()
89 Offset = CurDAG->getTargetConstant(0, DL, MVT::i64); in SelectAddr()
97 if (!CurDAG->isBaseWithConstantOffset(Addr)) in SelectFIAddr()
107 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i64); in SelectFIAddr()
111 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectFIAddr()
122 DEBUG(dbgs() << "Selecting: "; Node->dump(CurDAG); dbgs() << '\n'); in Select()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp64 return CurDAG->getTargetConstant(Imm, MVT::i32); in getI32Imm()
70 return CurDAG->getTargetConstant(Imm, MVT::i64); in getI64Imm()
75 return CurDAG->getTargetConstant(Imm, PPCLowering.getPointerTy()); in getSmallIPtrImm()
108 return PPCLowering.SelectAddressRegImm(N, Disp, Base, *CurDAG); in SelectAddrImm()
123 return PPCLowering.SelectAddressRegReg(N, Base, Index, *CurDAG); in SelectAddrIdx()
129 return PPCLowering.SelectAddressRegRegOnly(N, Base, Index, *CurDAG); in SelectAddrIdxOnly()
136 return PPCLowering.SelectAddressRegImmShift(N, Disp, Base, *CurDAG); in SelectAddrImmShift()
251 return CurDAG->getRegister(GlobalBaseReg, in getGlobalBaseReg()
381 CurDAG->ComputeMaskedBits(Op0, APInt::getAllOnesValue(32), LKZ, LKO); in SelectBitfieldInsert()
382 CurDAG->ComputeMaskedBits(Op1, APInt::getAllOnesValue(32), RKZ, RKO); in SelectBitfieldInsert()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp50 return CurDAG->getTargetConstant(Imm, dl, MVT::i32); in getI32Imm()
91 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32); in SelectADDRspii()
92 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectADDRspii()
101 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32); in SelectADDRspii()
102 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), SDLoc(Addr), in SelectADDRspii()
120 Reg = CurDAG->getRegister(XCore::CP, MVT::i32); in SelectInlineAsmMemoryOperand()
123 Reg = CurDAG->getRegister(XCore::DP, MVT::i32); in SelectInlineAsmMemoryOperand()
142 ReplaceNode(N, CurDAG->getMachineNode(XCore::MKMSK_rus, dl, in Select()
147 SDValue CPIdx = CurDAG->getTargetConstantPool( in Select()
148 ConstantInt::get(Type::getInt32Ty(*CurDAG->getContext()), Val), in Select()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp95 return CurDAG->getTargetConstant(Imm, dl, MVT::i32); in getI32Imm()
101 return CurDAG->getTargetConstant(Imm, dl, MVT::i64); in getI64Imm()
106 return CurDAG->getTargetConstant( in getSmallIPtrImm()
107 Imm, dl, PPCLowering->getPointerTy(CurDAG->getDataLayout())); in getSmallIPtrImm()
137 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, false); in SelectAddrImm()
157 return PPCLowering->SelectAddressRegReg(N, Base, Index, *CurDAG); in SelectAddrIdx()
163 return PPCLowering->SelectAddressRegRegOnly(N, Base, Index, *CurDAG); in SelectAddrIdxOnly()
170 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, true); in SelectAddrImmX4()
204 SDValue RC = CurDAG->getTargetConstant(TRC->getID(), dl, MVT::i32); in SelectInlineAsmMemoryOperand()
206 SDValue(CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, in SelectInlineAsmMemoryOperand()
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiISelDAGToDAG.cpp87 return CurDAG->getTargetConstant(Imm, DL, MVT::i32); in getI32Imm()
110 Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0)); in selectAddrSls()
132 Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0)); in selectAddrRiSpls()
133 Base = CurDAG->getRegister(Lanai::R0, CN->getValueType(0)); in selectAddrRiSpls()
134 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
145 Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0)); in selectAddrRiSpls()
146 Base = CurDAG->getRegister(Lanai::R0, CN->getValueType(0)); in selectAddrRiSpls()
147 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
155 Base = CurDAG->getTargetFrameIndex( in selectAddrRiSpls()
157 getTargetLowering()->getPointerTy(CurDAG->getDataLayout())); in selectAddrRiSpls()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp55 return CurDAG->getTargetConstant(Imm, MVT::i32); in getI32Imm()
94 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32); in SelectADDRspii()
95 Offset = CurDAG->getTargetConstant(0, MVT::i32); in SelectADDRspii()
104 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32); in SelectADDRspii()
105 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32); in SelectADDRspii()
116 Offset = CurDAG->getTargetConstant(0, MVT::i32); in SelectADDRdpii()
126 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32); in SelectADDRdpii()
137 Offset = CurDAG->getTargetConstant(0, MVT::i32); in SelectADDRcpii()
147 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32); in SelectADDRcpii()
164 return CurDAG->getMachineNode(XCore::MKMSK_rus, dl, in Select()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelDAGToDAG.cpp234 CurDAG->getTargetFrameIndex(AM.Base_FrameIndex, TLI.getPointerTy()) : in getAddressOperands()
241 Disp = CurDAG->getTargetGlobalAddress(AM.GV, DebugLoc(), in getAddressOperands()
245 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i32, in getAddressOperands()
248 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i32, AM.SymbolFlags); in getAddressOperands()
250 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i32, AM.SymbolFlags); in getAddressOperands()
252 Disp = CurDAG->getBlockAddress(AM.BlockAddr, MVT::i32, in getAddressOperands()
255 Disp = CurDAG->getTargetConstant(AM.Disp, MVT::i32); in getAddressOperands()
260 Segment = CurDAG->getRegister(0, MVT::i32); in getAddressOperands()
266 return CurDAG->getTargetConstant(Imm, MVT::i8); in getI8Imm()
272 return CurDAG->getTargetConstant(Imm, MVT::i32); in getI32Imm()
[all …]
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp249 ? CurDAG->getTargetFrameIndex( in getAddressOperands()
251 TLI->getPointerTy(CurDAG->getDataLayout())) in getAddressOperands()
258 Disp = CurDAG->getTargetGlobalAddress(AM.GV, SDLoc(), in getAddressOperands()
262 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i32, in getAddressOperands()
266 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i32, AM.SymbolFlags); in getAddressOperands()
270 Disp = CurDAG->getMCSymbol(AM.MCSym, MVT::i32); in getAddressOperands()
273 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i32, AM.SymbolFlags); in getAddressOperands()
275 Disp = CurDAG->getTargetBlockAddress(AM.BlockAddr, MVT::i32, AM.Disp, in getAddressOperands()
278 Disp = CurDAG->getTargetConstant(AM.Disp, DL, MVT::i32); in getAddressOperands()
283 Segment = CurDAG->getRegister(0, MVT::i32); in getAddressOperands()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeISelDAGToDAG.cpp90 return CurDAG->getTargetConstant(Imm, MVT::i32); in getI32Imm()
156 Disp = CurDAG->getTargetConstant(imm, MVT::i32); in SelectAddrRegImm()
158 Base = CurDAG->getTargetFrameIndex(FI->getIndex(), N.getValueType()); in SelectAddrRegImm()
167 Disp = CurDAG->getTargetConstant(Imm, CN->getValueType(0)); in SelectAddrRegImm()
168 Base = CurDAG->getRegister(MBlaze::R0, CN->getValueType(0)); in SelectAddrRegImm()
172 Disp = CurDAG->getTargetConstant(0, TM.getTargetLowering()->getPointerTy()); in SelectAddrRegImm()
174 Base = CurDAG->getTargetFrameIndex(FI->getIndex(), N.getValueType()); in SelectAddrRegImm()
184 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode(); in getGlobalBaseReg()
209 SDValue imm = CurDAG->getTargetConstant(0, MVT::i32); in Select()
212 SDValue TFI = CurDAG->getTargetFrameIndex(FI, VT); in Select()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp104 return CurDAG->getTargetConstant(Imm, MVT::i8); in getI8Imm()
110 return CurDAG->getTargetConstant(Imm, MVT::i16); in getI16Imm()
116 return CurDAG->getTargetConstant(Imm, MVT::i32); in getI32Imm()
247 SDValue Zero = CurDAG->getConstant(0, N.getValueType()); in MatchAddress()
248 SDValue Neg = CurDAG->getNode(ISD::SUB, dl, N.getValueType(), Zero, RHS); in MatchAddress()
254 CurDAG->RepositionNode(N.getNode(), Zero.getNode()); in MatchAddress()
259 CurDAG->RepositionNode(N.getNode(), Neg.getNode()); in MatchAddress()
303 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
342 Base = CurDAG->getTargetFrameIndex(AM.Base.FrameIndex, TLI.getPointerTy()); in getAddressOperandsRI()
343 Disp = CurDAG->getTargetConstant(AM.Disp, MVT::i64); in getAddressOperandsRI()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp118 return CurDAG->getTargetConstant(bitPos, DL, MVT::i32); in XformMskToBitPosU5Imm()
144 return CurDAG->getTargetConstant(-Imm, DL, MVT::i32); in XformM5ToU5Imm()
151 return CurDAG->getTargetConstant(Imm - 1, DL, MVT::i8); in XformU7ToU7M1Imm()
156 return CurDAG->getTargetConstant(Imm - 1, DL, MVT::i32); in XformSToSM1Imm()
162 return CurDAG->getTargetConstant(Imm - 1, DL, MVT::i32); in XformUToUM1Imm()
167 return CurDAG->getTargetConstant(Imm - 2, DL, MVT::i32); in XformSToSM2Imm()
172 return CurDAG->getTargetConstant(Imm - 3, DL, MVT::i32); in XformSToSM3Imm()
300 SDValue IncV = CurDAG->getTargetConstant(Inc, dl, MVT::i32); in SelectIndexedLoad()
307 SDValue Zero = CurDAG->getTargetConstant(0, dl, MVT::i32); in SelectIndexedLoad()
308 return CurDAG->getMachineNode(Hexagon::A4_combineir, dl, MVT::i64, in SelectIndexedLoad()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp70 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode(); in getGlobalBaseReg()
76 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32); in SelectADDRri()
77 Offset = CurDAG->getTargetConstant(0, MVT::i32); in SelectADDRri()
90 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32); in SelectADDRri()
94 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), MVT::i32); in SelectADDRri()
110 Offset = CurDAG->getTargetConstant(0, MVT::i32); in SelectADDRri()
133 R2 = CurDAG->getRegister(SP::G0, MVT::i32); in SelectADDRrr()
156 TopPart = SDValue(CurDAG->getMachineNode(SP::SRAri, dl, MVT::i32, DivLHS, in Select()
157 CurDAG->getTargetConstant(31, MVT::i32)), 0); in Select()
159 TopPart = CurDAG->getRegister(SP::G0, MVT::i32); in Select()
[all …]
/external/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp259 SDNode *Carry = CurDAG->getMachineNode(SLTuOp, DL, VT, Ops); in selectAddESubE()
265 Carry = CurDAG->getMachineNode(Mips::SUBREG_TO_REG, DL, VT, in selectAddESubE()
266 CurDAG->getTargetConstant(0, DL, VT), in selectAddESubE()
268 CurDAG->getTargetConstant(Mips::sub_32, DL, in selectAddESubE()
277 AddCarry = CurDAG->getMachineNode(ADDuOp, DL, VT, SDValue(Carry, 0), RHS); in selectAddESubE()
279 CurDAG->SelectNodeTo(Node, MOp, VT, MVT::Glue, LHS, SDValue(AddCarry, 0)); in selectAddESubE()
288 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndex()
289 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy); in selectAddrFrameIndex()
299 if (CurDAG->isBaseWithConstantOffset(Addr)) { in selectAddrFrameIndexOffset()
307 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndexOffset()
[all …]
DMips16ISelDAGToDAG.cpp49 SDNode *Mul = CurDAG->getMachineNode(Opc, DL, MVT::Glue, N->getOperand(0), in selectMULT()
55 Lo = CurDAG->getMachineNode(Opcode, DL, Ty, MVT::Glue, InFlag); in selectMULT()
60 Hi = CurDAG->getMachineNode(Opcode, DL, Ty, InFlag); in selectMULT()
106 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr()
107 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr()
123 if (CurDAG->isBaseWithConstantOffset(Addr)) { in selectAddr()
130 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr()
131 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr()
137 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr()
163 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXISelDAGToDAG.cpp95 SDValue PredOp = CurDAG->getTargetConstant(PTXPredicate::Normal, MVT::i32); in SelectBRCOND()
103 return CurDAG->getMachineNode(PTX::BRAdp, dl, MVT::Other, Ops, 4); in SelectBRCOND()
133 SDValue Pred = CurDAG->getRegister(PTX::NoRegister, MVT::i1); in SelectREADPARAM()
134 SDValue PredOp = CurDAG->getTargetConstant(PTXPredicate::None, MVT::i32); in SelectREADPARAM()
138 return CurDAG->getMachineNode(OpCode, dl, VT, Ops, 4); in SelectREADPARAM()
171 SDValue Pred = CurDAG->getRegister(PTX::NoRegister, MVT::i1); in SelectWRITEPARAM()
172 SDValue PredOp = CurDAG->getTargetConstant(PTXPredicate::None, MVT::i32); in SelectWRITEPARAM()
176 SDNode* Ret = CurDAG->getMachineNode(OpCode, dl, MVT::Other, Ops, 4); in SelectWRITEPARAM()
191 SDValue FrameSymbol = CurDAG->getTargetExternalSymbol(MFI->getFrameSymbol(FI), in SelectFrameIndex()
206 R2 = CurDAG->getTargetConstant(0, Addr.getValueType().getSimpleVT()); in SelectADDRrr()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILISelDAGToDAG.cpp97 return CurDAG->getTargetConstant(Imm, MVT::i32); in getSmallIPtrImm()
105 R1 = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32); in SelectADDRParam()
106 R2 = CurDAG->getTargetConstant(0, MVT::i32); in SelectADDRParam()
109 R2 = CurDAG->getTargetConstant(0, MVT::i32); in SelectADDRParam()
116 R2 = CurDAG->getTargetConstant(0, MVT::i32); in SelectADDRParam()
138 R1 = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i64); in SelectADDR64()
139 R2 = CurDAG->getTargetConstant(0, MVT::i64); in SelectADDR64()
142 R2 = CurDAG->getTargetConstant(0, MVT::i64); in SelectADDR64()
149 R2 = CurDAG->getTargetConstant(0, MVT::i64); in SelectADDR64()
167 SDValue TFI = CurDAG->getTargetFrameIndex(FI, MVT::i32); in Select()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp228 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress()
253 AM.Base.Reg = CurDAG->getRegister(0, VT); in SelectAddr()
257 ? CurDAG->getTargetFrameIndex( in SelectAddr()
259 getTargetLowering()->getPointerTy(CurDAG->getDataLayout())) in SelectAddr()
263 Disp = CurDAG->getTargetGlobalAddress(AM.GV, SDLoc(N), in SelectAddr()
267 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i16, in SelectAddr()
270 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i16, 0/*AM.SymbolFlags*/); in SelectAddr()
272 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i16, 0/*AM.SymbolFlags*/); in SelectAddr()
274 Disp = CurDAG->getTargetBlockAddress(AM.BlockAddr, MVT::i32, 0, in SelectAddr()
277 Disp = CurDAG->getTargetConstant(AM.Disp, SDLoc(N), MVT::i16); in SelectAddr()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp276 Val = CurDAG->getTargetConstant(Immed, dl, MVT::i32); in SelectArithImmed()
277 Shift = CurDAG->getTargetConstant(ShVal, dl, MVT::i32); in SelectArithImmed()
310 return SelectArithImmed(CurDAG->getConstant(Immed, SDLoc(N), MVT::i32), Val, in SelectNegArithImmed()
357 Shift = CurDAG->getTargetConstant(ShVal, SDLoc(N), MVT::i32); in SelectShiftedRegister()
475 SDValue LaneIdxVal = CurDAG->getTargetConstant(LaneIdx, dl, MVT::i64); in tryMLAV64LaneV128()
498 ReplaceNode(N, CurDAG->getMachineNode(MLAOpc, dl, N->getValueType(0), Ops)); in tryMLAV64LaneV128()
512 SDValue LaneIdxVal = CurDAG->getTargetConstant(LaneIdx, dl, MVT::i64); in tryMULLV64LaneV128()
543 ReplaceNode(N, CurDAG->getMachineNode(SMULLOpc, dl, N->getValueType(0), Ops)); in tryMULLV64LaneV128()
551 static SDValue narrowIfNeeded(SelectionDAG *CurDAG, SDValue N) { in narrowIfNeeded() argument
556 SDValue SubReg = CurDAG->getTargetConstant(AArch64::sub_32, dl, MVT::i32); in narrowIfNeeded()
[all …]

1234