| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | PointerIntPair.h | 44 typename PtrTraits = PointerLikeTypeTraits<PointerTy>, 54 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair() 64 void setPointer(PointerTy PtrVal) & { in setPointer() 72 void initWithPointer(PointerTy PtrVal) & { in initWithPointer() 76 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) & { in setPointerAndInt() 81 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer() 85 PointerTy *getAddrOfPointer() { in getAddrOfPointer() 89 return reinterpret_cast<PointerTy *>(&Value); in getAddrOfPointer() 197 using Ty = PointerIntPair<PointerTy, IntBits, IntType>; 229 static inline PointerIntPair<PointerTy, IntBits, IntType> [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | stack-frame-context-revision.cpp | 11 template <typename PointerTy> 13 PointerTy getFromVoidPointer(void *P) const { in getFromVoidPointer() 14 return static_cast<PointerTy>(P); in getFromVoidPointer() 17 PointerTy getPointer() const { in getPointer()
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/ |
| H A D | GenericValue.h | 21 using PointerTy = void *; variable 31 PointerTy PointerVal;
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | TinyPtrVectorTest.cpp | 27 template <typename PointerTy, unsigned IntBits, typename IntType, 30 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>> { 31 typedef typename RemovePointer<PointerTy>::type type;
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | IslExprBuilder.cpp | 274 auto PointerTy = PointerType::get(SAI->getElementType(), in createAccessAddress() local 276 if (Base->getType() != PointerTy) { in createAccessAddress() 278 Builder.CreateBitCast(Base, PointerTy, "polly.access.cast." + BaseName); in createAccessAddress()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 743 GV.PointerVal = PointerTy(uintptr_t(GV.IntVal.getZExtValue())); in getConstantValue() 1040 if (StoreBytes != sizeof(PointerTy)) in StoreValueToMemory() 1043 *((PointerTy*)Ptr) = Val.PointerVal; in StoreValueToMemory() 1086 Result.PointerVal = *((PointerTy*)Ptr); in LoadValueFromMemory()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1548 APInt Offset, Type *PointerTy, in getAdjustedPtr() argument 1555 return IRB.CreatePointerBitCastOrAddrSpaceCast(Ptr, PointerTy, in getAdjustedPtr() 1576 PointerType *TargetPtrTy = cast<PointerType>(PointerTy); in getAdjustedPtr() 1583 PointerTy = TargetTy->getPointerTo(AS); in getAdjustedPtr() 1612 if (P->getType() == PointerTy) in getAdjustedPtr() 1638 Ptr, IRB.getInt8PtrTy(PointerTy->getPointerAddressSpace()), in getAdjustedPtr() 2382 Value *getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) { in getNewAllocaSlicePtr() argument 2410 APInt(DL.getIndexTypeSizeInBits(PointerTy), Offset), in getNewAllocaSlicePtr() 2411 PointerTy, in getNewAllocaSlicePtr() 3111 Type *PointerTy = IRB.getInt8PtrTy(OldPtr->getType()->getPointerAddressSpace()); in visitIntrinsicInst() local [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 1472 EVT PointerTy(getPointerTy(DL, PTy->getAddressSpace())); 1473 EltTy = PointerTy.getTypeForEVT(Ty->getContext()); 1490 EVT PointerTy(getPointerMemTy(DL, PT->getAddressSpace())); 1491 Elm = PointerTy.getTypeForEVT(Ty->getContext());
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | ItaniumCXXABI.cpp | 3309 static bool TypeInfoIsInStandardLibrary(const PointerType *PointerTy) { in TypeInfoIsInStandardLibrary() argument 3310 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() 3334 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in IsStandardLibraryRTTIDescriptor() local 3335 return TypeInfoIsInStandardLibrary(PointerTy); in IsStandardLibraryRTTIDescriptor() 3407 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in ContainsIncompleteClassType() local 3408 return ContainsIncompleteClassType(PointerTy->getPointeeType()); in ContainsIncompleteClassType()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2914 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local 2915 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt() 2917 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
|
| H A D | SemaOverload.cpp | 7960 const PointerType *PointerTy = Ty->getAs<PointerType>(); in AddPointerWithMoreQualifiedTypeVariants() local 7962 if (!PointerTy) { in AddPointerWithMoreQualifiedTypeVariants() 7967 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants() 8027 const MemberPointerType *PointerTy = Ty->getAs<MemberPointerType>(); in AddMemberPointerWithMoreQualifiedTypeVariants() local 8028 assert(PointerTy && "type was not a member pointer type!"); in AddMemberPointerWithMoreQualifiedTypeVariants() 8030 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() 8037 const Type *ClassTy = PointerTy->getClass(); in AddMemberPointerWithMoreQualifiedTypeVariants()
|
| H A D | SemaExpr.cpp | 8188 QualType PointerTy) { in checkConditionalNullPointer() argument 8189 if ((!PointerTy->isAnyPointerType() && !PointerTy->isBlockPointerType()) || in checkConditionalNullPointer() 8194 NullExpr = S.ImpCastExprToType(NullExpr.get(), PointerTy, CK_NullToPointer); in checkConditionalNullPointer()
|
| H A D | SemaChecking.cpp | 15448 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType() local 15449 diagnoseArrayStarInParamType(S, PointerTy->getPointeeType(), Loc); in diagnoseArrayStarInParamType()
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | Core.h | 1481 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Core.cpp | 828 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy) { in LLVMGetPointerAddressSpace() argument 829 return unwrap<PointerType>(PointerTy)->getAddressSpace(); in LLVMGetPointerAddressSpace()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | MetadataTest.cpp | 461 DIType *PointerTy = DIDerivedType::getDistinct( in TEST_F() local 464 StructTy->replaceElements(MDTuple::get(Context, PointerTy)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1533 Dest.PointerVal = PointerTy(intptr_t(Src.IntVal.getZExtValue())); in executeIntToPtrInst()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 1597 void setNull(ASTContext &Ctx, QualType PointerTy) { in setNull() 1600 CharUnits::fromQuantity(Ctx.getTargetNullPointerValue(PointerTy)); in setNull() 1602 Designator = SubobjectDesignator(PointerTy->getPointeeType()); in setNull()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 7193 using PointerTy = PointerIntPair<Value *, 1, bool>; in createSCEVIter() typedef 7194 SmallVector<PointerTy> Stack; in createSCEVIter()
|