Home
last modified time | relevance | path

Searched refs:PointerTy (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DPointerIntPair.h44 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 Dstack-frame-context-revision.cpp11 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 DGenericValue.h21 using PointerTy = void *; variable
31 PointerTy PointerVal;
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DTinyPtrVectorTest.cpp27 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 DIslExprBuilder.cpp274 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 DExecutionEngine.cpp743 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 DSROA.cpp1548 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 DTargetLowering.h1472 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 DItaniumCXXABI.cpp3309 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 DSemaStmt.cpp2914 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local
2915 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt()
2917 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
H A DSemaOverload.cpp7960 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 DSemaExpr.cpp8188 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 DSemaChecking.cpp15448 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 DCore.h1481 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
/llvm-project-15.0.7/llvm/lib/IR/
H A DCore.cpp828 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 DMetadataTest.cpp461 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 DExecution.cpp1533 Dest.PointerVal = PointerTy(intptr_t(Src.IntVal.getZExtValue())); in executeIntToPtrInst()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp1597 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 DScalarEvolution.cpp7193 using PointerTy = PointerIntPair<Value *, 1, bool>; in createSCEVIter() typedef
7194 SmallVector<PointerTy> Stack; in createSCEVIter()