MLIR
21.0.0git
|
This class represents the capability enabled in the target implementation such as profile, extension, and level. More...
#include "mlir/Dialect/Tosa/IR/TargetEnv.h"
Public Member Functions | |
TargetEnv () | |
TargetEnv (const SmallVectorImpl< Profile > &profiles, const SmallVectorImpl< Extension > &extensions) | |
void | addProfile (Profile p) |
void | addExtension (Extension e) |
bool | allows (Profile prof) const |
bool | allowsAnyOf (ArrayRef< Profile > profs) const |
bool | allowsAllOf (ArrayRef< Profile > profs) const |
bool | allows (Extension ext) const |
bool | allowsAnyOf (ArrayRef< Extension > exts) const |
bool | allowsAllOf (ArrayRef< Extension > exts) const |
This class represents the capability enabled in the target implementation such as profile, extension, and level.
Definition at line 25 of file TargetEnv.h.
|
inline |
Definition at line 27 of file TargetEnv.h.
|
inlineexplicit |
Definition at line 28 of file TargetEnv.h.
|
inline |
Definition at line 36 of file TargetEnv.h.
|
inline |
Definition at line 35 of file TargetEnv.h.
|
inline |
Definition at line 59 of file TargetEnv.h.
|
inline |
Definition at line 43 of file TargetEnv.h.
Referenced by allowsAllOf(), and allowsAnyOf().
|
inline |
Definition at line 67 of file TargetEnv.h.
References allows().
|
inline |
Definition at line 51 of file TargetEnv.h.
References allows().
Referenced by TosaProfileCompliance::checkProfileOrExtension().
|
inline |
Definition at line 61 of file TargetEnv.h.
References allows().
|
inline |
Definition at line 45 of file TargetEnv.h.
References allows().
Referenced by TosaProfileCompliance::checkProfileOrExtension().