14 #ifndef DIALECT_LLHD_TRANSFORMS_TEMPORALREGIONS_H
15 #define DIALECT_LLHD_TRANSFORMS_TEMPORALREGIONS_H
18 #include "mlir/IR/Operation.h"
25 using TRMapT = DenseMap<int, SmallVector<Block *, 8>>;
43 return std::find(succs.begin(), succs.end(), tr) != succs.end();
This file defines an intermediate representation for circuits acting as an abstraction for constraint...
SmallVector< Block *, 8 > getExitingBlocksInTR(int)
SmallVector< Block *, 8 > getBlocksInTR(int)
DenseMap< int, SmallVector< Block *, 8 > > TRMapT
bool hasSingleExitBlock(int tr)
void recalculate(Operation *)
bool isOwnTRSuccessor(int tr)
TemporalRegionAnalysis(Operation *op)
DenseMap< Block *, int > BlockMapT
SmallVector< int, 8 > getTRSuccessors(int)
Block * getTREntryBlock(int)
unsigned numBlocksInTR(int tr)
unsigned getNumTemporalRegions()
unsigned getNumTRSuccessors(int tr)