Searched refs:LegalizationAction (Results 1 – 2 of 2) sorted by relevance
539 enum class LegalizationAction { enum573 void setOpAction(OperationName op, LegalizationAction action);574 template <typename OpT> void setOpAction(LegalizationAction action) { in setOpAction()580 setOpAction<OpT>(LegalizationAction::Legal); in addLegalOp()590 setOpAction<OpT>(LegalizationAction::Dynamic); in addDynamicallyLegalOp()603 setOpAction(opName, LegalizationAction::Dynamic); in addDynamicallyLegalOp()622 setOpAction<OpT>(LegalizationAction::Illegal); in addIllegalOp()654 LegalizationAction action);660 setDialectAction(dialectNames, LegalizationAction::Legal); in addLegalDialect()664 setDialectAction(dialectNames, LegalizationAction::Legal); in addLegalDialect()[all …]
1455 using LegalizationAction = ConversionTarget::LegalizationAction; typedef in __anonf651e33a0d11::OperationLegalizer1567 return target.getOpAction(op->getName()) == LegalizationAction::Illegal; in isIllegal()1891 if (target.getOpAction(*root) == LegalizationAction::Legal) in buildLegalizationGraph()1920 Optional<LegalizationAction> action = target.getOpAction(op); in buildLegalizationGraph()1922 (!action || action == LegalizationAction::Illegal); in buildLegalizationGraph()2545 LegalizationAction action) { in setOpAction()2551 LegalizationAction action) { in setDialectAction()2558 -> Optional<LegalizationAction> { in getOpAction()2560 return info ? info->action : Optional<LegalizationAction>(); in getOpAction()2576 if (info->action == LegalizationAction::Dynamic) in isLegal()[all …]