public class LocalOptimizationPass extends CompilerPass
Constructor and Description |
---|
LocalOptimizationPass() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(FullInterpreterContext fic,
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(FullInterpreterContext fic,
Instr instr,
java.util.Map<Operand,Operand> valueMap,
java.util.Map<Variable,java.util.List<Variable>> simplificationMap) |
static void |
runLocalOptsOnBasicBlock(FullInterpreterContext fic,
BasicBlock b) |
static void |
runLocalOptsOnInstrArray(FullInterpreterContext fic,
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(FullInterpreterContext fic, java.lang.Object... data)
CompilerPass
execute
in class CompilerPass
fic
- is the FullInterpreterContext to run this pass ondata
- is the data supplied to this pass to use to execute the passpublic static Instr optInstr(FullInterpreterContext fic, Instr instr, java.util.Map<Operand,Operand> valueMap, java.util.Map<Variable,java.util.List<Variable>> simplificationMap)
public static void runLocalOptsOnInstrArray(FullInterpreterContext fic, Instr[] instrs)
public static void runLocalOptsOnBasicBlock(FullInterpreterContext fic, BasicBlock b)
Copyright © 2001-2022 JRuby. All Rights Reserved.