/external/llvm/lib/Target/SystemZ/ |
D | SystemZSelectionDAGInfo.cpp | 35 EVT PtrVT = Src.getValueType(); in emitMemMem() local 49 DAG.getConstant(Size, PtrVT), in emitMemMem() 50 DAG.getConstant(Size / 256, PtrVT)); in emitMemMem() 52 DAG.getConstant(Size, PtrVT)); in emitMemMem() 90 EVT PtrVT = Dst.getValueType(); in EmitTargetCodeForMemset() local 114 Dst = DAG.getNode(ISD::ADD, DL, PtrVT, Dst, in EmitTargetCodeForMemset() 115 DAG.getConstant(Size1, PtrVT)); in EmitTargetCodeForMemset() 128 SDValue Dst2 = DAG.getNode(ISD::ADD, DL, PtrVT, Dst, in EmitTargetCodeForMemset() 129 DAG.getConstant(1, PtrVT)); in EmitTargetCodeForMemset() 148 SDValue DstPlus1 = DAG.getNode(ISD::ADD, DL, PtrVT, Dst, in EmitTargetCodeForMemset() [all …]
|
D | SystemZISelLowering.cpp | 87 MVT PtrVT = getPointerTy(); in SystemZTargetLowering() local 235 setOperationAction(ISD::ConstantPool, PtrVT, Custom); in SystemZTargetLowering() 236 setOperationAction(ISD::GlobalAddress, PtrVT, Custom); in SystemZTargetLowering() 237 setOperationAction(ISD::GlobalTLSAddress, PtrVT, Custom); in SystemZTargetLowering() 238 setOperationAction(ISD::BlockAddress, PtrVT, Custom); in SystemZTargetLowering() 239 setOperationAction(ISD::JumpTable, PtrVT, Custom); in SystemZTargetLowering() 243 setOperationAction(ISD::DYNAMIC_STACKALLOC, PtrVT, Custom); in SystemZTargetLowering() 753 EVT PtrVT = getPointerTy(); in LowerFormalArguments() local 754 SDValue FIN = DAG.getFrameIndex(FI, PtrVT); in LowerFormalArguments() 756 FIN = DAG.getNode(ISD::ADD, DL, PtrVT, FIN, DAG.getIntPtrConstant(4)); in LowerFormalArguments() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 1797 EVT PtrVT = HiPart.getValueType(); in LowerLabelRef() local 1798 SDValue Zero = DAG.getConstant(0, PtrVT); in LowerLabelRef() 1801 SDValue Hi = DAG.getNode(PPCISD::Hi, DL, PtrVT, HiPart, Zero); in LowerLabelRef() 1802 SDValue Lo = DAG.getNode(PPCISD::Lo, DL, PtrVT, LoPart, Zero); in LowerLabelRef() 1806 Hi = DAG.getNode(ISD::ADD, DL, PtrVT, in LowerLabelRef() 1807 DAG.getNode(PPCISD::GlobalBaseReg, DL, PtrVT), Hi); in LowerLabelRef() 1811 return DAG.getNode(ISD::ADD, DL, PtrVT, Hi, Lo); in LowerLabelRef() 1838 EVT PtrVT = Op.getValueType(); in LowerConstantPool() local 1846 SDValue GA = DAG.getTargetConstantPool(C, PtrVT, CP->getAlignment(), 0); in LowerConstantPool() 1855 SDValue GA = DAG.getTargetConstantPool(C, PtrVT, CP->getAlignment(), in LowerConstantPool() [all …]
|
D | PPCISelDAGToDAG.cpp | 2204 EVT PtrVT = CurDAG->getTargetLoweringInfo().getPointerTy(); in SelectSETCC() local 2205 bool isPPC64 = (PtrVT == MVT::i64); in SelectSETCC() 2650 EVT PtrVT = CurDAG->getTargetLoweringInfo().getPointerTy(); in Select() local 2651 bool isPPC64 = (PtrVT == MVT::i64); in Select()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 2964 EVT PtrVT = getPointerTy(); in LowerGlobalAddress() local 2976 SDValue GotAddr = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, OpFlags); in LowerGlobalAddress() 2979 return DAG.getNode(AArch64ISD::LOADgot, DL, PtrVT, GotAddr); in LowerGlobalAddress() 2985 SDValue Hi = DAG.getTargetConstantPool(GV, PtrVT, 0, 0, AArch64II::MO_PAGE); in LowerGlobalAddress() 2986 SDValue ADRP = DAG.getNode(AArch64ISD::ADRP, DL, PtrVT, Hi); in LowerGlobalAddress() 2988 SDValue Lo = DAG.getTargetConstantPool(GV, PtrVT, 0, 0, LoFlags); in LowerGlobalAddress() 2989 SDValue PoolAddr = DAG.getNode(AArch64ISD::ADDlow, DL, PtrVT, ADRP, Lo); in LowerGlobalAddress() 2990 SDValue GlobalAddr = DAG.getLoad(PtrVT, DL, DAG.getEntryNode(), PoolAddr, in LowerGlobalAddress() 2996 return DAG.getNode(ISD::ADD, DL, PtrVT, GlobalAddr, in LowerGlobalAddress() 2997 DAG.getConstant(GN->getOffset(), PtrVT)); in LowerGlobalAddress() [all …]
|
D | AArch64FastISel.cpp | 4807 MVT PtrVT = TLI.getPointerTy(); in getRegForGEPIndex() local 4809 if (IdxVT.bitsLT(PtrVT)) { in getRegForGEPIndex() 4810 IdxN = emitIntExt(IdxVT.getSimpleVT(), IdxN, PtrVT, /*IsZExt=*/false); in getRegForGEPIndex() 4812 } else if (IdxVT.bitsGT(PtrVT)) in getRegForGEPIndex()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 1872 EVT PtrVT = getPointerTy(); in LowerGlobalTLSAddress() local 1891 SDValue Base = DAG.getNode(SPISD::GLOBAL_BASE_REG, DL, PtrVT); in LowerGlobalTLSAddress() 1892 SDValue Argument = DAG.getNode(SPISD::TLS_ADD, DL, PtrVT, Base, HiLo, in LowerGlobalTLSAddress() 1901 SDValue Callee = DAG.getTargetExternalSymbol("__tls_get_addr", PtrVT); in LowerGlobalTLSAddress() 1909 Ops.push_back(DAG.getRegister(SP::O0, PtrVT)); in LowerGlobalTLSAddress() 1920 SDValue Ret = DAG.getCopyFromReg(Chain, DL, SP::O0, PtrVT, InFlag); in LowerGlobalTLSAddress() 1925 SDValue Hi = DAG.getNode(SPISD::Hi, DL, PtrVT, in LowerGlobalTLSAddress() 1927 SDValue Lo = DAG.getNode(SPISD::Lo, DL, PtrVT, in LowerGlobalTLSAddress() 1929 HiLo = DAG.getNode(ISD::XOR, DL, PtrVT, Hi, Lo); in LowerGlobalTLSAddress() 1930 return DAG.getNode(SPISD::TLS_ADD, DL, PtrVT, Ret, HiLo, in LowerGlobalTLSAddress() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 1697 EVT PtrVT = getPointerTy(); in lowerGlobalTLSAddress() local 1706 SDValue TGA = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, Flag); in lowerGlobalTLSAddress() 1707 SDValue Argument = DAG.getNode(MipsISD::Wrapper, DL, PtrVT, in lowerGlobalTLSAddress() 1708 getGlobalReg(DAG, PtrVT), TGA); in lowerGlobalTLSAddress() 1709 unsigned PtrSize = PtrVT.getSizeInBits(); in lowerGlobalTLSAddress() 1712 SDValue TlsGetAddr = DAG.getExternalSymbol("__tls_get_addr", PtrVT); in lowerGlobalTLSAddress() 1730 SDValue TGAHi = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, in lowerGlobalTLSAddress() 1732 SDValue Hi = DAG.getNode(MipsISD::Hi, DL, PtrVT, TGAHi); in lowerGlobalTLSAddress() 1733 SDValue TGALo = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, in lowerGlobalTLSAddress() 1735 SDValue Lo = DAG.getNode(MipsISD::Lo, DL, PtrVT, TGALo); in lowerGlobalTLSAddress() [all …]
|
D | MipsSEISelDAGToDAG.cpp | 839 EVT PtrVT = getTargetLowering()->getPointerTy(); in selectNode() local 842 if (PtrVT == MVT::i32) { in selectNode() 856 SDValue ResNode = CurDAG->getCopyFromReg(Chain, DL, DestReg, PtrVT); in selectNode()
|
D | MipsSEISelLowering.cpp | 1206 EVT PtrVT = Ptr.getValueType(); in lowerLOAD() local 1215 Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, Ptr, DAG.getConstant(4, PtrVT)); in lowerLOAD() 1238 EVT PtrVT = Ptr.getValueType(); in lowerSTORE() local 1253 Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, Ptr, DAG.getConstant(4, PtrVT)); in lowerSTORE()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUISelLowering.cpp | 699 EVT PtrVT = InitPtr.getValueType(); in LowerConstantInitializer() local 703 SDValue Offset = DAG.getConstant(SL->getElementOffset(I), PtrVT); in LowerConstantInitializer() 704 SDValue Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, InitPtr, Offset); in LowerConstantInitializer() 714 EVT PtrVT = InitPtr.getValueType(); in LowerConstantInitializer() local 727 SDValue Offset = DAG.getConstant(i * EltSize, PtrVT); in LowerConstantInitializer() 728 SDValue Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, InitPtr, Offset); in LowerConstantInitializer() 1194 EVT PtrVT = Load->getBasePtr().getValueType(); in ScalarizeVectorLoad() local 1205 SDValue Ptr = DAG.getNode(ISD::ADD, SL, PtrVT, Load->getBasePtr(), in ScalarizeVectorLoad() 1206 DAG.getConstant(i * MemEltSize, PtrVT)); in ScalarizeVectorLoad() 1237 EVT PtrVT = BasePtr.getValueType(); in SplitVectorLoad() local [all …]
|
D | SIISelLowering.cpp | 823 MVT PtrVT = getPointerTy(GSD->getAddressSpace()); in LowerGlobalAddress() local 825 SDValue Ptr = DAG.getNode(AMDGPUISD::CONST_DATA_PTR, DL, PtrVT); in LowerGlobalAddress()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 1598 EVT PtrVT = DAG.getTargetLoweringInfo().getPointerTy(); in LowerCall() local 1602 SDValue AddArg = DAG.getNode(ISD::ADD, dl, PtrVT, Arg, Const); in LowerCall() 1603 SDValue Load = DAG.getLoad(PtrVT, dl, Chain, AddArg, in LowerCall() 2377 EVT PtrVT = Op.getValueType(); in LowerConstantPool() local 2383 Res = DAG.getTargetConstantPool(CP->getMachineCPVal(), PtrVT, in LowerConstantPool() 2386 Res = DAG.getTargetConstantPool(CP->getConstVal(), PtrVT, in LowerConstantPool() 2401 EVT PtrVT = getPointerTy(); in LowerBlockAddress() local 2406 CPAddr = DAG.getTargetConstantPool(BA, PtrVT, 4); in LowerBlockAddress() 2413 CPAddr = DAG.getTargetConstantPool(CPV, PtrVT, 4); in LowerBlockAddress() 2415 CPAddr = DAG.getNode(ARMISD::Wrapper, DL, PtrVT, CPAddr); in LowerBlockAddress() [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 336 EVT PtrVT = Op.getValueType(); in LowerConstantPool() local 339 Res = DAG.getTargetConstantPool(CP->getMachineCPVal(), PtrVT, in LowerConstantPool() 342 Res = DAG.getTargetConstantPool(CP->getConstVal(), PtrVT, in LowerConstantPool() 770 EVT PtrVT = VAListPtr.getValueType(); in LowerVAARG() local 773 SDValue VAList = DAG.getLoad(PtrVT, dl, InChain, in LowerVAARG() 777 SDValue nextPtr = DAG.getNode(ISD::ADD, dl, PtrVT, VAList, in LowerVAARG()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 323 MVT PtrVT = TLI.getPointerTy(); in getRegForGEPIndex() local 325 if (IdxVT.bitsLT(PtrVT)) { in getRegForGEPIndex() 326 IdxN = fastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::SIGN_EXTEND, IdxN, in getRegForGEPIndex() 329 } else if (IdxVT.bitsGT(PtrVT)) { in getRegForGEPIndex() 331 fastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::TRUNCATE, IdxN, IdxNIsKill); in getRegForGEPIndex()
|
D | LegalizeIntegerTypes.cpp | 2350 EVT PtrVT = TLI.getPointerTy(); in ExpandIntRes_XMULO() local 2351 Type *PtrTy = PtrVT.getTypeForEVT(*DAG.getContext()); in ExpandIntRes_XMULO() 2363 SDValue Temp = DAG.CreateStackTemporary(PtrVT); in ExpandIntRes_XMULO() 2366 DAG.getConstant(0, PtrVT), Temp, in ExpandIntRes_XMULO() 2388 SDValue Func = DAG.getExternalSymbol(TLI.getLibcallName(LC), PtrVT); in ExpandIntRes_XMULO() 2398 SDValue Temp2 = DAG.getLoad(PtrVT, dl, CallInfo.second, Temp, in ExpandIntRes_XMULO() 2401 DAG.getConstant(0, PtrVT), in ExpandIntRes_XMULO()
|
D | SelectionDAGBuilder.cpp | 3544 EVT PtrVT = Ptr.getValueType(); in visitLoad() local 3561 PtrVT, Ptr, in visitLoad() 3562 DAG.getConstant(Offsets[i], PtrVT)); in visitLoad() 3609 EVT PtrVT = Ptr.getValueType(); in visitStore() local 3626 SDValue Add = DAG.getNode(ISD::ADD, getCurSDLoc(), PtrVT, Ptr, in visitStore() 3627 DAG.getConstant(Offsets[i], PtrVT)); in visitStore() 5434 MVT PtrVT = TLI.getPointerTy(0); in visitIntrinsicCall() local 5448 SDValue OffsetSym = DAG.getTargetExternalSymbol(Name.data(), PtrVT); in visitIntrinsicCall() 5450 DAG.getNode(ISD::FRAME_ALLOC_RECOVER, sdl, PtrVT, OffsetSym); in visitIntrinsicCall() 5455 SDValue Add = DAG.getNode(ISD::ADD, sdl, PtrVT, FPVal, OffsetVal); in visitIntrinsicCall() [all …]
|
D | LegalizeDAG.cpp | 584 EVT PtrVT = TLI.getPointerTy(); in PerformInsertVectorEltInMemory() local 595 unsigned CastOpc = IdxVT.bitsGT(PtrVT) ? ISD::TRUNCATE : ISD::ZERO_EXTEND; in PerformInsertVectorEltInMemory() 596 Tmp3 = DAG.getNode(CastOpc, dl, PtrVT, Tmp3); in PerformInsertVectorEltInMemory()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 2661 EVT PtrVT, unsigned SlotSize, in EmitTailCallStoreRetAddr() argument 2669 SDValue NewRetAddrFrIdx = DAG.getFrameIndex(NewReturnAddrFI, PtrVT); in EmitTailCallStoreRetAddr() 11054 SDValue *InFlag, const EVT PtrVT, unsigned ReturnReg, in GetTLSADDR() argument 11080 return DAG.getCopyFromReg(Chain, dl, ReturnReg, PtrVT, Flag); in GetTLSADDR() 11086 const EVT PtrVT) { in LowerToTLSGeneralDynamicModel32() argument 11091 SDLoc(), PtrVT), InFlag); in LowerToTLSGeneralDynamicModel32() 11094 return GetTLSADDR(DAG, Chain, GA, &InFlag, PtrVT, X86::EAX, X86II::MO_TLSGD); in LowerToTLSGeneralDynamicModel32() 11100 const EVT PtrVT) { in LowerToTLSGeneralDynamicModel64() argument 11101 return GetTLSADDR(DAG, DAG.getEntryNode(), GA, nullptr, PtrVT, in LowerToTLSGeneralDynamicModel64() 11107 const EVT PtrVT, in LowerToTLSLocalDynamicModel() argument [all …]
|