|
| | Builder (MLIRContext *context) |
| |
| | Builder (ModuleOp module) |
| |
| MLIRContext * | getContext () const |
| |
| Identifier | getIdentifier (StringRef str) |
| |
| Location | getUnknownLoc () |
| |
| Location | getFileLineColLoc (Identifier filename, unsigned line, unsigned column) |
| |
| Location | getFusedLoc (ArrayRef< Location > locs, Attribute metadata=Attribute()) |
| |
| FloatType | getBF16Type () |
| |
| FloatType | getF16Type () |
| |
| FloatType | getF32Type () |
| |
| FloatType | getF64Type () |
| |
| IndexType | getIndexType () |
| |
| IntegerType | getI1Type () |
| |
| IntegerType | getIntegerType (unsigned width) |
| |
| FunctionType | getFunctionType (ArrayRef< Type > inputs, ArrayRef< Type > results) |
| |
| TupleType | getTupleType (ArrayRef< Type > elementTypes) |
| |
| NoneType | getNoneType () |
| |
| template<typename Ty , typename... Args> |
| Ty | getType (Args... args) |
| | Get or construct an instance of the type 'ty' with provided arguments. More...
|
| |
| NamedAttribute | getNamedAttr (StringRef name, Attribute val) |
| |
| UnitAttr | getUnitAttr () |
| |
| BoolAttr | getBoolAttr (bool value) |
| |
| DictionaryAttr | getDictionaryAttr (ArrayRef< NamedAttribute > value) |
| |
| IntegerAttr | getIntegerAttr (Type type, int64_t value) |
| |
| IntegerAttr | getIntegerAttr (Type type, const APInt &value) |
| |
| FloatAttr | getFloatAttr (Type type, double value) |
| |
| FloatAttr | getFloatAttr (Type type, const APFloat &value) |
| |
| StringAttr | getStringAttr (StringRef bytes) |
| |
| ArrayAttr | getArrayAttr (ArrayRef< Attribute > value) |
| |
| FlatSymbolRefAttr | getSymbolRefAttr (Operation *value) |
| |
| FlatSymbolRefAttr | getSymbolRefAttr (StringRef value) |
| |
| SymbolRefAttr | getSymbolRefAttr (StringRef value, ArrayRef< FlatSymbolRefAttr > nestedReferences) |
| |
| Attribute | getZeroAttr (Type type) |
| |
| FloatAttr | getF16FloatAttr (float value) |
| |
| FloatAttr | getF32FloatAttr (float value) |
| |
| FloatAttr | getF64FloatAttr (double value) |
| |
| IntegerAttr | getI8IntegerAttr (int8_t value) |
| |
| IntegerAttr | getI16IntegerAttr (int16_t value) |
| |
| IntegerAttr | getI32IntegerAttr (int32_t value) |
| |
| IntegerAttr | getI64IntegerAttr (int64_t value) |
| |
| DenseIntElementsAttr | getI32VectorAttr (ArrayRef< int32_t > values) |
| |
| ArrayAttr | getAffineMapArrayAttr (ArrayRef< AffineMap > values) |
| |
| ArrayAttr | getI32ArrayAttr (ArrayRef< int32_t > values) |
| |
| ArrayAttr | getI64ArrayAttr (ArrayRef< int64_t > values) |
| |
| ArrayAttr | getIndexArrayAttr (ArrayRef< int64_t > values) |
| |
| ArrayAttr | getF32ArrayAttr (ArrayRef< float > values) |
| |
| ArrayAttr | getF64ArrayAttr (ArrayRef< double > values) |
| |
| ArrayAttr | getStrArrayAttr (ArrayRef< StringRef > values) |
| |
| AffineExpr | getAffineDimExpr (unsigned position) |
| |
| AffineExpr | getAffineSymbolExpr (unsigned position) |
| |
| AffineExpr | getAffineConstantExpr (int64_t constant) |
| |
| AffineMap | getEmptyAffineMap () |
| | Returns a zero result affine map with no dimensions or symbols: () -> (). More...
|
| |
| AffineMap | getConstantAffineMap (int64_t val) |
| |
| AffineMap | getDimIdentityMap () |
| |
| AffineMap | getMultiDimIdentityMap (unsigned rank) |
| |
| AffineMap | getSymbolIdentityMap () |
| |
| AffineMap | getSingleDimShiftAffineMap (int64_t shift) |
| |
| AffineMap | getShiftedAffineMap (AffineMap map, int64_t shift) |
| |
This class is a general helper class for creating context-global objects like types, attributes, and affine expressions.