15#ifndef LLVM_CODEGEN_EDGEBUNDLES_H
16#define LLVM_CODEGEN_EDGEBUNDLES_H
24class EdgeBundlesWrapperLegacy;
25class EdgeBundlesAnalysis;
47 unsigned getBundle(
unsigned N,
bool Out)
const {
return EC[2 *
N + Out]; }
75 std::unique_ptr<EdgeBundles> Impl;
DenseMap< Block *, BlockRelaxAux > Blocks
This header defines various interfaces for pass management in LLVM.
Equivalence classes for small integers.
API to communicate dependencies between analyses during invalidation.
A container for analyses that lazily runs them and caches their results.
Represent the analysis usage information of a pass.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
EdgeBundles run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
EdgeBundles & getEdgeBundles()
const EdgeBundles & getEdgeBundles() const
EdgeBundlesWrapperLegacy()
bool invalidate(MachineFunction &MF, const PreservedAnalyses &PA, MachineFunctionAnalysisManager::Invalidator &Inv)
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.
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.
void view() const
view - Visualize the annotated bipartite CFG with Graphviz.
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
A set of analyses that are preserved following a run of a transformation pass.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
This is an optimization pass for GlobalISel generic memory operations.
A CRTP mix-in that provides informational APIs needed for analysis passes.
A special type used by analysis passes to provide an address that identifies that particular analysis...