MLIR
20.0.0git
|
#include "mlir/Conversion/SCFToSPIRV/SCFToSPIRV.h"
Public Member Functions | |
ScfToSPIRVContext () | |
We use ScfToSPIRVContext to store information about the lowering of the scf region that need to be used later on. More... | |
~ScfToSPIRVContext () | |
ScfToSPIRVContextImpl * | getImpl () |
Definition at line 25 of file SCFToSPIRV.h.
ScfToSPIRVContext::ScfToSPIRVContext | ( | ) |
We use ScfToSPIRVContext to store information about the lowering of the scf region that need to be used later on.
When we lower scf.for/scf.if we create VariableOp to store the results. We need to keep track of the VariableOp created as we need to insert stores into them when lowering Yield. Those StoreOp cannot be created earlier as they may use a different type than yield operands.
Definition at line 43 of file SCFToSPIRV.cpp.
|
default |
|
inline |
Definition at line 29 of file SCFToSPIRV.h.
Referenced by mlir::populateSCFToSPIRVPatterns().