#include #include #include #include static enum mie_status validate( const struct mie_trait_definition *trait_def, const struct mie_trait *trait, const struct mie_trait_target *target) { return MIE_SUCCESS; } /* select.graph-op trait: * ops with this trait can be used within graph regions. by default, ops cannot * be used in graph regions unless they have the graph-op or graph-only traits. */ MIE_TRAIT_DEFINITION_BEGIN(mie_select_graph_op, "graph-op") MIE_TRAIT_DEFINITION_TARGETS(MIE_TRAIT_TARGET_OP | MIE_TRAIT_TARGET_TYPE); MIE_TRAIT_DEFINITION_STRUCT(struct mie_trait); MIE_TRAIT_DEFINITION_VALIDATE(validate); MIE_TRAIT_DEFINITION_END()