| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | PointerIntPair.h | 42 typename PtrTraits = PointerLikeTypeTraits<PointerTy>, 52 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair() 62 void setPointer(PointerTy PtrVal) { in setPointer() 70 void initWithPointer(PointerTy PtrVal) { in initWithPointer() 74 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt() 79 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer() 83 PointerTy *getAddrOfPointer() { in getAddrOfPointer() 87 return reinterpret_cast<PointerTy *>(&Value); in getAddrOfPointer() 188 using Ty = PointerIntPair<PointerTy, IntBits, IntType>; 220 static inline PointerIntPair<PointerTy, IntBits, IntType> [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/ |
| H A D | GenericValue.h | 22 using PointerTy = void *; variable 32 PointerTy PointerVal;
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1554 APInt Offset, Type *PointerTy, Twine NamePrefix) { in getAdjustedPtr() argument 1572 Type *TargetTy = PointerTy->getPointerElementType(); in getAdjustedPtr() 1601 if (P->getType() == PointerTy) in getAdjustedPtr() 1627 Ptr, IRB.getInt8PtrTy(PointerTy->getPointerAddressSpace()), in getAdjustedPtr() 1641 if (Ptr->getType() != PointerTy) in getAdjustedPtr() 1642 Ptr = IRB.CreateBitCast(Ptr, PointerTy, NamePrefix + "sroa_cast"); in getAdjustedPtr() 2349 Value *getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) { in getNewAllocaSlicePtr() argument 2377 APInt(DL.getIndexTypeSizeInBits(PointerTy), Offset), in getNewAllocaSlicePtr() 2378 PointerTy, in getNewAllocaSlicePtr() 3036 Type *PointerTy = IRB.getInt8PtrTy(OldPtr->getType()->getPointerAddressSpace()); in visitIntrinsicInst() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 750 GV.PointerVal = PointerTy(uintptr_t(GV.IntVal.getZExtValue())); in getConstantValue() 1071 if (StoreBytes != sizeof(PointerTy)) in StoreValueToMemory() 1074 *((PointerTy*)Ptr) = Val.PointerVal; in StoreValueToMemory() 1143 Result.PointerVal = *((PointerTy*)Ptr); in LoadValueFromMemory()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | ItaniumCXXABI.cpp | 2907 static bool TypeInfoIsInStandardLibrary(const PointerType *PointerTy) { in TypeInfoIsInStandardLibrary() argument 2908 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() 2932 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in IsStandardLibraryRTTIDescriptor() local 2933 return TypeInfoIsInStandardLibrary(PointerTy); in IsStandardLibraryRTTIDescriptor() 3002 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in ContainsIncompleteClassType() local 3003 return ContainsIncompleteClassType(PointerTy->getPointeeType()); in ContainsIncompleteClassType()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 1151 EVT PointerTy(getPointerTy(DL, PT->getAddressSpace())); 1152 Elm = PointerTy.getTypeForEVT(Ty->getContext());
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2526 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local 2527 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt() 2529 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
|
| H A D | SemaOverload.cpp | 7478 const PointerType *PointerTy = Ty->getAs<PointerType>(); in AddPointerWithMoreQualifiedTypeVariants() local 7480 if (!PointerTy) { in AddPointerWithMoreQualifiedTypeVariants() 7485 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants() 7545 const MemberPointerType *PointerTy = Ty->getAs<MemberPointerType>(); in AddMemberPointerWithMoreQualifiedTypeVariants() local 7546 assert(PointerTy && "type was not a member pointer type!"); in AddMemberPointerWithMoreQualifiedTypeVariants() 7548 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() 7555 const Type *ClassTy = PointerTy->getClass(); in AddMemberPointerWithMoreQualifiedTypeVariants()
|
| H A D | SemaExpr.cpp | 6601 QualType PointerTy) { in checkConditionalNullPointer() argument 6602 if ((!PointerTy->isAnyPointerType() && !PointerTy->isBlockPointerType()) || in checkConditionalNullPointer() 6607 NullExpr = S.ImpCastExprToType(NullExpr.get(), PointerTy, CK_NullToPointer); in checkConditionalNullPointer()
|
| H A D | SemaChecking.cpp | 12164 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType() local 12165 diagnoseArrayStarInParamType(S, PointerTy->getPointeeType(), Loc); in diagnoseArrayStarInParamType()
|
| /freebsd-12.1/contrib/llvm/include/llvm-c/ |
| H A D | Core.h | 1420 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Core.cpp | 762 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy) { in LLVMGetPointerAddressSpace() argument 763 return unwrap<PointerType>(PointerTy)->getAddressSpace(); in LLVMGetPointerAddressSpace()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1483 Dest.PointerVal = PointerTy(intptr_t(Src.IntVal.getZExtValue())); in executeIntToPtrInst()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 1394 void setNull(QualType PointerTy, uint64_t TargetVal) { in setNull() 1398 Designator = SubobjectDesignator(PointerTy->getPointeeType()); in setNull()
|