LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::SpillPlacement::BlockConstraint Struct Reference

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.
 

Detailed Description

BlockConstraint - Entry and exit constraints for a basic block.

Definition at line 87 of file SpillPlacement.h.

Member Function Documentation

◆ dump()

void SpillPlacement::BlockConstraint::dump ( ) const

Definition at line 395 of file SpillPlacement.cpp.

References llvm::dbgs(), and llvm::print().

◆ print()

void SpillPlacement::BlockConstraint::print ( raw_ostream OS) const

Member Data Documentation

◆ 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 95 of file SpillPlacement.h.

Referenced by print().

◆ Entry

BorderConstraint llvm::SpillPlacement::BlockConstraint::Entry

Constraint on block entry.

Definition at line 89 of file SpillPlacement.h.

Referenced by print().

◆ Exit

BorderConstraint llvm::SpillPlacement::BlockConstraint::Exit

Constraint on block exit.

Definition at line 90 of file SpillPlacement.h.

Referenced by print().

◆ Number

unsigned llvm::SpillPlacement::BlockConstraint::Number

Basic block number (from MBB::getNumber()).

Definition at line 88 of file SpillPlacement.h.

Referenced by print().


The documentation for this struct was generated from the following files: