Exemple #1
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)
Exemple #2
0
 def __init__(self):
     Transformation.__init__(self, OptimizableGenexp)
Exemple #3
0
 def __init__(self):
     Transformation.__init__(self, Locals, Globals)
Exemple #4
0
 def __init__(self):
     Transformation.__init__(self)
     self.imports = set()
     self.symbols = dict()
Exemple #5
0
 def __init__(self):
     Transformation.__init__(self, Identifiers)
Exemple #6
0
 def __init__(self):
     self.counter = 0
     Transformation.__init__(self)
Exemple #7
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, lambda node_: self.attach_data(node_))
     self.current = list()
 def __init__(self):
     Transformation.__init__(self, PotentialIterator, Aliases)
Exemple #9
0
 def __init__(self, pm, name, ctx):
     Transformation.__init__(self)
     self.passmanager = pm
     self.ctx = ctx
     self.prefix = name
     self.lambda_functions = list()
Exemple #10
0
 def __init__(self, pm, ctx):
     Transformation.__init__(self)
     self.ctx = ctx
     self.passmanager = pm
Exemple #11
0
 def __init__(self):
     Transformation.__init__(self)
     for s in GatherOMPData.statements:
         setattr(self, "visit_" + s, lambda node_: self.attach_data(node_))
     self.current = list()
Exemple #12
0
 def __init__(self, pm, ctx):
     Transformation.__init__(self)
     self.ctx = ctx
     self.passmanager = pm
     self.global_declarations = pm.gather(GlobalDeclarations, ctx.module)
Exemple #13
0
 def __init__(self):
     Transformation.__init__(self, TypeDependencies,
                             OrderedGlobalDeclarations)
 def __init__(self):
     Transformation.__init__(self, NormalizeTuples,
                             OptimizableComprehension)
Exemple #15
0
 def __init__(self):
     Transformation.__init__(self, Globals)
     self.imports = set()
 def __init__(self):
     Transformation.__init__(self, NormalizeTuples,
                             PotentialIterator)
Exemple #17
0
 def __init__(self):
     self.renamings = dict()
     Transformation.__init__(self, Identifiers)
 def __init__(self):
     Transformation.__init__(self, ConstantExpressions)
Exemple #19
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, lambda node_: self.attach_data(node_))
     self.current = list()