Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateKernelFeatures.cpp64 static bool castRequiresQueuePtr(unsigned SrcAS) { in castRequiresQueuePtr() argument
65 return SrcAS == AMDGPUAS::LOCAL_ADDRESS || SrcAS == AMDGPUAS::PRIVATE_ADDRESS; in castRequiresQueuePtr()
74 unsigned SrcAS = CE->getOperand(0)->getType()->getPointerAddressSpace(); in visitConstantExpr() local
75 return castRequiresQueuePtr(SrcAS); in visitConstantExpr()
DSIISelLowering.h100 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateKernelFeatures.cpp88 static bool castRequiresQueuePtr(unsigned SrcAS, const AMDGPUAS &AS) { in castRequiresQueuePtr() argument
89 return SrcAS == AS.LOCAL_ADDRESS || SrcAS == AS.PRIVATE_ADDRESS; in castRequiresQueuePtr()
100 unsigned SrcAS = CE->getOperand(0)->getType()->getPointerAddressSpace(); in visitConstantExpr() local
101 return castRequiresQueuePtr(SrcAS, AS); in visitConstantExpr()
DSIISelLowering.h214 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
215 bool isCheapAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
DSIISelLowering.cpp1119 bool SITargetLowering::isNoopAddrSpaceCast(unsigned SrcAS, in isNoopAddrSpaceCast() argument
1121 return isFlatGlobalAddrSpace(SrcAS, AMDGPUASI) && in isNoopAddrSpaceCast()
1132 bool SITargetLowering::isCheapAddrSpaceCast(unsigned SrcAS, in isCheapAddrSpaceCast() argument
1136 if (SrcAS == AMDGPUASI.FLAT_ADDRESS) in isCheapAddrSpaceCast()
1139 return isNoopAddrSpaceCast(SrcAS, DestAS); in isCheapAddrSpaceCast()
4168 unsigned SrcAS = ASC->getSrcAddressSpace(); in lowerADDRSPACECAST() local
4170 if (SrcAS == AMDGPUASI.LOCAL_ADDRESS || in lowerADDRSPACECAST()
4171 SrcAS == AMDGPUASI.PRIVATE_ADDRESS) { in lowerADDRSPACECAST()
4172 unsigned NullVal = TM.getNullPointerValue(SrcAS); in lowerADDRSPACECAST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp47 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() local
61 PointerType *SrcOpType = PointerType::get(LoopOpType, SrcAS); in createMemCpyLoopKnownSize()
112 PointerType *SrcPtrType = PointerType::get(OpTy, SrcAS); in createMemCpyLoopKnownSize()
155 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() local
157 PointerType *SrcOpType = PointerType::get(LoopOpType, SrcAS); in createMemCpyLoopUnknownSize()
232 ResBuilder.CreateBitCast(SrcAddr, PointerType::get(Int8Type, SrcAS)); in createMemCpyLoopUnknownSize()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp829 unsigned SrcAS = C->getType()->getPointerAddressSpace(); in isSafeToCastConstAddrSpace() local
830 if (SrcAS == NewAS || isa<UndefValue>(C)) in isSafeToCastConstAddrSpace()
834 if (SrcAS != FlatAddrSpace && NewAS != FlatAddrSpace) in isSafeToCastConstAddrSpace()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.h292 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
296 return SrcAS < 256 && DestAS < 256; in isNoopAddrSpaceCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsISelLowering.h364 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
368 return SrcAS < 256 && DestAS < 256; in isNoopAddrSpaceCast()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h255 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLowering.h1473 virtual bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const { in isNoopAddrSpaceCast() argument
1479 virtual bool isCheapAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const { in isCheapAddrSpaceCast() argument
1480 return isNoopAddrSpaceCast(SrcAS, DestAS); in isCheapAddrSpaceCast()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h391 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h277 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.h456 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
/external/llvm/lib/Target/X86/
DX86ISelLowering.h991 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.h906 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
/external/llvm/lib/Analysis/
DConstantFolding.cpp1218 unsigned SrcAS = SrcPtr->getType()->getPointerAddressSpace(); in ConstantFoldCastOperand() local
1219 if (SrcAS == DestTy->getPointerAddressSpace()) in ConstantFoldCastOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp1310 unsigned SrcAS = SrcPtr->getType()->getPointerAddressSpace(); in ConstantFoldCastOperand() local
1311 if (SrcAS == DestTy->getPointerAddressSpace()) in ConstantFoldCastOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.h1095 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1786 unsigned SrcAS, unsigned DestAS) { in getAddrSpaceCast() argument
1790 ID.AddInteger(SrcAS); in getAddrSpaceCast()
1798 VT, SrcAS, DestAS); in getAddrSpaceCast()
4190 unsigned DstAS, unsigned SrcAS, in FindOptimalMemOpLowering() argument
6718 EVT VT, unsigned SrcAS, in AddrSpaceCastSDNode() argument
6721 SrcAddrSpace(SrcAS), DestAddrSpace(DestAS) {} in AddrSpaceCastSDNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1858 unsigned SrcAS, unsigned DestAS) { in getAddrSpaceCast() argument
1862 ID.AddInteger(SrcAS); in getAddrSpaceCast()
1870 VT, SrcAS, DestAS); in getAddrSpaceCast()
5160 unsigned DstAS, unsigned SrcAS, in FindOptimalMemOpLowering() argument
8131 EVT VT, unsigned SrcAS, in AddrSpaceCastSDNode() argument
8134 SrcAddrSpace(SrcAS), DestAddrSpace(DestAS) {} in AddrSpaceCastSDNode()
/external/llvm/lib/IR/
DConstants.cpp1522 unsigned SrcAS = S->getType()->getPointerAddressSpace(); in getPointerCast() local
1523 if (Ty->isPtrOrPtrVectorTy() && SrcAS != Ty->getPointerAddressSpace()) in getPointerCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp1572 unsigned SrcAS = S->getType()->getPointerAddressSpace(); in getPointerCast() local
1573 if (Ty->isPtrOrPtrVectorTy() && SrcAS != Ty->getPointerAddressSpace()) in getPointerCast()
/external/llvm/include/llvm/Target/
DTargetLowering.h1098 virtual bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const { in isNoopAddrSpaceCast() argument

12