aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-05-20 00:35:26 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-05-20 00:35:26 +0000
commitcfd97b93866965cf197caf2d7dd586fa7670fa06 (patch)
treed042d43742a794b96dd7cfa29f41ddce15486de8 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent1ebb2c92f2635a7d4182e3b3cb47abcaf44cc572 (diff)
downloadllvm-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