diff options
author | Sam Parker <sam.parker@arm.com> | 2020-05-20 09:18:42 +0100 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2020-05-20 11:59:08 +0100 |
commit | 8cc911fa5b06f055430d006d0640248fcac2a101 (patch) | |
tree | fd7f7f84b82fc021d5c748b36a32741d1d833fcd /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8214eff467f583309e9fbb971862d3c1cdcc65e4 (diff) | |
download | llvm-8cc911fa5b06f055430d006d0640248fcac2a101.zip llvm-8cc911fa5b06f055430d006d0640248fcac2a101.tar.gz llvm-8cc911fa5b06f055430d006d0640248fcac2a101.tar.bz2 |
[NFCI][CostModel] Refactor getIntrinsicInstrCost
Combine the two API calls into one by introducing a structure to hold
the relevant data. This has the added benefit of moving the boiler
plate code for arguments and flags, into the constructors. This is
intended to be a non-functional change, but the complicated web of
logic involved here makes it very hard to guarantee.
Differential Revision: https://reviews.llvm.org/D79941
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions