예제 #1
0
 def __init__(self, pm, name, ctx, lambdas, imports, global_decls):
     Transformation.__init__(self)
     self.passmanager = pm
     self.ctx = ctx
     self.prefix = name
     self.lambda_functions = lambdas
     self.imports = imports
     self.global_declarations = global_decls
예제 #2
0
 def __init__(self, pm, name, ctx, lambda_functions, imports):
     Transformation.__init__(self)
     self.passmanager = pm
     self.ctx = ctx
     self.prefix = name
     self.lambda_functions = lambda_functions
     self.imports = imports
     self.global_declarations = pm.gather(GlobalDeclarations, ctx.module)
예제 #3
0
 def __init__(self, pm, name, ctx, lambdas, imports, global_decls):
     Transformation.__init__(self)
     self.passmanager = pm
     self.ctx = ctx
     self.prefix = name
     self.lambda_functions = lambdas
     self.imports = imports
     self.global_declarations = global_decls
예제 #4
0
 def __init__(self, pm, name, ctx, lambda_functions, imports):
     Transformation.__init__(self)
     self.passmanager = pm
     self.ctx = ctx
     self.prefix = name
     self.lambda_functions = lambda_functions
     self.imports = imports
     self.global_declarations = pm.gather(GlobalDeclarations, ctx.module)
예제 #5
0
 def __init__(self):
     Transformation.__init__(self, NormalizeTuples,
                             OptimizableComprehension)
 def __init__(self):
     Transformation.__init__(self, Globals)
     self.imports = {'__builtin__': '__builtin__'}
     self.to_import = set()
예제 #7
0
 def __init__(self):
     """Gather required information."""
     Transformation.__init__(self, PotentialIterator, Aliases)
     self.use_itertools = False
예제 #8
0
파일: square.py 프로젝트: xmar/pythran
 def __init__(self):
     Transformation.__init__(self)
예제 #9
0
 def __init__(self):
     Transformation.__init__(self, Identifiers)
예제 #10
0
 def __init__(self):
     Transformation.__init__(self, RangeValues)
예제 #11
0
 def __init__(self):
     Transformation.__init__(self)
     self.imports = set()
     self.symbols = dict()
예제 #12
0
 def __init__(self):
     """ Basic initialiser. """
     Transformation.__init__(self)
     self.imports = set()
     self.symbols = dict()
예제 #13
0
 def __init__(self):
     Transformation.__init__(self, Aliases, PureExpressions)
예제 #14
0
 def __init__(self, pm, ctx, global_declarations):
     Transformation.__init__(self)
     self.ctx = ctx
     self.passmanager = pm
     self.global_declarations = global_declarations
예제 #15
0
 def __init__(self):
     Transformation.__init__(self, PotentialIterator)
예제 #16
0
 def __init__(self):
     Transformation.__init__(self, Aliases, ConstantExpressions,
                             PureExpressions)
예제 #17
0
 def __init__(self):
     Transformation.__init__(self, Locals, Globals)
예제 #18
0
 def __init__(self):
     Transformation.__init__(self)
     # Remap self.visit_XXXX() to self.attach_data() generic method
     for s in GatherOMPData.statements:
         setattr(self, "visit_" + s, self.attach_data)
     self.current = list()
예제 #19
0
 def __init__(self):
     Transformation.__init__(self)
     self.imports = set()
     self.symbols = dict()
예제 #20
0
 def __init__(self):
     self.renamings = dict()
     Transformation.__init__(self, Identifiers)
예제 #21
0
 def __init__(self):
     Transformation.__init__(self, PotentialIterator, Aliases)
예제 #22
0
파일: openmp.py 프로젝트: xmar/pythran
 def __init__(self):
     Transformation.__init__(self)
     # Remap self.visit_XXXX() to self.attach_data() generic method
     for s in GatherOMPData.statements:
         setattr(self, "visit_" + s, self.attach_data)
     self.current = list()
예제 #23
0
 def __init__(self):
     Transformation.__init__(self, NormalizeTuples, PotentialIterator)
예제 #24
0
 def __init__(self):
     Transformation.__init__(self, OptimizableComprehension)
예제 #25
0
 def __init__(self):
     """ Basic initialiser. """
     Transformation.__init__(self)
     self.imports = set()
     self.symbols = dict()
예제 #26
0
 def __init__(self):
     Transformation.__init__(self, Globals)
     self.imports = set()
     self.to_import = set()
예제 #27
0
 def __init__(self):
     """ Gather required information. """
     Transformation.__init__(self, PotentialIterator, Aliases)
 def __init__(self):
     Transformation.__init__(self, RangeValues)
예제 #29
0
 def __init__(self, pm, ctx, global_declarations):
     Transformation.__init__(self)
     self.ctx = ctx
     self.passmanager = pm
     self.global_declarations = global_declarations
예제 #30
0
 def __init__(self):
     Transformation.__init__(self, NormalizeTuples,
                             OptimizableComprehension)
예제 #31
0
 def __init__(self, pm, ctx):
     Transformation.__init__(self)
     self.ctx = ctx
     self.passmanager = pm
     self.global_declarations = pm.gather(GlobalDeclarations, ctx.module)
예제 #32
0
 def __init__(self):
     self.count = 0
     Transformation.__init__(self)
예제 #33
0
 def __init__(self):
     Transformation.__init__(self, UseDefChains, Ancestors, Aliases,
                             RangeValues, Identifiers)
     self.loops_mod = dict()
예제 #34
0
파일: square.py 프로젝트: yang123vc/pythran
 def __init__(self):
     Transformation.__init__(self)
예제 #35
0
 def __init__(self):
     Transformation.__init__(self, UseDefChain, Ancestors, Aliases,
                             RangeValues, Identifiers)
     self.loops_mod = dict()
예제 #36
0
 def __init__(self):
     """ Gather required information. """
     Transformation.__init__(self, PotentialIterator, Aliases)
예제 #37
0
 def __init__(self):
     Transformation.__init__(self, Globals, Ancestors)
     self.imports = {'builtins': 'builtins'}
     self.to_import = set()
예제 #38
0
 def __init__(self):
     Transformation.__init__(self, Globals)
     self.imports = {'__builtin__': '__builtin__'}
     self.to_import = set()
예제 #39
0
 def __init__(self):
     Transformation.__init__(self, TypeDependencies,
                             OrderedGlobalDeclarations)
예제 #40
0
 def __init__(self):
     Transformation.__init__(self, ConstantExpressions)
예제 #41
0
 def __init__(self):
     Transformation.__init__(self, Identifiers)
 def __init__(self, pm, ctx):
     Transformation.__init__(self)
     self.ctx = ctx
     self.passmanager = pm
     self.global_declarations = pm.gather(GlobalDeclarations, ctx.module)
예제 #43
0
 def __init__(self):
     Transformation.__init__(self, NormalizeTuples,
                             PotentialIterator)
예제 #44
0
 def __init__(self):
     self.renamings = dict()
     Transformation.__init__(self, Identifiers)
예제 #45
0
 def __init__(self, pm, ctx, global_declarations):
     Transformation.__init__(self)
     self.ctx = ctx
     self.passmanager = pm
     self.global_declarations = global_declarations
     self.identifiers = set(self.global_declarations.keys())
예제 #46
0
 def __init__(self):
     Transformation.__init__(self, ConstantExpressions)
예제 #47
0
 def __init__(self):
     Transformation.__init__(self, Globals)
     self.imports = set()
     self.to_import = set()
예제 #48
0
 def __init__(self):
     self.count = 0
     Transformation.__init__(self)
 def __init__(self):
     Transformation.__init__(self, OptimizableComprehension)