MLIR
21.0.0git
|
#include "mlir-c/Dialect/SMT.h"
#include "mlir/CAPI/Registration.h"
#include "mlir/Dialect/SMT/IR/SMTAttributes.h"
#include "mlir/Dialect/SMT/IR/SMTDialect.h"
#include "mlir/Dialect/SMT/IR/SMTTypes.h"
Go to the source code of this file.
Functions | |
bool | mlirSMTTypeIsAnyNonFuncSMTValueType (MlirType type) |
Checks if the given type is any non-func SMT value type. More... | |
bool | mlirSMTTypeIsAnySMTValueType (MlirType type) |
Checks if the given type is any SMT value type. More... | |
bool | mlirSMTTypeIsAArray (MlirType type) |
Checks if the given type is a smt::ArrayType. More... | |
MlirType | mlirSMTTypeGetArray (MlirContext ctx, MlirType domainType, MlirType rangeType) |
Creates an array type with the given domain and range types. More... | |
bool | mlirSMTTypeIsABitVector (MlirType type) |
Checks if the given type is a smt::BitVectorType. More... | |
MlirType | mlirSMTTypeGetBitVector (MlirContext ctx, int32_t width) |
Creates a smt::BitVectorType with the given width. More... | |
bool | mlirSMTTypeIsABool (MlirType type) |
Checks if the given type is a smt::BoolType. More... | |
MlirType | mlirSMTTypeGetBool (MlirContext ctx) |
Creates a smt::BoolType. More... | |
bool | mlirSMTTypeIsAInt (MlirType type) |
Checks if the given type is a smt::IntType. More... | |
MlirType | mlirSMTTypeGetInt (MlirContext ctx) |
Creates a smt::IntType. More... | |
bool | mlirSMTTypeIsASMTFunc (MlirType type) |
Checks if the given type is a smt::FuncType. More... | |
MlirType | mlirSMTTypeGetSMTFunc (MlirContext ctx, size_t numberOfDomainTypes, const MlirType *domainTypes, MlirType rangeType) |
Creates a smt::FuncType with the given domain and range types. More... | |
bool | mlirSMTTypeIsASort (MlirType type) |
Checks if the given type is a smt::SortType. More... | |
MlirType | mlirSMTTypeGetSort (MlirContext ctx, MlirIdentifier identifier, size_t numberOfSortParams, const MlirType *sortParams) |
Creates a smt::SortType with the given identifier and sort parameters. More... | |
bool | mlirSMTAttrCheckBVCmpPredicate (MlirContext ctx, MlirStringRef str) |
Checks if the given string is a valid smt::BVCmpPredicate. More... | |
bool | mlirSMTAttrCheckIntPredicate (MlirContext ctx, MlirStringRef str) |
Checks if the given string is a valid smt::IntPredicate. More... | |
bool | mlirSMTAttrIsASMTAttribute (MlirAttribute attr) |
Checks if the given attribute is a smt::SMTAttribute. More... | |
MlirAttribute | mlirSMTAttrGetBitVector (MlirContext ctx, uint64_t value, unsigned width) |
Creates a smt::BitVectorAttr with the given value and width. More... | |
MlirAttribute | mlirSMTAttrGetBVCmpPredicate (MlirContext ctx, MlirStringRef str) |
Creates a smt::BVCmpPredicateAttr with the given string. More... | |
MlirAttribute | mlirSMTAttrGetIntPredicate (MlirContext ctx, MlirStringRef str) |
Creates a smt::IntPredicateAttr with the given string. More... | |
bool mlirSMTAttrCheckBVCmpPredicate | ( | MlirContext | ctx, |
MlirStringRef | str | ||
) |
bool mlirSMTAttrCheckIntPredicate | ( | MlirContext | ctx, |
MlirStringRef | str | ||
) |
MlirAttribute mlirSMTAttrGetBitVector | ( | MlirContext | ctx, |
uint64_t | value, | ||
unsigned | width | ||
) |
Creates a smt::BitVectorAttr with the given value and width.
Definition at line 110 of file SMT.cpp.
References mlir::get(), unwrap(), and wrap().
MlirAttribute mlirSMTAttrGetBVCmpPredicate | ( | MlirContext | ctx, |
MlirStringRef | str | ||
) |
Creates a smt::BVCmpPredicateAttr with the given string.
Definition at line 115 of file SMT.cpp.
References mlir::get(), unwrap(), and wrap().
MlirAttribute mlirSMTAttrGetIntPredicate | ( | MlirContext | ctx, |
MlirStringRef | str | ||
) |
Creates a smt::IntPredicateAttr with the given string.
Definition at line 122 of file SMT.cpp.
References mlir::get(), unwrap(), and wrap().
bool mlirSMTAttrIsASMTAttribute | ( | MlirAttribute | attr | ) |
MlirType mlirSMTTypeGetArray | ( | MlirContext | ctx, |
MlirType | domainType, | ||
MlirType | rangeType | ||
) |
Creates an array type with the given domain and range types.
Definition at line 38 of file SMT.cpp.
References mlir::get(), unwrap(), and wrap().
MlirType mlirSMTTypeGetBitVector | ( | MlirContext | ctx, |
int32_t | width | ||
) |
Creates a smt::BitVectorType with the given width.
Definition at line 48 of file SMT.cpp.
References mlir::get(), unwrap(), and wrap().
MlirType mlirSMTTypeGetBool | ( | MlirContext | ctx | ) |
Creates a smt::BoolType.
Definition at line 54 of file SMT.cpp.
References mlir::get(), unwrap(), and wrap().
MlirType mlirSMTTypeGetInt | ( | MlirContext | ctx | ) |
Creates a smt::IntType.
Definition at line 60 of file SMT.cpp.
References mlir::get(), unwrap(), and wrap().
MlirType mlirSMTTypeGetSMTFunc | ( | MlirContext | ctx, |
size_t | numberOfDomainTypes, | ||
const MlirType * | domainTypes, | ||
MlirType | rangeType | ||
) |
Creates a smt::FuncType with the given domain and range types.
Definition at line 68 of file SMT.cpp.
References mlir::get(), unwrap(), and wrap().
MlirType mlirSMTTypeGetSort | ( | MlirContext | ctx, |
MlirIdentifier | identifier, | ||
size_t | numberOfSortParams, | ||
const MlirType * | sortParams | ||
) |
Creates a smt::SortType with the given identifier and sort parameters.
Definition at line 82 of file SMT.cpp.
References mlir::get(), unwrap(), and wrap().
bool mlirSMTTypeIsAArray | ( | MlirType | type | ) |
bool mlirSMTTypeIsABitVector | ( | MlirType | type | ) |
bool mlirSMTTypeIsABool | ( | MlirType | type | ) |
bool mlirSMTTypeIsAInt | ( | MlirType | type | ) |
bool mlirSMTTypeIsAnyNonFuncSMTValueType | ( | MlirType | type | ) |
Checks if the given type is any non-func SMT value type.
Definition at line 28 of file SMT.cpp.
References mlir::smt::isAnyNonFuncSMTValueType(), and unwrap().
bool mlirSMTTypeIsAnySMTValueType | ( | MlirType | type | ) |
Checks if the given type is any SMT value type.
Definition at line 32 of file SMT.cpp.
References mlir::smt::isAnySMTValueType(), and unwrap().
bool mlirSMTTypeIsASMTFunc | ( | MlirType | type | ) |