LLVM 20.0.0git
|
BlockConstraint - Entry and exit constraints for a basic block. More...
#include "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 87 of file SpillPlacement.h.
void SpillPlacement::BlockConstraint::dump | ( | ) | const |
Definition at line 395 of file SpillPlacement.cpp.
References llvm::dbgs(), and llvm::print().
void SpillPlacement::BlockConstraint::print | ( | raw_ostream & | OS | ) | const |
Definition at line 377 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::dwarf::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 95 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 88 of file SpillPlacement.h.
Referenced by print().