final class UnsyncReplacer extends Object
Modifier and Type | Field and Description |
---|---|
private static InvokeeThreadLocalContext |
context
Singleton: a single context representing "specialize this method when
the invokee of this method is thread-local"
|
private OptOptions |
options
Controlling compiler options
|
private Register |
reg
The register to replace
|
Modifier | Constructor and Description |
---|---|
private |
UnsyncReplacer(Register r,
OptOptions options) |
Modifier and Type | Method and Description |
---|---|
static UnsyncReplacer |
getReplacer(Instruction inst,
IR ir)
Generate an instance of this class for a particular
instantiation site.
|
void |
transform()
Perform the transformation
|
private void |
transform(RegisterOperand rop)
Perform the transformation for a given register appearance
|
private final OptOptions options
private static final InvokeeThreadLocalContext context
private UnsyncReplacer(Register r, OptOptions options)
r
- the register operand target of the allocationoptions
- controlling compiler optionspublic static UnsyncReplacer getReplacer(Instruction inst, IR ir)
inst
- the allocation siteir
- governing irpublic void transform()
private void transform(RegisterOperand rop)
rop
- The def or use to check