summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCUDA/device-var-init.cu
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 /clang/test/CodeGenCUDA/device-var-init.cu
parent1ebb2c92f2635a7d4182e3b3cb47abcaf44cc572 (diff)
downloadbcm5719-llvm-cfd97b93866965cf197caf2d7dd586fa7670fa06.tar.gz
bcm5719-llvm-cfd97b93866965cf197caf2d7dd586fa7670fa06.zip
[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 'clang/test/CodeGenCUDA/device-var-init.cu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud