llvm-project/llvm/lib/CodeGen/GlobalISel
Quentin Colombet cfd97b9386 [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
2016-05-20 00:35:26 +00:00
..
CMakeLists.txt [GlobalISel] Add the RegisterBankInfo class for the handling of register banks. 2016-04-05 20:02:47 +00:00
GlobalISel.cpp [GlobalISel] Add the skeleton of the RegBankSelect pass. 2016-04-05 19:06:01 +00:00
IRTranslator.cpp [GlobalISel] Coding style and whitespace fixes 2016-04-14 17:23:33 +00:00
LLVMBuild.txt GlobalISel is always built since r260566, reflect it in LLVMBuild.txt 2016-02-12 18:43:14 +00:00
MachineIRBuilder.cpp [IRTranslator] Translate unconditional branches. 2016-03-11 17:28:03 +00:00
RegBankSelect.cpp [RegBankSelect] Introduce MappingCost helper class. 2016-05-20 00:35:26 +00:00
RegisterBank.cpp [RegisterBankInfo] Change the API for the verify methods. 2016-04-21 18:34:43 +00:00
RegisterBankInfo.cpp Fix -Wunused-variable in non-asserts build. 2016-04-22 09:50:31 +00:00