Пример #1
0
 def __init__(self,
              target,
              check_function=lambda optree: True,
              description="check_generic pass"):
     OptreeOptimization.__init__(self, description, target)
     self.memoization_map = {}
     self.check_function = check_function
Пример #2
0
 def __init__(self, target):
     OptreeOptimization.__init__(self,
                                 "virtual vector bool legalization pass",
                                 target)
     ## memoization map for promoted optree
     self.memoization_map = {}
     self.expander = VirtualBoolVectorLegalizer(target)
Пример #3
0
    def __init__(self, target):
        OptreeOptimization.__init__(self, "vector promotion pass", target)
        ## memoization map for promoted optree
        self.memoization_map = {}
        ## memoization map for converted promoted optree
        self.conversion_map = {}
        # memoization map for copy
        self.copy_map = {}

        self.support_checker = Pass_CheckSupport(target)
Пример #4
0
 def __init__(self, target):
     OptreeOptimization.__init__(self, "multi-precision expansion pass",
                                 target)
     ## memoization map for promoted optree
     self.memoization_map = {}
     self.expander = MultiPrecisionExpander(target)
Пример #5
0
 def __init__(self, target):
     OptreeOptimization.__init__(self, "check_target_support", target)
Пример #6
0
 def __init__(self, target):
     """ pass initialization """
     OptreeOptimization.__init__(self, "unify_pipeline_stages", target)
Пример #7
0
 def __init__(self, target, language=C_Code):
     OptreeOptimization.__init__(self, "check_target_support", target)
     self.language = language
Пример #8
0
 def __init__(self, target):
     """ pass initialization """
     OptreeOptimization.__init__(self, "rtl_Legalize", target)
     self.memoization_map = {}
     self.format_solver = FormatSolver()
Пример #9
0
 def __init__(self, target):
     """ pass initialization """
     OptreeOptimization.__init__(self, "rtl_Legalize", target)
Пример #10
0
 def __init__(self, target):
     """ pass initialization """
     OptreeOptimization.__init__(self, "size_datapath", target)
Пример #11
0
 def __init__(self, target):
     OptreeOptimization.__init__(self, "check_target_support", target)
     self.memoization_map = {}
Пример #12
0
 def __init__(self, target):
     """ pass initialization """
     OptreeOptimization.__init__(self, "size_datapath", target)
     self.format_solver = FormatSolver()
Пример #13
0
 def __init__(self, target):
     OptreeOptimization.__init__(self, "rtl simplification pass", target)
     ## memoization map for promoted optree
     self.memoization_map = {}
     self.simplifier = BasicSimplifier(target)
Пример #14
0
 def __init__(self, target):
     OptreeOptimization.__init__(self, "basic legalization pass", target)
     ## memoization map for promoted optree
     self.memoization_map = {}
     self.expander = BasicExpander(target)