Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DTypeIndexDiscovery.cpp267 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()
465 if (Refs.empty()) in resolveTypeIndexReferences()
471 for (const auto &Ref : Refs) { in resolveTypeIndexReferences()
486 SmallVector<TiReference, 4> Refs; in discoverTypeIndices() local
487 discoverTypeIndices(RecordData, Refs); in discoverTypeIndices()
511 Refs); in discoverTypeIndicesInSymbol()
[all …]
H A DTypeRecordHelpers.cpp50 SmallVector<TypeIndex, 1> Refs; in getModifiedType() local
51 discoverTypeIndices(CVT, Refs); in getModifiedType()
52 return Refs.front(); in getModifiedType()
H A DTypeHashing.cpp37 SmallVector<TiReference, 4> Refs; in hashType() local
38 discoverTypeIndices(RecordData, Refs); in hashType()
44 for (const auto &Ref : Refs) { in hashType()
H A DTypeStreamMerger.cpp404 SmallVector<TiReference, 4> Refs; in remapIndices() local
405 discoverTypeIndices(OriginalType.RecordData, Refs); in remapIndices()
406 if (Refs.empty()) in remapIndices()
414 for (auto &Ref : Refs) { in remapIndices()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeIndexDiscovery.h28 SmallVectorImpl<TiReference> &Refs);
30 SmallVectorImpl<TiReference> &Refs);
39 SmallVectorImpl<TiReference> &Refs);
41 SmallVectorImpl<TiReference> &Refs);
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h141 std::vector<uint64_t> Refs;
184 io.mapOptional("Refs", summary.Refs);
217 std::vector<ValueInfo> Refs;
218 for (auto &RefGUID : FSum.Refs) {
221 Refs.push_back(ValueInfo(/*IsAnalysis=*/false, &*V.find(RefGUID)));
227 /*NumInsts=*/0, FunctionSummary::FFlags{}, /*EntryCount=*/0, Refs,
240 std::vector<uint64_t> Refs;
242 Refs.push_back(VI.getGUID());
247 static_cast<bool>(FSum->flags().DSOLocal), Refs,
H A DModuleSummaryIndex.h317 GlobalValueSummary(SummaryKind K, GVFlags Flags, std::vector<ValueInfo> Refs)
318 : Kind(K), Flags(Flags), RefEdgeList(std::move(Refs)) {
319 assert((K != AliasKind || Refs.empty()) &&
536 uint64_t EntryCount, std::vector<ValueInfo> Refs,
543 : GlobalValueSummary(FunctionKind, Flags, std::move(Refs)),
684 std::vector<ValueInfo> Refs)
685 : GlobalValueSummary(GlobalVarKind, Flags, std::move(Refs)),
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp94 clearRefsIn(info.Dcl, info.Refs); in ~AutoreleasePoolRewriter()
99 clearRefsIn(*scope.Begin, info.Refs); in ~AutoreleasePoolRewriter()
100 clearRefsIn(*scope.End, info.Refs); in ~AutoreleasePoolRewriter()
101 clearRefsIn(scope.Releases.begin(), scope.Releases.end(), info.Refs); in ~AutoreleasePoolRewriter()
106 if (info.Refs.empty()) in ~AutoreleasePoolRewriter()
176 collectRefs(VD, S, info.Refs); in VisitCompoundStmt()
421 ExprSet Refs; member
H A DTransProtectedScope.cpp27 SmallVectorImpl<DeclRefExpr *> &Refs; member in __anonbacc8b230111::LocalRefsCollector
31 : Refs(refs) { } in LocalRefsCollector()
36 Refs.push_back(E); in VisitDeclRefExpr()
H A DTransforms.cpp216 ExprSet &Refs; member in __anon0f446cc60111::ReferenceClear
218 ReferenceClear(ExprSet &refs) : Refs(refs) { } in ReferenceClear()
219 bool VisitDeclRefExpr(DeclRefExpr *E) { Refs.erase(E); return true; } in VisitDeclRefExpr()
224 ExprSet &Refs; member in __anon0f446cc60111::ReferenceCollector
228 : Dcl(D), Refs(refs) { } in ReferenceCollector()
232 Refs.insert(E); in VisitDeclRefExpr()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DExecutionDomainFix.h55 unsigned Refs = 0; member
159 ++DV->Refs; in retain()
/freebsd-12.1/contrib/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()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp130 const auto Refs = in tryEachDeclRef() local
133 for (const auto &RefNodes : Refs) { in tryEachDeclRef()
347 const auto Refs = match( in findReferenceMutation() local
362 return findDeclMutation(Refs); in findReferenceMutation()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonRDFOpt.cpp200 NodeList Refs = IA.Addr->members(DFG); in removeOperand() local
201 for (NodeAddr<RefNode*> RA : Refs) in removeOperand()
206 for (NodeAddr<RefNode*> RA : Refs) { in removeOperand()
H A DHexagonConstExtenders.cpp401 void calculatePlacement(const ExtenderInit &ExtI, const IndexList &Refs,
1476 void HCE::calculatePlacement(const ExtenderInit &ExtI, const IndexList &Refs, in calculatePlacement() argument
1478 if (Refs.empty()) in calculatePlacement()
1488 const ExtDesc &ED0 = Extenders[Refs[0]]; in calculatePlacement()
1492 for (unsigned i = 1, e = Refs.size(); i != e; ++i) { in calculatePlacement()
1493 const ExtDesc &ED = Extenders[Refs[i]]; in calculatePlacement()
1524 Defs.emplace_back(DefLoc, Refs); in calculatePlacement()
H A DRDFGraph.cpp1151 NodeList Refs; in getRelatedRefs() local
1154 Refs.push_back(RA); in getRelatedRefs()
1157 return Refs; in getRelatedRefs()
1561 NodeList Refs = PA.Addr->members(*this); in removeUnusedPhis() local
1562 if (HasUsedDef(Refs)) in removeUnusedPhis()
1564 for (NodeAddr<RefNode*> RA : Refs) { in removeUnusedPhis()
H A DHexagonISelDAGToDAGHVX.cpp1346 DenseMap<SDNode*, SDNode**> Refs; member
1350 Refs[N] = &N; in NullifyingVector()
1354 auto F = Refs.find(N); in erase()
1355 if (F != Refs.end()) in erase()
H A DRDFLiveness.cpp341 NodeList Refs = I.Addr->members(DFG); in getNearestAliasedRef() local
345 for (NodeAddr<RefNode*> R : Refs) { in getNearestAliasedRef()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DModuleSummaryIndex.cpp43 auto Refs = refs(); in immutableRefCount() local
45 for (int I = Refs.size() - 1; I >= 0 && Refs[I].isReadOnly(); --I) in immutableRefCount()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp370 std::vector<ValueInfo> Refs = RefEdges.takeVector(); in computeFunctionSummary() local
375 for (; RefCnt < Refs.size(); ++RefCnt) in computeFunctionSummary()
376 Refs[RefCnt].setReadOnly(); in computeFunctionSummary()
399 Flags, NumInsts, FunFlags, /*EntryCount=*/0, std::move(Refs), in computeFunctionSummary()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DIntervalMap.h1251 SmallVector<IntervalMapImpl::NodeRef, 4> Refs, NextRefs; in visitNodes() local
1255 Refs.push_back(rootBranch().subtree(i)); in visitNodes()
1259 for (unsigned i = 0, e = Refs.size(); i != e; ++i) { in visitNodes()
1260 for (unsigned j = 0, s = Refs[i].size(); j != s; ++j) in visitNodes()
1261 NextRefs.push_back(Refs[i].subtree(j)); in visitNodes()
1262 (this->*f)(Refs[i], h); in visitNodes()
1264 Refs.clear(); in visitNodes()
1265 Refs.swap(NextRefs); in visitNodes()
1269 for (unsigned i = 0, e = Refs.size(); i != e; ++i) in visitNodes()
1270 (this->*f)(Refs[i], 0); in visitNodes()
/freebsd-12.1/contrib/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp336 unsigned Calls = 0, Refs = 0, Functions = 0, Alias = 0, Globals = 0; in printIndexStats() local
339 Refs += Summary->refs().size(); in printIndexStats()
352 << " globals) and " << (Calls + Refs) << " edges (" << Refs in printIndexStats()
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DPDB.cpp860 SmallVector<TiReference, 1> Refs; in translateIdSymbols() local
863 discoverTypeIndicesInSymbol(Sym, Refs); in translateIdSymbols()
864 assert(Refs.size() == 1); in translateIdSymbols()
865 assert(Refs.front().Count == 1); in translateIdSymbols()
868 reinterpret_cast<TypeIndex *>(Content.data() + Refs[0].Offset); in translateIdSymbols()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5229 for (unsigned RefNo = Refs.size() - Count; RefNo < Refs.size(); ++RefNo) in setImmutableRefs()
5230 Refs[RefNo].setReadOnly(); in setImmutableRefs()
5367 std::vector<ValueInfo> Refs = makeRefList( in parseEntireSummary() local
5374 setImmutableRefs(Refs, NumImmutableRefs); in parseEntireSummary()
5377 std::move(Refs), std::move(Calls), std::move(PendingTypeTests), in parseEntireSummary()
5434 std::vector<ValueInfo> Refs = in parseEntireSummary() local
5437 llvm::make_unique<GlobalVarSummary>(Flags, GVF, std::move(Refs)); in parseEntireSummary()
5480 std::vector<ValueInfo> Refs = makeRefList( in parseEntireSummary() local
5487 setImmutableRefs(Refs, NumImmutableRefs); in parseEntireSummary()
5490 std::move(Refs), std::move(Edges), std::move(PendingTypeTests), in parseEntireSummary()
[all …]
/freebsd-12.1/tools/debugscripts/
H A Dgdbinit.kernel343 printf "Id Refs Address Size Name\n"
357 printf "Id Refs Address Size Name\n"

12