public class LocalOptimizationPass extends CompilerPass
NO_DEPENDENCIES
Constructor and Description |
---|
LocalOptimizationPass() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(IRScope s,
Object... data)
Meat of an individual pass.
|
String |
getLabel()
What is the user-friendly name of this compiler pass
|
static Instr |
optInstr(IRScope s,
Instr instr,
Map<Operand,Operand> valueMap,
Map<Variable,List<Variable>> simplificationMap) |
static void |
runLocalOptsOnBasicBlock(IRScope s,
BasicBlock b) |
static void |
runLocalOptsOnInstrArray(IRScope s,
Instr[] instrs) |
createPassInstance, createPassInstance, equals, getDependencies, getPassesFromString, hashCode, invalidate, previouslyRun, run, run, run
public String getLabel()
CompilerPass
getLabel
in class CompilerPass
public Object execute(IRScope s, Object... data)
CompilerPass
execute
in class CompilerPass
s
- is the scope to run this pass ondata
- is the data supplied to this pass to use to execute the passpublic static Instr optInstr(IRScope s, Instr instr, Map<Operand,Operand> valueMap, Map<Variable,List<Variable>> simplificationMap)
public static void runLocalOptsOnBasicBlock(IRScope s, BasicBlock b)
Copyright © 2001-2015 JRuby. All Rights Reserved.