LLVM  8.0.1
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"

Collaboration diagram for llvm::SpillPlacement::BlockConstraint:
Collaboration graph
[legend]

Public Attributes

unsigned Number
 Basic block number (from MBB::getNumber()). More...
 
BorderConstraint Entry: 8
 Constraint on block entry. More...
 
BorderConstraint Exit: 8
 Constraint on block exit. More...
 
bool ChangesValue
 True when this block changes the value of the live range. More...
 

Detailed Description

BlockConstraint - Entry and exit constraints for a basic block.

Definition at line 90 of file SpillPlacement.h.

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

◆ Entry

BorderConstraint llvm::SpillPlacement::BlockConstraint::Entry

Constraint on block entry.

Definition at line 92 of file SpillPlacement.h.

Referenced by llvm::SpillPlacement::getBlockFrequency().

◆ Exit

BorderConstraint llvm::SpillPlacement::BlockConstraint::Exit

Constraint on block exit.

Definition at line 93 of file SpillPlacement.h.

◆ Number

unsigned llvm::SpillPlacement::BlockConstraint::Number

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

Definition at line 91 of file SpillPlacement.h.

Referenced by llvm::SpillPlacement::getBlockFrequency().


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