/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | SmallPtrSet.h | 322 template <typename PtrType> 324 using ConstPtrType = typename add_const_past_pointer<PtrType>::type; 325 using PtrTraits = PointerLikeTypeTraits<PtrType>; 333 using iterator = SmallPtrSetIterator<PtrType>; 334 using const_iterator = SmallPtrSetIterator<PtrType>; 336 using value_type = PtrType; 344 std::pair<iterator, bool> insert(PtrType Ptr) { in insert() 352 iterator insert(iterator, PtrType Ptr) { in insert() 361 bool erase(PtrType Ptr) { in erase() 383 PtrType Ptr = PtrTraits::getFromVoidPointer(const_cast<void *>(*APtr)); in remove_if() [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_wait_release.h | 139 template <typename PtrType, flag_type FlagType, bool Sleepable> 142 volatile PtrType *loc; 143 PtrType checker; /**< When flag==checker, it has been released. */ 147 typedef PtrType flag_t; 148 kmp_flag_native(volatile PtrType *p) : kmp_flag<FlagType>(), loc(p) {} 149 kmp_flag_native(volatile PtrType *p, kmp_info_t *thr) 153 kmp_flag_native(volatile PtrType *p, PtrType c) 155 kmp_flag_native(volatile PtrType *p, PtrType c, std::atomic<bool> *sloc) 160 volatile PtrType *get() { return loc; } 161 void *get_void_p() { return RCAST(void *, CCAST(PtrType *, loc)); } [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaSwift.cpp | 51 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftIndirectResultType() local 52 Ty = PtrType->getPointeeType(); in isValidSwiftIndirectResultType() 63 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftErrorResultType() local 64 Ty = PtrType->getPointeeType(); in isValidSwiftErrorResultType()
|
H A D | SemaRISCV.cpp | 1335 const PointerType *PtrType = PointerArg->getType()->getAs<PointerType>(); in CheckBuiltinFunctionCall() local 1336 if (!PtrType) { in CheckBuiltinFunctionCall() 1342 QualType ValType = PtrType->getPointeeType(); in CheckBuiltinFunctionCall()
|
H A D | SemaCast.cpp | 184 if (const auto *PtrType = dyn_cast<PointerType>(FromType)) { in CheckNoDeref() local 185 if (PtrType->getPointeeType()->hasAttr(attr::NoDeref)) { in CheckNoDeref()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | RefCntblBaseVirtualDtorChecker.cpp | 81 if (auto *PtrType = dyn_cast<PointerType>(CastType)) { in VisitCXXDeleteExpr() local 82 auto PointeeType = PtrType->getPointeeType(); in VisitCXXDeleteExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 1121 auto *PtrType = Ptr->getType(); in CreateLaunderInvariantGroup() local 1124 M, Intrinsic::launder_invariant_group, {PtrType}); in CreateLaunderInvariantGroup() 1126 assert(FnLaunderInvariantGroup->getReturnType() == PtrType && in CreateLaunderInvariantGroup() 1128 PtrType && in CreateLaunderInvariantGroup() 1138 auto *PtrType = Ptr->getType(); in CreateStripInvariantGroup() local 1141 M, Intrinsic::strip_invariant_group, {PtrType}); in CreateStripInvariantGroup() 1143 assert(FnStripInvariantGroup->getReturnType() == PtrType && in CreateStripInvariantGroup() 1145 PtrType && in CreateStripInvariantGroup()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | CodeExtractor.h | 24 template <typename PtrType> class SmallPtrSetImpl;
|
H A D | BasicBlockUtils.h | 30 template <typename PtrType> class SmallPtrSetImpl;
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
H A D | NSArray.cpp | 147 template <typename PtrType> 149 PtrType _cow; 151 PtrType _data;
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | IteratorModeling.cpp | 631 QualType PtrType = Iterator->getType(); in handlePtrIncrOrDecr() local 632 if (!PtrType->isPointerType()) in handlePtrIncrOrDecr() 634 QualType ElementType = PtrType->getPointeeType(); in handlePtrIncrOrDecr()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Interp.cpp | 458 QualType PtrType = Ptr.getType(); in CheckVolatile() local 459 if (!PtrType.isVolatileQualified()) in CheckVolatile() 464 S.FFDiag(Loc, diag::note_constexpr_access_volatile_type) << AK << PtrType; in CheckVolatile()
|
H A D | Compiler.cpp | 387 QualType PtrType = CE->getType(); in VisitCastExpr() local 388 assert(PtrType->isPointerType()); in VisitCastExpr() 391 if (std::optional<PrimType> T = classify(PtrType->getPointeeType())) in VisitCastExpr() 393 else if (PtrType->getPointeeType()->isVoidType()) in VisitCastExpr() 396 Desc = P.createDescriptor(CE, PtrType->getPointeeType().getTypePtr(), in VisitCastExpr() 403 PrimType DestPtrT = classifyPrim(PtrType); in VisitCastExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVBuiltins.cpp | 466 SPIRVType *PtrType = GR->getOrCreateSPIRVPointerType( in buildBuiltinVariableLoad() local 468 GR->assignSPIRVTypeToVReg(PtrType, NewRegister, MIRBuilder.getMF()); in buildBuiltinVariableLoad() 472 NewRegister, PtrType, getLinkStringForBuiltIn(BuiltinValue), nullptr, in buildBuiltinVariableLoad() 1978 SPIRVType *PtrType = GR->getSPIRVTypeForVReg(Call->Arguments[0]); in buildNDRange() local 1979 assert(PtrType->getOpcode() == SPIRV::OpTypePointer && in buildNDRange() 1980 PtrType->getOperand(2).isReg()); in buildNDRange() 1981 Register TypeReg = PtrType->getOperand(2).getReg(); in buildNDRange() 2057 Type *PtrType = PointerType::get(PointerType::get(OpaqueType, SC0), SC1); in getOrCreateSPIRVDeviceEventPointer() local 2058 return GR->getOrCreateSPIRVType(PtrType, MIRBuilder); in getOrCreateSPIRVDeviceEventPointer()
|
H A D | SPIRVGlobalRegistry.cpp | 1073 SPIRVType *SPIRVGlobalRegistry::getPointeeType(SPIRVType *PtrType) { in getPointeeType() argument 1074 return PtrType && PtrType->getOpcode() == SPIRV::OpTypePointer in getPointeeType() 1075 ? getSPIRVTypeForVReg(PtrType->getOperand(2).getReg()) in getPointeeType()
|
H A D | SPIRVGlobalRegistry.h | 310 SPIRVType *getPointeeType(SPIRVType *PtrType);
|
H A D | SPIRVInstructionSelector.cpp | 2359 const SPIRVType *PtrType = GR.getOrCreateSPIRVPointerType( in selectSpvThreadId() local 2366 GR.assignSPIRVTypeToVReg(PtrType, NewRegister, MIRBuilder.getMF()); in selectSpvThreadId() 2370 NewRegister, PtrType, in selectSpvThreadId()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | MveEmitter.cpp | 637 const PointerType *PtrType; member in __anon819a2c470111::PointerCastResult 639 PointerCastResult(const PointerType *PtrType, Ptr V) in PointerCastResult() argument 640 : PtrType(PtrType), V(V) {} in PointerCastResult() 644 << ParamAlloc.allocParam("llvm::Type *", PtrType->llvmName()) << ")"; in genCode()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Type.h | 35 template <typename PtrType> class SmallPtrSetImpl;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 829 PointerType *PtrType = G->getType(); in writeAlias() local 830 auto *GA = GlobalAlias::create(G->getValueType(), PtrType->getAddressSpace(), in writeAlias()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeRecordMapping.cpp | 385 std::string PtrType = std::string(getEnumName( in visitKnownRecord() local 387 Attr += "[ Type: " + PtrType; in visitKnownRecord()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | MicrosoftCXXABI.cpp | 504 llvm::Type *getImageRelativeType(llvm::Type *PtrType) { in getImageRelativeType() argument 506 return PtrType; in getImageRelativeType() 3814 llvm::Type *PtrType = ABI.getImageRelativeType( in getBaseClassArray() local 3816 auto *ArrType = llvm::ArrayType::get(PtrType, Classes.size() + 1); in getBaseClassArray() 3829 BaseClassArrayData.push_back(llvm::Constant::getNullValue(PtrType)); in getBaseClassArray()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600ISelLowering.cpp | 766 PointerType * PtrType = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), in LowerImplicitParameter() local 774 MachinePointerInfo(ConstantPointerNull::get(PtrType))); in LowerImplicitParameter()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 910 Error typeCheckLoadStoreInst(Type *ValType, Type *PtrType); 4720 Error BitcodeReader::typeCheckLoadStoreInst(Type *ValType, Type *PtrType) { in typeCheckLoadStoreInst() argument 4721 if (!isa<PointerType>(PtrType)) in typeCheckLoadStoreInst()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 6496 EVT PtrType = LDST->getBasePtr().getValueType(); in isLegalNarrowLdSt() local 6497 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegalNarrowLdSt() 19357 EVT PtrType = Origin->getBasePtr().getValueType(); in isLegal() local 19358 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegal() 19366 if (!TLI.isOperationLegal(ISD::ADD, PtrType)) in isLegal()
|