diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-04-21 21:34:39 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-05-03 22:10:47 -0500 |
commit | 14cb0bdf2b6ca0b7befbb07fe9f73dad5786f59b (patch) | |
tree | 5a3a47c2586eacc9bffbf754fdb36a7974ffbb4f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 95e0d28b71e42c9b7cd77c96f728311981a021f6 (diff) | |
download | llvm-14cb0bdf2b6ca0b7befbb07fe9f73dad5786f59b.zip llvm-14cb0bdf2b6ca0b7befbb07fe9f73dad5786f59b.tar.gz llvm-14cb0bdf2b6ca0b7befbb07fe9f73dad5786f59b.tar.bz2 |
[Attributor][NFC] Replace the nested AAMap with a key pair
No functional change is intended.
---
Single run of the Attributor module and then CGSCC pass (oldPM)
for SPASS/clause.c (~10k LLVM-IR loc):
Before:
```
calls to allocation functions: 512375 (362871/s)
temporary memory allocations: 98746 (69933/s)
peak heap memory consumption: 22.54MB
peak RSS (including heaptrack overhead): 106.78MB
total memory leaked: 269.10KB
```
After:
```
calls to allocation functions: 509833 (338534/s)
temporary memory allocations: 98902 (65671/s)
peak heap memory consumption: 18.71MB
peak RSS (including heaptrack overhead): 103.00MB
total memory leaked: 269.10KB
```
Difference:
```
calls to allocation functions: -2542 (-27042/s)
temporary memory allocations: 156 (1659/s)
peak heap memory consumption: -3.83MB
peak RSS (including heaptrack overhead): 0B
total memory leaked: 0B
```
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions