Home
last modified time | relevance | path

Searched refs:PtrVT (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/Target/SystemZ/
DSystemZSelectionDAGInfo.cpp35 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 …]
DSystemZISelLowering.cpp86 MVT PtrVT = getPointerTy(); in SystemZTargetLowering() local
227 setOperationAction(ISD::ConstantPool, PtrVT, Custom); in SystemZTargetLowering()
228 setOperationAction(ISD::GlobalAddress, PtrVT, Custom); in SystemZTargetLowering()
229 setOperationAction(ISD::GlobalTLSAddress, PtrVT, Custom); in SystemZTargetLowering()
230 setOperationAction(ISD::BlockAddress, PtrVT, Custom); in SystemZTargetLowering()
231 setOperationAction(ISD::JumpTable, PtrVT, Custom); in SystemZTargetLowering()
235 setOperationAction(ISD::DYNAMIC_STACKALLOC, PtrVT, Custom); in SystemZTargetLowering()
729 EVT PtrVT = getPointerTy(); in LowerFormalArguments() local
730 SDValue FIN = DAG.getFrameIndex(FI, PtrVT); in LowerFormalArguments()
732 FIN = DAG.getNode(ISD::ADD, DL, PtrVT, FIN, DAG.getIntPtrConstant(4)); in LowerFormalArguments()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1520 EVT PtrVT = HiPart.getValueType(); in LowerLabelRef() local
1521 SDValue Zero = DAG.getConstant(0, PtrVT); in LowerLabelRef()
1524 SDValue Hi = DAG.getNode(PPCISD::Hi, DL, PtrVT, HiPart, Zero); in LowerLabelRef()
1525 SDValue Lo = DAG.getNode(PPCISD::Lo, DL, PtrVT, LoPart, Zero); in LowerLabelRef()
1529 Hi = DAG.getNode(ISD::ADD, DL, PtrVT, in LowerLabelRef()
1530 DAG.getNode(PPCISD::GlobalBaseReg, DL, PtrVT), Hi); in LowerLabelRef()
1534 return DAG.getNode(ISD::ADD, DL, PtrVT, Hi, Lo); in LowerLabelRef()
1539 EVT PtrVT = Op.getValueType(); in LowerConstantPool() local
1546 SDValue GA = DAG.getTargetConstantPool(C, PtrVT, CP->getAlignment(), 0); in LowerConstantPool()
1554 DAG.getTargetConstantPool(C, PtrVT, CP->getAlignment(), 0, MOHiFlag); in LowerConstantPool()
[all …]
DPPCISelDAGToDAG.cpp748 EVT PtrVT = CurDAG->getTargetLoweringInfo().getPointerTy(); in SelectSETCC() local
749 bool isPPC64 = (PtrVT == MVT::i64); in SelectSETCC()
1268 EVT PtrVT = CurDAG->getTargetLoweringInfo().getPointerTy(); in Select() local
1269 bool isPPC64 = (PtrVT == MVT::i64); in Select()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2540 EVT PtrVT = getPointerTy(); in LowerGlobalAddress() local
2551 SDValue GotAddr = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, OpFlags); in LowerGlobalAddress()
2554 return DAG.getNode(AArch64ISD::LOADgot, DL, PtrVT, GotAddr); in LowerGlobalAddress()
2560 AArch64ISD::WrapperLarge, DL, PtrVT, in LowerGlobalAddress()
2561 DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, AArch64II::MO_G3), in LowerGlobalAddress()
2562 DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, AArch64II::MO_G2 | MO_NC), in LowerGlobalAddress()
2563 DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, AArch64II::MO_G1 | MO_NC), in LowerGlobalAddress()
2564 DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, AArch64II::MO_G0 | MO_NC)); in LowerGlobalAddress()
2568 SDValue Hi = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, in LowerGlobalAddress()
2571 SDValue Lo = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, LoFlags); in LowerGlobalAddress()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1869 EVT PtrVT = getPointerTy(); in LowerGlobalTLSAddress() local
1888 SDValue Base = DAG.getNode(SPISD::GLOBAL_BASE_REG, DL, PtrVT); in LowerGlobalTLSAddress()
1889 SDValue Argument = DAG.getNode(SPISD::TLS_ADD, DL, PtrVT, Base, HiLo, in LowerGlobalTLSAddress()
1898 SDValue Callee = DAG.getTargetExternalSymbol("__tls_get_addr", PtrVT); in LowerGlobalTLSAddress()
1906 Ops.push_back(DAG.getRegister(SP::O0, PtrVT)); in LowerGlobalTLSAddress()
1917 SDValue Ret = DAG.getCopyFromReg(Chain, DL, SP::O0, PtrVT, InFlag); in LowerGlobalTLSAddress()
1922 SDValue Hi = DAG.getNode(SPISD::Hi, DL, PtrVT, in LowerGlobalTLSAddress()
1924 SDValue Lo = DAG.getNode(SPISD::Lo, DL, PtrVT, in LowerGlobalTLSAddress()
1926 HiLo = DAG.getNode(ISD::XOR, DL, PtrVT, Hi, Lo); in LowerGlobalTLSAddress()
1927 return DAG.getNode(SPISD::TLS_ADD, DL, PtrVT, Ret, HiLo, in LowerGlobalTLSAddress()
[all …]
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp1636 EVT PtrVT = getPointerTy(); in lowerGlobalTLSAddress() local
1645 SDValue TGA = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, Flag); in lowerGlobalTLSAddress()
1646 SDValue Argument = DAG.getNode(MipsISD::Wrapper, DL, PtrVT, in lowerGlobalTLSAddress()
1647 getGlobalReg(DAG, PtrVT), TGA); in lowerGlobalTLSAddress()
1648 unsigned PtrSize = PtrVT.getSizeInBits(); in lowerGlobalTLSAddress()
1651 SDValue TlsGetAddr = DAG.getExternalSymbol("__tls_get_addr", PtrVT); in lowerGlobalTLSAddress()
1669 SDValue TGAHi = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, in lowerGlobalTLSAddress()
1671 SDValue Hi = DAG.getNode(MipsISD::Hi, DL, PtrVT, TGAHi); in lowerGlobalTLSAddress()
1672 SDValue TGALo = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, in lowerGlobalTLSAddress()
1674 SDValue Lo = DAG.getNode(MipsISD::Lo, DL, PtrVT, TGALo); in lowerGlobalTLSAddress()
[all …]
DMipsSEISelDAGToDAG.cpp773 EVT PtrVT = getTargetLowering()->getPointerTy(); in selectNode() local
776 if (PtrVT == MVT::i32) { in selectNode()
790 SDValue ResNode = CurDAG->getCopyFromReg(Chain, DL, DestReg, PtrVT); in selectNode()
DMipsSEISelLowering.cpp1203 EVT PtrVT = Ptr.getValueType(); in lowerLOAD() local
1212 Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, Ptr, DAG.getConstant(4, PtrVT)); in lowerLOAD()
1235 EVT PtrVT = Ptr.getValueType(); in lowerSTORE() local
1250 Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, Ptr, DAG.getConstant(4, PtrVT)); in lowerSTORE()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp1520 EVT PtrVT = DAG.getTargetLoweringInfo().getPointerTy(); in LowerCall() local
1524 SDValue AddArg = DAG.getNode(ISD::ADD, dl, PtrVT, Arg, Const); in LowerCall()
1525 SDValue Load = DAG.getLoad(PtrVT, dl, Chain, AddArg, in LowerCall()
2268 EVT PtrVT = Op.getValueType(); in LowerConstantPool() local
2274 Res = DAG.getTargetConstantPool(CP->getMachineCPVal(), PtrVT, in LowerConstantPool()
2277 Res = DAG.getTargetConstantPool(CP->getConstVal(), PtrVT, in LowerConstantPool()
2292 EVT PtrVT = getPointerTy(); in LowerBlockAddress() local
2297 CPAddr = DAG.getTargetConstantPool(BA, PtrVT, 4); in LowerBlockAddress()
2304 CPAddr = DAG.getTargetConstantPool(CPV, PtrVT, 4); in LowerBlockAddress()
2306 CPAddr = DAG.getNode(ARMISD::Wrapper, DL, PtrVT, CPAddr); in LowerBlockAddress()
[all …]
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp621 EVT PtrVT = InitPtr.getValueType(); in LowerConstantInitializer() local
625 SDValue Offset = DAG.getConstant(SL->getElementOffset(I), PtrVT); in LowerConstantInitializer()
626 SDValue Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, InitPtr, Offset); in LowerConstantInitializer()
636 EVT PtrVT = InitPtr.getValueType(); in LowerConstantInitializer() local
649 SDValue Offset = DAG.getConstant(i * EltSize, PtrVT); in LowerConstantInitializer()
650 SDValue Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, InitPtr, Offset); in LowerConstantInitializer()
1009 EVT PtrVT = Load->getBasePtr().getValueType(); in SplitVectorLoad() local
1018 SDValue Ptr = DAG.getNode(ISD::ADD, SL, PtrVT, Load->getBasePtr(), in SplitVectorLoad()
1019 DAG.getConstant(i * (MemEltVT.getSizeInBits() / 8), PtrVT)); in SplitVectorLoad()
1102 EVT PtrVT = Store->getBasePtr().getValueType(); in SplitVectorStore() local
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp299 MVT PtrVT = TLI.getPointerTy(); in getRegForGEPIndex() local
301 if (IdxVT.bitsLT(PtrVT)) { in getRegForGEPIndex()
302 IdxN = FastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::SIGN_EXTEND, in getRegForGEPIndex()
306 else if (IdxVT.bitsGT(PtrVT)) { in getRegForGEPIndex()
307 IdxN = FastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::TRUNCATE, in getRegForGEPIndex()
DLegalizeIntegerTypes.cpp2308 EVT PtrVT = TLI.getPointerTy(); in ExpandIntRes_XMULO() local
2309 Type *PtrTy = PtrVT.getTypeForEVT(*DAG.getContext()); in ExpandIntRes_XMULO()
2321 SDValue Temp = DAG.CreateStackTemporary(PtrVT); in ExpandIntRes_XMULO()
2324 DAG.getConstant(0, PtrVT), Temp, in ExpandIntRes_XMULO()
2346 SDValue Func = DAG.getExternalSymbol(TLI.getLibcallName(LC), PtrVT); in ExpandIntRes_XMULO()
2356 SDValue Temp2 = DAG.getLoad(PtrVT, dl, CallInfo.second, Temp, in ExpandIntRes_XMULO()
2359 DAG.getConstant(0, PtrVT), in ExpandIntRes_XMULO()
DSelectionDAGBuilder.cpp3502 EVT PtrVT = Ptr.getValueType(); in visitLoad() local
3519 PtrVT, Ptr, in visitLoad()
3520 DAG.getConstant(Offsets[i], PtrVT)); in visitLoad()
3566 EVT PtrVT = Ptr.getValueType(); in visitStore() local
3581 SDValue Add = DAG.getNode(ISD::ADD, getCurSDLoc(), PtrVT, Ptr, in visitStore()
3582 DAG.getConstant(Offsets[i], PtrVT)); in visitStore()
7278 EVT PtrVT = PVTs[0]; in LowerCallTo() local
7285 SDValue Add = CLI.DAG.getNode(ISD::ADD, CLI.DL, PtrVT, DemoteStackSlot, in LowerCallTo()
7286 CLI.DAG.getConstant(Offsets[i], PtrVT)); in LowerCallTo()
DLegalizeDAG.cpp595 EVT PtrVT = TLI.getPointerTy(); in PerformInsertVectorEltInMemory() local
606 unsigned CastOpc = IdxVT.bitsGT(PtrVT) ? ISD::TRUNCATE : ISD::ZERO_EXTEND; in PerformInsertVectorEltInMemory()
607 Tmp3 = DAG.getNode(CastOpc, dl, PtrVT, Tmp3); in PerformInsertVectorEltInMemory()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp333 EVT PtrVT = Op.getValueType(); in LowerConstantPool() local
336 Res = DAG.getTargetConstantPool(CP->getMachineCPVal(), PtrVT, in LowerConstantPool()
339 Res = DAG.getTargetConstantPool(CP->getConstVal(), PtrVT, in LowerConstantPool()
762 EVT PtrVT = VAListPtr.getValueType(); in LowerVAARG() local
765 SDValue VAList = DAG.getLoad(PtrVT, dl, InChain, in LowerVAARG()
769 SDValue nextPtr = DAG.getNode(ISD::ADD, dl, PtrVT, VAList, in LowerVAARG()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp2552 EVT PtrVT, unsigned SlotSize, in EmitTailCallStoreRetAddr() argument
2560 SDValue NewRetAddrFrIdx = DAG.getFrameIndex(NewReturnAddrFI, PtrVT); in EmitTailCallStoreRetAddr()
10332 SDValue *InFlag, const EVT PtrVT, unsigned ReturnReg, in GetTLSADDR() argument
10357 return DAG.getCopyFromReg(Chain, dl, ReturnReg, PtrVT, Flag); in GetTLSADDR()
10363 const EVT PtrVT) { in LowerToTLSGeneralDynamicModel32() argument
10368 SDLoc(), PtrVT), InFlag); in LowerToTLSGeneralDynamicModel32()
10371 return GetTLSADDR(DAG, Chain, GA, &InFlag, PtrVT, X86::EAX, X86II::MO_TLSGD); in LowerToTLSGeneralDynamicModel32()
10377 const EVT PtrVT) { in LowerToTLSGeneralDynamicModel64() argument
10378 return GetTLSADDR(DAG, DAG.getEntryNode(), GA, nullptr, PtrVT, in LowerToTLSGeneralDynamicModel64()
10384 const EVT PtrVT, in LowerToTLSLocalDynamicModel() argument
[all …]