|
| EffectInstance (EffectT *effect, Resource *resource=DefaultResource::get()) |
|
| EffectInstance (EffectT *effect, int stage, bool effectOnFullRegion, Resource *resource=DefaultResource::get()) |
|
template<typename T , std::enable_if_t< llvm::is_one_of< T, OpOperand *, OpResult, BlockArgument >::value, bool > = true> |
| EffectInstance (EffectT *effect, T value, Resource *resource=DefaultResource::get()) |
|
template<typename T , std::enable_if_t< llvm::is_one_of< T, OpOperand *, OpResult, BlockArgument >::value, bool > = true> |
| EffectInstance (EffectT *effect, T value, int stage, bool effectOnFullRegion, Resource *resource=DefaultResource::get()) |
|
| EffectInstance (EffectT *effect, SymbolRefAttr symbol, Resource *resource=DefaultResource::get()) |
|
| EffectInstance (EffectT *effect, SymbolRefAttr symbol, int stage, bool effectOnFullRegion, Resource *resource=DefaultResource::get()) |
|
| EffectInstance (EffectT *effect, Attribute parameters, Resource *resource=DefaultResource::get()) |
|
| EffectInstance (EffectT *effect, Attribute parameters, int stage, bool effectOnFullRegion, Resource *resource=DefaultResource::get()) |
|
template<typename T , std::enable_if_t< llvm::is_one_of< T, OpOperand *, OpResult, BlockArgument >::value, bool > = true> |
| EffectInstance (EffectT *effect, T value, Attribute parameters, Resource *resource=DefaultResource::get()) |
|
template<typename T , std::enable_if_t< llvm::is_one_of< T, OpOperand *, OpResult, BlockArgument >::value, bool > = true> |
| EffectInstance (EffectT *effect, T value, Attribute parameters, int stage, bool effectOnFullRegion, Resource *resource=DefaultResource::get()) |
|
| EffectInstance (EffectT *effect, SymbolRefAttr symbol, Attribute parameters, Resource *resource=DefaultResource::get()) |
|
| EffectInstance (EffectT *effect, SymbolRefAttr symbol, Attribute parameters, int stage, bool effectOnFullRegion, Resource *resource=DefaultResource::get()) |
|
EffectT * | getEffect () const |
| Return the effect being applied. More...
|
|
Value | getValue () const |
| Return the value the effect is applied on, or nullptr if there isn't a known value being affected. More...
|
|
template<typename T , std::enable_if_t< llvm::is_one_of< T, OpOperand *, OpResult, BlockArgument >::value, bool > = true> |
T | getEffectValue () const |
| Returns the OpOperand effect is applied on, or nullptr if there isn't a known value being effected. More...
|
|
SymbolRefAttr | getSymbolRef () const |
| Return the symbol reference the effect is applied on, or nullptr if there isn't a known smbol being affected. More...
|
|
Resource * | getResource () const |
| Return the resource that the effect applies to. More...
|
|
Attribute | getParameters () const |
| Return the parameters of the effect, if any. More...
|
|
int | getStage () const |
| Return the effect happen stage. More...
|
|
bool | getEffectOnFullRegion () const |
| Return if this side effect act on every single value of resource. More...
|
|
template<typename EffectT>
class mlir::SideEffects::EffectInstance< EffectT >
This class represents a specific instance of an effect.
It contains the effect being applied, a resource that corresponds to where the effect is applied, and an optional symbol reference or value(either operand, result, or region entry argument) that the effect is applied to, and an optional parameters attribute further specifying the details of the effect.
Definition at line 139 of file SideEffectInterfaces.h.
template<typename EffectT >
template<typename T , std::enable_if_t< llvm::is_one_of< T, OpOperand *, OpResult, BlockArgument >::value, bool > = true>