Home
last modified time | relevance | path

Searched refs:DstAS (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp33 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() local
37 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value()); in createMemCpyLoopKnownSize()
54 PointerType *DstOpType = PointerType::get(LoopOpType, DstAS); in createMemCpyLoopKnownSize()
95 SrcAS, DstAS, SrcAlign.value(), in createMemCpyLoopKnownSize()
118 PointerType *DstPtrType = PointerType::get(OpTy, DstAS); in createMemCpyLoopKnownSize()
147 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() local
150 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value()); in createMemCpyLoopUnknownSize()
156 PointerType *DstOpType = PointerType::get(LoopOpType, DstAS); in createMemCpyLoopUnknownSize()
236 ResBuilder.CreateBitCast(DstAddr, PointerType::get(Int8Type, DstAS)); in createMemCpyLoopUnknownSize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp47 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() local
61 PointerType *DstOpType = PointerType::get(LoopOpType, DstAS); in createMemCpyLoopKnownSize()
120 PointerType *DstPtrType = PointerType::get(OpTy, DstAS); in createMemCpyLoopKnownSize()
155 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() local
157 PointerType *DstOpType = PointerType::get(LoopOpType, DstAS); in createMemCpyLoopUnknownSize()
233 ResBuilder.CreateBitCast(DstAddr, PointerType::get(Int8Type, DstAS)); in createMemCpyLoopUnknownSize()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp77 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in convertMemCpyToLoop() local
81 DstAddr = Builder.CreateBitCast(DstAddr, Builder.getInt8PtrTy(DstAS)); in convertMemCpyToLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp860 bool AllowOverlap, unsigned DstAS, unsigned SrcAS, in findGISelOptimalMemOpLowering() argument
881 !TLI.allowsMisalignedMemoryAccesses(Ty, DstAS, DstAlign)) in findGISelOptimalMemOpLowering()
908 VT, DstAS, DstAlign, MachineMemOperand::MONone, &Fast) && in findGISelOptimalMemOpLowering()
/external/llvm-project/clang/lib/CodeGen/
DCGExprCXX.cpp103 LangAS DstAS = DtorDecl->getMethodQualifiers().getAddressSpace(); in EmitCXXDestructorCall() local
104 if (SrcAS != DstAS) { in EmitCXXDestructorCall()
107 This = getTargetHooks().performAddrSpaceCast(*this, This, SrcAS, DstAS, in EmitCXXDestructorCall()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp956 unsigned DstAS, unsigned SrcAS, in findGISelOptimalMemOpLowering() argument
971 !TLI.allowsMisalignedMemoryAccesses(Ty, DstAS, Op.getDstAlign())) in findGISelOptimalMemOpLowering()
999 VT, DstAS, Op.isFixedDstAlign() ? Op.getDstAlign().value() : 0, in findGISelOptimalMemOpLowering()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2358 unsigned DstAS = CE->getType()->getPointerAddressSpace(); in lowerConstant() local
2360 if (TM.isNoopAddrSpaceCast(SrcAS, DstAS)) in lowerConstant()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4190 unsigned DstAS, unsigned SrcAS, in FindOptimalMemOpLowering() argument
4207 if (DstAlign >= DAG.getDataLayout().getPointerPrefAlignment(DstAS) || in FindOptimalMemOpLowering()
4208 TLI.allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign)) { in FindOptimalMemOpLowering()
4209 VT = TLI.getPointerTy(DAG.getDataLayout(), DstAS); in FindOptimalMemOpLowering()
4267 TLI.allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign, &Fast) && Fast) in FindOptimalMemOpLowering()
DSelectionDAGBuilder.cpp5984 unsigned DstAS = LHS->getType()->getPointerAddressSpace(); in visitMemCmpCall() local
5991 !TLI.allowsMisalignedMemoryAccesses(LoadVT, DstAS)) in visitMemCmpCall()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h3098 unsigned DstAS, unsigned SrcAS,
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetLowering.h3272 const MemOp &Op, unsigned DstAS, unsigned SrcAS,
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp184 std::vector<EVT> &MemOps, unsigned Limit, const MemOp &Op, unsigned DstAS, in findOptimalMemOpLowering() argument
199 !allowsMisalignedMemoryAccesses(VT, DstAS, Op.getDstAlign().value())) in findOptimalMemOpLowering()
253 VT, DstAS, Op.isFixedDstAlign() ? Op.getDstAlign().value() : 1, in findOptimalMemOpLowering()
DSelectionDAGBuilder.cpp7387 unsigned DstAS = LHS->getType()->getPointerAddressSpace(); in visitMemCmpBCmpCall() local
7391 !TLI.allowsMisalignedMemoryAccesses(LVT, DstAS)) in visitMemCmpBCmpCall()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp187 unsigned DstAS, unsigned SrcAS, in findOptimalMemOpLowering() argument
209 !allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign)) in findOptimalMemOpLowering()
261 allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign, in findOptimalMemOpLowering()
DSelectionDAGBuilder.cpp7358 unsigned DstAS = LHS->getType()->getPointerAddressSpace(); in visitMemCmpCall() local
7362 !TLI.allowsMisalignedMemoryAccesses(LVT, DstAS)) in visitMemCmpCall()