Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVTargetTransformInfo.cpp32 unsigned DstAS = II->getType()->getPointerAddressSpace(); in rewriteIntrinsicWithAddressSpace() local
33 return NewAS == DstAS ? NewV in rewriteIntrinsicWithAddressSpace()
35 PointerType::get(NewV->getContext(), DstAS)); in rewriteIntrinsicWithAddressSpace()
/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, DstAlign, AtomicElementSize); in createMemCpyLoopKnownSize()
118 SrcAS, DstAS, SrcAlign, DstAlign, in createMemCpyLoopKnownSize()
198 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() local
201 Ctx, CopyLen, SrcAS, DstAS, SrcAlign, DstAlign, AtomicElementSize); in createMemCpyLoopUnknownSize()
414 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemMoveLoopUnknownSize() local
416 Type *LoopOpType = TTI.getMemcpyLoopLoweringType(Ctx, CopyLen, SrcAS, DstAS, in createMemMoveLoopUnknownSize()
672 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemMoveLoopKnownSize() local
674 Type *LoopOpType = TTI.getMemcpyLoopLoweringType(Ctx, CopyLen, SrcAS, DstAS, in createMemMoveLoopKnownSize()
743 SrcAS, DstAS, PartSrcAlign, in createMemMoveLoopKnownSize()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.h52 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DstAS) const override;
H A DRISCVTargetMachine.cpp296 unsigned DstAS) const { in isNoopAddrSpaceCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp2170 const unsigned DstAS = I.getDestAddressSpace(); in visitAddrSpaceCastInst() local
2174 CanLower = (DstAS == AMDGPUAS::LOCAL_ADDRESS || in visitAddrSpaceCastInst()
2175 DstAS == AMDGPUAS::PRIVATE_ADDRESS); in visitAddrSpaceCastInst()
2176 else if (DstAS == AMDGPUAS::FLAT_ADDRESS) in visitAddrSpaceCastInst()
H A DSIISelLowering.cpp1552 unsigned DstAS = I.getType()->getPointerAddressSpace(); in CollectTargetIntrinsicOperands() local
1554 Ops.push_back(DAG.getTargetConstant(DstAS, SDLoc(), MVT::i32)); in CollectTargetIntrinsicOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h514 unsigned Limit, const MemOp &Op, unsigned DstAS,
H A DSystemZISelLowering.cpp1427 const MemOp &Op, unsigned DstAS, unsigned SrcAS, in findOptimalMemOpLowering() argument
1442 DstAS, SrcAS, FuncAttributes); in findOptimalMemOpLowering()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp112 LangAS DstAS = DtorDecl->getMethodQualifiers().getAddressSpace(); in EmitCXXDestructorCall() local
113 if (SrcAS != DstAS) { in EmitCXXDestructorCall()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3507 unsigned DstAS = CE->getType()->getPointerAddressSpace(); in lowerConstant() local
3509 if (TM.isNoopAddrSpaceCast(SrcAS, DstAS)) in lowerConstant()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h4113 unsigned Limit, const MemOp &Op, unsigned DstAS,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp9628 unsigned DstAS, unsigned SrcAS, in findGISelOptimalMemOpLowering() argument
9643 !TLI.allowsMisalignedMemoryAccesses(Ty, DstAS, Op.getDstAlign())) in findGISelOptimalMemOpLowering()
9671 VT, DstAS, Op.isFixedDstAlign() ? Op.getDstAlign() : Align(1), in findGISelOptimalMemOpLowering()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp214 const MemOp &Op, unsigned DstAS, unsigned SrcAS, in findOptimalMemOpLowering() argument
229 !allowsMisalignedMemoryAccesses(VT, DstAS, Op.getDstAlign())) in findOptimalMemOpLowering()
283 VT, DstAS, Op.isFixedDstAlign() ? Op.getDstAlign() : Align(1), in findOptimalMemOpLowering()
H A DSelectionDAGBuilder.cpp9099 unsigned DstAS = LHS->getType()->getPointerAddressSpace(); in visitMemCmpBCmpCall() local
9103 !TLI.allowsMisalignedMemoryAccesses(LVT, DstAS)) in visitMemCmpBCmpCall()