File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ void dumpBits(const SmallBitVector &bits);
43
43
// /
44
44
// / Memory locations are limited to addresses which are guaranteed to
45
45
// / be not aliased, like @in/inout parameters and alloc_stack.
46
- // / Currently only a certain set of address instructions are supported:
47
- // / Specifically those instructions which are going to be included when SIL
48
- // / supports opaque values .
46
+ // / Currently only a certain set of address instructions are supported, for
47
+ // / details see `MemoryLocations::analyzeLocationUsesRecursively` and
48
+ // / `MemoryLocations::analyzeAddrProjection` .
49
49
class MemoryLocations {
50
50
public:
51
51
@@ -288,7 +288,7 @@ class MemoryLocations {
288
288
// / not covered by sub-fields.
289
289
const Bits &getNonTrivialLocations ();
290
290
291
- // / Debug dump the MemoryLifetime internals.
291
+ // / Debug dump the MemoryLocations internals.
292
292
void dump () const ;
293
293
294
294
private:
Original file line number Diff line number Diff line change @@ -31,11 +31,8 @@ namespace {
31
31
// / A utility for verifying memory lifetime.
32
32
// /
33
33
// / The MemoryLifetime utility checks the lifetime of memory locations.
34
- // / This is limited to memory locations which are guaranteed to be not aliased,
35
- // / like @in or @inout parameters. Also, alloc_stack locations are handled.
36
- // /
37
- // / In addition to verification, the MemoryLifetime class can be used as utility
38
- // / (e.g. base class) for optimizations, which need to compute memory lifetime.
34
+ // / This is limited to memory locations which can be handled by
35
+ // / `MemoryLocations`.
39
36
class MemoryLifetimeVerifier {
40
37
41
38
using Bits = MemoryLocations::Bits;
You can’t perform that action at this time.
0 commit comments