Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerIntPair.h77 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
78 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
79 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
83 detail::PunnedPointer<PointerTy> Value;
88 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
92 explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } in PointerIntPair()
94 PointerTy getPointer() const { return Info::getPointer(Value); } in getPointer()
98 void setPointer(PointerTy PtrVal) & { in setPointer()
106 void initWithPointer(PointerTy PtrVal) & { in initWithPointer()
110 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) & { in setPointerAndInt()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOCtxProfLowering.cpp123 auto *PointerTy = PointerType::get(M.getContext(), 0); in CtxInstrumentationLowerer() local
128 #define _PTRDECL(_, __) PointerTy, in CtxInstrumentationLowerer()
129 #define _VOLATILE_PTRDECL(_, __) PointerTy, in CtxInstrumentationLowerer()
130 #define _CONTEXT_ROOT PointerTy, in CtxInstrumentationLowerer()
141 #define _PTRDECL(_, __) Constant::getNullValue(PointerTy), in CtxInstrumentationLowerer()
146 PointerTy, \ in CtxInstrumentationLowerer()
147 APInt(M.getDataLayout().getPointerTypeSizeInBits(PointerTy), 1U)), in CtxInstrumentationLowerer()
159 PointerTy, /*Next*/ in CtxInstrumentationLowerer()
183 FunctionType::get(PointerTy, in CtxInstrumentationLowerer()
184 {PointerTy, /*FunctionData*/ in CtxInstrumentationLowerer()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DGenericValue.h21 using PointerTy = void *; variable
31 PointerTy PointerVal;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp788 const LLT PointerTy = LLT::pointer( in handleAssignments() local
808 Args[i].Regs[0] = MRI.createGenericVirtualRegister(PointerTy); in handleAssignments()
862 MIRBuilder.buildFrameIndex(PointerTy, FrameIdx).getReg(0); in handleAssignments()
885 ? PointerTy.getSizeInBytes() in handleAssignments()
894 Handler.assignValueToAddress(ArgReg, StackAddr, PointerTy, MPO, VA); in handleAssignments()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp754 GV.PointerVal = PointerTy(uintptr_t(GV.IntVal.getZExtValue())); in getConstantValue()
1059 if (StoreBytes != sizeof(PointerTy)) in StoreValueToMemory()
1062 *((PointerTy*)Ptr) = Val.PointerVal; in StoreValueToMemory()
1108 Result.PointerVal = *((PointerTy*)Ptr); in LoadValueFromMemory()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp601 const LLT PointerTy = MRI.getType(MO.getReg()); in castBufferRsrcFromV4I32() local
604 if (!hasBufferRsrcWorkaround(PointerTy)) in castBufferRsrcFromV4I32()
605 return PointerTy; in castBufferRsrcFromV4I32()
607 const LLT ScalarTy = getBufferRsrcScalarType(PointerTy); in castBufferRsrcFromV4I32()
608 const LLT VectorTy = getBufferRsrcRegisterType(PointerTy); in castBufferRsrcFromV4I32()
609 if (!PointerTy.isVector()) { in castBufferRsrcFromV4I32()
611 const unsigned NumParts = PointerTy.getSizeInBits() / 32; in castBufferRsrcFromV4I32()
640 const LLT PointerTy = MRI.getType(Pointer); in castBufferRsrcToV4I32() local
641 const LLT ScalarTy = getBufferRsrcScalarType(PointerTy); in castBufferRsrcToV4I32()
642 const LLT VectorTy = getBufferRsrcRegisterType(PointerTy); in castBufferRsrcToV4I32()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1913 APInt Offset, Type *PointerTy, in getAdjustedPtr() argument
1918 return IRB.CreatePointerBitCastOrAddrSpaceCast(Ptr, PointerTy, in getAdjustedPtr()
2849 Value *getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) { in getNewAllocaSlicePtr() argument
2877 APInt(DL.getIndexTypeSizeInBits(PointerTy), Offset), in getNewAllocaSlicePtr()
2878 PointerTy, in getNewAllocaSlicePtr()
3645 Type *PointerTy = IRB.getPtrTy(OldPtr->getType()->getPointerAddressSpace()); in visitIntrinsicInst() local
3646 Value *Ptr = getNewAllocaSlicePtr(IRB, PointerTy); in visitIntrinsicInst()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp3714 static bool TypeInfoIsInStandardLibrary(const PointerType *PointerTy) { in TypeInfoIsInStandardLibrary() argument
3715 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary()
3739 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in IsStandardLibraryRTTIDescriptor() local
3740 return TypeInfoIsInStandardLibrary(PointerTy); in IsStandardLibraryRTTIDescriptor()
3812 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in ContainsIncompleteClassType() local
3813 return ContainsIncompleteClassType(PointerTy->getPointeeType()); in ContainsIncompleteClassType()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1723 EVT PointerTy(getPointerTy(DL, PTy->getAddressSpace()));
1724 EltTy = PointerTy.getTypeForEVT(Ty->getContext());
1742 EVT PointerTy(getPointerMemTy(DL, PTy->getAddressSpace()));
1743 EltTy = PointerTy.getTypeForEVT(Ty->getContext());
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp2891 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local
2892 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt()
2894 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
H A DSemaOverload.cpp8926 const PointerType *PointerTy = Ty->getAs<PointerType>(); in AddPointerWithMoreQualifiedTypeVariants() local
8928 if (!PointerTy) { in AddPointerWithMoreQualifiedTypeVariants()
8933 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
8993 const MemberPointerType *PointerTy = Ty->getAs<MemberPointerType>(); in AddMemberPointerWithMoreQualifiedTypeVariants() local
8994 assert(PointerTy && "type was not a member pointer type!"); in AddMemberPointerWithMoreQualifiedTypeVariants()
8996 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants()
9003 CXXRecordDecl *Cls = PointerTy->getMostRecentCXXRecordDecl(); in AddMemberPointerWithMoreQualifiedTypeVariants()
H A DSemaExpr.cpp8061 QualType PointerTy) { in checkConditionalNullPointer() argument
8062 if ((!PointerTy->isAnyPointerType() && !PointerTy->isBlockPointerType()) || in checkConditionalNullPointer()
8067 NullExpr = S.ImpCastExprToType(NullExpr.get(), PointerTy, CK_NullToPointer); in checkConditionalNullPointer()
H A DSemaChecking.cpp14107 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType() local
14108 diagnoseArrayStarInParamType(S, PointerTy->getPointeeType(), Loc); in diagnoseArrayStarInParamType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp774 auto PointerTy = PointerType::getUnqual(*DAG.getContext()); in SoftenFloatRes_FFREXP() local
778 Type *CallOpsTypeOverrides[2] = {nullptr, PointerTy}; in SoftenFloatRes_FFREXP()
817 auto PointerTy = PointerType::getUnqual(*DAG.getContext()); in SoftenFloatRes_UnaryWithTwoFPResults() local
825 CallOpsTypeOverrides.push_back(PointerTy); in SoftenFloatRes_UnaryWithTwoFPResults()
H A DSelectionDAG.cpp2596 Type *PointerTy = PointerType::getUnqual(Ctx); in expandMultipleResultFPLibCall() local
2603 AddArgListEntry(ResultPtr, PointerTy); in expandMultipleResultFPLibCall()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1692 LLVM_C_ABI unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp911 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy) { in LLVMGetPointerAddressSpace() argument
912 return unwrap<PointerType>(PointerTy)->getAddressSpace(); in LLVMGetPointerAddressSpace()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1497 Dest.PointerVal = PointerTy(intptr_t(Src.IntVal.getZExtValue())); in executeIntToPtrInst()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1690 void setNull(ASTContext &Ctx, QualType PointerTy) { in setNull()
1693 CharUnits::fromQuantity(Ctx.getTargetNullPointerValue(PointerTy)); in setNull()
1695 Designator = SubobjectDesignator(PointerTy->getPointeeType()); in setNull()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp7458 using PointerTy = PointerIntPair<Value *, 1, bool>; in createSCEVIter() typedef
7459 SmallVector<PointerTy> Stack; in createSCEVIter()