Home
last modified time | relevance | path

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

123

/external/llvm-project/llvm/unittests/XRay/
DFDRBlockVerifierTest.cpp31 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
32 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
40 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
41 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
49 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
50 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
78 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
79 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
92 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
93 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
[all …]
DFDRRecordsTest.cpp34 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
35 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
44 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
45 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
54 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
55 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
98 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
99 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
109 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
110 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
[all …]
DFDRBlockIndexerTest.cpp33 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
34 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
42 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
43 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
51 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
52 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
DFDRTraceWriterTest.cpp50 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
51 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
95 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
96 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
146 .add<FunctionRecord>(RecordTypes::ENTER, 1, 1) in TEST()
147 .add<FunctionRecord>(RecordTypes::EXIT, 1, 100) in TEST()
DFDRRecordPrinterTest.cpp131 FunctionRecord R(RecordTypes::ENTER, 1, 2); in TEST()
141 FunctionRecord R(RecordTypes::EXIT, 1, 2); in TEST()
151 FunctionRecord R(RecordTypes::TAIL_EXIT, 1, 2); in TEST()
161 FunctionRecord R(RecordTypes::ENTER_ARG, 1, 2); in TEST()
DFDRProducerConsumerTest.cpp64 template <> std::unique_ptr<Record> MakeRecord<FunctionRecord>() { in MakeRecord()
65 return std::make_unique<FunctionRecord>(RecordTypes::ENTER, 1, 2); in MakeRecord()
210 PIDRecord, FunctionRecord>;
217 CallArgRecord, PIDRecord, FunctionRecord>;
/external/llvm-project/llvm/tools/llvm-cov/
DCoverageFilters.h25 struct FunctionRecord;
35 const coverage::FunctionRecord &Function) const { in matches()
53 const coverage::FunctionRecord &Function) const override;
64 const coverage::FunctionRecord &Function) const override;
79 const coverage::FunctionRecord &Function) const override;
116 const coverage::FunctionRecord &Function) const override;
128 const coverage::FunctionRecord &Function) const override;
145 const coverage::FunctionRecord &Function) const override;
156 const coverage::FunctionRecord &Function) const override;
DCoverageFilters.cpp22 const coverage::FunctionRecord &Function) const { in matches()
29 const coverage::FunctionRecord &Function) const { in matches()
39 const coverage::FunctionRecord &Function) const { in matches()
45 const coverage::FunctionRecord &Function) const { in matches()
52 const coverage::FunctionRecord &Function) const { in matches()
62 const coverage::FunctionRecord &Function) const { in matches()
80 const coverage::FunctionRecord &Function) const { in matches()
/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;
/external/llvm-project/compiler-rt/lib/xray/
Dxray_fdr_controller.h189 FunctionRecord F; in rewindRecords()
190 W.undoWrites(sizeof(FunctionRecord)); in rewindRecords()
193 internal_memcpy(&F, W.getNextRecord(), sizeof(FunctionRecord)); in rewindRecords()
196 uint8_t(FunctionRecord::RecordKinds::FunctionEnter) && in rewindRecords()
208 auto RewindingRecordPtr = W.getNextRecord() - sizeof(FunctionRecord); in rewindRecords()
212 internal_memcpy(&F, RewindingRecordPtr, sizeof(FunctionRecord)); in rewindRecords()
214 uint8_t(FunctionRecord::RecordKinds::FunctionTailExit)); in rewindRecords()
216 RewindingRecordPtr -= sizeof(FunctionRecord); in rewindRecords()
219 internal_memcpy(&F, RewindingRecordPtr, sizeof(FunctionRecord)); in rewindRecords()
228 W.undoWrites(sizeof(FunctionRecord) * 2); in rewindRecords()
[all …]
Dxray_fdr_log_records.h48 struct alignas(8) FunctionRecord { struct
71 static_assert(sizeof(FunctionRecord) == 8, "Wrong size for FunctionRecord."); argument
/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/llvm-project/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h303 struct FunctionRecord { struct
318 FunctionRecord(StringRef Name, ArrayRef<StringRef> Filenames) in FunctionRecord() argument
321 FunctionRecord(FunctionRecord &&FR) = default;
322 FunctionRecord &operator=(FunctionRecord &&) = default; argument
334 std::forward_iterator_tag, FunctionRecord> { argument
335 ArrayRef<FunctionRecord> Records;
336 ArrayRef<FunctionRecord>::iterator Current;
343 FunctionRecordIterator(ArrayRef<FunctionRecord> Records_,
355 const FunctionRecord &operator*() const { return *Current; }
376 const FunctionRecord &Function;
[all …]
/external/llvm-project/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp352 for (const auto &FunctionRecord : FunctionRecords) { in TEST_P() local
353 CoverageData Data = LoadedCoverage->getCoverageForFunction(FunctionRecord); in TEST_P()
356 if (FunctionRecord.Name == "func1") { in TEST_P()
360 ASSERT_EQ("func2", FunctionRecord.Name); in TEST_P()
379 const auto &FunctionRecord = *FunctionRecords.begin(); in TEST_P() local
380 CoverageData Data = LoadedCoverage->getCoverageForFunction(FunctionRecord); in TEST_P()
397 const auto &FunctionRecord = *FunctionRecords.begin(); in TEST_P() local
398 CoverageData Data = LoadedCoverage->getCoverageForFunction(FunctionRecord); in TEST_P()
429 const auto &FunctionRecord = *FunctionRecords.begin(); in TEST_P() local
430 CoverageData Data = LoadedCoverage->getCoverageForFunction(FunctionRecord); in TEST_P()
[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/llvm-project/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp245 FunctionRecord Function(OrigFuncName, Record.Filenames); in loadFunctionRecord()
351 using MapT = std::map<LineColPair, std::vector<const FunctionRecord *>>;
355 void insert(const FunctionRecord &Function, unsigned FileID) { in insert()
623 const FunctionRecord &Function) { in gatherFileIDs()
632 static Optional<unsigned> findMainViewFileID(const FunctionRecord &Function) { in findMainViewFileID()
646 const FunctionRecord &Function) { in findMainViewFileID()
666 const FunctionRecord &Function = Functions[RecordIndex]; in getCoverageForFile()
691 const FunctionRecord &Function = Functions[RecordIndex]; in getInstantiationGroups()
709 CoverageMapping::getCoverageForFunction(const FunctionRecord &Function) const { 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-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;
/external/llvm-project/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;
/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()

123