MLIR  22.0.0git
Classes | Namespaces | Functions | Variables
TargetEnv.h File Reference
#include "mlir/Dialect/Tosa/IR/TosaOps.h"
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/SmallSet.h"

Go to the source code of this file.

Classes

struct  mlir::tosa::TosaLevel
 
class  mlir::tosa::TosaSpecificationVersion
 A thin wrapper around the SpecificationVersion enum to represent and provide utilities around the TOSA specification version. More...
 
class  mlir::tosa::TargetEnv
 This class represents the capability enabled in the target implementation such as profile, extension, and level. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::tosa
 

Functions

TargetEnvAttr mlir::tosa::lookupTargetEnv (Operation *op)
 
TargetEnvAttr mlir::tosa::getDefaultTargetEnv (MLIRContext *context)
 
TargetEnvAttr mlir::tosa::lookupTargetEnvOrDefault (Operation *op)
 Queries the target environment recursively from enclosing symbol table ops containing the given op or returns the default target environment as returned by getDefaultTargetEnv() if not provided. More...
 
llvm::SmallString< 4 > mlir::tosa::stringifyVersion (TosaSpecificationVersion version)
 

Variables

static constexpr TosaLevel mlir::tosa::TOSA_LEVEL_EIGHTK = {6, 8192, 8192, 256, 31, 6, 64}
 
static constexpr TosaLevel mlir::tosa::TOSA_LEVEL_NONE