Home
last modified time | relevance | path

Searched refs:Refs (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeIndexDiscovery.cpp70 SmallVectorImpl<TiReference> &Refs) { in handleMethodOverloadList() argument
86 Refs.push_back({TiRefKind::TypeRef, Offset + 4, 1}); in handleMethodOverloadList()
96 SmallVectorImpl<TiReference> &Refs) { in handleBaseClass() argument
101 Refs.push_back({TiRefKind::TypeRef, Offset + 4, 1}); in handleBaseClass()
106 SmallVectorImpl<TiReference> &Refs) { in handleEnumerator() argument
116 SmallVectorImpl<TiReference> &Refs) { in handleDataMember() argument
122 Refs.push_back({TiRefKind::TypeRef, Offset + 4, 1}); in handleDataMember()
128 SmallVectorImpl<TiReference> &Refs) { in handleOverloadedMethod() argument
133 Refs.push_back({TiRefKind::TypeRef, Offset + 4, 1}); in handleOverloadedMethod()
138 SmallVectorImpl<TiReference> &Refs) { in handleOneMethod() argument
156 handleNestedType(ArrayRef<uint8_t> Data,uint32_t Offset,SmallVectorImpl<TiReference> & Refs) handleNestedType() argument
166 handleStaticDataMember(ArrayRef<uint8_t> Data,uint32_t Offset,SmallVectorImpl<TiReference> & Refs) handleStaticDataMember() argument
177 handleVirtualBaseClass(ArrayRef<uint8_t> Data,uint32_t Offset,bool IsIndirect,SmallVectorImpl<TiReference> & Refs) handleVirtualBaseClass() argument
192 handleVFPtr(ArrayRef<uint8_t> Data,uint32_t Offset,SmallVectorImpl<TiReference> & Refs) handleVFPtr() argument
201 handleListContinuation(ArrayRef<uint8_t> Data,uint32_t Offset,SmallVectorImpl<TiReference> & Refs) handleListContinuation() argument
210 handleFieldList(ArrayRef<uint8_t> Content,SmallVectorImpl<TiReference> & Refs) handleFieldList() argument
266 handlePointer(ArrayRef<uint8_t> Content,SmallVectorImpl<TiReference> & Refs) handlePointer() argument
275 discoverTypeIndices(ArrayRef<uint8_t> Content,TypeLeafKind Kind,SmallVectorImpl<TiReference> & Refs) discoverTypeIndices() argument
361 discoverTypeIndices(ArrayRef<uint8_t> Content,SymbolKind Kind,SmallVectorImpl<TiReference> & Refs) discoverTypeIndices() argument
458 discoverTypeIndices(const CVType & Type,SmallVectorImpl<TiReference> & Refs) discoverTypeIndices() argument
463 resolveTypeIndexReferences(ArrayRef<uint8_t> RecordData,ArrayRef<TiReference> Refs,SmallVectorImpl<TypeIndex> & Indices) resolveTypeIndexReferences() argument
488 SmallVector<TiReference, 4> Refs; discoverTypeIndices() local
494 discoverTypeIndices(ArrayRef<uint8_t> RecordData,SmallVectorImpl<TiReference> & Refs) discoverTypeIndices() argument
502 discoverTypeIndicesInSymbol(const CVSymbol & Sym,SmallVectorImpl<TiReference> & Refs) discoverTypeIndicesInSymbol() argument
508 discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData,SmallVectorImpl<TiReference> & Refs) discoverTypeIndicesInSymbol() argument
518 SmallVector<TiReference, 2> Refs; discoverTypeIndicesInSymbol() local
[all...]
H A DTypeHashing.cpp36 SmallVector<TiReference, 4> Refs; in hashType() local
37 discoverTypeIndices(RecordData, Refs); in hashType()
43 for (const auto &Ref : Refs) { in hashType()
H A DTypeRecordHelpers.cpp49 SmallVector<TypeIndex, 1> Refs; in getModifiedType() local
50 discoverTypeIndices(CVT, Refs); in getModifiedType()
51 return Refs.front(); in getModifiedType()
H A DTypeStreamMerger.cpp395 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/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeIndexDiscovery.h27 SmallVectorImpl<TiReference> &Refs);
29 SmallVectorImpl<TiReference> &Refs);
38 SmallVectorImpl<TiReference> &Refs);
40 SmallVectorImpl<TiReference> &Refs);
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallString.h35 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 DSTLExtras.h2210 template <typename... Refs> struct enumerator_result;
2238 template <typename... Refs> struct enumerator_result<std::size_t, Refs...> {
2239 static constexpr std::size_t NumRefs = sizeof...(Refs);
2245 using range_reference_tuple = std::tuple<Refs...>;
2248 using value_reference_tuple = std::tuple<std::size_t, Refs...>;
2250 enumerator_result(std::size_t Index, Refs &&...Rs)
2251 : Idx(Index), Storage(std::forward<Refs>(Rs)...) {}
2560 template <typename... Refs>
2561 struct tuple_size<llvm::detail::enumerator_result<Refs...>>
2562 : std::integral_constant<std::size_t, sizeof...(Refs)> {};
[all …]
H A DIntervalMap.h1297 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[ in visitNodes()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h142 std::vector<uint64_t> Refs;
188 io.mapOptional("Refs", summary.Refs);
221 std::vector<ValueInfo> Refs;
222 for (auto &RefGUID : FSum.Refs) {
225 Refs.push_back(ValueInfo(/*IsAnalysis=*/false, &*V.find(RefGUID)));
234 /*NumInsts=*/0, FunctionSummary::FFlags{}, /*EntryCount=*/0, Refs,
249 std::vector<uint64_t> Refs;
251 Refs.push_back(VI.getGUID());
258 FSum->flags().ImportType, Refs, FSum->type_tests(),
H A DModuleSummaryIndex.h544 GlobalValueSummary(SummaryKind K, GVFlags Flags, std::vector<ValueInfo> Refs)
545 : Kind(K), Flags(Flags), RefEdgeList(std::move(Refs)) {
546 assert((K != AliasKind || Refs.empty()) &&
916 uint64_t EntryCount, std::vector<ValueInfo> Refs,
925 : GlobalValueSummary(FunctionKind, Flags, std::move(Refs)),
1169 std::vector<ValueInfo> Refs)
1170 : GlobalValueSummary(GlobalVarKind, Flags, std::move(Refs)),
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp27 SmallVectorImpl<DeclRefExpr *> &Refs; member in __anon2f6a04b40111::LocalRefsCollector
31 : Refs(refs) { } in LocalRefsCollector()
36 Refs.push_back(E); in VisitDeclRefExpr()
H A DTransforms.cpp215 ExprSet &Refs; member in __anon26e897370111::ReferenceClear
217 ReferenceClear(ExprSet &refs) : Refs(refs) { } in ReferenceClear()
218 bool VisitDeclRefExpr(DeclRefExpr *E) { Refs.erase(E); return true; } in VisitDeclRefExpr()
223 ExprSet &Refs; member in __anon26e897370111::ReferenceCollector
227 : Dcl(D), Refs(refs) { } in ReferenceCollector()
231 Refs.insert(E); in VisitDeclRefExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DExecutionDomainFix.h53 unsigned Refs = 0; member
167 ++DV->Refs; in retain()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExecutionDomainFix.cpp30 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 DRDFGraph.cpp1139 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()
H A DRDFLiveness.cpp374 NodeList Refs = I.Addr->members(DFG); in getNearestAliasedRef() local
378 for (NodeAddr<RefNode *> R : Refs) { in getNearestAliasedRef()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonRDFOpt.cpp205 NodeList Refs = IA.Addr->members(DFG); in removeOperand() local
206 for (NodeAddr<RefNode*> RA : Refs) in removeOperand()
211 for (NodeAddr<RefNode*> RA : Refs) { in removeOperand()
H A DHexagonConstExtenders.cpp403 void calculatePlacement(const ExtenderInit &ExtI, const IndexList &Refs,
1481 void HCE::calculatePlacement(const ExtenderInit &ExtI, const IndexList &Refs, in calculatePlacement() argument
1483 if (Refs.empty()) in calculatePlacement()
1493 const ExtDesc &ED0 = Extenders[Refs[0]]; in calculatePlacement()
1497 for (unsigned i = 1, e = Refs.size(); i != e; ++i) { in calculatePlacement()
1498 const ExtDesc &ED = Extenders[Refs[i]]; in calculatePlacement()
1529 Defs.emplace_back(DefLoc, Refs); in calculatePlacement()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp80 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/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp571 std::vector<ValueInfo> Refs; in computeFunctionSummary() local
617 Refs = RefEdges.takeVector(); in computeFunctionSummary()
619 Refs[RefCnt].setReadOnly(); in computeFunctionSummary()
621 for (; RefCnt < Refs.size(); ++RefCnt) in computeFunctionSummary()
622 Refs[RefCnt].setWriteOnly(); in computeFunctionSummary()
624 Refs = RefEdges.takeVector(); in computeFunctionSummary()
674 Flags, NumInsts, FunFlags, /*EntryCount=*/0, std::move(Refs), in computeFunctionSummary()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DTypeReferenceTracker.h45 ArrayRef<codeview::TiReference> Refs);
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp254 const auto Refs = match( in tryEachDeclRef() local
264 for (const auto &RefNodes : Refs) { in tryEachDeclRef()
601 const auto Refs = match( in findReferenceMutation() local
614 return findDeclMutation(Refs); in findReferenceMutation()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp389 unsigned Calls = 0, Refs = 0, Functions = 0, Alias = 0, Globals = 0; in printIndexStats() local
392 Refs += Summary->refs().size(); in printIndexStats()
405 << " globals) and " << (Calls + Refs) << " edges (" << Refs in printIndexStats()
/freebsd/tools/debugscripts/
H A Dgdbinit.kernel343 printf "Id Refs Address Size Name\n"
357 printf "Id Refs Address Size Name\n"
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp7507 static void setSpecialRefs(std::vector<ValueInfo> &Refs, unsigned ROCnt, in setSpecialRefs() argument
7510 assert(ROCnt + WOCnt <= Refs.size()); in setSpecialRefs()
7511 unsigned FirstWORef = Refs.size() - WOCnt; in setSpecialRefs()
7514 Refs[RefNo].setReadOnly(); in setSpecialRefs()
7515 for (; RefNo < Refs.size(); ++RefNo) in setSpecialRefs()
7516 Refs[RefNo].setWriteOnly(); in setSpecialRefs()
7652 std::vector<ValueInfo> Refs = makeRefList( in parseEntireSummary() local
7659 setSpecialRefs(Refs, NumRORefs, NumWORefs); in parseEntireSummary()
7673 std::move(Refs), std::move(Calls), std::move(PendingTypeTests), in parseEntireSummary()
7727 std::vector<ValueInfo> Refs = in parseEntireSummary() local
[all …]

12