https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109203
>From 4b6269df2546069716bf3c7cc566e7ef918a02c5 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 18 Sep 2024 14:18:23 -0700
Subject: [PATCH] [ctx_prof] Automatically convert available external linkage
to
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109203
>From 2f34ca7929fd4040831d1ae51fd65420d5d2b630 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 18 Sep 2024 14:18:23 -0700
Subject: [PATCH] [ctx_prof] Automatically convert available external linkage
to
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109203
>From 3cafcfb2e786e48c53214c2767b3e72b415aa3bb Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 18 Sep 2024 14:18:23 -0700
Subject: [PATCH] [ctx_prof] Automatically convert available external linkage
to
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109203
>From ccc89f9225f33508098c9a0c457f3f8d02a6a8e8 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 18 Sep 2024 14:18:23 -0700
Subject: [PATCH] [ctx_prof] Automatically convert available external linkage
to
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109203
>From 49a3d00864cf1850a8f5f1aff71b66603e2a8d8c Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 18 Sep 2024 14:18:23 -0700
Subject: [PATCH] [ctx_prof] Automatically convert available external linkage
to
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109185
>From dfde0036f6dd98f859c7c3984c4e44d6224d17f0 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 17 Sep 2024 22:00:42 -0700
Subject: [PATCH] [ctx_prof] Handle `select`
---
llvm/include/llvm/Analysis/CtxP
mtrofin wrote:
> [!WARNING]
> This pull request is not mergeable via GitHub because a downstack PR is
> open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/109184?utm_source=stack-comment-downstack-mergeability-warning";
mtrofin wrote:
> [!WARNING]
> This pull request is not mergeable via GitHub because a downstack PR is
> open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/109185?utm_source=stack-comment-downstack-mergeability-warning";
mtrofin wrote:
> [!WARNING]
> This pull request is not mergeable via GitHub because a downstack PR is
> open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/109203?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109203
>From 24c376930f98887c88476fd6a41af0b5a452acc1 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 18 Sep 2024 14:18:23 -0700
Subject: [PATCH] [ctx_prof] Automatically convert available external linkage
to
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109185
>From b68a12f999df971ca42c8c68e4f3ac091034c47a Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 17 Sep 2024 22:00:42 -0700
Subject: [PATCH] [ctx_prof] Handle `select`
---
llvm/include/llvm/Analysis/CtxP
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109184
>From f654c77a3f1902b8dc7d9674d89f08f7fca0c85f Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 17 Sep 2024 22:03:30 -0700
Subject: [PATCH] [ctx_prof] Don't try finding callsite annotation for
un-instrum
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/109203
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/109203
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109203
>From bcac23616ef0b321e4e7c48e4f08067241807ea7 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 18 Sep 2024 14:18:23 -0700
Subject: [PATCH] [ctx_prof] Automatically convert available external linkage
to
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109185
>From 7e92883f5ac815136d891b8c15728af1e7086df7 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 17 Sep 2024 22:00:42 -0700
Subject: [PATCH] [ctx_prof] Handle `select`
---
llvm/include/llvm/Analysis/CtxP
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/109184
>From 152a2a965e4c500f207b960293578c3715ffd903 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 17 Sep 2024 22:03:30 -0700
Subject: [PATCH] [ctx_prof] Don't try finding callsite annotation for
un-instrum
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/109203
None
>From 886b8947ae2dfa496a56ff0251f6fe22dca5060e Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 18 Sep 2024 14:18:23 -0700
Subject: [PATCH] [ctx_prof] Automatically convert available external linkag
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/109184
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/109185
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/109184
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/109185
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/109185
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/109184
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/109184
None
>From 987562aab1c409b62b1a4c5d6d8566ad812b8313 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 17 Sep 2024 22:03:30 -0700
Subject: [PATCH] [ctx_prof] Don't try finding callsite annotation for
un-i
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/109185
None
>From 09642a4889da1d0e10f54b17b84e32dae5c8557e Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 17 Sep 2024 22:00:42 -0700
Subject: [PATCH] [ctx_prof] Handle `select`
---
llvm/include/llvm/Analysi
mtrofin wrote:
### Merge activity
* **Sep 6, 4:40 PM EDT**: @mtrofin started a stack merge that includes this
pull request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/107329).
https://github.com/llvm/llvm-project/pull/107329
___
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/107499
>From 3cd88ecfa05613ce4f8e4d9671ca3e1d4169fe82 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 5 Sep 2024 12:52:56 -0700
Subject: [PATCH] [ctx_prof] Insert the ctx prof flattener after the module
inline
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/107329
>From 22e94e4f30c0b3f4c895e789961bff03db745980 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 3 Sep 2024 21:28:05 -0700
Subject: [PATCH] [ctx_prof] Flattened profile lowering pass
---
llvm/include/llv
mtrofin wrote:
> [!WARNING]
> This pull request is not mergeable via GitHub because a downstack PR is
> open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/107499?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/107499
None
>From e90265db97747c0b15f81b31f061e299ffd33138 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 5 Sep 2024 12:52:56 -0700
Subject: [PATCH] [ctx_prof] Insert the ctx prof flattener after the module
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/107329
>From 856568c07d924dd59aaa81450cb8bcb64d60d2eb Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 3 Sep 2024 21:28:05 -0700
Subject: [PATCH] [ctx_prof] Flattened profile lowering pass
---
llvm/include/llv
@@ -0,0 +1,333 @@
+//===- PGOCtxProfFlattening.cpp - Contextual Instr. Flattening
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,333 @@
+//===- PGOCtxProfFlattening.cpp - Contextual Instr. Flattening
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,333 @@
+//===- PGOCtxProfFlattening.cpp - Contextual Instr. Flattening
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,333 @@
+//===- PGOCtxProfFlattening.cpp - Contextual Instr. Flattening
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/107329
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin approved this pull request.
https://github.com/llvm/llvm-project/pull/106823
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
mtrofin wrote:
### Merge activity
* **Aug 27, 6:37 PM EDT**: @mtrofin started a stack merge that includes this
pull request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/105469).
https://github.com/llvm/llvm-project/pull/105469
__
@@ -456,3 +463,170 @@ declare void @_ZN5Base35func3Ev(ptr)
// 1 call instruction from the entry block.
EXPECT_EQ(F->front().size(), OrigEntryBBSize + 4);
}
+
+using namespace llvm::ctx_profile;
+
+class ContextManager final {
+ std::vector> Nodes;
+ std::map Roots;
+
+pub
@@ -456,3 +463,170 @@ declare void @_ZN5Base35func3Ev(ptr)
// 1 call instruction from the entry block.
EXPECT_EQ(F->front().size(), OrigEntryBBSize + 4);
}
+
+using namespace llvm::ctx_profile;
+
+class ContextManager final {
+ std::vector> Nodes;
+ std::map Roots;
+
+pub
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From 63169fae1171006df0e6e40e64fe9479c371d376 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From a4079fec267380e8503b96eb4685682f01f93e2f Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From a4079fec267380e8503b96eb4685682f01f93e2f Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From 4e948895dfc12595f0d65e2599d3d369da8ee204 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From 955ac292d2b879a5d8557688345fad4d3e21a09b Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
@@ -572,6 +575,89 @@ CallBase &llvm::promoteCallWithIfThenElse(CallBase &CB,
Function *Callee,
return promoteCall(NewInst, Callee);
}
+CallBase *llvm::promoteCallWithIfThenElse(CallBase &CB, Function &Callee,
+ PGOContextualProfile &
@@ -572,6 +575,89 @@ CallBase &llvm::promoteCallWithIfThenElse(CallBase &CB,
Function *Callee,
return promoteCall(NewInst, Callee);
}
+CallBase *llvm::promoteCallWithIfThenElse(CallBase &CB, Function &Callee,
+ PGOContextualProfile &
@@ -456,3 +463,170 @@ declare void @_ZN5Base35func3Ev(ptr)
// 1 call instruction from the entry block.
EXPECT_EQ(F->front().size(), OrigEntryBBSize + 4);
}
+
+using namespace llvm::ctx_profile;
+
+class ContextManager final {
+ std::vector> Nodes;
+ std::map Roots;
+
+pub
@@ -57,9 +57,23 @@ class PGOCtxProfContext final {
GlobalValue::GUID guid() const { return GUID; }
const SmallVectorImpl &counters() const { return Counters; }
+ SmallVectorImpl &counters() { return Counters; }
+
+ uint64_t getEntrycount() const { return Counters[0]; }
-
@@ -572,6 +575,89 @@ CallBase &llvm::promoteCallWithIfThenElse(CallBase &CB,
Function *Callee,
return promoteCall(NewInst, Callee);
}
+CallBase *llvm::promoteCallWithIfThenElse(CallBase &CB, Function &Callee,
+ PGOContextualProfile &
@@ -105,13 +111,18 @@ class CtxProfAnalysis : public
AnalysisInfoMixin {
class CtxProfAnalysisPrinterPass
: public PassInfoMixin {
- raw_ostream &OS;
-
public:
- explicit CtxProfAnalysisPrinterPass(raw_ostream &OS) : OS(OS) {}
+ enum class PrintMode { Everything, JSON
@@ -105,13 +111,18 @@ class CtxProfAnalysis : public
AnalysisInfoMixin {
class CtxProfAnalysisPrinterPass
: public PassInfoMixin {
- raw_ostream &OS;
-
public:
- explicit CtxProfAnalysisPrinterPass(raw_ostream &OS) : OS(OS) {}
+ enum class PrintMode { Everything, JSON
@@ -57,9 +57,23 @@ class PGOCtxProfContext final {
GlobalValue::GUID guid() const { return GUID; }
const SmallVectorImpl &counters() const { return Counters; }
+ SmallVectorImpl &counters() { return Counters; }
+
+ uint64_t getEntrycount() const { return Counters[0]; }
+
@@ -572,6 +575,89 @@ CallBase &llvm::promoteCallWithIfThenElse(CallBase &CB,
Function *Callee,
return promoteCall(NewInst, Callee);
}
+CallBase *llvm::promoteCallWithIfThenElse(CallBase &CB, Function &Callee,
+ PGOContextualProfile &
@@ -1585,6 +1586,7 @@ class InstrProfCallsite : public InstrProfCntrInstBase {
return isa(V) && classof(cast(V));
}
Value *getCallee() const;
+ void setCallee(Value *);
mtrofin wrote:
done
https://github.com/llvm/llvm-project/pull/105469
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From 40b481829c2c2d284210cfcc157de796c6cb Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
mtrofin wrote:
> [!WARNING]
> This pull request is not mergeable via GitHub because a downstack PR is
> open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/106154?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/106154
None
>From eda80fe012239f907df3ee3c4d6d94c93d9d4df2 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 22 Aug 2024 18:03:56 -0700
Subject: [PATCH] [ctx_prof] Add Inlining support
---
llvm/include/llvm/An
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From 44201f1b7d371f156a8ae02b329f2321cad503d2 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From 0ff81a0fb355f31a863ded1ce677b8dad26b3c0f Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/105469
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/105469
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From d58d308957961ae7442a7b5aa0561f42dea69caf Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From 0d7c720e67a0213565f0e7c141c4ffa1b91fc5b9 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:09:16 -0700
Subject: [PATCH 1/2] [ctx_prof] API to get the instrumentation of a BB
---
llvm
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From d58d308957961ae7442a7b5aa0561f42dea69caf Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From de6d88788d35cfeace3f694008d446e8175421a0 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105468
>From f81d31c3311690826bdc1f5c83fc45b4864de035 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:09:16 -0700
Subject: [PATCH] [ctx_prof] API to get the instrumentation of a BB
---
llvm/inc
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105469
>From 1edbc3bed4cf6c2726394a346891409d5f548537 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:32:23 -0700
Subject: [PATCH] [ctx_prof] Add support for ICP
---
llvm/include/llvm/Analysis/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/105468
>From c5ee379ec43215d8268219ec3cfced3f7f730fc8 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 20 Aug 2024 21:09:16 -0700
Subject: [PATCH] [ctx_prof] API to get the instrumentation of a BB
---
llvm/inc
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/104539
>From c0eb05f775a88fdf343d52b7af7fcc5eb4b2497e Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 15 Aug 2024 19:03:30 -0700
Subject: [PATCH] [ctx_prof] Profile flatterner
---
llvm/include/llvm/Analysis/C
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/104539
>From dfbb9803ce352441cd14f250b4d29c603d727e1b Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 15 Aug 2024 19:03:30 -0700
Subject: [PATCH] [ctx_prof] Profile flatterner
---
llvm/include/llvm/Analysis/C
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/104539
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/104491
>From c21867b07c677f46f7e0ea801b38acea8eccf6fc Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 15 Aug 2024 10:28:04 -0700
Subject: [PATCH] [ctx_prof] Add analysis utility to fetch ID of a callsite
---
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/104491
>From 505149ba03c189a95f415ef1199627020a740e7a Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 15 Aug 2024 10:28:04 -0700
Subject: [PATCH] [ctx_prof] Add analysis utility to fetch ID of a callsite
---
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/104491
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/104491
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
mtrofin wrote:
> [!WARNING]
> This pull request is not mergeable via GitHub because a downstack PR is
> open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/104491?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/104491
None
>From e0cb0c4b74d0f5fb695d80973b366399ed6dda2b Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 15 Aug 2024 10:28:04 -0700
Subject: [PATCH] [ctx_prof] Add analysis utility to fetch ID of a callsite
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/78880
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin approved this pull request.
LGTM, some nits
https://github.com/llvm/llvm-project/pull/78880
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-c
@@ -156,10 +88,86 @@ def main(argv):
)
-def entrypoint():
-multiprocessing.set_start_method("fork")
-app.run(main)
-
-
if __name__ == "__main__":
-entrypoint()
+parser = argparse.ArgumentParser(
mtrofin wrote:
nit: could you factor all t
@@ -12,43 +12,38 @@
--default_args=""
"""
-from absl import app
-from absl import flags
-from absl import logging
+import logging
+import argparse
mtrofin wrote:
can the imports be in alphabetical order, or does `black` not do that for us?
https://github.c
Author: Mircea Trofin
Date: 2021-01-21T20:31:52-08:00
New Revision: c042aff8860df3cad2b274bf0a495e83ae36ddee
URL:
https://github.com/llvm/llvm-project/commit/c042aff8860df3cad2b274bf0a495e83ae36ddee
DIFF:
https://github.com/llvm/llvm-project/commit/c042aff8860df3cad2b274bf0a495e83ae36ddee.diff
Author: Mircea Trofin
Date: 2021-01-20T13:33:43-08:00
New Revision: ccec2cf1d9d7e991ef5a2ff2b02d466ebe6cd7a5
URL:
https://github.com/llvm/llvm-project/commit/ccec2cf1d9d7e991ef5a2ff2b02d466ebe6cd7a5
DIFF:
https://github.com/llvm/llvm-project/commit/ccec2cf1d9d7e991ef5a2ff2b02d466ebe6cd7a5.diff
Author: Mircea Trofin
Date: 2021-01-20T13:18:03-08:00
New Revision: 95ce32c7878d92a9058c052ebe7b35f97f23569e
URL:
https://github.com/llvm/llvm-project/commit/95ce32c7878d92a9058c052ebe7b35f97f23569e
DIFF:
https://github.com/llvm/llvm-project/commit/95ce32c7878d92a9058c052ebe7b35f97f23569e.diff
Author: Mircea Trofin
Date: 2021-01-20T11:19:34-08:00
New Revision: d97f776be5f8cd3cd446fe73827cd355f6bab4e1
URL:
https://github.com/llvm/llvm-project/commit/d97f776be5f8cd3cd446fe73827cd355f6bab4e1
DIFF:
https://github.com/llvm/llvm-project/commit/d97f776be5f8cd3cd446fe73827cd355f6bab4e1.diff
Author: Mircea Trofin
Date: 2021-01-20T11:07:36-08:00
New Revision: e8aec763a57e211420dfceb2a8dc6b88574924f3
URL:
https://github.com/llvm/llvm-project/commit/e8aec763a57e211420dfceb2a8dc6b88574924f3
DIFF:
https://github.com/llvm/llvm-project/commit/e8aec763a57e211420dfceb2a8dc6b88574924f3.diff
Author: Mircea Trofin
Date: 2021-01-19T12:22:29-08:00
New Revision: 27afc091e2c0caa954326129adb86987d1b41c91
URL:
https://github.com/llvm/llvm-project/commit/27afc091e2c0caa954326129adb86987d1b41c91
DIFF:
https://github.com/llvm/llvm-project/commit/27afc091e2c0caa954326129adb86987d1b41c91.diff
Author: Mircea Trofin
Date: 2021-01-15T21:59:35-08:00
New Revision: a61e42efbb73e55c44cbb0eb2686c7b4a25ca812
URL:
https://github.com/llvm/llvm-project/commit/a61e42efbb73e55c44cbb0eb2686c7b4a25ca812
DIFF:
https://github.com/llvm/llvm-project/commit/a61e42efbb73e55c44cbb0eb2686c7b4a25ca812.diff
Author: Mircea Trofin
Date: 2021-01-15T20:28:15-08:00
New Revision: 029c2257c21e15e00806b2083e8881fb2468900e
URL:
https://github.com/llvm/llvm-project/commit/029c2257c21e15e00806b2083e8881fb2468900e
DIFF:
https://github.com/llvm/llvm-project/commit/029c2257c21e15e00806b2083e8881fb2468900e.diff
Author: Mircea Trofin
Date: 2021-01-15T17:59:38-08:00
New Revision: e8049dc3c8a46ccd75ce2a4f438d695d20feb660
URL:
https://github.com/llvm/llvm-project/commit/e8049dc3c8a46ccd75ce2a4f438d695d20feb660
DIFF:
https://github.com/llvm/llvm-project/commit/e8049dc3c8a46ccd75ce2a4f438d695d20feb660.diff
Author: Mircea Trofin
Date: 2021-01-15T16:21:30-08:00
New Revision: aa3d4d9939595295d19969c62077cc09e4823f58
URL:
https://github.com/llvm/llvm-project/commit/aa3d4d9939595295d19969c62077cc09e4823f58
DIFF:
https://github.com/llvm/llvm-project/commit/aa3d4d9939595295d19969c62077cc09e4823f58.diff
Author: Mircea Trofin
Date: 2021-01-14T09:46:13-08:00
New Revision: 35c8a6cbf5ff0b525e2c01e5d746067bdda1dde7
URL:
https://github.com/llvm/llvm-project/commit/35c8a6cbf5ff0b525e2c01e5d746067bdda1dde7
DIFF:
https://github.com/llvm/llvm-project/commit/35c8a6cbf5ff0b525e2c01e5d746067bdda1dde7.diff
Author: Mircea Trofin
Date: 2021-01-14T08:56:45-08:00
New Revision: e21bf875c0f709a721d98450203781a605483a1d
URL:
https://github.com/llvm/llvm-project/commit/e21bf875c0f709a721d98450203781a605483a1d
DIFF:
https://github.com/llvm/llvm-project/commit/e21bf875c0f709a721d98450203781a605483a1d.diff
Author: Mircea Trofin
Date: 2021-01-12T15:24:44-08:00
New Revision: 585612355cdf836b434a5331b1263e961135a1ab
URL:
https://github.com/llvm/llvm-project/commit/585612355cdf836b434a5331b1263e961135a1ab
DIFF:
https://github.com/llvm/llvm-project/commit/585612355cdf836b434a5331b1263e961135a1ab.diff
Author: Mircea Trofin
Date: 2021-01-12T14:31:22-08:00
New Revision: 55f2eeebc96e7522e49e19074cbfbe4e7f074b5b
URL:
https://github.com/llvm/llvm-project/commit/55f2eeebc96e7522e49e19074cbfbe4e7f074b5b
DIFF:
https://github.com/llvm/llvm-project/commit/55f2eeebc96e7522e49e19074cbfbe4e7f074b5b.diff
Author: Mircea Trofin
Date: 2021-01-11T12:32:18-08:00
New Revision: 05e90cefeb4bc5613b2cadedc2b8e2ecb2ed20ed
URL:
https://github.com/llvm/llvm-project/commit/05e90cefeb4bc5613b2cadedc2b8e2ecb2ed20ed
DIFF:
https://github.com/llvm/llvm-project/commit/05e90cefeb4bc5613b2cadedc2b8e2ecb2ed20ed.diff
Author: Mircea Trofin
Date: 2021-01-11T09:24:52-08:00
New Revision: 7200d2cf0891ef56607fd0336029b33bd4097eed
URL:
https://github.com/llvm/llvm-project/commit/7200d2cf0891ef56607fd0336029b33bd4097eed
DIFF:
https://github.com/llvm/llvm-project/commit/7200d2cf0891ef56607fd0336029b33bd4097eed.diff
Author: Mircea Trofin
Date: 2021-01-09T11:43:32-08:00
New Revision: 75c04327a5ec1f3b7014ebc410f3ef5833537863
URL:
https://github.com/llvm/llvm-project/commit/75c04327a5ec1f3b7014ebc410f3ef5833537863
DIFF:
https://github.com/llvm/llvm-project/commit/75c04327a5ec1f3b7014ebc410f3ef5833537863.diff
1 - 100 of 125 matches
Mail list logo