| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeIndexDiscovery.cpp | 70 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 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/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeIndexDiscovery.h | 28 SmallVectorImpl<TiReference> &Refs); 30 SmallVectorImpl<TiReference> &Refs); 39 SmallVectorImpl<TiReference> &Refs); 41 SmallVectorImpl<TiReference> &Refs);
|
| /freebsd/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 | 2295 template <typename... Refs> struct enumerator_result; 2323 template <typename... Refs> struct enumerator_result<std::size_t, Refs...> { 2324 static constexpr std::size_t NumRefs = sizeof...(Refs); 2330 using range_reference_tuple = std::tuple<Refs...>; 2333 using value_reference_tuple = std::tuple<std::size_t, Refs...>; 2335 enumerator_result(std::size_t Index, Refs &&...Rs) 2336 : Idx(Index), Storage(std::forward<Refs>(Rs)...) {} 2645 template <typename... Refs> 2646 struct tuple_size<llvm::detail::enumerator_result<Refs...>> 2647 : std::integral_constant<std::size_t, sizeof...(Refs)> {}; [all …]
|
| H A D | IntervalMap.h | 1298 SmallVector<IntervalMapImpl::NodeRef, 4> Refs, NextRefs; in visitNodes() local 1302 Refs.push_back(rootBranch().subtree(i)); in visitNodes() 1306 for (unsigned i = 0, e = Refs.size(); i != e; ++i) { in visitNodes() 1307 for (unsigned j = 0, s = Refs[i].size(); j != s; ++j) in visitNodes() 1308 NextRefs.push_back(Refs[i].subtree(j)); in visitNodes() 1309 (this->*f)(Refs[i], h); in visitNodes() 1311 Refs.clear(); in visitNodes() 1312 Refs.swap(NextRefs); in visitNodes() 1316 for (unsigned i = 0, e = Refs.size(); i != e; ++i) in visitNodes() 1317 (this->*f)(Refs[i], 0); in visitNodes()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndexYAML.h | 148 std::vector<uint64_t> Refs = {}; 195 io.mapOptional("Refs", summary.Refs); 243 SmallVector<ValueInfo, 0> Refs; 244 Refs.reserve(GVSum.Refs.size()); 245 for (auto &RefGUID : GVSum.Refs) { 247 Refs.push_back(ValueInfo(/*IsAnalysis=*/false, &*It)); 250 GVFlags, /*NumInsts=*/0, FunctionSummary::FFlags{}, std::move(Refs), 265 std::vector<uint64_t> Refs; 266 Refs.reserve(FSum->refs().size()); 268 Refs.push_back(VI.getGUID()); [all …]
|
| H A D | ModuleSummaryIndex.h | 551 SmallVectorImpl<ValueInfo> &&Refs) 552 : Kind(K), Flags(Flags), RefEdgeList(std::move(Refs)) { 553 assert((K != AliasKind || Refs.empty()) && 918 SmallVectorImpl<ValueInfo> &&Refs, 927 : GlobalValueSummary(FunctionKind, Flags, std::move(Refs)), 1165 SmallVectorImpl<ValueInfo> &&Refs) 1166 : GlobalValueSummary(GlobalVarKind, Flags, std::move(Refs)),
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ExecutionDomainFix.h | 53 unsigned Refs = 0; member 166 ++DV->Refs; in retain()
|
| /freebsd/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 | 1141 NodeList Refs; in getRelatedRefs() local 1144 Refs.push_back(RA); in getRelatedRefs() 1147 return Refs; in getRelatedRefs() 1522 NodeList Refs = PA.Addr->members(*this); in removeUnusedPhis() local 1523 if (HasUsedDef(Refs)) in removeUnusedPhis() 1525 for (Ref RA : Refs) { in removeUnusedPhis()
|
| H A D | RDFLiveness.cpp | 374 NodeList Refs = I.Addr->members(DFG); in getNearestAliasedRef() local 378 for (NodeAddr<RefNode *> R : Refs) { in getNearestAliasedRef()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86PreTileConfig.cpp | 237 auto &Refs = ShapeBBs[MBB]; in INITIALIZE_PASS_DEPENDENCY() local 238 auto I = llvm::lower_bound(Refs, MIR); in INITIALIZE_PASS_DEPENDENCY() 239 if (I == Refs.end() || *I != MIR) in INITIALIZE_PASS_DEPENDENCY() 240 Refs.insert(I, MIR); in INITIALIZE_PASS_DEPENDENCY()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonRDFOpt.cpp | 198 NodeList Refs = IA.Addr->members(DFG); in removeOperand() local 199 for (NodeAddr<RefNode*> RA : Refs) in removeOperand() 204 for (NodeAddr<RefNode*> RA : Refs) { in removeOperand()
|
| H A D | HexagonConstExtenders.cpp | 390 void calculatePlacement(const ExtenderInit &ExtI, const IndexList &Refs, 1462 void HCE::calculatePlacement(const ExtenderInit &ExtI, const IndexList &Refs, in calculatePlacement() argument 1464 if (Refs.empty()) in calculatePlacement() 1474 const ExtDesc &ED0 = Extenders[Refs[0]]; in calculatePlacement() 1478 for (unsigned i = 1, e = Refs.size(); i != e; ++i) { in calculatePlacement() 1479 const ExtDesc &ED = Extenders[Refs[i]]; in calculatePlacement() 1510 Defs.emplace_back(DefLoc, Refs); in calculatePlacement()
|
| H A D | HexagonISelDAGToDAGHVX.cpp | 1717 DenseMap<SDNode*, SDNode**> Refs; member 1721 Refs[N] = &N; in NullifyingVector() 1725 auto F = Refs.find(N); in erase() 1726 if (F != Refs.end()) in erase()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | TypeReferenceTracker.h | 45 ArrayRef<codeview::TiReference> Refs);
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ModuleSummaryIndex.cpp | 81 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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 621 SmallVector<ValueInfo, 0> Refs; in computeFunctionSummary() local 666 Refs = RefEdges.takeVector(); in computeFunctionSummary() 668 Refs[RefCnt].setReadOnly(); in computeFunctionSummary() 670 for (; RefCnt < Refs.size(); ++RefCnt) in computeFunctionSummary() 671 Refs[RefCnt].setWriteOnly(); in computeFunctionSummary() 673 Refs = RefEdges.takeVector(); in computeFunctionSummary() 723 Flags, NumInsts, FunFlags, std::move(Refs), CallGraphEdges.takeVector(), in computeFunctionSummary()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 316 const auto Refs = match( in tryEachDeclRef() local 326 for (const auto &RefNodes : Refs) { in tryEachDeclRef() 652 const auto Refs = match( in findReferenceMutation() local 665 return findDeclMutation(Refs); in findReferenceMutation()
|
| /freebsd/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/tools/debugscripts/ |
| H A D | gdbinit.kernel | 343 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 D | BitcodeReader.cpp | 7608 static void setSpecialRefs(SmallVectorImpl<ValueInfo> &Refs, unsigned ROCnt, in setSpecialRefs() argument 7611 assert(ROCnt + WOCnt <= Refs.size()); in setSpecialRefs() 7612 unsigned FirstWORef = Refs.size() - WOCnt; in setSpecialRefs() 7615 Refs[RefNo].setReadOnly(); in setSpecialRefs() 7616 for (; RefNo < Refs.size(); ++RefNo) in setSpecialRefs() 7617 Refs[RefNo].setWriteOnly(); in setSpecialRefs() 7759 SmallVector<ValueInfo, 0> Refs = makeRefList( in parseEntireSummary() local 7766 setSpecialRefs(Refs, NumRORefs, NumWORefs); in parseEntireSummary() 7778 Flags, InstCount, getDecodedFFlags(RawFunFlags), std::move(Refs), in parseEntireSummary() 7833 SmallVector<ValueInfo, 0> Refs = in parseEntireSummary() local [all …]
|