My Project
|
#include <SideEffectsInterface.h>
Public Types | |
enum | SideEffecting { Never, Recursive, Always } |
![]() | |
using | Base = DialectInterfaceBase< ConcreteType, BaseT > |
Public Member Functions | |
SideEffectsDialectInterface (Dialect *dialect) | |
virtual SideEffecting | isSideEffecting (Operation *op) const |
Checks whether the given operation has side-effects. More... | |
Additional Inherited Members | |
![]() | |
static ClassID * | getInterfaceID () |
Get a unique id for the derived interface type. More... | |
![]() | |
DialectInterfaceBase (Dialect *dialect) | |
Specifies an interface for basic side-effect modelling that is used by the loop-invariant code motion pass.
TODO: This interface should be replaced by a more general solution.
|
inline |
|
inlinevirtual |
Checks whether the given operation has side-effects.