Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallPtrSet.h342 template <typename PtrType>
356 using value_type = PtrType;
372 iterator insert(iterator, PtrType Ptr) {
378 bool erase(PtrType Ptr) {
422 template <typename PtrType>
438 template <typename PtrType>
448 template<class PtrType, unsigned SmallSize>
455 using BaseT = SmallPtrSetImpl<PtrType>;
478 SmallPtrSet<PtrType, SmallSize> &
485 SmallPtrSet<PtrType, SmallSize> &
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp1009 auto *PtrType = Ptr->getType(); in CreateLaunderInvariantGroup() local
1010 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace()); in CreateLaunderInvariantGroup()
1011 if (PtrType != Int8PtrTy) in CreateLaunderInvariantGroup()
1024 if (PtrType != Int8PtrTy) in CreateLaunderInvariantGroup()
1025 return CreateBitCast(Fn, PtrType); in CreateLaunderInvariantGroup()
1034 auto *PtrType = Ptr->getType(); in CreateStripInvariantGroup() local
1035 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace()); in CreateStripInvariantGroup()
1036 if (PtrType != Int8PtrTy) in CreateStripInvariantGroup()
1049 if (PtrType != Int8PtrTy) in CreateStripInvariantGroup()
1050 return CreateBitCast(Fn, PtrType); in CreateStripInvariantGroup()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSArray.cpp147 template <typename PtrType>
149 PtrType _cow;
151 PtrType _data;
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp636 QualType PtrType = Iterator->getType(); in handlePtrIncrOrDecr() local
637 if (!PtrType->isPointerType()) in handlePtrIncrOrDecr()
639 QualType ElementType = PtrType->getPointeeType(); in handlePtrIncrOrDecr()
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp641 const PointerType *PtrType; member in __anonb7c02cfb0111::PointerCastResult
643 PointerCastResult(const PointerType *PtrType, Ptr V) in PointerCastResult() argument
644 : PtrType(PtrType), V(V) {} in PointerCastResult()
648 << ParamAlloc.allocParam("llvm::Type *", PtrType->llvmName()) << ")"; in genCode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp769 PointerType *PtrType = G->getType(); in writeAlias() local
770 auto *GA = GlobalAlias::create(G->getValueType(), PtrType->getAddressSpace(), in writeAlias()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp365 std::string PtrType = in visitKnownRecord() local
368 Attr += "[ Type: " + PtrType; in visitKnownRecord()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h52 template <class PtrType> class SmallPtrSetImpl;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1666 IntegerType *PtrType = DL.getIntPtrType((B.GetInsertBlock()->getContext())); in emitCalloc() local
1668 CallocName, Attrs, B.getInt8PtrTy(), PtrType, PtrType); in emitCalloc()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp475 llvm::Type *getImageRelativeType(llvm::Type *PtrType) { in getImageRelativeType() argument
477 return PtrType; in getImageRelativeType()
3706 llvm::Type *PtrType = ABI.getImageRelativeType( in getBaseClassArray() local
3708 auto *ArrType = llvm::ArrayType::get(PtrType, Classes.size() + 1); in getBaseClassArray()
3721 BaseClassArrayData.push_back(llvm::Constant::getNullValue(PtrType)); in getBaseClassArray()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp177 if (const auto *PtrType = dyn_cast<PointerType>(FromType)) { in CheckNoDeref() local
178 if (PtrType->getPointeeType()->hasAttr(attr::NoDeref)) { in CheckNoDeref()
H A DSemaDeclAttr.cpp4946 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftIndirectResultType() local
4947 Ty = PtrType->getPointeeType(); in isValidSwiftIndirectResultType()
4958 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftErrorResultType() local
4959 Ty = PtrType->getPointeeType(); in isValidSwiftErrorResultType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp817 PointerType * PtrType = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), in LowerImplicitParameter() local
825 MachinePointerInfo(ConstantPointerNull::get(PtrType))); in LowerImplicitParameter()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp723 Error typeCheckLoadStoreInst(Type *ValType, Type *PtrType);
3803 Error BitcodeReader::typeCheckLoadStoreInst(Type *ValType, Type *PtrType) { in typeCheckLoadStoreInst() argument
3804 if (!isa<PointerType>(PtrType)) in typeCheckLoadStoreInst()
3807 if (!cast<PointerType>(PtrType)->isOpaqueOrPointeeTypeMatches(ValType)) in typeCheckLoadStoreInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5300 EVT PtrType = LDST->getBasePtr().getValueType(); in isLegalNarrowLdSt() local
5301 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegalNarrowLdSt()
16137 EVT PtrType = Origin->getBasePtr().getValueType(); in isLegal() local
16138 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegal()
16146 if (!TLI.isOperationLegal(ISD::ADD, PtrType)) in isLegal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5522 EVT PtrType = Ptr.getValueType(); in expandf64Toi32() local
5525 PtrType, Ptr, DAG.getConstant(4, dl, PtrType)); in expandf64Toi32()