| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | PointerIntPair.h | 43 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned, 44 typename PtrTraits = PointerLikeTypeTraits<PointerTy>, 45 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>> 54 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair() 58 explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } in PointerIntPair() 60 PointerTy getPointer() const { return Info::getPointer(Value); } in getPointer() 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() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/ |
| H A D | GenericValue.h | 21 using PointerTy = void *; variable 31 PointerTy PointerVal;
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1780 APInt Offset, Type *PointerTy, in getAdjustedPtr() argument 1787 return IRB.CreatePointerBitCastOrAddrSpaceCast(Ptr, PointerTy, in getAdjustedPtr() 1808 PointerType *TargetPtrTy = cast<PointerType>(PointerTy); in getAdjustedPtr() 1815 PointerTy = TargetTy->getPointerTo(AS); in getAdjustedPtr() 1844 if (P->getType() == PointerTy) in getAdjustedPtr() 1870 Ptr, IRB.getInt8PtrTy(PointerTy->getPointerAddressSpace()), in getAdjustedPtr() 2666 Value *getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) { in getNewAllocaSlicePtr() argument 2694 APInt(DL.getIndexTypeSizeInBits(PointerTy), Offset), in getNewAllocaSlicePtr() 2695 PointerTy, in getNewAllocaSlicePtr() 3440 Type *PointerTy = IRB.getInt8PtrTy(OldPtr->getType()->getPointerAddressSpace()); in visitIntrinsicInst() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 1504 EVT PointerTy(getPointerTy(DL, PTy->getAddressSpace())); 1505 EltTy = PointerTy.getTypeForEVT(Ty->getContext()); 1522 EVT PointerTy(getPointerMemTy(DL, PT->getAddressSpace())); 1523 Elm = PointerTy.getTypeForEVT(Ty->getContext());
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | ItaniumCXXABI.cpp | 3336 static bool TypeInfoIsInStandardLibrary(const PointerType *PointerTy) { in TypeInfoIsInStandardLibrary() argument 3337 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() 3361 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in IsStandardLibraryRTTIDescriptor() local 3362 return TypeInfoIsInStandardLibrary(PointerTy); in IsStandardLibraryRTTIDescriptor() 3434 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in ContainsIncompleteClassType() local 3435 return ContainsIncompleteClassType(PointerTy->getPointeeType()); in ContainsIncompleteClassType()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2923 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local 2924 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt() 2926 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
|
| H A D | SemaOverload.cpp | 8085 const PointerType *PointerTy = Ty->getAs<PointerType>(); in AddPointerWithMoreQualifiedTypeVariants() local 8087 if (!PointerTy) { in AddPointerWithMoreQualifiedTypeVariants() 8092 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants() 8152 const MemberPointerType *PointerTy = Ty->getAs<MemberPointerType>(); in AddMemberPointerWithMoreQualifiedTypeVariants() local 8153 assert(PointerTy && "type was not a member pointer type!"); in AddMemberPointerWithMoreQualifiedTypeVariants() 8155 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() 8162 const Type *ClassTy = PointerTy->getClass(); in AddMemberPointerWithMoreQualifiedTypeVariants()
|
| H A D | SemaExpr.cpp | 8411 QualType PointerTy) { in checkConditionalNullPointer() argument 8412 if ((!PointerTy->isAnyPointerType() && !PointerTy->isBlockPointerType()) || in checkConditionalNullPointer() 8417 NullExpr = S.ImpCastExprToType(NullExpr.get(), PointerTy, CK_NullToPointer); in checkConditionalNullPointer()
|
| H A D | SemaChecking.cpp | 15791 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType() local 15792 diagnoseArrayStarInParamType(S, PointerTy->getPointeeType(), Loc); in diagnoseArrayStarInParamType()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm-c/ |
| H A D | Core.h | 1493 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Core.cpp | 829 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy) { in LLVMGetPointerAddressSpace() argument 830 return unwrap<PointerType>(PointerTy)->getAddressSpace(); in LLVMGetPointerAddressSpace()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1533 Dest.PointerVal = PointerTy(intptr_t(Src.IntVal.getZExtValue())); in executeIntToPtrInst()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 1600 void setNull(ASTContext &Ctx, QualType PointerTy) { in setNull() 1603 CharUnits::fromQuantity(Ctx.getTargetNullPointerValue(PointerTy)); in setNull() 1605 Designator = SubobjectDesignator(PointerTy->getPointeeType()); in setNull()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 7399 using PointerTy = PointerIntPair<Value *, 1, bool>; in createSCEVIter() typedef 7400 SmallVector<PointerTy> Stack; in createSCEVIter()
|