| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | PointerIntPair.h | 43 typename PtrTraits = PointerLikeTypeTraits<PointerTy>, 53 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair() 63 void setPointer(PointerTy PtrVal) LLVM_LVALUE_FUNCTION { in setPointer() 71 void initWithPointer(PointerTy PtrVal) LLVM_LVALUE_FUNCTION { in initWithPointer() 80 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer() 84 PointerTy *getAddrOfPointer() { in getAddrOfPointer() 88 return reinterpret_cast<PointerTy *>(&Value); in getAddrOfPointer() 196 using Ty = PointerIntPair<PointerTy, IntBits, IntType>; 222 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits>> { 228 static inline PointerIntPair<PointerTy, IntBits, IntType> [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/ |
| H A D | GenericValue.h | 21 using PointerTy = void *; variable 31 PointerTy PointerVal;
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1589 APInt Offset, Type *PointerTy, in getAdjustedPtr() argument 1608 PointerType *TargetPtrTy = cast<PointerType>(PointerTy); in getAdjustedPtr() 1615 PointerTy = TargetTy->getPointerTo(AS); in getAdjustedPtr() 1644 if (P->getType() == PointerTy) in getAdjustedPtr() 1670 Ptr, IRB.getInt8PtrTy(PointerTy->getPointerAddressSpace()), in getAdjustedPtr() 2408 Value *getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) { in getNewAllocaSlicePtr() argument 2436 APInt(DL.getIndexTypeSizeInBits(PointerTy), Offset), in getNewAllocaSlicePtr() 2437 PointerTy, in getNewAllocaSlicePtr() 3141 Type *PointerTy = IRB.getInt8PtrTy(OldPtr->getType()->getPointerAddressSpace()); in visitIntrinsicInst() local 3142 Value *Ptr = getNewAllocaSlicePtr(IRB, PointerTy); in visitIntrinsicInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 1418 EVT PointerTy(getPointerTy(DL, PTy->getAddressSpace())); 1419 EltTy = PointerTy.getTypeForEVT(Ty->getContext()); 1436 EVT PointerTy(getPointerMemTy(DL, PT->getAddressSpace())); 1437 Elm = PointerTy.getTypeForEVT(Ty->getContext());
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ItaniumCXXABI.cpp | 3346 static bool TypeInfoIsInStandardLibrary(const PointerType *PointerTy) { in TypeInfoIsInStandardLibrary() argument 3347 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() 3371 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in IsStandardLibraryRTTIDescriptor() local 3372 return TypeInfoIsInStandardLibrary(PointerTy); in IsStandardLibraryRTTIDescriptor() 3444 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in ContainsIncompleteClassType() local 3445 return ContainsIncompleteClassType(PointerTy->getPointeeType()); in ContainsIncompleteClassType()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2876 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local 2877 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt() 2879 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
|
| H A D | SemaOverload.cpp | 7875 const PointerType *PointerTy = Ty->getAs<PointerType>(); in AddPointerWithMoreQualifiedTypeVariants() local 7877 if (!PointerTy) { in AddPointerWithMoreQualifiedTypeVariants() 7882 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants() 7942 const MemberPointerType *PointerTy = Ty->getAs<MemberPointerType>(); in AddMemberPointerWithMoreQualifiedTypeVariants() local 7943 assert(PointerTy && "type was not a member pointer type!"); in AddMemberPointerWithMoreQualifiedTypeVariants() 7945 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() 7952 const Type *ClassTy = PointerTy->getClass(); in AddMemberPointerWithMoreQualifiedTypeVariants()
|
| H A D | SemaExpr.cpp | 7860 QualType PointerTy) { in checkConditionalNullPointer() argument 7861 if ((!PointerTy->isAnyPointerType() && !PointerTy->isBlockPointerType()) || in checkConditionalNullPointer() 7866 NullExpr = S.ImpCastExprToType(NullExpr.get(), PointerTy, CK_NullToPointer); in checkConditionalNullPointer()
|
| H A D | SemaChecking.cpp | 14364 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType() local 14365 diagnoseArrayStarInParamType(S, PointerTy->getPointeeType(), Loc); in diagnoseArrayStarInParamType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 1450 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 813 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy) { in LLVMGetPointerAddressSpace() argument 814 return unwrap<PointerType>(PointerTy)->getAddressSpace(); in LLVMGetPointerAddressSpace()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1533 Dest.PointerVal = PointerTy(intptr_t(Src.IntVal.getZExtValue())); in executeIntToPtrInst()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 1601 void setNull(ASTContext &Ctx, QualType PointerTy) { in setNull() 1604 CharUnits::fromQuantity(Ctx.getTargetNullPointerValue(PointerTy)); in setNull() 1606 Designator = SubobjectDesignator(PointerTy->getPointeeType()); in setNull()
|