Changeset View
Changeset View
Standalone View
Standalone View
mlir/include/mlir/TableGen/OpTrait.h
Show All 19 Lines | |||||
namespace llvm { | namespace llvm { | ||||
class Init; | class Init; | ||||
class Record; | class Record; | ||||
} // end namespace llvm | } // end namespace llvm | ||||
namespace mlir { | namespace mlir { | ||||
namespace tblgen { | namespace tblgen { | ||||
class OpInterface; | struct OpInterface; | ||||
// Wrapper class with helper methods for accessing OpTrait constraints defined | // Wrapper class with helper methods for accessing OpTrait constraints defined | ||||
// in TableGen. | // in TableGen. | ||||
class OpTrait { | class OpTrait { | ||||
public: | public: | ||||
// Discriminator for kinds of op traits. | // Discriminator for kinds of op traits. | ||||
enum class Kind { | enum class Kind { | ||||
// OpTrait corresponding to C++ class. | // OpTrait corresponding to C++ class. | ||||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |