public class LocalOptimizationPass extends CompilerPass
Constructor and Description |
---|
LocalOptimizationPass() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(IRScope s,
java.lang.Object... data)
Meat of an individual pass.
|
java.lang.String |
getLabel()
What is the user-friendly name of this compiler pass
|
java.lang.String |
getShortLabel()
Shorter label
|
static Instr |
optInstr(IRScope s,
Instr instr,
java.util.Map<Operand,Operand> valueMap,
java.util.Map<Variable,java.util.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 java.lang.String getLabel()
CompilerPass
getLabel
in class CompilerPass
public java.lang.String getShortLabel()
CompilerPass
getShortLabel
in class CompilerPass
public java.lang.Object execute(IRScope s, java.lang.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, java.util.Map<Operand,Operand> valueMap, java.util.Map<Variable,java.util.List<Variable>> simplificationMap)
public static void runLocalOptsOnBasicBlock(IRScope s, BasicBlock b)
Copyright © 2001-2018 JRuby. All Rights Reserved.