diff options
| author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-06-22 07:35:13 +0000 |
|---|---|---|
| committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-06-22 07:35:13 +0000 |
| commit | fcfa633bf8ed18c113225d82250bcfd82310c137 (patch) | |
| tree | dcc655bfde1116bf838d08bd52b9d2218cbf2ac2 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
| parent | c6bff718c245df0524fede9ddacdd708aef8328d (diff) | |
| download | llvm-fcfa633bf8ed18c113225d82250bcfd82310c137.zip llvm-fcfa633bf8ed18c113225d82250bcfd82310c137.tar.gz llvm-fcfa633bf8ed18c113225d82250bcfd82310c137.tar.bz2 | |
Performance optimizations:
- SwitchInst: case values stored separately from Operands List. It allows to make faster access to individual case value numbers or ranges.
- Optimized IntItem, added APInt value caching.
- Optimized IntegersSubsetGeneric: added optimizations for cases when subset is single number or when subset consists from single numbers only.
On my machine these optimizations gave about 4-6% of compile-time improvement.
llvm-svn: 158979
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions
