|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/CodeGen/TargetLowering.h 1241 return getPointerTy(DL, PTy->getAddressSpace());
1247 EVT PointerTy(getPointerTy(DL, PTy->getAddressSpace()));
1261 return getPointerMemTy(DL, PTy->getAddressSpace());
1265 EVT PointerTy(getPointerMemTy(DL, PT->getAddressSpace()));
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h 491 F->getType()->getAddressSpace(),
675 A->getType()->getAddressSpace());
include/llvm/IR/DataLayout.h 381 return isNonIntegralAddressSpace(PT->getAddressSpace());
include/llvm/IR/DerivedTypes.h 636 return cast<PointerType>(getScalarType())->getAddressSpace();
include/llvm/IR/IRBuilder.h 2647 Type *IntPtrTy = getIntPtrTy(DL, PtrTy->getAddressSpace());
2673 Type *IntPtrTy = getIntPtrTy(DL, PtrTy->getAddressSpace());
include/llvm/IR/IntrinsicInst.h 402 return cast<PointerType>(getRawDest()->getType())->getAddressSpace();
450 return cast<PointerType>(getRawSource()->getType())->getAddressSpace();
include/llvm/IR/Operator.h 578 return cast<PointerType>(getPointerOperandType())->getAddressSpace();
lib/Analysis/BasicAliasAnalysis.cpp 1773 if (!NullPointerIsDefined(&F, CPN->getType()->getAddressSpace()))
1776 if (!NullPointerIsDefined(&F, CPN->getType()->getAddressSpace()))
lib/Analysis/CaptureTracking.cpp 356 if (CPN->getType()->getAddressSpace() == 0)
lib/Analysis/ConstantFolding.cpp 507 unsigned AS = PTy->getAddressSpace();
811 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) {
811 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) {
812 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace());
lib/Analysis/InlineCost.cpp 1978 unsigned AS = PTy->getAddressSpace();
2032 if (PTy->getAddressSpace() != AllocaAS)
lib/Analysis/InstructionSimplify.cpp 3992 cast<PointerType>(Ops[0]->getType()->getScalarType())->getAddressSpace();
lib/Analysis/LazyValueInfo.cpp 730 !NullPointerIsDefined(BB->getParent(), PTy->getAddressSpace())))) {
765 !NullPointerIsDefined(BB->getParent(), PTy->getAddressSpace())) {
lib/Analysis/LoopAccessAnalysis.cpp 1036 PtrTy->getAddressSpace())) {
1084 PtrTy->getAddressSpace()))) {
1199 ASA = cast<PointerType>(PtrA->getType())->getAddressSpace();
1200 ASB = cast<PointerType>(PtrB->getType())->getAddressSpace();
lib/Analysis/MemoryBuiltins.cpp 731 if (Options.NullIsUnknownSize || CPN.getType()->getAddressSpace())
lib/Analysis/ScalarEvolution.cpp 8079 unsigned AS = PTy->getAddressSpace();
lib/Analysis/ScalarEvolutionExpander.cpp 509 Type::getInt8PtrTy(Ty->getContext(), PTy->getAddressSpace()));
971 unsigned AS = cast<PointerType>(IncV->getType())->getAddressSpace();
1063 GEPPtrTy->getAddressSpace());
1893 unsigned AS = Vty->getAddressSpace();
lib/Analysis/ValueTracking.cpp 2035 GV->getType()->getAddressSpace() == 0)
3246 cast<PointerType>(CE->getType())->getAddressSpace());
lib/AsmParser/LLParser.cpp 923 unsigned AddrSpace = PTy->getAddressSpace();
1368 PTy->getAddressSpace(), Name, M);
1373 PTy->getAddressSpace());
lib/Bitcode/Reader/BitcodeReader.cpp 3109 AddressSpace = cast<PointerType>(Ty)->getAddressSpace();
3346 AddrSpace = PTy->getAddressSpace();
lib/Bitcode/Writer/BitcodeWriter.cpp 896 unsigned AddressSpace = PTy->getAddressSpace();
1271 Vals.push_back(GV.getType()->getAddressSpace() << 2 | 2 | GV.isConstant());
1352 Vals.push_back(A.getType()->getAddressSpace());
1375 Vals.push_back(I.getType()->getAddressSpace());
lib/CodeGen/BuiltinGCs.cpp 83 return (1 == PT->getAddressSpace());
111 return (1 == PT->getAddressSpace());
lib/CodeGen/CodeGenPrepare.cpp 1806 cast<PointerType>(Arg->getType())->getAddressSpace()),
4599 unsigned AS = AddrTy->getAddressSpace();
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp 195 GV->getType()->getAddressSpace() &&
lib/CodeGen/GlobalMerge.cpp 626 unsigned AddressSpace = PT->getAddressSpace();
lib/CodeGen/LowLevelType.cpp 28 return LLT::pointer(PTy->getAddressSpace(), DL.getTypeSizeInBits(&Ty));
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 9351 return getGlobal()->getType()->getAddressSpace();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 1870 cast<PointerType>(I.getOperand(0)->getType())->getAddressSpace());
9081 cast<PointerType>(CLI.RetTy)->getAddressSpace());
9136 cast<PointerType>(Args[i].Ty)->getAddressSpace());
9637 cast<PointerType>(Arg.getType())->getAddressSpace());
lib/CodeGen/SelectionDAG/TargetLowering.cpp 4263 unsigned PtrSize = DL.getPointerSizeInBits(PT->getAddressSpace());
lib/ExecutionEngine/Orc/IndirectionUtils.cpp 328 GV.getThreadLocalMode(), GV.getType()->getAddressSpace());
lib/IR/AsmWriter.cpp 611 if (unsigned AddressSpace = PTy->getAddressSpace())
3281 if (unsigned AddressSpace = GV->getType()->getAddressSpace())
3993 unsigned AddrSpace = AI->getType()->getAddressSpace();
lib/IR/ConstantFold.cpp 110 if (PTy->getAddressSpace() == DPTy->getAddressSpace()
110 if (PTy->getAddressSpace() == DPTy->getAddressSpace()
388 PTy->getAddressSpace()),
452 PTy->getAddressSpace()),
1596 GV->getType()->getAddressSpace()))
1827 GV->getType()->getAddressSpace())) {
1839 GV->getType()->getAddressSpace())) {
2196 Type *OrigGEPTy = PointerType::get(Ty, PtrTy->getAddressSpace());
2197 Type *GEPTy = PointerType::get(Ty, PtrTy->getAddressSpace());
2321 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace())
2321 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace())
lib/IR/Constants.cpp 1827 Type *MidTy = PointerType::get(DstElemTy, SrcScalarTy->getAddressSpace());
lib/IR/Core.cpp 771 return unwrap<PointerType>(PointerTy)->getAddressSpace();
2202 return wrap(GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(),
lib/IR/DataLayout.cpp 675 return getPointerSizeInBits(cast<PointerType>(Ty)->getAddressSpace());
691 return getIndexSizeInBits(cast<PointerType>(Ty)->getAddressSpace());
711 unsigned AS = cast<PointerType>(Ty)->getAddressSpace();
lib/IR/Function.cpp 591 Result += "p" + utostr(PTyp->getAddressSpace()) +
1154 return !PT || PT->getAddressSpace() != D.Pointer_AddressSpace ||
lib/IR/Globals.cpp 113 return PtrTy->getAddressSpace();
506 return create(PTy->getElementType(), PTy->getAddressSpace(), Link, Name,
lib/IR/IRBuilder.cpp 67 PT = getInt8PtrTy(PT->getAddressSpace());
lib/IR/Instructions.cpp 3041 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace();
3041 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace();
3263 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace())
3263 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace())
3287 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace())
3287 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace())
4131 new AllocaInst(getAllocatedType(), getType()->getAddressSpace(),
lib/IR/SafepointIRVerifier.cpp 258 return (1 == PT->getAddressSpace());
lib/IR/Type.cpp 92 return PTy->getAddressSpace() == OtherPTy->getAddressSpace();
92 return PTy->getAddressSpace() == OtherPTy->getAddressSpace();
lib/IR/Verifier.cpp 3031 return PL->getAddressSpace() == PR->getAddressSpace();
3031 return PL->getAddressSpace() == PR->getAddressSpace();
3310 Assert(GEP.getAddressSpace() == PTy->getAddressSpace(),
3466 Assert(PTy->getAddressSpace() == DL.getAllocaAddrSpace(),
lib/Linker/IRMover.cpp 166 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace())
166 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace())
311 cast<PointerType>(Ty)->getAddressSpace());
631 SGVar->getType()->getAddressSpace());
705 SGV->getType()->getAddressSpace());
921 SrcGV->getType()->getAddressSpace());
lib/Target/AArch64/AArch64FastISel.cpp 597 if (Ty->getAddressSpace() > 255)
lib/Target/AArch64/AArch64StackTagging.cpp 482 TypeWithPadding, Info.AI->getType()->getAddressSpace(), nullptr, "", Info.AI);
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp 121 unsigned AS = GV.getType()->getAddressSpace();
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp 350 if (PtrTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) {
379 Arg.mAddrSpaceQual = getAddressSpaceQualifier(PtrTy->getAddressSpace());
767 if (PtrTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) {
806 if (auto Qualifier = getAddressSpaceQualifier(PtrTy->getAddressSpace()))
lib/Target/AMDGPU/AMDGPUInline.cpp 134 if (!Ty || (Ty->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS &&
135 Ty->getAddressSpace() != AMDGPUAS::FLAT_ADDRESS))
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp 112 if ((PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS ||
113 PT->getAddressSpace() == AMDGPUAS::REGION_ADDRESS) &&
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp 303 unsigned As = PT->getAddressSpace();
312 return PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
344 unsigned As = PT->getAddressSpace();
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 139 if (!PT || PT->getAddressSpace() != AMDGPUAS::CONSTANT_ADDRESS)
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 634 if (PtrTy && PtrTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) {
651 if (GV.getType()->getAddressSpace() != AMDGPUAS::LOCAL_ADDRESS)
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp 193 if (!ArgTy || (ArgTy->getAddressSpace() != DL->getAllocaAddrSpace() &&
460 Type *PtrTy = Val->getType()->getPointerTo(ArgType->getAddressSpace());
lib/Target/AMDGPU/SIISelLowering.cpp 2145 ParamTy && (ParamTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS ||
2146 ParamTy->getAddressSpace() == AMDGPUAS::REGION_ADDRESS)) {
4412 return (GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS ||
4413 GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS_32BIT) &&
4421 GV->getType()->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS ||
4422 GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS ||
4423 GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS_32BIT) &&
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp 545 return GV->getType()->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
549 return GV->getType()->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS;
553 return GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS ||
554 GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS_32BIT;
lib/Target/ARM/ARMFastISel.cpp 731 if (Ty->getAddressSpace() > 255)
lib/Target/AVR/AVR.h 44 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory;
lib/Target/Hexagon/HexagonISelLowering.cpp 3252 = Builder.getIntNTy(SZ)->getPointerTo(PT->getAddressSpace());
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 667 if (Pty->getAddressSpace() != ADDRESS_SPACE_SHARED)
1131 emitPTXAddressSpace(PTy->getAddressSpace(), O);
1156 if ((PTy->getAddressSpace() == ADDRESS_SPACE_GLOBAL) ||
1157 (PTy->getAddressSpace() == ADDRESS_SPACE_CONST)) {
1172 Twine(PTy->getAddressSpace()) + ")");
1191 if (((PTy->getAddressSpace() == ADDRESS_SPACE_GLOBAL) ||
1192 (PTy->getAddressSpace() == ADDRESS_SPACE_CONST)) &&
1330 emitPTXAddressSpace(GVar->getType()->getAddressSpace(), O);
1496 int addrSpace = PTy->getAddressSpace();
1726 if (GVar->getType()->getAddressSpace() != 0) {
1742 if (PTy && PTy->getAddressSpace() != 0) {
2017 if (DstTy->getAddressSpace() == 0) {
lib/Target/NVPTX/NVPTXAsmPrinter.h 165 if (PTy && PTy->getAddressSpace() != 0) {
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp 80 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC &&
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp 662 switch (PT->getAddressSpace()) {
3685 return (PT->getAddressSpace() == spN);
lib/Target/WebAssembly/WebAssemblyFastISel.cpp 226 if (Ty->getAddressSpace() > 255)
lib/Target/X86/X86FastISel.cpp 848 if (Ty->getAddressSpace() > 255)
lib/Target/X86/X86TargetTransformInfo.cpp 3225 unsigned AddressSpace = PtrTy->getAddressSpace();
lib/Target/XCore/XCoreLowerThreadLocal.cpp 199 GV->getType()->getAddressSpace(),
lib/Transforms/Coroutines/CoroFrame.cpp 1268 auto Alloca = Builder.CreateAlloca(ValueTy, ArgTy->getAddressSpace());
lib/Transforms/IPO/Attributor.cpp 3583 unsigned AS = cast<PointerType>(MallocCall->getType())->getAddressSpace();
lib/Transforms/IPO/ConstantMerge.cpp 98 GV->getType()->getAddressSpace() != 0 || GV->hasSection() ||
lib/Transforms/IPO/FunctionImport.cpp 935 GV.getType()->getAddressSpace());
lib/Transforms/IPO/GlobalOpt.cpp 490 GV->getType()->getAddressSpace());
526 GV->getType()->getAddressSpace());
1183 unsigned AS = PTy->getAddressSpace();
1634 GV->getType()->getAddressSpace());
1938 GV->getType()->getAddressSpace() == 0 &&
lib/Transforms/IPO/LowerTypeTests.cpp 877 assert(GV->getType()->getAddressSpace() == 0);
1047 assert(F->getType()->getAddressSpace() == 0);
1534 assert(F->getType()->getAddressSpace() == 0);
lib/Transforms/IPO/MergeFunctions.cpp 769 PtrType->getElementType(), PtrType->getAddressSpace(),
lib/Transforms/InstCombine/InstCombineCalls.cpp 159 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace();
161 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace();
266 unsigned DstAddrSp = cast<PointerType>(Dest->getType())->getAddressSpace();
1317 unsigned AddrSpace = cast<PointerType>(Ptr->getType())->getAddressSpace();
1360 unsigned AddrSpace = cast<PointerType>(Ptr->getType())->getAddressSpace();
lib/Transforms/InstCombine/InstCombineCasts.cpp 2309 (DstPTy->getAddressSpace() != SrcPTy->getAddressSpace()))
2309 (DstPTy->getAddressSpace() != SrcPTy->getAddressSpace()))
2354 if (SrcPTy->getAddressSpace() == 0 || !CanBeNull)
2481 Type *MidTy = PointerType::get(DestElemTy, SrcTy->getAddressSpace());
lib/Transforms/InstCombine/InstructionCombining.cpp 1987 if (StrippedPtrTy->getAddressSpace() == GEP.getAddressSpace())
2006 if (StrippedPtrTy->getAddressSpace() == GEP.getAddressSpace()) {
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1198 TypeWithPadding, AI->getType()->getAddressSpace(), nullptr, "", AI);
lib/Transforms/Scalar/ConstantHoisting.cpp 405 IntegerType *PtrIntTy = DL->getIntPtrType(*Ctx, GVPtrTy->getAddressSpace());
744 cast<PointerType>(Ty)->getAddressSpace());
lib/Transforms/Scalar/LoopStrengthReduce.cpp 877 PTy->getAddressSpace());
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 317 return PT->getAddressSpace() == 1;
523 assert(cast<PointerType>(Def->getType())->getAddressSpace() ==
524 cast<PointerType>(CI->getType())->getAddressSpace() &&
lib/Transforms/Scalar/SROA.cpp 1546 if (Ty == IRB.getInt8PtrTy(Ty->getAddressSpace()) && TargetTy->isIntegerTy(8))
1603 auto AS = cast<PointerType>(Ptr->getType())->getAddressSpace();
4166 SliceTy, AI.getType()->getAddressSpace(), nullptr,
lib/Transforms/Scalar/Scalarizer.cpp 264 Type *NewPtrTy = PointerType::get(ElTy, PtrTy->getAddressSpace());
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 1301 cast<PointerType>(First->getType())->getAddressSpace()),
lib/Transforms/Utils/CloneModule.cpp 69 I->getType()->getAddressSpace());
100 I->getThreadLocalMode(), I->getType()->getAddressSpace());
lib/Transforms/Utils/FunctionComparator.cpp 242 unsigned AddrSpaceL = PTyL->getAddressSpace();
243 unsigned AddrSpaceR = PTyR->getAddressSpace();
411 if (PTyL && PTyL->getAddressSpace() == 0)
413 if (PTyR && PTyR->getAddressSpace() == 0)
442 return cmpNumbers(PTyL->getAddressSpace(), PTyR->getAddressSpace());
442 return cmpNumbers(PTyL->getAddressSpace(), PTyR->getAddressSpace());
lib/Transforms/Utils/LowerMemIntrinsics.cpp 46 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace();
47 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace();
154 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace();
155 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace();
382 unsigned dstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace();
lib/Transforms/Utils/PromoteMemoryToRegister.cpp 67 unsigned AS = AI->getType()->getAddressSpace();
lib/Transforms/Utils/VNCoercion.cpp 353 cast<PointerType>(SrcVal->getType())->getAddressSpace() ==
354 cast<PointerType>(LoadTy)->getAddressSpace()) {
tools/clang/lib/CodeGen/Address.h 57 return getType()->getAddressSpace();
tools/clang/lib/CodeGen/CGAtomic.cpp 1332 cast<llvm::PointerType>(addr.getPointer()->getType())->getAddressSpace();
tools/clang/lib/CodeGen/CGBuiltin.cpp 4180 if (PtrTy->getAddressSpace() !=
4184 ArgValue->getType()->getPointerTo(PtrTy->getAddressSpace()));
4206 if (PtrTy->getAddressSpace() != V->getType()->getPointerAddressSpace()) {
4208 V, V->getType()->getPointerTo(PtrTy->getAddressSpace()));
tools/clang/lib/CodeGen/CGCall.cpp 3991 Addr.getType()->getAddressSpace() != IRFuncTy->
tools/clang/lib/CodeGen/CGClass.cpp 982 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), DPT->getAddressSpace());
987 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), SPT->getAddressSpace());
tools/clang/lib/CodeGen/CGDecl.cpp 2375 unsigned AS = DeclPtr.getType()->getAddressSpace();
tools/clang/lib/CodeGen/CGExpr.cpp 52 cast<llvm::PointerType>(value->getType())->getAddressSpace();
2288 unsigned AS = cast<llvm::PointerType>(V->getType())->getAddressSpace();
tools/clang/lib/CodeGen/CodeGenModule.cpp 3450 if (Entry->getType()->getAddressSpace() != Ty->getAddressSpace())
3450 if (Entry->getType()->getAddressSpace() != Ty->getAddressSpace())
3957 GV->getType()->getAddressSpace() !=
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1499 unsigned AS = cast<llvm::PointerType>(This->getType())->getAddressSpace();
tools/clang/lib/CodeGen/PatternInit.cpp 48 PtrTy->getAddressSpace());
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp 210 if (PtTy->getAddressSpace() == 4) {