|
StringRef | mlir::function_interface_impl::getTypeAttrName () |
| Return the name of the attribute used for function types. More...
|
|
StringRef | mlir::function_interface_impl::getArgDictAttrName () |
| Return the name of the attribute used for function argument attributes. More...
|
|
StringRef | mlir::function_interface_impl::getResultDictAttrName () |
| Return the name of the attribute used for function argument attributes. More...
|
|
DictionaryAttr | mlir::function_interface_impl::getArgAttrDict (Operation *op, unsigned index) |
| Returns the dictionary attribute corresponding to the argument at 'index'. More...
|
|
DictionaryAttr | mlir::function_interface_impl::getResultAttrDict (Operation *op, unsigned index) |
| Returns the dictionary attribute corresponding to the result at 'index'. More...
|
|
void | mlir::function_interface_impl::detail::setArgResAttrDict (Operation *op, StringRef attrName, unsigned numTotalIndices, unsigned index, DictionaryAttr attrs) |
| Update the given index into an argument or result attribute dictionary. More...
|
|
void | mlir::function_interface_impl::setAllArgAttrDicts (Operation *op, ArrayRef< DictionaryAttr > attrs) |
| Set all of the argument or result attribute dictionaries for a function. More...
|
|
void | mlir::function_interface_impl::setAllArgAttrDicts (Operation *op, ArrayRef< Attribute > attrs) |
|
void | mlir::function_interface_impl::setAllResultAttrDicts (Operation *op, ArrayRef< DictionaryAttr > attrs) |
|
void | mlir::function_interface_impl::setAllResultAttrDicts (Operation *op, ArrayRef< Attribute > attrs) |
|
ArrayRef< NamedAttribute > | mlir::function_interface_impl::getArgAttrs (Operation *op, unsigned index) |
| Return all of the attributes for the argument at 'index'. More...
|
|
ArrayRef< NamedAttribute > | mlir::function_interface_impl::getResultAttrs (Operation *op, unsigned index) |
| Return all of the attributes for the result at 'index'. More...
|
|
void | mlir::function_interface_impl::insertFunctionArguments (Operation *op, ArrayRef< unsigned > argIndices, TypeRange argTypes, ArrayRef< DictionaryAttr > argAttrs, ArrayRef< Location > argLocs, unsigned originalNumArgs, Type newType) |
| Insert the specified arguments and update the function type attribute. More...
|
|
void | mlir::function_interface_impl::insertFunctionResults (Operation *op, ArrayRef< unsigned > resultIndices, TypeRange resultTypes, ArrayRef< DictionaryAttr > resultAttrs, unsigned originalNumResults, Type newType) |
| Insert the specified results and update the function type attribute. More...
|
|
void | mlir::function_interface_impl::eraseFunctionArguments (Operation *op, const BitVector &argIndices, Type newType) |
| Erase the specified arguments and update the function type attribute. More...
|
|
void | mlir::function_interface_impl::eraseFunctionResults (Operation *op, const BitVector &resultIndices, Type newType) |
| Erase the specified results and update the function type attribute. More...
|
|
void | mlir::function_interface_impl::setFunctionType (Operation *op, Type newType) |
| Set a FunctionOpInterface operation's type signature. More...
|
|
TypeRange | mlir::function_interface_impl::insertTypesInto (TypeRange oldTypes, ArrayRef< unsigned > indices, TypeRange newTypes, SmallVectorImpl< Type > &storage) |
| Insert a set of newTypes into oldTypes at the given indices . More...
|
|
TypeRange | mlir::function_interface_impl::filterTypesOut (TypeRange types, const BitVector &indices, SmallVectorImpl< Type > &storage) |
| Filters out any elements referenced by indices . More...
|
|
template<typename ConcreteType > |
void | mlir::function_interface_impl::setArgAttrs (ConcreteType op, unsigned index, ArrayRef< NamedAttribute > attributes) |
| Set the attributes held by the argument at 'index'. More...
|
|
template<typename ConcreteType > |
void | mlir::function_interface_impl::setArgAttrs (ConcreteType op, unsigned index, DictionaryAttr attributes) |
|
template<typename ConcreteType > |
void | mlir::function_interface_impl::setArgAttr (ConcreteType op, unsigned index, StringAttr name, Attribute value) |
| If the an attribute exists with the specified name, change it to the new value. More...
|
|
template<typename ConcreteType > |
Attribute | mlir::function_interface_impl::removeArgAttr (ConcreteType op, unsigned index, StringAttr name) |
| Remove the attribute 'name' from the argument at 'index'. More...
|
|
template<typename ConcreteType > |
void | mlir::function_interface_impl::setResultAttrs (ConcreteType op, unsigned index, ArrayRef< NamedAttribute > attributes) |
| Set the attributes held by the result at 'index'. More...
|
|
template<typename ConcreteType > |
void | mlir::function_interface_impl::setResultAttrs (ConcreteType op, unsigned index, DictionaryAttr attributes) |
|
template<typename ConcreteType > |
void | mlir::function_interface_impl::setResultAttr (ConcreteType op, unsigned index, StringAttr name, Attribute value) |
| If the an attribute exists with the specified name, change it to the new value. More...
|
|
template<typename ConcreteType > |
Attribute | mlir::function_interface_impl::removeResultAttr (ConcreteType op, unsigned index, StringAttr name) |
| Remove the attribute 'name' from the result at 'index'. More...
|
|
template<typename ConcreteOp > |
LogicalResult | mlir::function_interface_impl::verifyTrait (ConcreteOp op) |
| This function defines the internal implementation of the verifyTrait method on FunctionOpInterface::Trait. More...
|
|