| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeIndexDiscovery.cpp | 267 Refs.push_back({TiRefKind::TypeRef, 0, 1}); in handlePointer() 271 Refs.push_back({TiRefKind::TypeRef, 8, 1}); in handlePointer() 347 handleMethodOverloadList(Content, Refs); in discoverTypeIndices() 350 handleFieldList(Content, Refs); in discoverTypeIndices() 353 handlePointer(Content, Refs); in discoverTypeIndices() 468 if (Refs.empty()) in resolveTypeIndexReferences() 474 for (const auto &Ref : Refs) { in resolveTypeIndexReferences() 489 SmallVector<TiReference, 4> Refs; in discoverTypeIndices() local 490 discoverTypeIndices(RecordData, Refs); in discoverTypeIndices() 514 Refs); in discoverTypeIndicesInSymbol() [all …]
|
| H A D | TypeHashing.cpp | 36 SmallVector<TiReference, 4> Refs; in hashType() local 37 discoverTypeIndices(RecordData, Refs); in hashType() 43 for (const auto &Ref : Refs) { in hashType()
|
| H A D | TypeRecordHelpers.cpp | 49 SmallVector<TypeIndex, 1> Refs; in getModifiedType() local 50 discoverTypeIndices(CVT, Refs); in getModifiedType() 51 return Refs.front(); in getModifiedType()
|
| H A D | TypeStreamMerger.cpp | 395 SmallVector<TiReference, 4> Refs; in remapIndices() local 396 discoverTypeIndices(OriginalType.RecordData, Refs); in remapIndices() 397 if (Refs.empty() && Align == 0) in remapIndices() 405 for (auto &Ref : Refs) { in remapIndices()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeIndexDiscovery.h | 27 SmallVectorImpl<TiReference> &Refs); 29 SmallVectorImpl<TiReference> &Refs); 38 SmallVectorImpl<TiReference> &Refs); 40 SmallVectorImpl<TiReference> &Refs);
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | SmallString.h | 35 SmallString(std::initializer_list<StringRef> Refs) in SmallString() argument 37 this->append(Refs); in SmallString() 56 void assign(std::initializer_list<StringRef> Refs) { in assign() argument 58 append(Refs); in assign() 73 void append(std::initializer_list<StringRef> Refs) { in append() argument 76 for (const StringRef &Ref : Refs) in append() 79 for (const StringRef &Ref : Refs) { in append()
|
| H A D | STLExtras.h | 2184 template <typename... Refs> struct enumerator_result; 2212 template <typename... Refs> struct enumerator_result<std::size_t, Refs...> { 2213 static constexpr std::size_t NumRefs = sizeof...(Refs); 2219 using range_reference_tuple = std::tuple<Refs...>; 2224 enumerator_result(std::size_t Index, Refs &&...Rs) 2225 : Idx(Index), Storage(std::forward<Refs>(Rs)...) {} 2534 template <typename... Refs> 2538 template <std::size_t I, typename... Refs> 2540 : std::tuple_element<I, std::tuple<Refs...>> {}; 2542 template <std::size_t I, typename... Refs> [all …]
|
| H A D | IntervalMap.h | 1297 SmallVector<IntervalMapImpl::NodeRef, 4> Refs, NextRefs; in visitNodes() local 1301 Refs.push_back(rootBranch().subtree(i)); in visitNodes() 1305 for (unsigned i = 0, e = Refs.size(); i != e; ++i) { in visitNodes() 1306 for (unsigned j = 0, s = Refs[i].size(); j != s; ++j) in visitNodes() 1307 NextRefs.push_back(Refs[i].subtree(j)); in visitNodes() 1308 (this->*f)(Refs[i], h); in visitNodes() 1310 Refs.clear(); in visitNodes() 1311 Refs.swap(NextRefs); in visitNodes() 1315 for (unsigned i = 0, e = Refs.size(); i != e; ++i) in visitNodes() 1316 (this->*f)(Refs[i], 0); in visitNodes()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndexYAML.h | 141 std::vector<uint64_t> Refs; 186 io.mapOptional("Refs", summary.Refs); 219 std::vector<ValueInfo> Refs; 220 for (auto &RefGUID : FSum.Refs) { 223 Refs.push_back(ValueInfo(/*IsAnalysis=*/false, &*V.find(RefGUID))); 231 /*NumInsts=*/0, FunctionSummary::FFlags{}, /*EntryCount=*/0, Refs, 246 std::vector<uint64_t> Refs; 248 Refs.push_back(VI.getGUID()); 254 static_cast<bool>(FSum->flags().CanAutoHide), Refs,
|
| H A D | ModuleSummaryIndex.h | 512 GlobalValueSummary(SummaryKind K, GVFlags Flags, std::vector<ValueInfo> Refs) 513 : Kind(K), Flags(Flags), RefEdgeList(std::move(Refs)) { 514 assert((K != AliasKind || Refs.empty()) && 874 uint64_t EntryCount, std::vector<ValueInfo> Refs, 883 : GlobalValueSummary(FunctionKind, Flags, std::move(Refs)), 1127 std::vector<ValueInfo> Refs) 1128 : GlobalValueSummary(GlobalVarKind, Flags, std::move(Refs)),
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransAutoreleasePool.cpp | 93 clearRefsIn(info.Dcl, info.Refs); in ~AutoreleasePoolRewriter() 98 clearRefsIn(*scope.Begin, info.Refs); in ~AutoreleasePoolRewriter() 99 clearRefsIn(*scope.End, info.Refs); in ~AutoreleasePoolRewriter() 100 clearRefsIn(scope.Releases.begin(), scope.Releases.end(), info.Refs); in ~AutoreleasePoolRewriter() 105 if (info.Refs.empty()) in ~AutoreleasePoolRewriter() 175 collectRefs(VD, S, info.Refs); in VisitCompoundStmt() 421 ExprSet Refs; member
|
| H A D | TransProtectedScope.cpp | 27 SmallVectorImpl<DeclRefExpr *> &Refs; member in __anon4b553caa0111::LocalRefsCollector 31 : Refs(refs) { } in LocalRefsCollector() 36 Refs.push_back(E); in VisitDeclRefExpr()
|
| H A D | Transforms.cpp | 214 ExprSet &Refs; member in __anon0b66d26d0111::ReferenceClear 216 ReferenceClear(ExprSet &refs) : Refs(refs) { } in ReferenceClear() 217 bool VisitDeclRefExpr(DeclRefExpr *E) { Refs.erase(E); return true; } in VisitDeclRefExpr() 222 ExprSet &Refs; member in __anon0b66d26d0111::ReferenceCollector 226 : Dcl(D), Refs(refs) { } in ReferenceCollector() 230 Refs.insert(E); in VisitDeclRefExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ExecutionDomainFix.h | 53 unsigned Refs = 0; member 167 ++DV->Refs; in retain()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExecutionDomainFix.cpp | 30 assert(dv->Refs == 0 && "Reference count wasn't cleared"); in alloc() 37 assert(DV->Refs && "Bad DomainValue"); in release() 38 if (--DV->Refs) in release() 121 if (!LiveRegs.empty() && dv->Refs > 1) in collapse()
|
| H A D | RDFGraph.cpp | 1139 NodeList Refs; in getRelatedRefs() local 1142 Refs.push_back(RA); in getRelatedRefs() 1145 return Refs; in getRelatedRefs() 1483 NodeList Refs = PA.Addr->members(*this); in removeUnusedPhis() local 1484 if (HasUsedDef(Refs)) in removeUnusedPhis() 1486 for (Ref RA : Refs) { in removeUnusedPhis()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonRDFOpt.cpp | 202 NodeList Refs = IA.Addr->members(DFG); in removeOperand() local 203 for (NodeAddr<RefNode*> RA : Refs) in removeOperand() 208 for (NodeAddr<RefNode*> RA : Refs) { in removeOperand()
|
| H A D | HexagonConstExtenders.cpp | 403 void calculatePlacement(const ExtenderInit &ExtI, const IndexList &Refs, 1478 void HCE::calculatePlacement(const ExtenderInit &ExtI, const IndexList &Refs, in calculatePlacement() argument 1480 if (Refs.empty()) in calculatePlacement() 1490 const ExtDesc &ED0 = Extenders[Refs[0]]; in calculatePlacement() 1494 for (unsigned i = 1, e = Refs.size(); i != e; ++i) { in calculatePlacement() 1495 const ExtDesc &ED = Extenders[Refs[i]]; in calculatePlacement() 1526 Defs.emplace_back(DefLoc, Refs); in calculatePlacement()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | TypeReferenceTracker.h | 45 ArrayRef<codeview::TiReference> Refs);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 530 std::vector<ValueInfo> Refs; in computeFunctionSummary() local 576 Refs = RefEdges.takeVector(); in computeFunctionSummary() 578 Refs[RefCnt].setReadOnly(); in computeFunctionSummary() 580 for (; RefCnt < Refs.size(); ++RefCnt) in computeFunctionSummary() 581 Refs[RefCnt].setWriteOnly(); in computeFunctionSummary() 583 Refs = RefEdges.takeVector(); in computeFunctionSummary() 632 Flags, NumInsts, FunFlags, /*EntryCount=*/0, std::move(Refs), in computeFunctionSummary()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ModuleSummaryIndex.cpp | 80 auto Refs = refs(); in specialRefCounts() local 83 for (I = Refs.size() - 1; I >= 0 && Refs[I].isWriteOnly(); --I) in specialRefCounts() 85 for (; I >= 0 && Refs[I].isReadOnly(); --I) in specialRefCounts()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 246 const auto Refs = match( in tryEachDeclRef() local 256 for (const auto &RefNodes : Refs) { in tryEachDeclRef() 586 const auto Refs = match( in findReferenceMutation() local 599 return findDeclMutation(Refs); in findReferenceMutation()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-lto/ |
| H A D | llvm-lto.cpp | 380 unsigned Calls = 0, Refs = 0, Functions = 0, Alias = 0, Globals = 0; in printIndexStats() local 383 Refs += Summary->refs().size(); in printIndexStats() 396 << " globals) and " << (Calls + Refs) << " edges (" << Refs in printIndexStats()
|
| /freebsd-14.2/tools/debugscripts/ |
| H A D | gdbinit.kernel | 343 printf "Id Refs Address Size Name\n" 357 printf "Id Refs Address Size Name\n"
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 7195 assert(ROCnt + WOCnt <= Refs.size()); in setSpecialRefs() 7196 unsigned FirstWORef = Refs.size() - WOCnt; in setSpecialRefs() 7199 Refs[RefNo].setReadOnly(); in setSpecialRefs() 7200 for (; RefNo < Refs.size(); ++RefNo) in setSpecialRefs() 7201 Refs[RefNo].setWriteOnly(); in setSpecialRefs() 7337 std::vector<ValueInfo> Refs = makeRefList( in parseEntireSummary() local 7344 setSpecialRefs(Refs, NumRORefs, NumWORefs); in parseEntireSummary() 7412 std::vector<ValueInfo> Refs = in parseEntireSummary() local 7433 std::vector<ValueInfo> Refs = makeRefList( in parseEntireSummary() local 7494 std::vector<ValueInfo> Refs = makeRefList( in parseEntireSummary() local [all …]
|