MLIR  22.0.0git
Namespaces | Functions
TargetEnv.cpp File Reference
#include "mlir/Dialect/Tosa/IR/TargetEnv.h"
#include "llvm/Support/FormatVariadic.h"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::tosa
 

Functions

llvm::SmallString< 4 > mlir::tosa::stringifyVersion (TosaSpecificationVersion version)
 
TosaSpecificationVersion mlir::tosa::getMinVersion (const Profile &profile)
 
TosaSpecificationVersion mlir::tosa::getMinVersion (const Extension &extension)
 
TosaSpecificationVersion mlir::tosa::getMinVersion (const Level &level)
 
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...