Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DSmallPtrSet.h342 template <typename PtrType>
344 using ConstPtrType = typename add_const_past_pointer<PtrType>::type;
345 using PtrTraits = PointerLikeTypeTraits<PtrType>;
353 using iterator = SmallPtrSetIterator<PtrType>;
354 using const_iterator = SmallPtrSetIterator<PtrType>;
356 using value_type = PtrType;
364 std::pair<iterator, bool> insert(PtrType Ptr) {
372 iterator insert(iterator, PtrType Ptr) {
378 bool erase(PtrType Ptr) {
398 void insert(std::initializer_list<PtrType> IL) {
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
H A Dbenchmark.cc294 typedef std::unique_ptr<BenchmarkReporter> PtrType; in CreateReporter() typedef
296 return PtrType(new ConsoleReporter(output_opts)); in CreateReporter()
298 return PtrType(new JSONReporter); in CreateReporter()
300 return PtrType(new CSVReporter); in CreateReporter()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
H A Dbenchmark.cc445 typedef std::unique_ptr<BenchmarkReporter> PtrType; in CreateReporter() typedef
447 return PtrType(new ConsoleReporter(output_opts)); in CreateReporter()
449 return PtrType(new JSONReporter); in CreateReporter()
451 return PtrType(new CSVReporter); in CreateReporter()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DIRBuilder.cpp969 auto *PtrType = Ptr->getType(); in CreateLaunderInvariantGroup() local
970 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace()); in CreateLaunderInvariantGroup()
971 if (PtrType != Int8PtrTy) in CreateLaunderInvariantGroup()
984 if (PtrType != Int8PtrTy) in CreateLaunderInvariantGroup()
985 return CreateBitCast(Fn, PtrType); in CreateLaunderInvariantGroup()
994 auto *PtrType = Ptr->getType(); in CreateStripInvariantGroup() local
995 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace()); in CreateStripInvariantGroup()
996 if (PtrType != Int8PtrTy) in CreateStripInvariantGroup()
1009 if (PtrType != Int8PtrTy) in CreateStripInvariantGroup()
1010 return CreateBitCast(Fn, PtrType); in CreateStripInvariantGroup()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp766 PointerType *PtrType = G->getType(); in writeAlias() local
768 PtrType->getElementType(), PtrType->getAddressSpace(), in writeAlias()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DMveEmitter.cpp641 const PointerType *PtrType; member in __anone3a730d20111::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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp365 std::string PtrType = in visitKnownRecord() local
368 Attr += "[ Type: " + PtrType; in visitKnownRecord()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DModule.h52 template <class PtrType> class SmallPtrSetImpl;
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCast.cpp168 if (const auto *PtrType = dyn_cast<PointerType>(FromType)) { in CheckNoDeref() local
169 if (PtrType->getPointeeType()->hasAttr(attr::NoDeref)) { in CheckNoDeref()
H A DSemaDeclAttr.cpp4849 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftIndirectResultType() local
4850 Ty = PtrType->getPointeeType(); in isValidSwiftIndirectResultType()
4861 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftErrorResultType() local
4862 Ty = PtrType->getPointeeType(); in isValidSwiftErrorResultType()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp755 Error typeCheckLoadStoreInst(Type *ValType, Type *PtrType);
3844 Error BitcodeReader::typeCheckLoadStoreInst(Type *ValType, Type *PtrType) { in typeCheckLoadStoreInst() argument
3845 if (!isa<PointerType>(PtrType)) in typeCheckLoadStoreInst()
3848 if (!cast<PointerType>(PtrType)->isOpaqueOrPointeeTypeMatches(ValType)) in typeCheckLoadStoreInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5270 EVT PtrType = LDST->getBasePtr().getValueType(); in isLegalNarrowLdSt() local
5271 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegalNarrowLdSt()
15942 EVT PtrType = Origin->getBasePtr().getValueType(); in isLegal() local
15943 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegal()
15951 if (!TLI.isOperationLegal(ISD::ADD, PtrType)) in isLegal()
18410 EVT PtrType = NewPtr.getValueType(); in scalarizeExtractedVectorLoad() local
18416 Offset = DAG.getConstant(PtrOff, DL, PtrType); in scalarizeExtractedVectorLoad()
18419 Offset = DAG.getZExtOrTrunc(EltNo, DL, PtrType); in scalarizeExtractedVectorLoad()
18421 ISD::MUL, DL, PtrType, Offset, in scalarizeExtractedVectorLoad()
18422 DAG.getConstant(VecEltVT.getStoreSize(), DL, PtrType)); in scalarizeExtractedVectorLoad()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp507 Type *PtrType = GV->getType(); in hasTocDataAttr() local
508 assert(PtrType->isPointerTy() && in hasTocDataAttr()
511 Type *GVType = dyn_cast<PointerType>(PtrType)->getElementType(); in hasTocDataAttr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5370 EVT PtrType = Ptr.getValueType(); in expandf64Toi32() local
5373 PtrType, Ptr, DAG.getConstant(4, dl, PtrType)); in expandf64Toi32()