Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerIntPair.h83 detail::PunnedPointer<PointerTy> Value;
88 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
98 void setPointer(PointerTy PtrVal) & { in setPointer()
106 void initWithPointer(PointerTy PtrVal) & { in initWithPointer()
110 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) & { in setPointerAndInt()
115 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer()
119 PointerTy *getAddrOfPointer() { in getAddrOfPointer()
220 using Ty = PointerIntPair<PointerTy, IntBits, IntType>;
252 static inline PointerIntPair<PointerTy, IntBits, IntType>
257 static inline PointerIntPair<PointerTy, IntBits, IntType>
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DGenericValue.h21 using PointerTy = void *; variable
31 PointerTy PointerVal;
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp755 GV.PointerVal = PointerTy(uintptr_t(GV.IntVal.getZExtValue())); in getConstantValue()
1063 if (StoreBytes != sizeof(PointerTy)) in StoreValueToMemory()
1066 *((PointerTy*)Ptr) = Val.PointerVal; in StoreValueToMemory()
1112 Result.PointerVal = *((PointerTy*)Ptr); in LoadValueFromMemory()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp505 const LLT PointerTy = MRI.getType(MO.getReg()); in castBufferRsrcFromV4I32() local
508 if (!hasBufferRsrcWorkaround(PointerTy)) in castBufferRsrcFromV4I32()
509 return PointerTy; in castBufferRsrcFromV4I32()
511 const LLT ScalarTy = getBufferRsrcScalarType(PointerTy); in castBufferRsrcFromV4I32()
512 const LLT VectorTy = getBufferRsrcRegisterType(PointerTy); in castBufferRsrcFromV4I32()
513 if (!PointerTy.isVector()) { in castBufferRsrcFromV4I32()
544 const LLT PointerTy = MRI.getType(Pointer); in castBufferRsrcToV4I32() local
545 const LLT ScalarTy = getBufferRsrcScalarType(PointerTy); in castBufferRsrcToV4I32()
548 if (!PointerTy.isVector()) { in castBufferRsrcToV4I32()
565 const LLT PointerTy = B.getMRI()->getType(MO.getReg()); in castBufferRsrcArgToV4I32() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1933 APInt Offset, Type *PointerTy, in getAdjustedPtr() argument
1938 return IRB.CreatePointerBitCastOrAddrSpaceCast(Ptr, PointerTy, in getAdjustedPtr()
2802 Value *getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) { in getNewAllocaSlicePtr() argument
2830 APInt(DL.getIndexTypeSizeInBits(PointerTy), Offset), in getNewAllocaSlicePtr()
2831 PointerTy, in getNewAllocaSlicePtr()
3586 Type *PointerTy = IRB.getPtrTy(OldPtr->getType()->getPointerAddressSpace()); in visitIntrinsicInst() local
3587 Value *Ptr = getNewAllocaSlicePtr(IRB, PointerTy); in visitIntrinsicInst()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp3410 static bool TypeInfoIsInStandardLibrary(const PointerType *PointerTy) { in TypeInfoIsInStandardLibrary() argument
3411 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary()
3435 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in IsStandardLibraryRTTIDescriptor() local
3436 return TypeInfoIsInStandardLibrary(PointerTy); in IsStandardLibraryRTTIDescriptor()
3508 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in ContainsIncompleteClassType() local
3509 return ContainsIncompleteClassType(PointerTy->getPointeeType()); in ContainsIncompleteClassType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1599 EVT PointerTy(getPointerTy(DL, PTy->getAddressSpace()));
1600 EltTy = PointerTy.getTypeForEVT(Ty->getContext());
1618 EVT PointerTy(getPointerMemTy(DL, PTy->getAddressSpace()));
1619 EltTy = PointerTy.getTypeForEVT(Ty->getContext());
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp2933 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local
2934 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt()
2936 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
H A DSemaOverload.cpp8459 const PointerType *PointerTy = Ty->getAs<PointerType>(); in AddPointerWithMoreQualifiedTypeVariants() local
8461 if (!PointerTy) { in AddPointerWithMoreQualifiedTypeVariants()
8466 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
8526 const MemberPointerType *PointerTy = Ty->getAs<MemberPointerType>(); in AddMemberPointerWithMoreQualifiedTypeVariants() local
8527 assert(PointerTy && "type was not a member pointer type!"); in AddMemberPointerWithMoreQualifiedTypeVariants()
8529 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants()
8536 const Type *ClassTy = PointerTy->getClass(); in AddMemberPointerWithMoreQualifiedTypeVariants()
H A DSemaExpr.cpp8753 QualType PointerTy) { in checkConditionalNullPointer() argument
8754 if ((!PointerTy->isAnyPointerType() && !PointerTy->isBlockPointerType()) || in checkConditionalNullPointer()
8759 NullExpr = S.ImpCastExprToType(NullExpr.get(), PointerTy, CK_NullToPointer); in checkConditionalNullPointer()
H A DSemaChecking.cpp17571 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType() local
17572 diagnoseArrayStarInParamType(S, PointerTy->getPointeeType(), Loc); in diagnoseArrayStarInParamType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1587 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp884 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy) { in LLVMGetPointerAddressSpace() argument
885 return unwrap<PointerType>(PointerTy)->getAddressSpace(); in LLVMGetPointerAddressSpace()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1533 Dest.PointerVal = PointerTy(intptr_t(Src.IntVal.getZExtValue())); in executeIntToPtrInst()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1654 void setNull(ASTContext &Ctx, QualType PointerTy) { in setNull()
1657 CharUnits::fromQuantity(Ctx.getTargetNullPointerValue(PointerTy)); in setNull()
1659 Designator = SubobjectDesignator(PointerTy->getPointeeType()); in setNull()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp7422 using PointerTy = PointerIntPair<Value *, 1, bool>; in createSCEVIter() typedef
7423 SmallVector<PointerTy> Stack; in createSCEVIter()