LLVM 20.0.0git
|
#include "llvm/CodeGen/EdgeBundles.h"
Public Member Functions | |
unsigned | getBundle (unsigned N, bool Out) const |
getBundle - Return the ingoing (Out = false) or outgoing (Out = true) bundle number for basic block N | |
unsigned | getNumBundles () const |
getNumBundles - Return the total number of bundles in the CFG. | |
ArrayRef< unsigned > | getBlocks (unsigned Bundle) const |
getBlocks - Return an array of blocks that are connected to Bundle. | |
const MachineFunction * | getMachineFunction () const |
getMachineFunction - Return the last machine function computed. | |
void | view () const |
view - Visualize the annotated bipartite CFG with Graphviz. | |
bool | invalidate (MachineFunction &MF, const PreservedAnalyses &PA, MachineFunctionAnalysisManager::Invalidator &Inv) |
Friends | |
class | EdgeBundlesWrapperLegacy |
class | EdgeBundlesAnalysis |
Definition at line 27 of file EdgeBundles.h.
getBlocks - Return an array of blocks that are connected to Bundle.
Definition at line 53 of file EdgeBundles.h.
References Blocks.
getBundle - Return the ingoing (Out = false) or outgoing (Out = true) bundle number for basic block N
Definition at line 47 of file EdgeBundles.h.
References N.
Referenced by llvm::SpillPlacement::addConstraints(), llvm::SpillPlacement::addLinks(), and llvm::SpillPlacement::addPrefSpill().
|
inline |
getMachineFunction - Return the last machine function computed.
Definition at line 56 of file EdgeBundles.h.
|
inline |
getNumBundles - Return the total number of bundles in the CFG.
Definition at line 50 of file EdgeBundles.h.
Referenced by llvm::SpillPlacement::iterate(), and llvm::SpillPlacement::prepare().
bool EdgeBundles::invalidate | ( | MachineFunction & | MF, |
const PreservedAnalyses & | PA, | ||
MachineFunctionAnalysisManager::Invalidator & | Inv | ||
) |
Definition at line 117 of file EdgeBundles.cpp.
References llvm::PreservedAnalyses::getChecker().
void EdgeBundles::view | ( | ) | const |
view - Visualize the annotated bipartite CFG with Graphviz.
Definition at line 113 of file EdgeBundles.cpp.
References llvm::ViewGraph().
|
friend |
Definition at line 29 of file EdgeBundles.h.
|
friend |
Definition at line 28 of file EdgeBundles.h.