/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 76 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/ |
D | SIISelLowering.h | 84 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
|
D | SIISelLowering.cpp | 502 bool SITargetLowering::isNoopAddrSpaceCast(unsigned SrcAS, in isNoopAddrSpaceCast() argument 504 return isFlatGlobalAddrSpace(SrcAS) && isFlatGlobalAddrSpace(DestAS); in isNoopAddrSpaceCast()
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.h | 288 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument 292 return SrcAS < 256 && DestAS < 256; in isNoopAddrSpaceCast()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 251 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 386 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 928 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
|
D | X86ISelLowering.cpp | 2163 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/ |
D | ConstantFolding.cpp | 1062 unsigned SrcAS = SrcPtr->getType()->getPointerAddressSpace(); in ConstantFoldInstOperands() local 1063 if (SrcAS == DestTy->getPointerAddressSpace()) in ConstantFoldInstOperands()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 899 unsigned SrcAS, unsigned DestAS);
|
D | SelectionDAGNodes.h | 1093 unsigned SrcAS, unsigned DestAS);
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 1014 virtual bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const { in isNoopAddrSpaceCast() argument
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 1591 unsigned SrcAS = S->getType()->getPointerAddressSpace(); in getPointerCast() local 1592 if (Ty->isPtrOrPtrVectorTy() && SrcAS != Ty->getPointerAddressSpace()) in getPointerCast()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1809 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()
|
D | SelectionDAGBuilder.cpp | 2665 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/ |
D | CodeGenPrepare.cpp | 3120 unsigned SrcAS in matchOperationAddr() local 3123 if (TLI.isNoopAddrSpaceCast(SrcAS, DestAS)) in matchOperationAddr()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 5362 unsigned SrcAS = SrcTy->getPointeeType().getAddressSpace(); in PrepareScalarCast() local 5364 if (SrcAS != DestAS) in PrepareScalarCast()
|