Exemple #1
0
 def simplify(self):
     loadelimination.evaluateDataflow(self.dataflow)
     dce.evaluateDataflow(self.dataflow)
Exemple #2
0
	def simplify(self):
		loadelimination.evaluateDataflow(self.dataflow)
		dce.evaluateDataflow(self.dataflow)
Exemple #3
0
def evaluateCode(compiler, code):
	ctd = CodeToDataflow(code)
	dataflow = ctd.processCode()
	dce.evaluateDataflow(dataflow)
	return dataflow
Exemple #4
0
def evaluateDataflow(compiler, prgm, dataflow, order, dioa):
	flattener = DataflowFlattener(compiler, prgm, dataflow, order, dioa)
	dataflow = flattener.process()
	dce.evaluateDataflow(dataflow)
	return dataflow