Home
last modified time | relevance | path

Searched refs:PtrType (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallPtrSet.h344 template <typename PtrType>
358 using value_type = PtrType;
374 iterator insert(iterator, PtrType Ptr) {
380 bool erase(PtrType Ptr) {
424 template <typename PtrType>
440 template <typename PtrType>
450 template<class PtrType, unsigned SmallSize>
457 using BaseT = SmallPtrSetImpl<PtrType>;
480 SmallPtrSet<PtrType, SmallSize> &
487 SmallPtrSet<PtrType, SmallSize> &
[all …]
/freebsd-14.2/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wait_release.h142 volatile PtrType *loc;
147 typedef PtrType flag_t;
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; }
163 PtrType load() { return *loc; }
192 PtrType set_sleeping() {
240 typedef PtrType flag_t;
246 kmp_flag_atomic(std::atomic<PtrType> *p, PtrType c)
248 kmp_flag_atomic(std::atomic<PtrType> *p, PtrType c, std::atomic<bool> *sloc)
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp1138 auto *PtrType = Ptr->getType(); in CreateLaunderInvariantGroup() local
1141 M, Intrinsic::launder_invariant_group, {PtrType}); in CreateLaunderInvariantGroup()
1143 assert(FnLaunderInvariantGroup->getReturnType() == PtrType && in CreateLaunderInvariantGroup()
1145 PtrType && in CreateLaunderInvariantGroup()
1155 auto *PtrType = Ptr->getType(); in CreateStripInvariantGroup() local
1158 M, Intrinsic::strip_invariant_group, {PtrType}); in CreateStripInvariantGroup()
1160 assert(FnStripInvariantGroup->getReturnType() == PtrType && in CreateStripInvariantGroup()
1162 PtrType && in CreateStripInvariantGroup()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h24 template <typename PtrType> class SmallPtrSetImpl;
H A DBasicBlockUtils.h30 template <typename PtrType> class SmallPtrSetImpl;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp352 SPIRVType *PtrType = GR->getOrCreateSPIRVPointerType( in buildBuiltinVariableLoad() local
354 GR->assignSPIRVTypeToVReg(PtrType, NewRegister, MIRBuilder.getMF()); in buildBuiltinVariableLoad()
358 NewRegister, PtrType, getLinkStringForBuiltIn(BuiltinValue), nullptr, in buildBuiltinVariableLoad()
1473 SPIRVType *PtrType = GR->getSPIRVTypeForVReg(Call->Arguments[0]); in buildNDRange() local
1474 assert(PtrType->getOpcode() == SPIRV::OpTypePointer && in buildNDRange()
1475 PtrType->getOperand(2).isReg()); in buildNDRange()
1476 Register TypeReg = PtrType->getOperand(2).getReg(); in buildNDRange()
1611 Type *PtrType = PointerType::get(PointerType::get(OpaqueType, SC0), SC1); in getOrCreateSPIRVDeviceEventPointer() local
1612 return GR->getOrCreateSPIRVType(PtrType, MIRBuilder); in getOrCreateSPIRVDeviceEventPointer()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSArray.cpp147 template <typename PtrType>
149 PtrType _cow;
151 PtrType _data;
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp630 QualType PtrType = Iterator->getType(); in handlePtrIncrOrDecr() local
631 if (!PtrType->isPointerType()) in handlePtrIncrOrDecr()
633 QualType ElementType = PtrType->getPointeeType(); in handlePtrIncrOrDecr()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h35 template <typename PtrType> class SmallPtrSetImpl;
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp637 const PointerType *PtrType; member in __anon6618677d0111::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-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp775 PointerType *PtrType = G->getType(); in writeAlias() local
776 auto *GA = GlobalAlias::create(G->getValueType(), PtrType->getAddressSpace(), in writeAlias()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp385 std::string PtrType = std::string(getEnumName( in visitKnownRecord() local
387 Attr += "[ Type: " + PtrType; in visitKnownRecord()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp506 llvm::Type *getImageRelativeType(llvm::Type *PtrType) { in getImageRelativeType() argument
508 return PtrType; in getImageRelativeType()
3801 llvm::Type *PtrType = ABI.getImageRelativeType( in getBaseClassArray() local
3803 auto *ArrType = llvm::ArrayType::get(PtrType, Classes.size() + 1); in getBaseClassArray()
3816 BaseClassArrayData.push_back(llvm::Constant::getNullValue(PtrType)); in getBaseClassArray()
H A DCGBuiltin.cpp1360 llvm::Type *PtrType = CGF.UnqualPtrTy; in emitPPCLoadReserveIntrinsic() local
1361 llvm::FunctionType *FTy = llvm::FunctionType::get(RetType, {PtrType}, false); in emitPPCLoadReserveIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp766 PointerType * PtrType = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), in LowerImplicitParameter() local
774 MachinePointerInfo(ConstantPointerNull::get(PtrType))); in LowerImplicitParameter()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp182 if (const auto *PtrType = dyn_cast<PointerType>(FromType)) { in CheckNoDeref() local
183 if (PtrType->getPointeeType()->hasAttr(attr::NoDeref)) { in CheckNoDeref()
H A DSemaDeclAttr.cpp5529 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftIndirectResultType() local
5530 Ty = PtrType->getPointeeType(); in isValidSwiftIndirectResultType()
5541 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftErrorResultType() local
5542 Ty = PtrType->getPointeeType(); in isValidSwiftErrorResultType()
H A DSemaChecking.cpp6080 const PointerType *PtrType = PointerArg->getType()->getAs<PointerType>(); in CheckRISCVBuiltinFunctionCall() local
6081 if (!PtrType) { in CheckRISCVBuiltinFunctionCall()
6087 QualType ValType = PtrType->getPointeeType(); in CheckRISCVBuiltinFunctionCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp852 Error typeCheckLoadStoreInst(Type *ValType, Type *PtrType);
4554 Error BitcodeReader::typeCheckLoadStoreInst(Type *ValType, Type *PtrType) { in typeCheckLoadStoreInst() argument
4555 if (!isa<PointerType>(PtrType)) in typeCheckLoadStoreInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6492 EVT PtrType = LDST->getBasePtr().getValueType(); in isLegalNarrowLdSt() local
6493 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegalNarrowLdSt()
19019 EVT PtrType = Origin->getBasePtr().getValueType(); in isLegal() local
19020 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegal()
19028 if (!TLI.isOperationLegal(ISD::ADD, PtrType)) in isLegal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5628 EVT PtrType = Ptr.getValueType(); in expandf64Toi32() local
5630 PtrType, Ptr, DAG.getConstant(4, dl, PtrType)); in expandf64Toi32()