| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | FunctionId.h | 17 class FunctionId { 19 FunctionId() : Index(0) {} in FunctionId() function 21 explicit FunctionId(uint32_t Index) : Index(Index) {} in FunctionId() function 29 inline bool operator==(const FunctionId &A, const FunctionId &B) { 33 inline bool operator!=(const FunctionId &A, const FunctionId &B) { 37 inline bool operator<(const FunctionId &A, const FunctionId &B) { 41 inline bool operator<=(const FunctionId &A, const FunctionId &B) { 45 inline bool operator>(const FunctionId &A, const FunctionId &B) { 49 inline bool operator>=(const FunctionId &A, const FunctionId &B) {
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerDataFlowTrace.h | 52 uint32_t GetCounter(size_t FunctionId, size_t BasicBlockId) { in GetCounter() argument 53 auto It = Functions.find(FunctionId); in GetCounter() 62 uint32_t GetNumberOfBlocks(size_t FunctionId) { in GetNumberOfBlocks() argument 63 auto It = Functions.find(FunctionId); in GetNumberOfBlocks() 69 uint32_t GetNumberOfCoveredBlocks(size_t FunctionId) { in GetNumberOfCoveredBlocks() argument 70 auto It = Functions.find(FunctionId); in GetNumberOfCoveredBlocks()
|
| H A D | FuzzerDataFlowTrace.cpp | 48 size_t FunctionId = 0; in AppendCoverage() local 49 SS >> FunctionId; in AppendCoverage() 51 FunctionsWithDFT.insert(FunctionId); in AppendCoverage() 68 auto It = Functions.find(FunctionId); in AppendCoverage() 71 ? Functions.insert({FunctionId, std::vector<uint32_t>(NumBlocks)}) in AppendCoverage()
|
| /llvm-project-15.0.7/libc/benchmarks/automemcpy/unittests/ |
| H A D | ResultAnalyzerTest.cpp | 23 static constexpr FunctionId Foo1 = {"memcpy1", FunctionType::MEMCPY}; in TEST() 43 static constexpr FunctionId Foo1 = {"memcpy1", FunctionType::MEMCPY}; in TEST() 63 static constexpr FunctionId Foo1 = {"memcpy1", FunctionType::MEMCPY}; in TEST() 65 static constexpr FunctionId Foo2 = {"memcpy2", FunctionType::MEMCPY}; in TEST() 81 static constexpr FunctionId Foo1 = {"memcpy1", FunctionType::MEMCPY}; in TEST() 82 static constexpr FunctionId Foo2 = {"memcpy2", FunctionType::MEMCPY}; in TEST() 83 static constexpr FunctionId Foo3 = {"memcpy3", FunctionType::MEMCPY}; in TEST() 115 static constexpr FunctionId Foo1 = {"memcpy1", FunctionType::MEMCPY}; in TEST() 116 static constexpr FunctionId Foo2 = {"memcpy2", FunctionType::MEMCPY}; in TEST() 117 static constexpr FunctionId Foo3 = {"memcpy3", FunctionType::MEMCPY}; in TEST()
|
| /llvm-project-15.0.7/libc/benchmarks/automemcpy/include/automemcpy/ |
| H A D | ResultAnalyzer.h | 45 struct FunctionId { struct 48 COMPARABLE_AND_HASHABLE(FunctionId, Type, Name) argument 61 FunctionId Id; 76 FunctionId Function;
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCCodeView.h | 40 uint32_t FunctionId; variable 51 : Label(Label), FunctionId(functionid), FileNum(fileNum), Line(line), in MCCVLoc() 60 unsigned getFunctionId() const { return FunctionId; } in getFunctionId() 76 void setFunctionId(unsigned FID) { FunctionId = FID; } in setFunctionId() 172 void recordCVLoc(MCContext &Ctx, const MCSymbol *Label, unsigned FunctionId,
|
| H A D | MCObjectStreamer.h | 172 void emitCVLocDirective(unsigned FunctionId, unsigned FileNo, unsigned Line, 175 void emitCVLinetableDirective(unsigned FunctionId, const MCSymbol *Begin,
|
| H A D | MCStreamer.h | 946 virtual bool emitCVFuncIdDirective(unsigned FunctionId); 950 virtual bool emitCVInlineSiteIdDirective(unsigned FunctionId, unsigned IAFunc, 955 virtual void emitCVLocDirective(unsigned FunctionId, unsigned FileNo, 961 virtual void emitCVLinetableDirective(unsigned FunctionId,
|
| /llvm-project-15.0.7/libc/benchmarks/automemcpy/lib/ |
| H A D | ResultAnalyzer.cpp | 108 std::unordered_map<FunctionId, FunctionData, FunctionId::Hasher> Functions; in getThroughputs() 118 for (auto &[FunctionId, Function] : Functions) { in getThroughputs() 119 Function.Id = FunctionId; in getThroughputs()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | RedundantVoidArgCheck.cpp | 32 const char FunctionId[] = "function"; variable 46 .bind(FunctionId), in registerMatchers() 73 if (const auto *Function = Nodes.getNodeAs<FunctionDecl>(FunctionId)) in check()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCObjectStreamer.cpp | 581 void MCObjectStreamer::emitCVLocDirective(unsigned FunctionId, unsigned FileNo, in emitCVLocDirective() argument 586 if (!checkCVLocSection(FunctionId, FileNo, Loc)) in emitCVLocDirective() 592 getContext().getCVContext().recordCVLoc(getContext(), LineSym, FunctionId, in emitCVLocDirective() 597 void MCObjectStreamer::emitCVLinetableDirective(unsigned FunctionId, in emitCVLinetableDirective() argument 600 getContext().getCVContext().emitLineTableForFunction(*this, FunctionId, Begin, in emitCVLinetableDirective() 602 this->MCStreamer::emitCVLinetableDirective(FunctionId, Begin, End); in emitCVLinetableDirective()
|
| H A D | MCAsmStreamer.cpp | 282 bool emitCVInlineSiteIdDirective(unsigned FunctionId, unsigned IAFunc, 285 void emitCVLocDirective(unsigned FunctionId, unsigned FileNo, unsigned Line, 288 void emitCVLinetableDirective(unsigned FunctionId, const MCSymbol *FnStart, 1684 bool MCAsmStreamer::emitCVInlineSiteIdDirective(unsigned FunctionId, in emitCVInlineSiteIdDirective() argument 1689 OS << "\t.cv_inline_site_id " << FunctionId << " within " << IAFunc in emitCVInlineSiteIdDirective() 1691 return MCStreamer::emitCVInlineSiteIdDirective(FunctionId, IAFunc, IAFile, in emitCVInlineSiteIdDirective() 1700 if (!checkCVLocSection(FunctionId, FileNo, Loc)) in emitCVLocDirective() 1703 OS << "\t.cv_loc\t" << FunctionId << " " << FileNo << " " << Line << " " in emitCVLocDirective() 1719 void MCAsmStreamer::emitCVLinetableDirective(unsigned FunctionId, in emitCVLinetableDirective() argument 1722 OS << "\t.cv_linetable\t" << FunctionId << ", "; in emitCVLinetableDirective() [all …]
|
| H A D | MCStreamer.cpp | 301 bool MCStreamer::emitCVFuncIdDirective(unsigned FunctionId) { in emitCVFuncIdDirective() argument 302 return getContext().getCVContext().recordFunctionId(FunctionId); in emitCVFuncIdDirective() 305 bool MCStreamer::emitCVInlineSiteIdDirective(unsigned FunctionId, in emitCVInlineSiteIdDirective() argument 316 FunctionId, IAFunc, IAFile, IALine, IACol); in emitCVInlineSiteIdDirective() 319 void MCStreamer::emitCVLocDirective(unsigned FunctionId, unsigned FileNo, in emitCVLocDirective() argument 346 void MCStreamer::emitCVLinetableDirective(unsigned FunctionId, in emitCVLinetableDirective() argument
|
| H A D | MCCodeView.cpp | 132 unsigned FunctionId, unsigned FileNo, in recordCVLoc() argument 136 Label, FunctionId, FileNo, Line, Column, PrologueEnd, IsStmt}); in recordCVLoc()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 376 bool parseCVFunctionId(int64_t &FunctionId, StringRef DirectiveName); 3774 bool AsmParser::parseCVFunctionId(int64_t &FunctionId, in parseCVFunctionId() argument 3780 check(FunctionId < 0 || FunctionId >= UINT_MAX, Loc, in parseCVFunctionId() 3801 int64_t FunctionId; in parseDirectiveCVFuncId() local 3803 if (parseCVFunctionId(FunctionId, ".cv_func_id") || parseEOL()) in parseDirectiveCVFuncId() 3806 if (!getStreamer().emitCVFuncIdDirective(FunctionId)) in parseDirectiveCVFuncId() 3822 int64_t FunctionId; in parseDirectiveCVInlineSiteId() local 3829 if (parseCVFunctionId(FunctionId, ".cv_inline_site_id")) in parseDirectiveCVInlineSiteId() 3881 int64_t FunctionId, FileNumber; in parseDirectiveCVLoc() local 3882 if (parseCVFunctionId(FunctionId, ".cv_loc") || in parseDirectiveCVLoc() [all …]
|
| H A D | MasmParser.cpp | 5063 bool MasmParser::parseCVFunctionId(int64_t &FunctionId, in parseCVFunctionId() argument 5069 check(FunctionId < 0 || FunctionId >= UINT_MAX, Loc, in parseCVFunctionId() 5090 int64_t FunctionId; in parseDirectiveCVFuncId() local 5092 if (parseCVFunctionId(FunctionId, ".cv_func_id") || parseEOL()) in parseDirectiveCVFuncId() 5095 if (!getStreamer().emitCVFuncIdDirective(FunctionId)) in parseDirectiveCVFuncId() 5111 int64_t FunctionId; in parseDirectiveCVInlineSiteId() local 5118 if (parseCVFunctionId(FunctionId, ".cv_inline_site_id")) in parseDirectiveCVInlineSiteId() 5170 int64_t FunctionId, FileNumber; in parseDirectiveCVLoc() local 5171 if (parseCVFunctionId(FunctionId, ".cv_loc") || in parseDirectiveCVLoc() 5231 int64_t FunctionId; in parseDirectiveCVLinetable() local [all …]
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | Extensions.rst | 478 ``.cv_func_id`` *FunctionId* 487 …``.cv_inline_site_id`` *FunctionId* ``within`` *Function* ``inlined_at`` *FileNumber Line* [ *Colu… 497 …``.cv_loc`` *FunctionId FileNumber* [ *Line* ] [ *Column* ] [ *prologue_end* ] [ ``is_stmt`` *valu… 502 ``.cv_linetable`` *FunctionId* ``,`` *FunctionStart* ``,`` *FunctionEnd*
|