My Project
|
#include <OpImplementation.h>
Public Member Functions | |
OpAsmPrinter () | |
virtual | ~OpAsmPrinter () |
virtual raw_ostream & | getStream () const =0 |
virtual void | printOperand (Value value)=0 |
Print implementations for various things an operation contains. More... | |
template<typename ContainerType > | |
void | printOperands (const ContainerType &container) |
Print a comma separated list of operands. More... | |
template<typename IteratorType > | |
void | printOperands (IteratorType it, IteratorType end) |
Print a comma separated list of operands. More... | |
virtual void | printType (Type type)=0 |
virtual void | printAttribute (Attribute attr)=0 |
virtual void | printSuccessorAndUseList (Operation *term, unsigned index)=0 |
virtual void | printOptionalAttrDict (ArrayRef< NamedAttribute > attrs, ArrayRef< StringRef > elidedAttrs={})=0 |
virtual void | printOptionalAttrDictWithKeyword (ArrayRef< NamedAttribute > attrs, ArrayRef< StringRef > elidedAttrs={})=0 |
virtual void | printGenericOp (Operation *op)=0 |
Print the entire operation with the default generic assembly form. More... | |
virtual void | printRegion (Region &blocks, bool printEntryBlockArgs=true, bool printBlockTerminators=true)=0 |
Prints a region. More... | |
virtual void | shadowRegionArgs (Region ®ion, ValueRange namesToUse)=0 |
virtual void | printAffineMapOfSSAIds (AffineMapAttr mapAttr, ValueRange operands)=0 |
void | printOptionalArrowTypeList (ArrayRef< Type > types) |
Print an optional arrow followed by a type list. More... | |
void | printFunctionalType (Operation *op) |
Print the complete type of an operation in functional form. More... | |
virtual void | printSymbolName (StringRef symbolRef)=0 |
This is a pure-virtual base class that exposes the asmprinter hooks necessary to implement a custom print() method.
|
inline |
|
virtual |
|
pure virtual |
|
pure virtual |
Prints an affine map of SSA ids, where SSA id names are used in place of dims/symbols. Operand values must come from single-result sources, and be valid dimensions/symbol identifiers according to mlir::isValidDim/Symbol.
|
pure virtual |
|
inline |
Print the complete type of an operation in functional form.
|
pure virtual |
Print the entire operation with the default generic assembly form.
|
pure virtual |
Print implementations for various things an operation contains.
|
inline |
Print a comma separated list of operands.
|
inline |
Print a comma separated list of operands.
Print an optional arrow followed by a type list.
|
pure virtual |
If the specified operation has attributes, print out an attribute dictionary with their values. elidedAttrs allows the client to ignore specific well known attributes, commonly used if the attribute value is printed some other way (like as a fixed operand).
|
pure virtual |
If the specified operation has attributes, print out an attribute dictionary prefixed with 'attributes'.
|
pure virtual |
Prints a region.
|
pure virtual |
Print a successor, and use list, of a terminator operation given the terminator and the successor index.
|
pure virtual |
Print the given string as a symbol reference, i.e. a form representable by a SymbolRefAttr. A symbol reference is represented as a string prefixed with '@'. The reference is surrounded with ""'s and escaped if it has any special or non-printable characters in it.
|
pure virtual |
|
pure virtual |
Renumber the arguments for the specified region to the same names as the SSA values in namesToUse. This may only be used for IsolatedFromAbove operations. If any entry in namesToUse is null, the corresponding argument name is left alone.