|
| | PredecessorAnalysis (DataFlowSolver &s, raw_ostream &ro) |
| LogicalResult | visitOperation (Operation *op, const PredecessorLattice &before, PredecessorLattice *after) override |
| void | visitCallControlFlowTransfer (CallOpInterface call, mlir::dataflow::CallControlFlowAction action, const PredecessorLattice &before, PredecessorLattice *after) override |
| void | visitRegionBranchControlFlowTransfer (RegionBranchOpInterface branch, std::optional< unsigned >, std::optional< unsigned >, const PredecessorLattice &before, PredecessorLattice *after) override |
◆ Base
◆ PredecessorAnalysis()
| llzk::PredecessorAnalysis::PredecessorAnalysis |
( |
DataFlowSolver & | s, |
|
|
raw_ostream & | ro ) |
|
inline |
◆ setToEntryState()
◆ visitCallControlFlowTransfer()
| void llzk::PredecessorAnalysis::visitCallControlFlowTransfer |
( |
CallOpInterface | call, |
|
|
mlir::dataflow::CallControlFlowAction | action, |
|
|
const PredecessorLattice & | before, |
|
|
PredecessorLattice * | after ) |
|
inlineoverride |
action == CallControlFlowAction::Enter indicates that:
- before is the state before the call operation;
- after is the state at the beginning of the callee entry block;
action == CallControlFlowAction::Exit indicates that:
- before is the state at the end of a callee exit block;
- after is the state after the call operation.
action == CallControlFlowAction::External indicates that:
- before is the state before the call operation.
- after is the state after the call operation, since there is no callee body to enter into.
Definition at line 146 of file PredecessorAnalysisPass.cpp.
◆ visitOperation()
◆ visitRegionBranchControlFlowTransfer()
| void llzk::PredecessorAnalysis::visitRegionBranchControlFlowTransfer |
( |
RegionBranchOpInterface | branch, |
|
|
std::optional< unsigned > | , |
|
|
std::optional< unsigned > | , |
|
|
const PredecessorLattice & | before, |
|
|
PredecessorLattice * | after ) |
|
inlineoverride |
The documentation for this class was generated from the following file: