| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | PointerIntPair.h | 42 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned, 43 typename PtrTraits = PointerLikeTypeTraits<PointerTy>, 44 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>> 53 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair() 57 explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } in PointerIntPair() 59 PointerTy getPointer() const { return Info::getPointer(Value); } in getPointer() 63 void setPointer(PointerTy PtrVal) LLVM_LVALUE_FUNCTION { in setPointer() 71 void initWithPointer(PointerTy PtrVal) LLVM_LVALUE_FUNCTION { in initWithPointer() 75 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) LLVM_LVALUE_FUNCTION { in setPointerAndInt() 80 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/ |
| H A D | GenericValue.h | 21 using PointerTy = void *; variable 31 PointerTy PointerVal;
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1588 APInt Offset, Type *PointerTy, in getAdjustedPtr() argument 1607 PointerType *TargetPtrTy = cast<PointerType>(PointerTy); in getAdjustedPtr() 1614 PointerTy = TargetTy->getPointerTo(AS); in getAdjustedPtr() 1643 if (P->getType() == PointerTy) in getAdjustedPtr() 1669 Ptr, IRB.getInt8PtrTy(PointerTy->getPointerAddressSpace()), in getAdjustedPtr() 2407 Value *getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) { in getNewAllocaSlicePtr() argument 2435 APInt(DL.getIndexTypeSizeInBits(PointerTy), Offset), in getNewAllocaSlicePtr() 2436 PointerTy, in getNewAllocaSlicePtr() 3126 Type *PointerTy = IRB.getInt8PtrTy(OldPtr->getType()->getPointerAddressSpace()); in visitIntrinsicInst() local 3127 Value *Ptr = getNewAllocaSlicePtr(IRB, PointerTy); in visitIntrinsicInst()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 1400 EVT PointerTy(getPointerTy(DL, PTy->getAddressSpace())); 1401 EltTy = PointerTy.getTypeForEVT(Ty->getContext()); 1418 EVT PointerTy(getPointerMemTy(DL, PT->getAddressSpace())); 1419 Elm = PointerTy.getTypeForEVT(Ty->getContext());
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | ItaniumCXXABI.cpp | 3306 static bool TypeInfoIsInStandardLibrary(const PointerType *PointerTy) { in TypeInfoIsInStandardLibrary() argument 3307 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() 3331 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in IsStandardLibraryRTTIDescriptor() local 3332 return TypeInfoIsInStandardLibrary(PointerTy); in IsStandardLibraryRTTIDescriptor() 3404 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in ContainsIncompleteClassType() local 3405 return ContainsIncompleteClassType(PointerTy->getPointeeType()); in ContainsIncompleteClassType()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2875 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local 2876 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt() 2878 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
|
| H A D | SemaOverload.cpp | 7879 const PointerType *PointerTy = Ty->getAs<PointerType>(); in AddPointerWithMoreQualifiedTypeVariants() local 7881 if (!PointerTy) { in AddPointerWithMoreQualifiedTypeVariants() 7886 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants() 7946 const MemberPointerType *PointerTy = Ty->getAs<MemberPointerType>(); in AddMemberPointerWithMoreQualifiedTypeVariants() local 7947 assert(PointerTy && "type was not a member pointer type!"); in AddMemberPointerWithMoreQualifiedTypeVariants() 7949 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() 7956 const Type *ClassTy = PointerTy->getClass(); in AddMemberPointerWithMoreQualifiedTypeVariants()
|
| H A D | SemaExpr.cpp | 7796 QualType PointerTy) { in checkConditionalNullPointer() argument 7797 if ((!PointerTy->isAnyPointerType() && !PointerTy->isBlockPointerType()) || in checkConditionalNullPointer() 7802 NullExpr = S.ImpCastExprToType(NullExpr.get(), PointerTy, CK_NullToPointer); in checkConditionalNullPointer()
|
| H A D | SemaChecking.cpp | 14092 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType() local 14093 diagnoseArrayStarInParamType(S, PointerTy->getPointeeType(), Loc); in diagnoseArrayStarInParamType()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/ |
| H A D | Core.h | 1450 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Core.cpp | 813 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy) { in LLVMGetPointerAddressSpace() argument 814 return unwrap<PointerType>(PointerTy)->getAddressSpace(); in LLVMGetPointerAddressSpace()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1533 Dest.PointerVal = PointerTy(intptr_t(Src.IntVal.getZExtValue())); in executeIntToPtrInst()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|