Пример #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)
Пример #2
0
 def __init__(self):
     Transformation.__init__(self, OptimizableGenexp)
Пример #3
0
 def __init__(self):
     Transformation.__init__(self, Locals, Globals)
Пример #4
0
 def __init__(self):
     Transformation.__init__(self)
     self.imports = set()
     self.symbols = dict()
Пример #5
0
 def __init__(self):
     Transformation.__init__(self, Identifiers)
Пример #6
0
 def __init__(self):
     self.counter = 0
     Transformation.__init__(self)
Пример #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()
Пример #8
0
 def __init__(self):
     Transformation.__init__(self, PotentialIterator, Aliases)
Пример #9
0
 def __init__(self, pm, name, ctx):
     Transformation.__init__(self)
     self.passmanager = pm
     self.ctx = ctx
     self.prefix = name
     self.lambda_functions = list()
Пример #10
0
 def __init__(self, pm, ctx):
     Transformation.__init__(self)
     self.ctx = ctx
     self.passmanager = pm
Пример #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()
Пример #12
0
 def __init__(self, pm, ctx):
     Transformation.__init__(self)
     self.ctx = ctx
     self.passmanager = pm
     self.global_declarations = pm.gather(GlobalDeclarations, ctx.module)
Пример #13
0
 def __init__(self):
     Transformation.__init__(self, TypeDependencies,
                             OrderedGlobalDeclarations)
Пример #14
0
 def __init__(self):
     Transformation.__init__(self, NormalizeTuples,
                             OptimizableComprehension)
Пример #15
0
 def __init__(self):
     Transformation.__init__(self, Globals)
     self.imports = set()
Пример #16
0
 def __init__(self):
     Transformation.__init__(self, NormalizeTuples,
                             PotentialIterator)
Пример #17
0
 def __init__(self):
     self.renamings = dict()
     Transformation.__init__(self, Identifiers)
Пример #18
0
 def __init__(self):
     Transformation.__init__(self, ConstantExpressions)
Пример #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()