Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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
[all …]
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 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 DTypeStreamMerger.cpp396 SmallVector<TiReference, 4> Refs; in remapIndices() local
397 discoverTypeIndices(OriginalType.RecordData, Refs); in remapIndices()
398 if (Refs.empty() && Align == 0) in remapIndices()
406 for (auto &Ref : Refs) { in remapIndices()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeIndexDiscovery.h27 SmallVectorImpl<TiReference> &Refs);
29 SmallVectorImpl<TiReference> &Refs);
38 SmallVectorImpl<TiReference> &Refs);
40 SmallVectorImpl<TiReference> &Refs);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DSmallString.h34 SmallString(std::initializer_list<StringRef> Refs) in SmallString() argument
36 this->append(Refs); in SmallString()
55 void assign(std::initializer_list<StringRef> Refs) { in assign() argument
57 append(Refs); in assign()
72 void append(std::initializer_list<StringRef> Refs) { in append() argument
74 for (const StringRef &Ref : Refs) in append()
78 for (const StringRef &Ref : Refs) { in append()
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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h141 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,
245 std::vector<uint64_t> Refs;
247 Refs.push_back(VI.getGUID());
253 static_cast<bool>(FSum->flags().CanAutoHide), Refs,
H A DModuleSummaryIndex.h370 GlobalValueSummary(SummaryKind K, GVFlags Flags, std::vector<ValueInfo> Refs)
371 : Kind(K), Flags(Flags), RefEdgeList(std::move(Refs)) {
372 assert((K != AliasKind || Refs.empty()) &&
656 uint64_t EntryCount, std::vector<ValueInfo> Refs,
664 : GlobalValueSummary(FunctionKind, Flags, std::move(Refs)),
870 std::vector<ValueInfo> Refs)
871 : GlobalValueSummary(GlobalVarKind, Flags, std::move(Refs)),
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp93 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()
420 ExprSet Refs; member
H A DTransforms.cpp216 ExprSet &Refs; member in __anon88f59bc20111::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 __anon88f59bc20111::ReferenceCollector
228 : Dcl(D), Refs(refs) { } in ReferenceCollector()
232 Refs.insert(E); in VisitDeclRefExpr()
H A DTransProtectedScope.cpp27 SmallVectorImpl<DeclRefExpr *> &Refs; member in __anon8c18559f0111::LocalRefsCollector
31 : Refs(refs) { } in LocalRefsCollector()
36 Refs.push_back(E); in VisitDeclRefExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DExecutionDomainFix.h53 unsigned Refs = 0; member
167 ++DV->Refs; in retain()
/netbsd-src/external/apache2/llvm/dist/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.cpp1129 NodeList Refs; in getRelatedRefs() local
1132 Refs.push_back(RA); in getRelatedRefs()
1135 return Refs; in getRelatedRefs()
1539 NodeList Refs = PA.Addr->members(*this); in removeUnusedPhis() local
1540 if (HasUsedDef(Refs)) in removeUnusedPhis()
1542 for (NodeAddr<RefNode*> RA : Refs) { in removeUnusedPhis()
H A DRDFLiveness.cpp379 NodeList Refs = I.Addr->members(DFG); in getNearestAliasedRef() local
383 for (NodeAddr<RefNode*> R : Refs) { in getNearestAliasedRef()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp391 std::vector<ValueInfo> Refs; in computeFunctionSummary() local
437 Refs = RefEdges.takeVector(); in computeFunctionSummary()
439 Refs[RefCnt].setReadOnly(); in computeFunctionSummary()
441 for (; RefCnt < Refs.size(); ++RefCnt) in computeFunctionSummary()
442 Refs[RefCnt].setWriteOnly(); in computeFunctionSummary()
444 Refs = RefEdges.takeVector(); in computeFunctionSummary()
473 Flags, NumInsts, FunFlags, /*EntryCount=*/0, std::move(Refs), in computeFunctionSummary()
/netbsd-src/external/apache2/llvm/dist/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 DHexagonISelDAGToDAGHVX.cpp1326 DenseMap<SDNode*, SDNode**> Refs; member
1330 Refs[N] = &N; in NullifyingVector()
1334 auto F = Refs.find(N); in erase()
1335 if (F != Refs.end()) in erase()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DModuleSummaryIndex.cpp81 auto Refs = refs(); in specialRefCounts() local
84 for (I = Refs.size() - 1; I >= 0 && Refs[I].isWriteOnly(); --I) in specialRefCounts()
86 for (; I >= 0 && Refs[I].isReadOnly(); --I) in specialRefCounts()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp186 const auto Refs = in tryEachDeclRef() local
189 for (const auto &RefNodes : Refs) { in tryEachDeclRef()
517 const auto Refs = match( in findReferenceMutation() local
531 return findDeclMutation(Refs); in findReferenceMutation()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DTypeReferenceTracker.h47 ArrayRef<codeview::TiReference> Refs);
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp343 unsigned Calls = 0, Refs = 0, Functions = 0, Alias = 0, Globals = 0; in printIndexStats() local
346 Refs += Summary->refs().size(); in printIndexStats()
359 << " globals) and " << (Calls + Refs) << " edges (" << Refs in printIndexStats()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp6136 static void setSpecialRefs(std::vector<ValueInfo> &Refs, unsigned ROCnt, in setSpecialRefs() argument
6139 assert(ROCnt + WOCnt <= Refs.size()); in setSpecialRefs()
6140 unsigned FirstWORef = Refs.size() - WOCnt; in setSpecialRefs()
6143 Refs[RefNo].setReadOnly(); in setSpecialRefs()
6144 for (; RefNo < Refs.size(); ++RefNo) in setSpecialRefs()
6145 Refs[RefNo].setWriteOnly(); in setSpecialRefs()
6277 std::vector<ValueInfo> Refs = makeRefList( in parseEntireSummary() local
6284 setSpecialRefs(Refs, NumRORefs, NumWORefs); in parseEntireSummary()
6287 std::move(Refs), std::move(Calls), std::move(PendingTypeTests), in parseEntireSummary()
6340 std::vector<ValueInfo> Refs = in parseEntireSummary() local
[all …]

12