| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | SmallPtrSet.h | 368 template <typename PtrType> 370 using ConstPtrType = typename add_const_past_pointer<PtrType>::type; 371 using PtrTraits = PointerLikeTypeTraits<PtrType>; 379 using iterator = SmallPtrSetIterator<PtrType>; 380 using const_iterator = SmallPtrSetIterator<PtrType>; 382 using value_type = PtrType; 390 std::pair<iterator, bool> insert(PtrType Ptr) { in insert() 398 iterator insert(iterator, PtrType Ptr) { in insert() 407 bool erase(PtrType Ptr) { in erase() 429 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 | 140 template <typename PtrType, flag_type FlagType, bool Sleepable> 143 volatile PtrType *loc; 144 PtrType checker = (PtrType)0; /**< When flag==checker, it has been released */ 148 typedef PtrType flag_t; 149 kmp_flag_native(volatile PtrType *p) : kmp_flag<FlagType>(), loc(p) {} 150 kmp_flag_native(volatile PtrType *p, kmp_info_t *thr) 154 kmp_flag_native(volatile PtrType *p, PtrType c) 156 kmp_flag_native(volatile PtrType *p, PtrType c, std::atomic<bool> *sloc) 161 volatile PtrType *get() { return loc; } 162 void *get_void_p() { return RCAST(void *, CCAST(PtrType *, loc)); } [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | InterpBuiltinBitCast.cpp | 394 QualType PtrType = P.getType(); in DoBitCastPtr() local 396 const auto &Semantics = ASTCtx.getFloatTypeSemantics(PtrType); in DoBitCastPtr() 426 if (!PtrType->isStdByteType() && in DoBitCastPtr() 427 !PtrType->isSpecificBuiltinType(BuiltinType::UChar) && in DoBitCastPtr() 428 !PtrType->isSpecificBuiltinType(BuiltinType::Char_U)) { in DoBitCastPtr() 431 << PtrType << S.getLangOpts().CharIsSigned in DoBitCastPtr()
|
| H A D | Compiler.cpp | 409 QualType PtrType = CE->getType(); in VisitCastExpr() local 411 if (std::optional<PrimType> T = classify(PtrType->getPointeeType())) in VisitCastExpr() 413 else if (PtrType->getPointeeType()->isVoidType()) in VisitCastExpr() 416 Desc = P.createDescriptor(CE, PtrType->getPointeeType().getTypePtr(), in VisitCastExpr() 422 PrimType DestPtrT = classifyPrim(PtrType); in VisitCastExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVISelLowering.cpp | 240 SPIRVType *PtrType = GR.getSPIRVTypeForVReg(PtrTypeReg, MF); in validateLifetimeStart() local 241 SPIRVType *PonteeElemType = PtrType ? GR.getPointeeType(PtrType) : nullptr; in validateLifetimeStart() 249 PtrType->getOperand(1).getImm()); in validateLifetimeStart() 579 SPIRVType *PtrType = GR.getResultType(I.getOperand(PtrOpIdx).getReg()); in enforcePtrTypeCompatibility() local 580 SPIRVType *PointeeType = GR.getPointeeType(PtrType); in enforcePtrTypeCompatibility()
|
| H A D | SPIRVGlobalRegistry.cpp | 1311 SPIRVType *SPIRVGlobalRegistry::getPointeeType(SPIRVType *PtrType) { in getPointeeType() argument 1312 return PtrType && PtrType->getOpcode() == SPIRV::OpTypePointer in getPointeeType() 1313 ? getSPIRVTypeForVReg(PtrType->getOperand(2).getReg()) in getPointeeType() 1791 SPIRVType *PtrType, SPIRV::StorageClass::StorageClass SC, MachineInstr &I) { in changePointerStorageClass() argument 1793 getPointerStorageClass(PtrType); in changePointerStorageClass() 1797 SPIRVType *PointeeType = getPointeeType(PtrType); in changePointerStorageClass()
|
| H A D | SPIRVGlobalRegistry.h | 323 SPIRVType *getPointeeType(SPIRVType *PtrType); 604 SPIRVType *changePointerStorageClass(SPIRVType *PtrType,
|
| H A D | SPIRVBuiltins.cpp | 515 SPIRVType *PtrType = GR->getOrCreateSPIRVPointerType( in buildBuiltinVariableLoad() local 517 GR->assignSPIRVTypeToVReg(PtrType, NewRegister, MIRBuilder.getMF()); in buildBuiltinVariableLoad() 521 NewRegister, PtrType, getLinkStringForBuiltIn(BuiltinValue), nullptr, in buildBuiltinVariableLoad() 2355 SPIRVType *PtrType = GR->getSPIRVTypeForVReg(Call->Arguments[0]); in buildNDRange() local 2356 assert(PtrType->getOpcode() == SPIRV::OpTypePointer && in buildNDRange() 2357 PtrType->getOperand(2).isReg()); in buildNDRange() 2358 Register TypeReg = PtrType->getOperand(2).getReg(); in buildNDRange() 2422 Type *PtrType = PointerType::get(Context, SC1); in getOrCreateSPIRVDeviceEventPointer() local 2423 return GR->getOrCreateSPIRVType(PtrType, MIRBuilder, in getOrCreateSPIRVDeviceEventPointer()
|
| H A D | SPIRVInstructionSelector.cpp | 3434 SPIRVType *PtrType = in buildPointerToResource() local 3436 assert(GR.getPointeeType(PtrType) == SpirvResType && in buildPointerToResource() 3438 return GR.getOrCreateGlobalVariableWithBinding(PtrType, Set, Binding, Name, in buildPointerToResource() 4029 const SPIRVType *PtrType = GR.getOrCreateSPIRVPointerType( in loadVec3BuiltinInputID() local 4036 GR.assignSPIRVTypeToVReg(PtrType, NewRegister, MIRBuilder.getMF()); in loadVec3BuiltinInputID() 4041 NewRegister, PtrType, getLinkStringForBuiltIn(BuiltInValue), nullptr, in loadVec3BuiltinInputID() 4079 const SPIRVType *PtrType = GR.getOrCreateSPIRVPointerType( in loadBuiltinInputID() local 4084 MIRBuilder.getMRI()->createVirtualRegister(GR.getRegClass(PtrType)); in loadBuiltinInputID() 4089 GR.assignSPIRVTypeToVReg(PtrType, NewRegister, MIRBuilder.getMF()); in loadBuiltinInputID() 4094 NewRegister, PtrType, getLinkStringForBuiltIn(BuiltInValue), nullptr, in loadBuiltinInputID()
|
| /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 | 1382 const PointerType *PtrType = PointerArg->getType()->getAs<PointerType>(); in CheckBuiltinFunctionCall() local 1383 if (!PtrType) { in CheckBuiltinFunctionCall() 1389 QualType ValType = PtrType->getPointeeType(); in CheckBuiltinFunctionCall()
|
| H A D | SemaCast.cpp | 227 if (const auto *PtrType = dyn_cast<PointerType>(FromType)) { in CheckNoDeref() local 228 if (PtrType->getPointeeType()->hasAttr(attr::NoDeref)) { in CheckNoDeref()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RefCntblBaseVirtualDtorChecker.cpp | 114 if (auto *PtrType = dyn_cast<PointerType>(CastType)) { in VisitCXXDeleteExpr() local 115 auto PointeeType = PtrType->getPointeeType(); in VisitCXXDeleteExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 1053 auto *PtrType = Ptr->getType(); in CreateLaunderInvariantGroup() local 1056 M, Intrinsic::launder_invariant_group, {PtrType}); in CreateLaunderInvariantGroup() 1058 assert(FnLaunderInvariantGroup->getReturnType() == PtrType && in CreateLaunderInvariantGroup() 1060 PtrType && in CreateLaunderInvariantGroup() 1070 auto *PtrType = Ptr->getType(); in CreateStripInvariantGroup() local 1073 M, Intrinsic::strip_invariant_group, {PtrType}); in CreateStripInvariantGroup() 1075 assert(FnStripInvariantGroup->getReturnType() == PtrType && in CreateStripInvariantGroup() 1077 PtrType && in CreateStripInvariantGroup()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | CodeExtractor.h | 25 template <typename PtrType> class SmallPtrSetImpl;
|
| H A D | BasicBlockUtils.h | 31 template <typename PtrType> class SmallPtrSetImpl;
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| H A D | NSArray.cpp | 145 template <typename PtrType> 147 PtrType _cow; 149 PtrType _data;
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IteratorModeling.cpp | 637 QualType PtrType = Iterator->getType(); in handlePtrIncrOrDecr() local 638 if (!PtrType->isPointerType()) in handlePtrIncrOrDecr() 640 QualType ElementType = PtrType->getPointeeType(); in handlePtrIncrOrDecr()
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 635 const PointerType *PtrType; member in __anon819a2c470111::PointerCastResult 637 PointerCastResult(const PointerType *PtrType, Ptr V) in PointerCastResult() argument 638 : PtrType(PtrType), V(V) {} in PointerCastResult() 642 << 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 | 828 PointerType *PtrType = G->getType(); in writeAlias() local 829 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/TargetBuiltins/ |
| H A D | PPC.cpp | 62 llvm::Type *PtrType = CGF.UnqualPtrTy; in emitPPCLoadReserveIntrinsic() local 63 llvm::FunctionType *FTy = llvm::FunctionType::get(RetType, {PtrType}, false); in emitPPCLoadReserveIntrinsic()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | MicrosoftCXXABI.cpp | 507 llvm::Type *getImageRelativeType(llvm::Type *PtrType) { in getImageRelativeType() argument 509 return PtrType; in getImageRelativeType() 3807 llvm::Type *PtrType = ABI.getImageRelativeType(CGM.UnqualPtrTy); in getBaseClassArray() local 3808 auto *ArrType = llvm::ArrayType::get(PtrType, Classes.size() + 1); in getBaseClassArray() 3821 BaseClassArrayData.push_back(llvm::Constant::getNullValue(PtrType)); in getBaseClassArray()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600ISelLowering.cpp | 770 PointerType *PtrType = in LowerImplicitParameter() local 778 MachinePointerInfo(ConstantPointerNull::get(PtrType))); in LowerImplicitParameter()
|