Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp44 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() local
48 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value(), in createMemCpyLoopKnownSize()
114 SrcAS, DstAS, SrcAlign.value(), in createMemCpyLoopKnownSize()
197 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() local
200 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value(), in createMemCpyLoopUnknownSize()
555 unsigned DstAS = DstAddr->getType()->getPointerAddressSpace(); in expandMemMoveAsLoop() local
556 if (SrcAS != DstAS) { in expandMemMoveAsLoop()
557 if (!TTI.addrspacesMayAlias(SrcAS, DstAS)) { in expandMemMoveAsLoop()
575 if (TTI.isValidAddrSpaceCast(DstAS, SrcAS)) in expandMemMoveAsLoop()
577 else if (TTI.isValidAddrSpaceCast(SrcAS, DstAS)) in expandMemMoveAsLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.h53 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DstAS) const override;
H A DRISCVTargetMachine.cpp269 unsigned DstAS) const { in isNoopAddrSpaceCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp2070 const unsigned DstAS = I.getDestAddressSpace(); in visitAddrSpaceCastInst() local
2074 CanLower = (DstAS == AMDGPUAS::LOCAL_ADDRESS || in visitAddrSpaceCastInst()
2075 DstAS == AMDGPUAS::PRIVATE_ADDRESS); in visitAddrSpaceCastInst()
2076 else if (DstAS == AMDGPUAS::FLAT_ADDRESS) in visitAddrSpaceCastInst()
H A DSIISelLowering.cpp1446 unsigned DstAS = I.getType()->getPointerAddressSpace(); in CollectTargetIntrinsicOperands() local
1448 Ops.push_back(DAG.getTargetConstant(DstAS, SDLoc(), MVT::i32)); in CollectTargetIntrinsicOperands()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp111 LangAS DstAS = DtorDecl->getMethodQualifiers().getAddressSpace(); in EmitCXXDestructorCall() local
112 if (SrcAS != DstAS) { in EmitCXXDestructorCall()
115 This = getTargetHooks().performAddrSpaceCast(*this, This, SrcAS, DstAS, in EmitCXXDestructorCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h494 const MemOp &Op, unsigned DstAS, unsigned SrcAS,
H A DSystemZISelLowering.cpp1111 std::vector<EVT> &MemOps, unsigned Limit, const MemOp &Op, unsigned DstAS, in findOptimalMemOpLowering() argument
1125 return TargetLowering::findOptimalMemOpLowering(MemOps, Limit, Op, DstAS, in findOptimalMemOpLowering()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3168 unsigned DstAS = CE->getType()->getPointerAddressSpace(); in lowerConstant() local
3170 if (TM.isNoopAddrSpaceCast(SrcAS, DstAS)) in lowerConstant()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3958 const MemOp &Op, unsigned DstAS, unsigned SrcAS,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp8666 unsigned DstAS, unsigned SrcAS, in findGISelOptimalMemOpLowering() argument
8681 !TLI.allowsMisalignedMemoryAccesses(Ty, DstAS, Op.getDstAlign())) in findGISelOptimalMemOpLowering()
8709 VT, DstAS, Op.isFixedDstAlign() ? Op.getDstAlign() : Align(1), in findGISelOptimalMemOpLowering()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp200 std::vector<EVT> &MemOps, unsigned Limit, const MemOp &Op, unsigned DstAS, in findOptimalMemOpLowering() argument
215 !allowsMisalignedMemoryAccesses(VT, DstAS, Op.getDstAlign())) in findOptimalMemOpLowering()
269 VT, DstAS, Op.isFixedDstAlign() ? Op.getDstAlign() : Align(1), in findOptimalMemOpLowering()
H A DSelectionDAGBuilder.cpp8948 unsigned DstAS = LHS->getType()->getPointerAddressSpace(); in visitMemCmpBCmpCall() local
8952 !TLI.allowsMisalignedMemoryAccesses(LVT, DstAS)) in visitMemCmpBCmpCall()