def __init__(self, target, description = "generate basic-blocks pass"): FunctionPass.__init__(self, description, target) self.memoization_map = {} self.top_bb_list = None self.current_bb_stack = [] self.bb_tag_index = 0 # unique loop identifier self.loop_id = -1
def __init__(self, target, default_precision, default_integer_format=ML_Int32, default_boolean_precision=ML_Int32): FunctionPass.__init__(self, "instantiate_prec") self.default_integer_format = default_integer_format self.default_boolean_precision = default_boolean_precision self.default_precision = default_precision
def __init__(self, target): FunctionPass.__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)
def __init__(self, target, change_handle=True, dot_product_enabled=False, silence=False): FunctionPass.__init__(self, "fuse_fma") self.memoization_map = {} self.change_handle = change_handle self.dot_product_enabled = dot_product_enabled self.silence = silence
def __init__(self, target, description="lower operation for target"): FunctionPass.__init__(self, description, target)
def __init__(self, target): """ pass initialization """ FunctionPass.__init__(self, "size_datapath", target) self.format_solver = FormatSolver()
def __init__(self, tag, target): FunctionPass.__init__(self, tag, target)
def __init__(self, target, language=C_Code, debug=False): FunctionPass.__init__(self, "check_processor_support") self.processor = target self.language = language self.debug = debug
def __init__(self, target): FunctionPass.__init__(self, "sub_expr_sharing") self.memoization_map = {}
def __init__(self, target, language=C_Code): FunctionPass.__init__(self, "tag_node", target) self.language = language self.tag_id = collections.defaultdict(lambda: 0)
def __init__(self, target, force=False): FunctionPass.__init__(self, "silence_fp_ops") self.memoization_map = {} self.force = force
def __init__(self, target, default_precision=None): FunctionPass.__init__(self, "instantiate_abstract_prec") self.default_precision = default_precision
def __init__(self, target=None): FunctionPass.__init__(self, target=target) self.memoization_map = {}
def __init__(self, target): FunctionPass.__init__( self, "virtual vector bool legalization pass", target) ## memoization map for promoted optree self.memoization_map = {} self.simplifier = NumericalSimplifier(target)
def __init__(self, target, debug_tags, language=C_Code): FunctionPass.__init__(self, "debug_tagged_node", target) self.language = language self.tag_list = [] if debug_tags in [True, False, None] else debug_tags # if debug_tags==True then debug's attributes must not be modified self.default_tags = (debug_tags is True)
def __init__(self, target, description = "simplify basic-blocks pass"): FunctionPass.__init__(self, description, target) self.memoization_map = {}
def __init__(self, target, description="translate basic-blocks into ssa form pass"): FunctionPass.__init__(self, description, target) self.memoization_map = {} self.top_bb_list = None
def __init__(self, target): FunctionPass.__init__(self, "logical operation simplification pass", target) ## memoization map for promoted optree self.memoization_map = {} self.simplifier = LogicalSimplification(target)