Home
last modified time | relevance | path

Searched full:funcid (Results 1 – 25 of 154) sorted by relevance

1234567

/llvm-project/compiler-rt/lib/xray/
H A Dxray_interface.cpp167 bool patchSled(const XRaySledEntry &Sled, bool Enable, int32_t FuncId, in patchSled()
172 Success = patchFunctionEntry(Enable, FuncId, Sled, Trampolines, in patchSled()
176 Success = patchFunctionExit(Enable, FuncId, Sled, Trampolines); in patchSled()
179 Success = patchFunctionTailExit(Enable, FuncId, Sled, Trampolines); in patchSled()
182 Success = patchFunctionEntry(Enable, FuncId, Sled, Trampolines,
186 Success = patchCustomEvent(Enable, FuncId, Sled); in findFunctionSleds()
189 Success = patchTypedEvent(Enable, FuncId, Sled); in findFunctionSleds()
200 findFunctionSleds(int32_t FuncId, in findFunctionSleds()
206 for (std::size_t I = 0; I < InstrMap.Entries && CurFn <= FuncId; I++) { in findFunctionSleds()
214 if (CurFn == FuncId) { in patchFunction()
154 patchSled(const XRaySledEntry & Sled,bool Enable,int32_t FuncId) patchSled() argument
184 findFunctionSleds(int32_t FuncId,const XRaySledMap & InstrMap) findFunctionSleds() argument
208 patchFunction(int32_t FuncId,bool Enable) patchFunction() argument
290 uint32_t FuncId = 1; controlPatching() local
347 mprotectAndPatchFunction(int32_t FuncId,bool Enable) mprotectAndPatchFunction() argument
481 __xray_patch_function(int32_t FuncId) __xray_patch_function() argument
486 __xray_unpatch_function(int32_t FuncId) __xray_unpatch_function() argument
505 __xray_function_address(int32_t FuncId) __xray_function_address() argument
[all...]
H A Dxray_powerpc64.cpp52 bool patchFunctionEntry(const bool Enable, uint32_t FuncId, in patchFunctionEntry() argument
62 // lis 0, FuncId[16..32] in patchFunctionEntry()
63 // li 0, FuncId[0..15] in patchFunctionEntry()
65 (0x3c000000ull + (FuncId >> 16)) + in patchFunctionEntry()
66 ((0x60000000ull + (FuncId & 0xffff)) << 32); in patchFunctionEntry()
77 const bool Enable, uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionExit()
85 // lis 0, FuncId[16..32] in patchFunctionExit()
86 // li 0, FuncId[0..15] in patchFunctionExit()
88 (0x3c000000ull + (FuncId >> 16)) +
89 ((0x60000000ull + (FuncId argument
71 patchFunctionExit(const bool Enable,uint32_t FuncId,const XRaySledEntry & Sled) patchFunctionExit() argument
97 patchCustomEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchCustomEvent() argument
103 patchTypedEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchTypedEvent() argument
[all...]
H A Dxray_hexagon.cpp87 inline static bool patchSled(const bool Enable, const uint32_t FuncId, in patchSled() argument
119 *CurAddress = encodeExtendedTransferImmediate(FuncId, RN_R7); in patchSled()
129 WriteInstFlushCache(FirstAddress, uint32_t(encodeConstantExtender(FuncId))); in patchSled()
136 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId, in patchFunctionEntry() argument
142 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionExit() argument
146 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled,
148 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionTailExit()
152 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchCustomEvent() argument
154 return patchSled(Enable, FuncId, Sled, Trampolines.TailExitTrampoline); in patchCustomEvent()
157 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
147 patchFunctionTailExit(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchFunctionTailExit() argument
158 patchTypedEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchTypedEvent() argument
[all...]
H A Dxray_fdr_controller.h51 constexpr int32_t mask(int32_t FuncId) const XRAY_NEVER_INSTRUMENT { in mask() argument
52 return FuncId & ((1 << 29) - 1); in mask()
181 bool rewindRecords(int32_t FuncId, uint64_t TSC, in rewindRecords() argument
198 DCHECK_EQ(F.FuncId, FuncId & ~(0x0F << 28)); in rewindRecords()
244 bool functionEnter(int32_t FuncId, uint64_t TSC, in functionEnter() argument
265 mask(FuncId), Delta); in functionEnter()
268 bool functionTailExit(int32_t FuncId, uint64_t TSC, in functionTailExit() argument
283 return rewindRecords(FuncId, TSC, CPU); in functionTailExit()
290 mask(FuncId), Delta); in functionTailExit()
293 bool functionEnterArg(int32_t FuncId, uint64_t TSC, uint16_t CPU, in functionEnterArg() argument
[all …]
H A Dxray_loongarch64.cpp43 static inline bool patchSled(const bool Enable, const uint32_t FuncId, in patchSled() argument
86 uint32_t LoFunctionID = FuncId & 0xfff; in patchSled()
87 uint32_t HiFunctionID = (FuncId >> 12) & 0xfffff; in patchSled()
127 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId, in patchFunctionEntry() argument
133 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionExit() argument
137 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled,
139 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionTailExit()
143 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit()
147 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchCustomEvent()
150 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
138 patchFunctionTailExit(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchFunctionTailExit() argument
145 patchCustomEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchCustomEvent() argument
151 patchTypedEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchTypedEvent() argument
[all...]
H A Dxray_basic_logging.cpp48 int32_t FuncId; member
158 void InMemoryRawLog(int32_t FuncId, XRayEntryType Type, in InMemoryRawLog() argument
185 E.FuncId = FuncId; in InMemoryRawLog()
216 if (StackTop.FuncId == FuncId && StackTop.CPU == CPU && in InMemoryRawLog()
242 R.FuncId = FuncId; in InMemoryRawLog()
255 void InMemoryRawLogWithArg(int32_t FuncId, XRayEntryType Type, uint64_t Arg1, in InMemoryRawLogWithArg() argument
277 InMemoryRawLog(FuncId, Type, ReadTSC); in InMemoryRawLogWithArg()
286 R.FuncId = FuncId; in InMemoryRawLogWithArg()
300 void basicLoggingHandleArg0RealTSC(int32_t FuncId, in basicLoggingHandleArg0RealTSC() argument
302 InMemoryRawLog(FuncId, Type, readTSC); in basicLoggingHandleArg0RealTSC()
[all …]
H A Dxray_AArch64.cpp33 inline static bool patchSled(const bool Enable, const uint32_t FuncId, in patchSled() argument
71 *CurAddress = FuncId; in patchSled()
90 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId, in patchFunctionEntry() argument
96 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionExit() argument
100 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled,
102 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionTailExit()
106 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled,
108 return patchSled(Enable, FuncId, Sled, Trampolines.TailExitTrampoline);
125 bool patchCustomEvent(const bool Enable, const uint32_t FuncId, in patchCustomEvent()
136 bool patchTypedEvent(const bool Enable, const uint32_t FuncId, in patchTypedEvent()
101 patchFunctionTailExit(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchFunctionTailExit() argument
120 patchCustomEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchCustomEvent() argument
131 patchTypedEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchTypedEvent() argument
[all...]
H A Dxray_mips.cpp52 inline static bool patchSled(const bool Enable, const uint32_t FuncId, in patchSled() argument
102 uint32_t LoFunctionID = FuncId & 0xffff; in patchSled()
103 uint32_t HiFunctionID = (FuncId >> 16) & 0xffff; in patchSled()
137 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId, in patchFunctionEntry() argument
143 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionExit() argument
147 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled,
149 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionTailExit()
153 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit()
157 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchCustomEvent()
160 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
148 patchFunctionTailExit(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchFunctionTailExit() argument
155 patchCustomEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchCustomEvent() argument
161 patchTypedEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchTypedEvent() argument
[all...]
H A Dxray_arm.cpp76 inline static bool patchSled(const bool Enable, const uint32_t FuncId, in patchSled() argument
109 write32bitLoadR0(CurAddress, reinterpret_cast<uint32_t>(FuncId)); in patchSled()
129 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId, in patchFunctionEntry() argument
135 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionExit() argument
139 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled,
141 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionTailExit()
145 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchCustomEvent() argument
147 return patchSled(Enable, FuncId, Sled, Trampolines.TailExitTrampoline); in patchCustomEvent()
150 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
156 bool patchTypedEvent(const bool Enable, const uint32_t FuncId,
140 patchFunctionTailExit(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchFunctionTailExit() argument
151 patchTypedEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchTypedEvent() argument
[all...]
H A Dxray_mips64.cpp53 inline static bool patchSled(const bool Enable, const uint32_t FuncId, in patchSled() argument
102 uint32_t LoFunctionID = FuncId & 0xffff; in patchSled()
103 uint32_t HiFunctionID = (FuncId >> 16) & 0xffff; in patchSled()
145 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId, in patchFunctionEntry() argument
151 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionExit() argument
155 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled,
157 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionTailExit()
161 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit()
165 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchCustomEvent()
168 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
156 patchFunctionTailExit(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchFunctionTailExit() argument
163 patchCustomEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchCustomEvent() argument
169 patchTypedEvent(const bool Enable,const uint32_t FuncId,const XRaySledEntry & Sled) patchTypedEvent() argument
[all...]
H A Dxray_trampoline_arm.S18 @ In C++ it is void extern "C" __xray_FunctionEntry(uint32_t FuncId) with
19 @ FuncId passed in r0 register.
49 @ In C++ it is extern "C" void __xray_FunctionExit(uint32_t FuncId) with
50 @ FuncId passed in r0 register.
81 @ In C++ it is void extern "C" __xray_FunctionTailExit(uint32_t FuncId)
82 @ with FuncId passed in r0 register.
/llvm-project/llvm/tools/llvm-xray/
H A Dxray-converter.cpp94 Trace.Records.push_back({R.RecordType, R.CPU, R.Type, R.FuncId, in exportAsYAML()
95 Symbolize ? FuncIdHelper.SymbolOrNumber(R.FuncId) in exportAsYAML()
96 : llvm::to_string(R.FuncId), in exportAsYAML()
151 Writer.write(R.FuncId); in exportAsRAWv1()
197 if (node_iter->FuncId == FnId) in findSiblings()
206 if (node_iter->FuncId == FnId) in findSiblings()
217 StackTrieNode *Parent, int32_t FuncId, uint32_t TId, in findOrCreateStackNode() argument
223 auto match = find_if(ParentCallees, [FuncId](StackTrieNode *ParentCallee) { in findOrCreateStackNode()
224 return FuncId == ParentCallee->FuncId; in findOrCreateStackNode()
230 findSiblings(Parent, FuncId, TId, StackRootsByThreadId); in findOrCreateStackNode()
[all …]
H A Dfunc-id-helper.cpp21 std::string FuncIdConversionHelper::SymbolOrNumber(int32_t FuncId) const { in SymbolOrNumber()
22 auto CacheIt = CachedNames.find(FuncId); in SymbolOrNumber()
27 auto It = FunctionAddresses.find(FuncId); in SymbolOrNumber()
29 F << "#" << FuncId; in SymbolOrNumber()
50 CachedNames[FuncId] = S; in SymbolOrNumber()
54 std::string FuncIdConversionHelper::FileLineAndColumn(int32_t FuncId) const { in FileLineAndColumn()
55 auto It = FunctionAddresses.find(FuncId); in FileLineAndColumn()
H A Dxray-account.cpp68 FUNCID, enumerator
81 cl::sub(Account), cl::init(SortField::FUNCID),
82 cl::values(clEnumValN(SortField::FUNCID, "funcid", "function id"),
180 ThreadStack.Stack.emplace_back(Record.FuncId, Record.TSC); in accountRecord()
182 ++(*ThreadStack.RecursionDepth)[Record.FuncId]; in accountRecord()
190 if (ThreadStack.Stack.back().first == Record.FuncId) { in accountRecord()
208 return E.first == Record.FuncId; in accountRecord()
316 const auto &FuncId = FT.first; in exportStats() local
318 Results.emplace_back(FuncId, Timings.size(), getStats(Timings)); in exportStats()
330 Row.Function = FuncIdHelper.SymbolOrNumber(FuncId); in exportStats()
[all …]
H A Dxray-graph.cpp194 // If the record is an ENTER record it pushes the FuncID and TSC onto a
207 // FuncId 0.
224 if (Record.FuncId != 0 && G.count(Record.FuncId) == 0) in accountRecord()
225 G[Record.FuncId].SymbolName = FuncIdHelper.SymbolOrNumber(Record.FuncId); in accountRecord()
226 ThreadStack.push_back({Record.FuncId, Record.TSC}); in accountRecord()
233 if (ThreadStack.size() == 0 || ThreadStack.back().FuncId != Record.FuncId) { in accountRecord()
239 return A.FuncId in accountRecord()
[all...]
H A Dtrie-node.h32 int32_t FuncId; member
56 assert(Left.FuncId == Right.FuncId); in mergeTrieNodes()
58 Left.FuncId, NewParent, {}, MergeFn(Left.ExtraData, Right.ExtraData)}); in mergeTrieNodes()
65 LeftCalleesByFuncId[Callee->FuncId] = Callee; in mergeTrieNodes()
73 auto iter = LeftCalleesByFuncId.find(Callee->FuncId); in mergeTrieNodes()
H A Dxray-stacks.cpp118 "{FuncId: \"{0}\", ThreadId: \"{1}\", RecordType: \"{2}\"}", in format()
119 Converter->SymbolOrNumber(Item.FuncId), Item.TId, in format()
332 StackTrieNode *createTrieNode(uint32_t ThreadId, int32_t FuncId, in createTrieNode() argument
334 NodeStore.push_front(StackTrieNode{FuncId, Parent, {}, {{}, {}}}); in createTrieNode()
342 StackTrieNode *findRootNode(uint32_t ThreadId, int32_t FuncId) { in findRootNode() argument
345 [&](StackTrieNode *N) { return N->FuncId == FuncId; }); in findRootNode()
378 auto *Root = findRootNode(R.TId, R.FuncId); in accountRecord()
379 TS.emplace_back(Root ? Root : createTrieNode(R.TId, R.FuncId, nullptr), in accountRecord()
386 [&](StackTrieNode *N) { return N->FuncId == R.FuncId; }); in accountRecord()
390 auto N = createTrieNode(R.TId, R.FuncId, Top.first); in accountRecord()
[all …]
/llvm-project/bolt/lib/Core/
H A DCallGraph.cpp95 for (NodeId FuncId = 0; FuncId < numNodes(); ++FuncId) { in normalizeArcWeights() local
96 const Node &Func = getNode(FuncId); in normalizeArcWeights()
98 ArcIterator Arc = findArc(Caller, FuncId); in normalizeArcWeights()
109 for (NodeId FuncId = 0; FuncId < numNodes(); ++FuncId) { in adjustArcWeights() local
110 const Node &Func = getNode(FuncId); in adjustArcWeights()
113 ArcIterator Arc = findArc(Caller, FuncId); in adjustArcWeights()
117 setSamples(FuncId, InWeight); in adjustArcWeights()
/llvm-project/llvm/test/tools/llvm-readobj/COFF/
H A Dcodeview-merging.test33 OBJ1: FuncId (0x100D) {
39 OBJ1-NEXT: FuncId (0x100E) {
45 OBJ1-NOT: FuncId
47 OBJ2: FuncId (0x100D) {
54 OBJ2: FuncId (0x1069) {
60 OBJ2-NOT: FuncId
100 CHECK: FuncId (0x1002) {
106 CHECK-NEXT: FuncId (0x1003) {
112 CHECK-NOT: FuncId
/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp74 MCCVFunctionInfo *CodeViewContext::getCVFunctionInfo(unsigned FuncId) { in addFile()
75 if (FuncId >= Functions.size())
77 if (Functions[FuncId].isUnallocatedFunctionInfo()) in getCVFunctionInfo()
79 return &Functions[FuncId]; in getCVFunctionInfo()
82 bool CodeViewContext::recordFunctionId(unsigned FuncId) { in getCVFunctionInfo()
83 if (FuncId >= Functions.size())
84 Functions.resize(FuncId + 1); in recordFunctionId() argument
87 if (!Functions[FuncId].isUnallocatedFunctionInfo()) in recordFunctionId()
91 Functions[FuncId].ParentFuncIdPlusOne = MCCVFunctionInfo::FunctionSentinel; in recordFunctionId()
95 bool CodeViewContext::recordInlinedCallSiteId(unsigned FuncId, unsigne in recordFunctionId()
76 getCVFunctionInfo(unsigned FuncId) getCVFunctionInfo() argument
97 recordInlinedCallSiteId(unsigned FuncId,unsigned IAFunc,unsigned IAFile,unsigned IALine,unsigned IACol) recordInlinedCallSiteId() argument
273 getFunctionLineEntries(unsigned FuncId) getFunctionLineEntries() argument
311 getLineExtent(unsigned FuncId) getLineExtent() argument
320 getLineExtentIncludingInlinees(unsigned FuncId) getLineExtentIncludingInlinees() argument
348 emitLineTableForFunction(MCObjectStreamer & OS,unsigned FuncId,const MCSymbol * FuncBegin,const MCSymbol * FuncEnd) emitLineTableForFunction() argument
[all...]
/llvm-project/llvm/lib/XRay/
H A DProfile.cpp78 static Expected<std::vector<Profile::FuncID>> readPath(DataExtractor &Extractor, in readPath()
81 std::vector<Profile::FuncID> Path; in readPath()
83 int32_t FuncId; in readPath() local
85 FuncId = Extractor.getSigned(&Offset, 4); in readPath()
91 Path.push_back(FuncId); in readPath()
92 } while (FuncId != 0); in readPath()
131 Expected<std::vector<Profile::FuncID>> Profile::expandPath(PathID P) const { in expandPath()
137 std::vector<Profile::FuncID> Path; in expandPath()
143 Profile::PathID Profile::internPath(ArrayRef<FuncID> P) { in internPath()
321 Profile::FuncID FuncId; member
[all …]
/llvm-project/compiler-rt/lib/xray/tests/unit/
H A Dfdr_controller_test.cpp32 using ::llvm::xray::testing::FuncId;
75 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER)), in TEST_F()
76 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::EXIT))))); in TEST_F()
99 AllOf(FuncId(FId), RecordType(llvm::xray::RecordTypes::ENTER)), in TEST_F()
100 AllOf(FuncId(FId), RecordType(llvm::xray::RecordTypes::EXIT)), in TEST_F()
101 AllOf(FuncId(FId), RecordType(llvm::xray::RecordTypes::ENTER_ARG)), in TEST_F()
102 AllOf(FuncId(FId), RecordType(llvm::xray::RecordTypes::TAIL_EXIT))))); in TEST_F()
135 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER_ARG), in TEST_F()
137 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::EXIT))))); in TEST_F()
159 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER), in TEST_F()
[all …]
/llvm-project/llvm/test/DebugInfo/COFF/
H A Dinlining-padding.ll7 ; CHECK: FuncId (0x1002) {
14 ; CHECK: FuncId (0x1003) {
21 ; CHECK: FuncId (0x1004) {
28 ; CHECK: FuncId (0x1005) {
39 ; CHECK-NEXT: FuncID: a (0x1002)
40 ; CHECK-NEXT: FuncID: ab (0x1003)
41 ; CHECK-NEXT: FuncID: abc (0x1004)
42 ; CHECK-NEXT: FuncID: abcd (0x1005)
/llvm-project/llvm/test/tools/llvm-xray/X86/
H A Daccount-simple-sorting.yaml33 #DEFAULT-NEXT: funcid count [ min, med, 90p, 99p, max] sum function
38 #COUNT-ASC-NEXT: funcid count [ min, med, 90p, 99p, max] sum function
43 #COUNT-DSC-NEXT: funcid count [ min, med, 90p, 99p, max] sum function
48 #MIN-ASC-NEXT: funcid count [ min, med, 90p, 99p, max] sum function
53 #MIN-DSC-NEXT: funcid count [ min, med, 90p, 99p, max] sum function
58 #MAX-ASC-NEXT: funcid count [ min, med, 90p, 99p, max] sum function
63 #MAX-DSC-NEXT: funcid count [ min, med, 90p, 99p, max] sum function
68 #SUM-ASC-NEXT: funcid count [ min, med, 90p, 99p, max] sum function
73 #SUM-DSC-NEXT: funcid count [ min, med, 90p, 99p, max] sum function
/llvm-project/bolt/lib/Passes/
H A DReorderFunctions.cpp127 for (const NodeId FuncId : Cluster.targets()) { in reorder()
128 Cg.nodeIdToFunc(FuncId)->setIndex(Index++); in reorder()
129 FuncAddr[FuncId] = TotalSize; in reorder()
130 TotalSize += Cg.size(FuncId); in reorder()
181 for (NodeId FuncId : Cluster.targets()) { in printStats()
182 if (Cg.samples(FuncId) > 0) { in printStats()
186 BC.outs() << "BOLT-INFO: hot func " << *Cg.nodeIdToFunc(FuncId) in printStats()
187 << " (" << Cg.size(FuncId) << ")\n"; in printStats()
191 for (NodeId Dst : Cg.successors(FuncId)) { in printStats()
192 if (FuncId in printStats()
126 for (const NodeId FuncId : Cluster.targets()) { reorder() local
180 for (NodeId FuncId : Cluster.targets()) { printStats() local
[all...]

1234567