reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/DerivedTypes.h
  590   static PointerType *get(Type *ElementType, unsigned AddressSpace);

References

include/llvm/IR/DerivedTypes.h
  595     return PointerType::get(ElementType, 0);
include/llvm/IR/GlobalValue.h
   78       : Constant(PointerType::get(Ty, AddressSpace), VTy, Ops, NumOps),
include/llvm/IR/Instructions.h
 1049     Type *PtrTy = PointerType::get(checkGEPType(getIndexedType(ElTy, IdxList)),
lib/Analysis/InstructionSimplify.cpp
 4000   Type *GEPTy = PointerType::get(LastType, AS);
lib/Analysis/ScalarEvolutionExpander.cpp
 1062       GEPPtrTy = PointerType::get(Type::getInt1Ty(SE.getContext()),
lib/AsmParser/LLParser.cpp
 2412       Result = PointerType::get(Result, AddrSpace);
 5437   PointerType *PFT = PointerType::get(FT, AddrSpace);
 6085   if (ConvertValIDToValue(PointerType::get(Ty, InvokeAddrSpace), CalleeID,
 6814   if (ConvertValIDToValue(PointerType::get(Ty, CallAddrSpace), CalleeID, Callee,
lib/Bitcode/Reader/BitcodeReader.cpp
 1777       ResultTy = PointerType::get(ResultTy, AddressSpace);
 3156   FullTy = PointerType::get(FullTy, AddressSpace);
 3303   Type *FullTy = PointerType::get(FullFTy, AddrSpace);
 3394   FullTy = PointerType::get(FullTy, AddrSpace);
 4768       FullTy = PointerType::get(FullTy, AS);
lib/CodeGen/AtomicExpandPass.cpp
  380   Type *PT = PointerType::get(NewTy,
  467   Type *PT = PointerType::get(NewTy,
 1061   Type *PT = PointerType::get(NewTy,
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  990                    PointerType::get(Type::getInt8Ty(*getContext()), 0) :
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 9032     Type *StackSlotPtrType = PointerType::get(CLI.RetTy,
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  224                           PointerType::get(&FT, 0));
lib/FuzzMutate/RandomIRBuilder.cpp
  127       Ptr = UndefValue::get(PointerType::get(V->getType(), 0));
lib/IR/ConstantFold.cpp
  387         getFoldedSizeOf(PointerType::get(IntegerType::get(PTy->getContext(), 1),
  450         getFoldedAlignOf(PointerType::get(IntegerType::get(PTy->getContext(),
 2196       Type *OrigGEPTy = PointerType::get(Ty, PtrTy->getAddressSpace());
 2197       Type *GEPTy = PointerType::get(Ty, PtrTy->getAddressSpace());
lib/IR/Constants.cpp
 1827     Type *MidTy = PointerType::get(DstElemTy, SrcScalarTy->getAddressSpace());
lib/IR/Core.cpp
  748   return wrap(PointerType::get(unwrap(ElementType), AddressSpace));
lib/IR/Function.cpp
  969     return PointerType::get(DecodeFixedType(Infos, Tys, Context),
lib/IR/Instructions.cpp
 1230     : UnaryInstruction(PointerType::get(Ty, AddrSpace), Alloca,
 1241     : UnaryInstruction(PointerType::get(Ty, AddrSpace), Alloca,
lib/IR/Module.cpp
  159   auto *PTy = PointerType::get(Ty, F->getAddressSpace());
  216   PointerType *PTy = PointerType::get(Ty, GVTy->getPointerAddressSpace());
lib/IR/Type.cpp
  660   return PointerType::get(const_cast<Type*>(this), addrs);
lib/Linker/IRMover.cpp
  310     return *Entry = PointerType::get(ElementTypes[0],
lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  349   PointerType *PtrTy = PointerType::get(ParamTy, AMDGPUAS::CONSTANT_ADDRESS);
  371   PointerType *PtrTy = PointerType::get(ParamTy, AMDGPUAS::CONSTANT_ADDRESS);
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  941     Type *PT = PointerType::get(I32Ty, I.getPointerAddressSpace());
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
 1189   Value *V = UndefValue::get(PointerType::get(
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  608   auto *PtrTy = llvm::PointerType::get(PtrElemTy, PtrArgAS);
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  328       Type *I8Ptr = PointerType::get(Type::getInt8Ty(Ctx), 1);
  360           ConstantPointerNull::get(PointerType::get(Type::getInt8Ty(Ctx), 1));
  385       Type *idPointer = PointerType::get(I32Ty, AMDGPUAS::GLOBAL_ADDRESS);
  539           Type *ArgPointer = PointerType::get(TheBtCast->getType(), 1);
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  246     DispatchPtr, PointerType::get(I32Ty, AMDGPUAS::CONSTANT_ADDRESS));
  835         PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS);
  852       PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS);
  921         { Intr->getType(), PointerType::get(SrcTy, AMDGPUAS::LOCAL_ADDRESS) }
lib/Target/AMDGPU/R600ISelLowering.cpp
  905   PointerType * PtrType = PointerType::get(VT.getTypeForEVT(*DAG.getContext()),
 1611     PointerType *PtrTy = PointerType::get(VT.getTypeForEVT(*DAG.getContext()),
lib/Target/AMDGPU/SIFrameLowering.cpp
  582       PointerType::get(Type::getInt64Ty(MF.getFunction().getContext()),
  627           PointerType::get(Type::getInt64Ty(MF.getFunction().getContext()),
lib/Target/AMDGPU/SIISelLowering.cpp
 1463   PointerType *PtrTy = PointerType::get(Ty, AMDGPUAS::CONSTANT_ADDRESS);
 4690   Value *V = UndefValue::get(PointerType::get(Type::getInt8Ty(*DAG.getContext()),
 5096   PointerType *PtrTy = PointerType::get(Ty, AMDGPUAS::CONSTANT_ADDRESS);
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
  177           PointerType::get(GV->getValueType(), llvm::ADDRESS_SPACE_GENERIC));
lib/Target/NVPTX/NVPTXISelLowering.cpp
 2589           Value *srcValue = Constant::getNullValue(PointerType::get(
lib/Target/NVPTX/NVPTXLowerAlloca.cpp
   75         auto LocalAddrTy = PointerType::get(ETy, ADDRESS_SPACE_LOCAL);
   77         auto GenericAddrTy = PointerType::get(ETy, ADDRESS_SPACE_GENERIC);
lib/Target/NVPTX/NVPTXLowerArgs.cpp
  171       Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(),
  195       Ptr, PointerType::get(Ptr->getType()->getPointerElementType(),
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  257                             PointerType::get(Type::getInt8PtrTy(C), 0)};
  266             ConstantExpr::getBitCast(Main, PointerType::get(MainTy, 0));
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
  115                         {PointerType::get(AtExitFuncTy, 0), VoidStar, VoidStar},
lib/Target/X86/X86ISelLowering.cpp
25415     Entry.Ty = PointerType::get(ArgTy,0);
lib/Transforms/CFGuard/CFGuard.cpp
  194   PointerType *PTy = PointerType::get(CalledOperandType, 0);
  240   GuardFnPtrType = PointerType::get(GuardFnType, 0);
lib/Transforms/IPO/GlobalOpt.cpp
 1185       PHINode::Create(PointerType::get(ST->getElementType(FieldNo), AS),
 1301     PointerType *PFieldTy = PointerType::get(FieldTy, AS);
lib/Transforms/InstCombine/InstCombineCalls.cpp
  164   Type *NewSrcPtrTy = PointerType::get(IntType, SrcAddrSp);
  165   Type *NewDstPtrTy = PointerType::get(IntType, DstAddrSp);
  267     Type *NewDstPtrTy = PointerType::get(ITy, DstAddrSp);
 1318   PointerType *VecPtrTy = PointerType::get(II.getType(), AddrSpace);
 1361   PointerType *VecPtrTy = PointerType::get(Vec->getType(), AddrSpace);
 1454                                           PointerType::get(II.getType(), 0));
lib/Transforms/InstCombine/InstCombineCasts.cpp
 2481     Type *MidTy = PointerType::get(DestElemTy, SrcTy->getAddressSpace());
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  319     auto *NewT = PointerType::get(BC->getType()->getPointerElementType(),
  414         auto *DestTy = PointerType::get(AI.getType()->getPointerElementType(),
lib/Transforms/Instrumentation/AddressSanitizer.cpp
  916         IntptrPtrTy(PointerType::get(IntptrTy, 0)), Mapping(ASan.Mapping),
 1697   Type *ShadowPtrTy = PointerType::get(ShadowTy, 0);
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  868       PointerType::get(FTy, 0),
  869       PointerType::get(FTy, 0)
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  717       "__msan_get_context_state", PointerType::get(MsanContextStateTy, 0));
  719   Type *RetTy = StructType::get(PointerType::get(IRB.getInt8Ty(), 0),
  720                                 PointerType::get(IRB.getInt32Ty(), 0));
  728         name_load, RetTy, PointerType::get(IRB.getInt8Ty(), 0));
  730         name_store, RetTy, PointerType::get(IRB.getInt8Ty(), 0));
  735       PointerType::get(IRB.getInt8Ty(), 0), IRB.getInt64Ty());
  738       PointerType::get(IRB.getInt8Ty(), 0), IRB.getInt64Ty());
  842                             PointerType::get(IRB.getInt8Ty(), 0), IntptrTy);
 1101           IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0));
 1419         IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0));
 1433           IRB.CreateIntToPtr(OriginLong, PointerType::get(MS.OriginTy, 0));
 1447         IRB.CreatePointerCast(Addr, PointerType::get(IRB.getInt8Ty(), 0));
 1457     ShadowPtr = IRB.CreatePointerCast(ShadowPtr, PointerType::get(ShadowTy, 0));
 1483     return IRB.CreateIntToPtr(Base, PointerType::get(getShadowTy(A), 0),
 1495     return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0),
 1502                                  PointerType::get(getShadowTy(A), 0),
 3891     return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0),
 3902     return IRB.CreateIntToPtr(Base, PointerType::get(MS.OriginTy, 0),
 3966           PointerType::get(RegSaveAreaPtrTy, 0));
 3983           PointerType::get(OverflowArgAreaPtrTy, 0));
 4055     return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0),
 4107                              PointerType::get(RegSaveAreaPtrTy, 0));
 4224     return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0),
 4491     return IRB.CreateIntToPtr(Base, PointerType::get(MSV.getShadowTy(Ty), 0),
 4544                              PointerType::get(RegSaveAreaPtrTy, 0));
lib/Transforms/Scalar/LICM.cpp
  989   auto *PtrInt8Ty = PointerType::get(Type::getInt8Ty(LI->getContext()),
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  876     AccessTy.MemTy = PointerType::get(IntegerType::get(PTy->getContext(), 1),
lib/Transforms/Scalar/Scalarizer.cpp
  264       Type *NewPtrTy = PointerType::get(ElTy, PtrTy->getAddressSpace());
lib/Transforms/Utils/LowerMemIntrinsics.cpp
   60     PointerType *SrcOpType = PointerType::get(LoopOpType, SrcAS);
   61     PointerType *DstOpType = PointerType::get(LoopOpType, DstAS);
  111       PointerType *SrcPtrType = PointerType::get(OpTy, SrcAS);
  120       PointerType *DstPtrType = PointerType::get(OpTy, DstAS);
  156   PointerType *SrcOpType = PointerType::get(LoopOpType, SrcAS);
  157   PointerType *DstOpType = PointerType::get(LoopOpType, DstAS);
  231         ResBuilder.CreateBitCast(SrcAddr, PointerType::get(Int8Type, SrcAS));
  233         ResBuilder.CreateBitCast(DstAddr, PointerType::get(Int8Type, DstAS));
  384                                   PointerType::get(SetValue->getType(), dstAS));
lib/Transforms/Utils/VNCoercion.cpp
  337   Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS));
  429         PointerType::get(DestTy, PtrVal->getType()->getPointerAddressSpace());
  513   Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS));
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3829         PointerType *PtrTy = PointerType::get(VecTy, LI->getPointerAddressSpace());
tools/clang/lib/CodeGen/CGBlocks.cpp
 1213   BlockDescriptorType = llvm::PointerType::get(BlockDescriptorType, AddrSpace);
 1287         BlockPtr, llvm::PointerType::get(GenBlockTy, 0), "block.literal");
 1335     auto byrefPointerType = llvm::PointerType::get(byrefInfo.Type, 0);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 3573     llvm::Type *I8PTy = llvm::PointerType::get(
 3721     auto NewArgT = llvm::PointerType::get(Int8Ty,
 3723     auto NewRetT = llvm::PointerType::get(Int8Ty,
 7509     llvm::Type *Int128PTy = llvm::PointerType::get(Int128Ty, 0);
12330         Builder.CreateIntToPtr(Ops[0], llvm::PointerType::get(IntTy, 257));
12342         Builder.CreateIntToPtr(Ops[0], llvm::PointerType::get(IntTy, 256));
tools/clang/lib/CodeGen/CGCall.cpp
 1564       resultType = llvm::PointerType::get(ty, addressSpace);
 1589         llvm::PointerType::get(Ty, AddressSpace);
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  198     llvm::PointerType *PTy = llvm::PointerType::get(LTy, ExpectedAddrSpace);
tools/clang/lib/CodeGen/CGException.cpp
  248   llvm::PointerType* Int8PtrTy = llvm::PointerType::get(
tools/clang/lib/CodeGen/CGExpr.cpp
  811       llvm::Type *VPtrTy = llvm::PointerType::get(IntPtrTy, 0);
 2545         auto *PTy = llvm::PointerType::get(
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp
   53     return llvm::PointerType::get(
   56     return llvm::PointerType::get(
   59     return llvm::PointerType::get(
   62     return llvm::PointerType::get(
   82     PipeTy = llvm::PointerType::get(llvm::StructType::create(
   91     SamplerTy = llvm::PointerType::get(llvm::StructType::create(
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1155   llvm::Type *CtorPFTy = llvm::PointerType::get(CtorFTy,
 2928         llvm::PointerType::get(DeclTy,
 3050         llvm::PointerType::get(
 3672     llvm::PointerType::get(Ty, getContext().getTargetAddressSpace(ASTTy));
 3685           ? llvm::PointerType::get(
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  554     ResultType = llvm::PointerType::get(PointeeType, AS);
  564     ResultType = llvm::PointerType::get(PointeeType, AS);
  658     ResultType = llvm::PointerType::get(PointeeType, AS);
tools/clang/lib/CodeGen/TargetInfo.cpp
 8046   auto NPT = llvm::PointerType::get(PT->getElementType(),
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1245       value_type = PointerType::get(global_variable->getType(), 0);
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
  179         llvm::PointerType::get(new_func_type, 0);
tools/llvm-exegesis/lib/Assembler.cpp
   77   Type *const MemParamType = PointerType::get(
tools/llvm-stress/llvm-stress.cpp
  285     return PointerType::get(Ty, 0);
  557         DestTy = PointerType::get(DestTy, 0);
tools/polly/lib/CodeGen/BlockGenerators.cpp
  281     OldPtrTy = PointerType::get(OldPtrTy->getElementType(),
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  273   auto PointerTy = PointerType::get(SAI->getElementType(),
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
   49         PointerType::get(Builder.getIntNTy(DstBits), Dst),
   50         PointerType::get(Builder.getIntNTy(SrcBits), Src), false);
unittests/CodeGen/LowLevelTypeTest.cpp
  200       Type *IRTy = PointerType::get(IntegerType::get(C, 8), AS);
  203         VectorType::get(PointerType::get(IntegerType::get(C, 8), AS), NumElts);
unittests/FuzzMutate/OperationsTest.cpp
   98       ConstantPointerNull::get(PointerType::get(i32->getType(), 0));
unittests/IR/ConstantsTest.cpp
  377   Type *PtrTy = PointerType::get(IntTy, 0);
  404   Type *I16PTy = PointerType::get(I16Ty, 0);
  473   auto *PtrTy = PointerType::get(i32, 0);
unittests/IR/InstructionsTest.cpp
  201   Type *Int32PtrTy = PointerType::get(Int32Ty, 0);
  202   Type *Int64PtrTy = PointerType::get(Int64Ty, 0);
  204   Type *Int32PtrAS1Ty = PointerType::get(Int32Ty, 1);
  205   Type *Int64PtrAS1Ty = PointerType::get(Int64Ty, 1);
  311   PointerType *Ptri8Ty = PointerType::get(I8Ty, 0);
  312   PointerType *Ptri32Ty = PointerType::get(I32Ty, 0);
unittests/Linker/LinkModulesTest.cpp
  161   StructType *STy = StructType::create(Ctx, PointerType::get(FTy, 0));