/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 33 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/ |
D | LowerMemIntrinsics.cpp | 47 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/ |
D | NVPTXLowerAggrCopies.cpp | 77 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/ |
D | CombinerHelper.cpp | 860 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/ |
D | CGExprCXX.cpp | 103 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/ |
D | CombinerHelper.cpp | 956 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/ |
D | AsmPrinter.cpp | 2358 unsigned DstAS = CE->getType()->getPointerAddressSpace(); in lowerConstant() local 2360 if (TM.isNoopAddrSpaceCast(SrcAS, DstAS)) in lowerConstant()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 4190 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()
|
D | SelectionDAGBuilder.cpp | 5984 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/ |
D | TargetLowering.h | 3098 unsigned DstAS, unsigned SrcAS,
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 3272 const MemOp &Op, unsigned DstAS, unsigned SrcAS,
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 184 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()
|
D | SelectionDAGBuilder.cpp | 7387 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/ |
D | TargetLowering.cpp | 187 unsigned DstAS, unsigned SrcAS, in findOptimalMemOpLowering() argument 209 !allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign)) in findOptimalMemOpLowering() 261 allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign, in findOptimalMemOpLowering()
|
D | SelectionDAGBuilder.cpp | 7358 unsigned DstAS = LHS->getType()->getPointerAddressSpace(); in visitMemCmpCall() local 7362 !TLI.allowsMisalignedMemoryAccesses(LVT, DstAS)) in visitMemCmpCall()
|