Home
last modified time | relevance | path

Searched refs:FunctionRecord (Results 1 – 25 of 44) sorted by relevance

12

/external/llvm/tools/llvm-cov/
DCoverageFilters.cpp20 bool NameCoverageFilter::matches(const coverage::FunctionRecord &Function) { in matches()
26 NameRegexCoverageFilter::matches(const coverage::FunctionRecord &Function) { in matches()
30 bool RegionCoverageFilter::matches(const coverage::FunctionRecord &Function) { in matches()
35 bool LineCoverageFilter::matches(const coverage::FunctionRecord &Function) { in matches()
44 bool CoverageFilters::matches(const coverage::FunctionRecord &Function) { in matches()
53 CoverageFiltersMatchAll::matches(const coverage::FunctionRecord &Function) { in matches()
DCoverageFilters.h29 virtual bool matches(const coverage::FunctionRecord &Function) { in matches()
41 bool matches(const coverage::FunctionRecord &Function) override;
51 bool matches(const coverage::FunctionRecord &Function) override;
87 bool matches(const coverage::FunctionRecord &Function) override;
98 bool matches(const coverage::FunctionRecord &Function) override;
114 bool matches(const coverage::FunctionRecord &Function) override;
122 bool matches(const coverage::FunctionRecord &Function) override;
DCoverageSummaryInfo.cpp21 FunctionCoverageSummary::get(const coverage::FunctionRecord &Function) { in get()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h301 struct FunctionRecord { struct
316 FunctionRecord(StringRef Name, ArrayRef<StringRef> Filenames) in FunctionRecord() argument
319 FunctionRecord(FunctionRecord &&FR) = default;
320 FunctionRecord &operator=(FunctionRecord &&) = default; argument
332 std::forward_iterator_tag, FunctionRecord> { argument
333 ArrayRef<FunctionRecord> Records;
334 ArrayRef<FunctionRecord>::iterator Current;
341 FunctionRecordIterator(ArrayRef<FunctionRecord> Records_,
353 const FunctionRecord &operator*() const { return *Current; }
374 const FunctionRecord &Function;
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h346 struct FunctionRecord { struct
363 FunctionRecord(StringRef Name, ArrayRef<StringRef> Filenames) in FunctionRecord() argument
366 FunctionRecord(FunctionRecord &&FR) = default;
367 FunctionRecord &operator=(FunctionRecord &&) = default; argument
388 std::forward_iterator_tag, FunctionRecord> { argument
389 ArrayRef<FunctionRecord> Records;
390 ArrayRef<FunctionRecord>::iterator Current;
397 FunctionRecordIterator(ArrayRef<FunctionRecord> Records_,
409 const FunctionRecord &operator*() const { return *Current; }
430 const FunctionRecord &Function;
[all …]
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h295 struct FunctionRecord { struct
305 FunctionRecord(StringRef Name, ArrayRef<StringRef> Filenames) in FunctionRecord() function
318 std::forward_iterator_tag, FunctionRecord> { argument
319 ArrayRef<FunctionRecord> Records;
320 ArrayRef<FunctionRecord>::iterator Current;
327 FunctionRecordIterator(ArrayRef<FunctionRecord> Records_,
339 const FunctionRecord &operator*() const { return *Current; }
360 const FunctionRecord &Function;
363 const FunctionRecord &Function) in ExpansionRecord()
434 std::vector<FunctionRecord> Functions;
[all …]
/external/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp216 FunctionRecord Function(OrigFuncName, Record.Filenames); in load()
261 std::vector<const FunctionRecord *>> MapT;
265 void insert(const FunctionRecord &Function, unsigned FileID) { in insert()
425 const FunctionRecord &Function) { in gatherFileIDs()
434 static Optional<unsigned> findMainViewFileID(const FunctionRecord &Function) { in findMainViewFileID()
448 const FunctionRecord &Function) { in findMainViewFileID()
480 std::vector<const FunctionRecord *>
490 std::vector<const FunctionRecord *> Result; in getInstantiations()
501 CoverageMapping::getCoverageForFunction(const FunctionRecord &Function) { in getCoverageForFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp244 FunctionRecord Function(OrigFuncName, Record.Filenames); in loadFunctionRecord()
350 using MapT = std::map<LineColPair, std::vector<const FunctionRecord *>>;
354 void insert(const FunctionRecord &Function, unsigned FileID) { in insert()
614 const FunctionRecord &Function) { in gatherFileIDs()
623 static Optional<unsigned> findMainViewFileID(const FunctionRecord &Function) { in findMainViewFileID()
637 const FunctionRecord &Function) { in findMainViewFileID()
657 const FunctionRecord &Function = Functions[RecordIndex]; in getCoverageForFile()
682 const FunctionRecord &Function = Functions[RecordIndex]; in getInstantiationGroups()
700 CoverageMapping::getCoverageForFunction(const FunctionRecord &Function) const { in getCoverageForFunction()
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/XRay/
DFDRRecords.h372 class FunctionRecord : public Record {
381 FunctionRecord() : Record(RecordKind::RK_Function) {} in FunctionRecord() function
383 explicit FunctionRecord(RecordTypes K, int32_t F, uint32_t D) in FunctionRecord() function
413 virtual Error visit(FunctionRecord &) = 0;
441 Error visit(FunctionRecord &) override;
DFDRTraceWriter.h44 Error visit(FunctionRecord &) override;
DRecordPrinter.h41 Error visit(FunctionRecord &) override;
DBlockIndexer.h55 Error visit(FunctionRecord &) override;
DFDRTraceExpander.h50 Error visit(FunctionRecord &) override;
DBlockVerifier.h60 Error visit(FunctionRecord &) override;
DBlockPrinter.h50 Error visit(FunctionRecord &) override;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
DFDRRecords.h372 class FunctionRecord : public Record {
381 FunctionRecord() : Record(RecordKind::RK_Function) {} in FunctionRecord() function
383 explicit FunctionRecord(RecordTypes K, int32_t F, uint32_t D) in FunctionRecord() function
413 virtual Error visit(FunctionRecord &) = 0;
441 Error visit(FunctionRecord &) override;
DFDRTraceWriter.h44 Error visit(FunctionRecord &) override;
DRecordPrinter.h41 Error visit(FunctionRecord &) override;
DBlockVerifier.h60 Error visit(FunctionRecord &) override;
DBlockPrinter.h51 Error visit(FunctionRecord &) override;
DFDRTraceExpander.h50 Error visit(FunctionRecord &) override;
DBlockIndexer.h55 Error visit(FunctionRecord &) override;
/external/swiftshader/third_party/llvm-16.0/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp271 FunctionRecord Function(OrigFuncName, Record.Filenames); in loadFunctionRecord()
456 using MapT = std::map<LineColPair, std::vector<const FunctionRecord *>>;
460 void insert(const FunctionRecord &Function, unsigned FileID) { in insert()
727 const FunctionRecord &Function) { in gatherFileIDs()
737 findMainViewFileID(const FunctionRecord &Function) { in findMainViewFileID()
752 findMainViewFileID(StringRef SourceFile, const FunctionRecord &Function) { in findMainViewFileID()
772 const FunctionRecord &Function = Functions[RecordIndex]; in getCoverageForFile()
801 const FunctionRecord &Function = Functions[RecordIndex]; in getInstantiationGroups()
819 CoverageMapping::getCoverageForFunction(const FunctionRecord &Function) const { in getCoverageForFunction()
/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp306 for (const auto &FunctionRecord : FunctionRecords) { in TEST_P() local
307 CoverageData Data = LoadedCoverage->getCoverageForFunction(FunctionRecord); in TEST_P()
310 if (FunctionRecord.Name == "func1") { in TEST_P()
314 ASSERT_EQ("func2", FunctionRecord.Name); in TEST_P()
518 std::vector<const FunctionRecord *> Instantiations = in TEST_P()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DFDRRecords.cpp27 Error FunctionRecord::apply(RecordVisitor &V) { return V.visit(*this); } in apply()

12