/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAnnotateKernelFeatures.cpp | 88 static bool castRequiresQueuePtr(unsigned SrcAS) { in castRequiresQueuePtr() argument 89 return SrcAS == AMDGPUAS::LOCAL_ADDRESS || SrcAS == AMDGPUAS::PRIVATE_ADDRESS; in castRequiresQueuePtr() 98 unsigned SrcAS = CE->getOperand(0)->getType()->getPointerAddressSpace(); in visitConstantExpr() local 99 return castRequiresQueuePtr(SrcAS); in visitConstantExpr()
|
D | AMDGPULegalizerInfo.cpp | 1264 unsigned SrcAS = SrcTy.getAddressSpace(); in legalizeAddrSpaceCast() local 1274 if (ST.getTargetLowering()->isNoopAddrSpaceCast(SrcAS, DestAS)) { in legalizeAddrSpaceCast() 1286 if (SrcAS == AMDGPUAS::CONSTANT_ADDRESS_32BIT) { in legalizeAddrSpaceCast() 1300 if (SrcAS == AMDGPUAS::FLAT_ADDRESS) { in legalizeAddrSpaceCast() 1321 if (SrcAS != AMDGPUAS::LOCAL_ADDRESS && SrcAS != AMDGPUAS::PRIVATE_ADDRESS) in legalizeAddrSpaceCast() 1328 B.buildConstant(SrcTy, TM.getNullPointerValue(SrcAS)); in legalizeAddrSpaceCast() 1332 Register ApertureReg = getSegmentAperture(SrcAS, MRI, B); in legalizeAddrSpaceCast()
|
D | SIISelLowering.h | 272 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override; 273 bool isFreeAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
|
D | SIISelLowering.cpp | 1341 bool SITargetLowering::isNoopAddrSpaceCast(unsigned SrcAS, in isNoopAddrSpaceCast() argument 1343 return isFlatGlobalAddrSpace(SrcAS) && isFlatGlobalAddrSpace(DestAS); in isNoopAddrSpaceCast() 1353 bool SITargetLowering::isFreeAddrSpaceCast(unsigned SrcAS, in isFreeAddrSpaceCast() argument 1357 if (SrcAS == AMDGPUAS::FLAT_ADDRESS) in isFreeAddrSpaceCast() 1360 return isNoopAddrSpaceCast(SrcAS, DestAS); in isFreeAddrSpaceCast() 4748 unsigned SrcAS = ASC->getSrcAddressSpace(); in lowerADDRSPACECAST() local 4750 if (SrcAS == AMDGPUAS::LOCAL_ADDRESS || in lowerADDRSPACECAST() 4751 SrcAS == AMDGPUAS::PRIVATE_ADDRESS) { in lowerADDRSPACECAST() 4752 unsigned NullVal = TM.getNullPointerValue(SrcAS); in lowerADDRSPACECAST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 46 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() local 60 PointerType *SrcOpType = PointerType::get(LoopOpType, SrcAS); in createMemCpyLoopKnownSize() 111 PointerType *SrcPtrType = PointerType::get(OpTy, SrcAS); in createMemCpyLoopKnownSize() 154 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() local 156 PointerType *SrcOpType = PointerType::get(LoopOpType, SrcAS); in createMemCpyLoopUnknownSize() 231 ResBuilder.CreateBitCast(SrcAddr, PointerType::get(Int8Type, SrcAS)); in createMemCpyLoopUnknownSize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InferAddressSpaces.cpp | 834 unsigned SrcAS = C->getType()->getPointerAddressSpace(); in isSafeToCastConstAddrSpace() local 835 if (SrcAS == NewAS || isa<UndefValue>(C)) in isSafeToCastConstAddrSpace() 839 if (SrcAS != FlatAddrSpace && NewAS != FlatAddrSpace) in isSafeToCastConstAddrSpace()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsISelLowering.h | 369 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/include/llvm/CodeGen/ |
D | TargetLowering.h | 1647 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() 3098 unsigned DstAS, unsigned SrcAS,
|
D | SelectionDAG.h | 1189 SDValue getAddrSpaceCast(const SDLoc &dl, EVT VT, SDValue Ptr, unsigned SrcAS,
|
D | SelectionDAGNodes.h | 1275 unsigned SrcAS, unsigned DestAS);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 485 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/ |
D | AArch64ISelLowering.h | 352 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/ |
D | PPCISelLowering.h | 1000 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/Analysis/ |
D | ConstantFolding.cpp | 1346 unsigned SrcAS = SrcPtr->getType()->getPointerAddressSpace(); in ConstantFoldCastOperand() local 1347 if (SrcAS == DestTy->getPointerAddressSpace()) in ConstantFoldCastOperand()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 1234 bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override;
|
D | X86ISelLowering.cpp | 2551 bool X86TargetLowering::isNoopAddrSpaceCast(unsigned SrcAS, in isNoopAddrSpaceCast() argument 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() 28474 unsigned SrcAS = N->getSrcAddressSpace(); in LowerADDRSPACECAST() local 28476 assert(SrcAS != N->getDestAddressSpace() && in LowerADDRSPACECAST() 28479 if (SrcAS == X86AS::PTR32_UPTR && DstVT == MVT::i64) { in LowerADDRSPACECAST() 29576 unsigned SrcAS = CastN->getSrcAddressSpace(); in ReplaceNodeResults() local 29578 assert(SrcAS != CastN->getDestAddressSpace() && in ReplaceNodeResults() 29582 if (SrcAS == X86AS::PTR32_UPTR && DstVT == MVT::i64) in ReplaceNodeResults()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 860 bool AllowOverlap, unsigned DstAS, unsigned SrcAS, in findGISelOptimalMemOpLowering() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Constants.cpp | 1694 unsigned SrcAS = S->getType()->getPointerAddressSpace(); in getPointerCast() local 1695 if (Ty->isPtrOrPtrVectorTy() && SrcAS != Ty->getPointerAddressSpace()) in getPointerCast()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1904 unsigned SrcAS, unsigned DestAS) { in getAddrSpaceCast() argument 1908 ID.AddInteger(SrcAS); in getAddrSpaceCast() 1916 VT, SrcAS, DestAS); in getAddrSpaceCast() 8973 EVT VT, unsigned SrcAS, in AddrSpaceCastSDNode() argument 8976 SrcAddrSpace(SrcAS), DestAddrSpace(DestAS) {} in AddrSpaceCastSDNode()
|
D | SelectionDAGBuilder.cpp | 3547 unsigned SrcAS = SV->getType()->getPointerAddressSpace(); in visitAddrSpaceCast() local 3550 if (!TLI.isNoopAddrSpaceCast(SrcAS, DestAS)) in visitAddrSpaceCast() 3551 N = DAG.getAddrSpaceCast(getCurSDLoc(), DestVT, N, SrcAS, DestAS); in visitAddrSpaceCast() 7359 unsigned SrcAS = RHS->getType()->getPointerAddressSpace(); in visitMemCmpCall() local 7361 !TLI.allowsMisalignedMemoryAccesses(LVT, SrcAS) || in visitMemCmpCall()
|
D | TargetLowering.cpp | 187 unsigned DstAS, unsigned SrcAS, in findOptimalMemOpLowering() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4184 unsigned SrcAS in matchOperationAddr() local 4187 if (TLI.isNoopAddrSpaceCast(SrcAS, DestAS)) in matchOperationAddr()
|