Home
last modified time | relevance | path

Searched refs:OpState (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/include/mlir/IR/
DOpDefinition.h97 class OpState {
254 explicit OpState(Operation *state) : state(state) {} in OpState() function
264 inline bool operator==(OpState lhs, OpState rhs) {
267 inline bool operator!=(OpState lhs, OpState rhs) {
277 inline raw_ostream &operator<<(raw_ostream &os, OpState &op) {
343 auto *base = static_cast<OpState *>(concrete); in getOperation()
1507 class Op : public OpState, public Traits<ConcreteType>... {
1510 using OpState::getOperation;
1546 explicit Op() : OpState(nullptr) {} in Op()
1547 Op(std::nullptr_t) : OpState(nullptr) {} in Op()
[all …]
/external/llvm-project/mlir/lib/IR/
DOperation.cpp662 ParseResult OpState::parse(OpAsmParser &parser, OperationState &result) { in parse()
667 void OpState::print(Operation *op, OpAsmPrinter &p) { p.printGenericOp(op); } in print()
671 InFlightDiagnostic OpState::emitError(const Twine &message) { in emitError()
677 InFlightDiagnostic OpState::emitOpError(const Twine &message) { in emitOpError()
683 InFlightDiagnostic OpState::emitWarning(const Twine &message) { in emitWarning()
689 InFlightDiagnostic OpState::emitRemark(const Twine &message) { in emitRemark()