diff options
author | Quentin Colombet <qcolombet@apple.com> | 2016-05-20 00:49:10 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2016-05-20 00:49:10 +0000 |
commit | 5565075418566408f917e8eecec8f63b69c5ee2a (patch) | |
tree | 1dc16ecd32d98dc79c1e20b0b8ba7194dbd1b681 /llvm/lib/CodeGen/BuiltinGCs.cpp | |
parent | 0d77da4ef808c8e06b26dd3cc3595e8dcd94c14d (diff) | |
download | bcm5719-llvm-5565075418566408f917e8eecec8f63b69c5ee2a.tar.gz bcm5719-llvm-5565075418566408f917e8eecec8f63b69c5ee2a.zip |
[RegBankSelect] Add helper class for repairing code placement.
When assigning the register banks we may have to insert repairing code
to move already assigned values accross register banks.
Introduce a few helper classes to keep track of what is involved in the
repairing of an operand:
- InsertPoint and its derived classes record the positions, in the CFG,
where repairing has to be inserted.
- RepairingPlacement holds all the insert points for the repairing of an
operand plus the kind of action that is required to do the repairing.
This is going to be used to keep track of how the repairing should be
done, while comparing different solutions for an instruction. Indeed, we
will need the repairing placement to capture the cost of a solution and
we do not want to compute it a second time when we do the actual
repairing.
llvm-svn: 270167
Diffstat (limited to 'llvm/lib/CodeGen/BuiltinGCs.cpp')
0 files changed, 0 insertions, 0 deletions