/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAnnotateKernelFeatures.cpp | 64 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()
|
D | SIISelLowering.h | 100 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAnnotateKernelFeatures.cpp | 88 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()
|
D | SIISelLowering.h | 214 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override; 215 bool isCheapAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
|
D | SIISelLowering.cpp | 1119 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/ |
D | LowerMemIntrinsics.cpp | 47 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/ |
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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | InferAddressSpaces.cpp | 829 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/ |
D | MipsISelLowering.h | 292 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/ |
D | MipsISelLowering.h | 364 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument 368 return SrcAS < 256 && DestAS < 256; in isNoopAddrSpaceCast()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 255 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 1473 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/ |
D | ARMISelLowering.h | 391 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 277 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 456 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 991 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.h | 906 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1218 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/ |
D | ConstantFolding.cpp | 1310 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/ |
D | X86ISelLowering.h | 1095 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1786 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/ |
D | SelectionDAG.cpp | 1858 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/ |
D | Constants.cpp | 1522 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/ |
D | Constants.cpp | 1572 unsigned SrcAS = S->getType()->getPointerAddressSpace(); in getPointerCast() local 1573 if (Ty->isPtrOrPtrVectorTy() && SrcAS != Ty->getPointerAddressSpace()) in getPointerCast()
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 1098 virtual bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const { in isNoopAddrSpaceCast() argument
|