diff options
author | Quentin Colombet <qcolombet@apple.com> | 2016-05-20 00:35:26 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2016-05-20 00:35:26 +0000 |
commit | cfd97b93866965cf197caf2d7dd586fa7670fa06 (patch) | |
tree | d042d43742a794b96dd7cfa29f41ddce15486de8 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 1ebb2c92f2635a7d4182e3b3cb47abcaf44cc572 (diff) | |
download | llvm-cfd97b93866965cf197caf2d7dd586fa7670fa06.zip llvm-cfd97b93866965cf197caf2d7dd586fa7670fa06.tar.gz llvm-cfd97b93866965cf197caf2d7dd586fa7670fa06.tar.bz2 |
[RegBankSelect] Introduce MappingCost helper class.
This helper class will be used to represent the cost of mapping an
instruction to a specific register bank.
The particularity of these costs is that they are mostly local, thus the
frequency of the basic block is irrelevant. However, for few
instructions (e.g., phis and terminators), the cost may be non-local and
then, we need to account for the frequency of the involved basic blocks.
This will be used by the greedy mode I am working on.
llvm-svn: 270163
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions