Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DPointerIntPair.h43 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 DGenericValue.h21 using PointerTy = void *; variable
31 PointerTy PointerVal;
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1780 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 DTargetLowering.h1504 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 DItaniumCXXABI.cpp3336 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 DSemaStmt.cpp2923 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local
2924 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt()
2926 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
H A DSemaOverload.cpp8085 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 DSemaExpr.cpp8411 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 DSemaChecking.cpp15791 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 DCore.h1493 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DCore.cpp829 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 DExecution.cpp1533 Dest.PointerVal = PointerTy(intptr_t(Src.IntVal.getZExtValue())); in executeIntToPtrInst()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp1600 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 DScalarEvolution.cpp7399 using PointerTy = PointerIntPair<Value *, 1, bool>; in createSCEVIter() typedef
7400 SmallVector<PointerTy> Stack; in createSCEVIter()