LLVM 20.0.0git
|
BlockConstraint - Entry and exit constraints for a basic block. More...
#include "llvm/CodeGen/SpillPlacement.h"
Public Member Functions | |
void | print (raw_ostream &OS) const |
void | dump () const |
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.
void SpillPlacement::BlockConstraint::dump | ( | ) | const |
Definition at line 427 of file SpillPlacement.cpp.
References llvm::dbgs(), and llvm::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().
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().
BorderConstraint llvm::SpillPlacement::BlockConstraint::Entry |
BorderConstraint llvm::SpillPlacement::BlockConstraint::Exit |
unsigned llvm::SpillPlacement::BlockConstraint::Number |
Basic block number (from MBB::getNumber()).
Definition at line 91 of file SpillPlacement.h.
Referenced by print().