Home
last modified time | relevance | path

Searched refs:DestAS (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.h272 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
273 bool isFreeAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
DAMDGPULegalizerInfo.cpp1263 unsigned DestAS = DstTy.getAddressSpace(); in legalizeAddrSpaceCast() local
1274 if (ST.getTargetLowering()->isNoopAddrSpaceCast(SrcAS, DestAS)) { in legalizeAddrSpaceCast()
1279 if (DestAS == AMDGPUAS::CONSTANT_ADDRESS_32BIT) { in legalizeAddrSpaceCast()
1301 assert(DestAS == AMDGPUAS::LOCAL_ADDRESS || in legalizeAddrSpaceCast()
1302 DestAS == AMDGPUAS::PRIVATE_ADDRESS); in legalizeAddrSpaceCast()
1303 unsigned NullVal = TM.getNullPointerValue(DestAS); in legalizeAddrSpaceCast()
1330 B.buildConstant(DstTy, TM.getNullPointerValue(DestAS)); in legalizeAddrSpaceCast()
DSIISelLowering.cpp1342 unsigned DestAS) const { in isNoopAddrSpaceCast()
1343 return isFlatGlobalAddrSpace(SrcAS) && isFlatGlobalAddrSpace(DestAS); in isNoopAddrSpaceCast()
1354 unsigned DestAS) const { in isFreeAddrSpaceCast()
1360 return isNoopAddrSpaceCast(SrcAS, DestAS); in isFreeAddrSpaceCast()
4732 unsigned DestAS = ASC->getDestAddressSpace(); in lowerADDRSPACECAST() local
4734 if (DestAS == AMDGPUAS::LOCAL_ADDRESS || in lowerADDRSPACECAST()
4735 DestAS == AMDGPUAS::PRIVATE_ADDRESS) { in lowerADDRSPACECAST()
4736 unsigned NullVal = TM.getNullPointerValue(DestAS); in lowerADDRSPACECAST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsISelLowering.h369 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
373 return SrcAS < 256 && DestAS < 256; in isNoopAddrSpaceCast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp898 unsigned DestAS = DestPtr->getType()->getPointerAddressSpace(); in processLoopStridedStore() local
903 Type *DestInt8PtrTy = Builder.getInt8PtrTy(DestAS); in processLoopStridedStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h1647 virtual bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const { in isNoopAddrSpaceCast() argument
1654 virtual bool isFreeAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const { in isFreeAddrSpaceCast() argument
1655 return isNoopAddrSpaceCast(SrcAS, DestAS); in isFreeAddrSpaceCast()
DSelectionDAGNodes.h1275 unsigned SrcAS, unsigned DestAS);
DSelectionDAG.h1190 unsigned DestAS);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.h485 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h352 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.h1000 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override { in isNoopAddrSpaceCast() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.h1234 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
DX86ISelLowering.cpp2552 unsigned DestAS) const { in isNoopAddrSpaceCast()
2553 assert(SrcAS != DestAS && "Expected different address spaces!"); in isNoopAddrSpaceCast()
2556 if (TM.getPointerSize(SrcAS) != TM.getPointerSize(DestAS)) in isNoopAddrSpaceCast()
2559 return SrcAS < 256 && DestAS < 256; in isNoopAddrSpaceCast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1904 unsigned SrcAS, unsigned DestAS) { in getAddrSpaceCast() argument
1909 ID.AddInteger(DestAS); in getAddrSpaceCast()
1916 VT, SrcAS, DestAS); in getAddrSpaceCast()
8974 unsigned DestAS) in AddrSpaceCastSDNode() argument
8976 SrcAddrSpace(SrcAS), DestAddrSpace(DestAS) {} in AddrSpaceCastSDNode()
DSelectionDAGBuilder.cpp3548 unsigned DestAS = I.getType()->getPointerAddressSpace(); in visitAddrSpaceCast() local
3550 if (!TLI.isNoopAddrSpaceCast(SrcAS, DestAS)) in visitAddrSpaceCast()
3551 N = DAG.getAddrSpaceCast(getCurSDLoc(), DestVT, N, SrcAS, DestAS); in visitAddrSpaceCast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4186 unsigned DestAS = AddrInst->getType()->getPointerAddressSpace(); in matchOperationAddr() local
4187 if (TLI.isNoopAddrSpaceCast(SrcAS, DestAS)) in matchOperationAddr()