LLVM: llvm::SpillPlacement::BlockConstraint Struct Reference (original) (raw)
BlockConstraint - Entry and exit constraints for a basic block. More...
#include "[llvm/CodeGen/SpillPlacement.h](SpillPlacement%5F8h%5Fsource.html)"
| Public Attributes | |
|---|---|
| unsigned | Number |
| Basic block number (from MBB::getNumber()). | |
| BorderConstraint | Entry: 8 |
| Constraint on block entry. | |
| BorderConstraint | Exit: 8 |
| Constraint on block exit. | |
| bool | ChangesValue |
| True when this block changes the value of the live range. |
BlockConstraint - Entry and exit constraints for a basic block.
Definition at line 90 of file SpillPlacement.h.
◆ dump()
| void SpillPlacement::BlockConstraint::dump | ( | ) | const |
|---|
◆ print()
| void SpillPlacement::BlockConstraint::print | ( | raw_ostream & | OS | ) | const |
|---|
Definition at line 409 of file SpillPlacement.cpp.
References llvm::CallingConv::C, ChangesValue, llvm::dbgs(), llvm::SpillPlacement::DontCare, Entry, Exit, llvm_unreachable, llvm::SpillPlacement::MustSpill, Number, llvm::SpillPlacement::PrefBoth, llvm::SpillPlacement::PrefReg, llvm::SpillPlacement::PrefSpill, and llvm::toString().
◆ ChangesValue
bool llvm::SpillPlacement::BlockConstraint::ChangesValue
True when this block changes the value of the live range.
This means the block has a non-PHI def. When this is false, a live-in value on the stack can be live-out on the stack without inserting a spill.
Definition at line 98 of file SpillPlacement.h.
Referenced by print().
◆ Entry
◆ Exit
◆ Number
unsigned llvm::SpillPlacement::BlockConstraint::Number
The documentation for this struct was generated from the following files:
- include/llvm/CodeGen/SpillPlacement.h
- lib/CodeGen/SpillPlacement.cpp