You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,10 @@ class BasicBlockSectionsProfileReader : public ImmutablePass {
134
134
inconvertibleErrorCode());
135
135
}
136
136
137
-
// Parses a `ProfileBBID` from `S`. `S` should be in the form "<bbid>" (representing an original block) or "<bbid>.<cloneid>" (representing a cloned block) where bbid is a non-negative integer and cloneid is a positive integer.
137
+
// Parses a `ProfileBBID` from `S`. `S` must be in the form "<bbid>"
138
+
// (representing an original block) or "<bbid>.<cloneid>" (representing a
139
+
// cloned block) where bbid is a non-negative integer and cloneid is a
// clone basic blocks along a path. The cloned blocks are then specified in the
86
87
// cluster information.
87
88
// The following profile lists two cloning paths (starting with 'p') for
88
-
// function bar and places the total 9 blocks within two clusters. The blocks in each path are cloned along the path from the first block (the first block is not cloned).
89
-
// For instance, path 1 (1 -> 3 -> 4) specifies that 3 and 4 must be cloned along the edge 1->3. In the clusters, each cloned
90
-
// block is identified by its original block id, along with its clone id. For instance, the cloned blocks from path 1 are represented by 3.1 and 4.1.
91
-
// A block cloned multiple times appears with distinct clone ids. The CFG for bar
89
+
// function bar and places the total 9 blocks within two clusters. The first two
90
+
// blocks of a cloning path specify the edge along which the path is cloned. For
91
+
// instance, path 1 (1 -> 3 -> 4) instructs that 3 and 4 must be cloned along
92
+
// the edge 1->3. Within the given clusters, each cloned block is identified by
93
+
// "<original block id>.<clone id>". For instance, 3.1 represents the first
94
+
// clone of block 3. Original blocks are specified just with their block ids. A
95
+
// block cloned multiple times appears with distinct clone ids. The CFG for bar
92
96
// is shown below before and after cloning with its final clusters labeled.
0 commit comments