diff options
author | Sam Parker <sam.parker@arm.com> | 2020-09-07 12:06:02 +0100 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2020-09-10 08:21:11 +0100 |
commit | 0bdf8c9127244127aef3620a8ef1eb4d2be57dad (patch) | |
tree | 43a8dea4023a9ee360883b6ec8b52c7be5495097 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | 1919b650523282c550536b6b72eb4713cd6712f4 (diff) | |
download | llvm-0bdf8c9127244127aef3620a8ef1eb4d2be57dad.zip llvm-0bdf8c9127244127aef3620a8ef1eb4d2be57dad.tar.gz llvm-0bdf8c9127244127aef3620a8ef1eb4d2be57dad.tar.bz2 |
[SCEV] Constant expansion cost at minsize
As code size is the only thing we care about at minsize, query the
cost of materialising immediates when calculating the cost of a SCEV
expansion. We also modify the CostKind to TCK_CodeSize for minsize,
instead of RecipThroughput.
Differential Revision: https://reviews.llvm.org/D76434
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions