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 38 of file TargetEnv.h.
|
inline |
Definition at line 37 of file TargetEnv.h.
|
inline |
Definition at line 61 of file TargetEnv.h.
|
inline |
Definition at line 45 of file TargetEnv.h.
Referenced by allowsAllOf(), and allowsAnyOf().
|
inline |
Definition at line 69 of file TargetEnv.h.
References allows().
|
inline |
Definition at line 53 of file TargetEnv.h.
References allows().
Referenced by TosaProfileCompliance::checkProfileOrExtension().
|
inline |
Definition at line 63 of file TargetEnv.h.
References allows().
|
inline |
Definition at line 47 of file TargetEnv.h.
References allows().
Referenced by TosaProfileCompliance::checkProfileOrExtension().