Home
last modified time | relevance | path

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

/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp76 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in convertMemCpyToLoop() local
80 SrcAddr = Builder.CreateBitCast(SrcAddr, Builder.getInt8PtrTy(SrcAS)); in convertMemCpyToLoop()
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.h84 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
DSIISelLowering.cpp502 bool SITargetLowering::isNoopAddrSpaceCast(unsigned SrcAS, in isNoopAddrSpaceCast() argument
504 return isFlatGlobalAddrSpace(SrcAS) && isFlatGlobalAddrSpace(DestAS); in isNoopAddrSpaceCast()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.h288 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
292 return SrcAS < 256 && DestAS < 256; in isNoopAddrSpaceCast()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h251 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
/external/llvm/lib/Target/ARM/
DARMISelLowering.h386 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
/external/llvm/lib/Target/X86/
DX86ISelLowering.h928 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
DX86ISelLowering.cpp2163 bool X86TargetLowering::isNoopAddrSpaceCast(unsigned SrcAS, in isNoopAddrSpaceCast() argument
2165 assert(SrcAS != DestAS && "Expected different address spaces!"); in isNoopAddrSpaceCast()
2167 return SrcAS < 256 && DestAS < 256; in isNoopAddrSpaceCast()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1062 unsigned SrcAS = SrcPtr->getType()->getPointerAddressSpace(); in ConstantFoldInstOperands() local
1063 if (SrcAS == DestTy->getPointerAddressSpace()) in ConstantFoldInstOperands()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h899 unsigned SrcAS, unsigned DestAS);
DSelectionDAGNodes.h1093 unsigned SrcAS, unsigned DestAS);
/external/llvm/include/llvm/Target/
DTargetLowering.h1014 virtual bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const { in isNoopAddrSpaceCast() argument
/external/llvm/lib/IR/
DConstants.cpp1591 unsigned SrcAS = S->getType()->getPointerAddressSpace(); in getPointerCast() local
1592 if (Ty->isPtrOrPtrVectorTy() && SrcAS != Ty->getPointerAddressSpace()) in getPointerCast()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1809 unsigned SrcAS, unsigned DestAS) { in getAddrSpaceCast() argument
1813 ID.AddInteger(SrcAS); in getAddrSpaceCast()
1822 VT, Ptr, SrcAS, DestAS); in getAddrSpaceCast()
6728 SDValue X, unsigned SrcAS, in AddrSpaceCastSDNode() argument
6731 SrcAddrSpace(SrcAS), DestAddrSpace(DestAS) {} in AddrSpaceCastSDNode()
DSelectionDAGBuilder.cpp2665 unsigned SrcAS = SV->getType()->getPointerAddressSpace(); in visitAddrSpaceCast() local
2668 if (!TLI.isNoopAddrSpaceCast(SrcAS, DestAS)) in visitAddrSpaceCast()
2669 N = DAG.getAddrSpaceCast(getCurSDLoc(), DestVT, N, SrcAS, DestAS); in visitAddrSpaceCast()
5538 unsigned SrcAS = RHS->getType()->getPointerAddressSpace(); in visitMemCmpCall() local
5543 !TLI.allowsMisalignedMemoryAccesses(LoadVT, SrcAS) || in visitMemCmpCall()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3120 unsigned SrcAS in matchOperationAddr() local
3123 if (TLI.isNoopAddrSpaceCast(SrcAS, DestAS)) in matchOperationAddr()
/external/clang/lib/Sema/
DSemaExpr.cpp5362 unsigned SrcAS = SrcTy->getPointeeType().getAddressSpace(); in PrepareScalarCast() local
5364 if (SrcAS != DestAS) in PrepareScalarCast()