/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
D | SPUISelDAGToDAG.cpp | 171 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/ |
D | ARMISelDAGToDAG.cpp | 82 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 289 return CurDAG->isKnownNeverNaN(N); in isNoNanSrc() 314 MachineRegisterInfo &MRI = CurDAG->getMachineFunction().getRegInfo(); in getOperandRegClass() 362 SDValue M0 = Lowering.copyToM0(*CurDAG, CurDAG->getEntryNode(), SDLoc(N), in glueCopyToM0() 363 CurDAG->getTargetConstant(-1, SDLoc(N), MVT::i32)); in glueCopyToM0() 372 return CurDAG->MorphNodeTo(N, N->getOpcode(), N->getVTList(), Ops); in glueCopyToM0() 411 SDValue RegClass = CurDAG->getTargetConstant(RegClassID, DL, MVT::i32); in SelectBuildVector() 414 CurDAG->SelectNodeTo(N, AMDGPU::COPY_TO_REGCLASS, EltVT, N->getOperand(0), in SelectBuildVector() 426 RegSeqArgs[0] = CurDAG->getTargetConstant(RegClassID, DL, MVT::i32); in SelectBuildVector() 437 RegSeqArgs[1 + (2 * i) + 1] = CurDAG->getTargetConstant(Sub, DL, MVT::i32); in SelectBuildVector() 442 MachineSDNode *ImpDef = CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, in SelectBuildVector() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 229 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-7.0/llvm/lib/Target/Mips/ |
D | MipsSEISelDAGToDAG.cpp | 270 CurDAG->SelectNodeTo(Node, Mips::ADDWC, VT, MVT::Glue, Ops); in selectAddE() 288 SDValue CstOne = CurDAG->getTargetConstant(1, DL, MVT::i32); in selectAddE() 290 SDValue OuFlag = CurDAG->getTargetConstant(20, DL, MVT::i32); in selectAddE() 293 CurDAG->getMachineNode(Mips::RDDSP, DL, MVT::i32, MVT::Glue, CstOne, InFlag); in selectAddE() 295 SDNode *Carry = CurDAG->getMachineNode( in selectAddE() 299 CurDAG->getTargetConstant(6, DL, MVT::i32), CstOne, in selectAddE() 301 SDNode *DSPCFWithCarry = CurDAG->getMachineNode(Mips::INS, DL, MVT::i32, Ops); in selectAddE() 308 SDValue Zero = CurDAG->getRegister(Mips::ZERO, MVT::i32); in selectAddE() 311 SDNode *DSPCtrlFinal = CurDAG->getMachineNode(Mips::INS, DL, MVT::i32, InsOps); in selectAddE() 313 SDNode *WrDSP = CurDAG->getMachineNode(Mips::WRDSP, DL, MVT::Glue, in selectAddE() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/ |
D | AlphaISelDAGToDAG.cpp | 92 !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-7.0/llvm/lib/Target/ARM/ |
D | ARMISelDAGToDAG.cpp | 76 return CurDAG->getTargetConstant(Imm, dl, MVT::i32); in getI32Imm() 107 Pred = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(N), MVT::i32); in SelectCMOVPred() 108 Reg = CurDAG->getRegister(ARM::CPSR, MVT::i32); in SelectCMOVPred() 316 for (SelectionDAG::allnodes_iterator I = CurDAG->allnodes_begin(), in PreprocessISelDAG() 317 E = CurDAG->allnodes_end(); I != E; ) { in PreprocessISelDAG() 381 Srl = CurDAG->getNode(ISD::SRL, SDLoc(Srl), MVT::i32, in PreprocessISelDAG() 383 CurDAG->getConstant(Srl_imm + TZ, SDLoc(Srl), in PreprocessISelDAG() 385 N1 = CurDAG->getNode(ISD::AND, SDLoc(N1), MVT::i32, in PreprocessISelDAG() 387 CurDAG->getConstant(And_imm, SDLoc(Srl), MVT::i32)); in PreprocessISelDAG() 388 N1 = CurDAG->getNode(ISD::SHL, SDLoc(N1), MVT::i32, in PreprocessISelDAG() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsISelDAGToDAG.cpp | 92 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/ |
D | SparcISelDAGToDAG.cpp | 71 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/llvm/lib/Target/Sparc/ |
D | SparcISelDAGToDAG.cpp | 71 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/ |
D | ARMISelDAGToDAG.cpp | 89 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/ |
D | RISCVISelDAGToDAG.cpp | 74 LLVM_DEBUG(dbgs() << "== "; Node->dump(CurDAG); dbgs() << "\n"); in Select() 87 SDValue New = CurDAG->getCopyFromReg(CurDAG->getEntryNode(), SDLoc(Node), in Select() 95 SDValue Imm = CurDAG->getTargetConstant(0, DL, XLenVT); in Select() 98 SDValue TFI = CurDAG->getTargetFrameIndex(FI, VT); in Select() 99 ReplaceNode(Node, CurDAG->getMachineNode(RISCV::ADDI, DL, VT, TFI, Imm)); in Select() 125 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), Subtarget->getXLenVT()); in SelectAddrFI() 135 SelectionDAG::allnodes_iterator Position(CurDAG->getRoot().getNode()); in doPeepholeLoadStoreADDI() 138 while (Position != CurDAG->allnodes_begin()) { in doPeepholeLoadStoreADDI() 189 ImmOperand = CurDAG->getTargetConstant( in doPeepholeLoadStoreADDI() 192 ImmOperand = CurDAG->getTargetGlobalAddress( in doPeepholeLoadStoreADDI() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 64 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/ |
D | AVRISelDAGToDAG.cpp | 68 auto DL = CurDAG->getDataLayout(); in SelectAddr() 73 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), PtrVT); in SelectAddr() 74 Disp = CurDAG->getTargetConstant(0, dl, MVT::i8); in SelectAddr() 81 !CurDAG->isBaseWithConstantOffset(N)) { in SelectAddr() 100 Base = CurDAG->getTargetFrameIndex(FI, PtrVT); in SelectAddr() 101 Disp = CurDAG->getTargetConstant(RHSC, dl, MVT::i16); in SelectAddr() 113 Disp = CurDAG->getTargetConstant(RHSC, dl, MVT::i8); in SelectAddr() 126 auto PtrVT = getTargetLowering()->getPointerTy(CurDAG->getDataLayout()); in selectIndexedLoad() 160 SDNode *ResNode = CurDAG->getMachineNode(Opcode, SDLoc(N), VT, in selectIndexedLoad() 164 CurDAG->RemoveDeadNode(N); in selectIndexedLoad() [all …]
|
/external/llvm/lib/Target/BPF/ |
D | BPFISelDAGToDAG.cpp | 62 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-7.0/llvm/lib/Target/XCore/ |
D | XCoreISelDAGToDAG.cpp | 50 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/XCore/ |
D | XCoreISelDAGToDAG.cpp | 50 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiISelDAGToDAG.cpp | 87 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/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 95 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 167 return CurDAG->getTargetConstant(Imm, dl, MVT::i16); in getI16Imm() 173 return CurDAG->getTargetConstant(Imm, dl, MVT::i32); in getI32Imm() 179 return CurDAG->getTargetConstant(Imm, dl, MVT::i64); in getI64Imm() 184 return CurDAG->getTargetConstant( in getSmallIPtrImm() 185 Imm, dl, PPCLowering->getPointerTy(CurDAG->getDataLayout())); in getSmallIPtrImm() 224 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, 0); in SelectAddrImm() 244 return PPCLowering->SelectAddressRegReg(N, Base, Index, *CurDAG); in SelectAddrIdx() 250 return PPCLowering->SelectAddressRegRegOnly(N, Base, Index, *CurDAG); in SelectAddrIdxOnly() 257 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, 4); in SelectAddrImmX4() 261 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, 16); in SelectAddrImmX16() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
D | XCoreISelDAGToDAG.cpp | 55 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/llvm/lib/Target/Lanai/ |
D | LanaiISelDAGToDAG.cpp | 87 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/X86/ |
D | X86ISelDAGToDAG.cpp | 234 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/ |
D | ARCISelDAGToDAG.cpp | 54 Pred = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(N), MVT::i32); in SelectCMOVPred() 55 Reg = CurDAG->getRegister(ARC::STATUS32, MVT::i32); in SelectCMOVPred() 80 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectAddrModeImm() 93 !CurDAG->isBaseWithConstantOffset(Addr)) { in SelectAddrModeS9() 97 Base = CurDAG->getTargetFrameIndex( in SelectAddrModeS9() 98 FI, TLI->getPointerTy(CurDAG->getDataLayout())); in SelectAddrModeS9() 102 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectAddrModeS9() 117 Base = CurDAG->getTargetFrameIndex( in SelectAddrModeS9() 118 FI, TLI->getPointerTy(CurDAG->getDataLayout())); in SelectAddrModeS9() 120 Offset = CurDAG->getTargetConstant(RHSC, SDLoc(Addr), MVT::i32); in SelectAddrModeS9() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 249 ? 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 …]
|