Uses of Class
com.android.dx.rop.code.RegisterSpec

Packages that use RegisterSpec
com.android.dx.dex.code   
com.android.dx.rop.code   
com.android.dx.ssa   
com.android.dx.ssa.back   
 

Uses of RegisterSpec in com.android.dx.dex.code
 

Methods in com.android.dx.dex.code that return RegisterSpec
 RegisterSpec LocalStart.getLocal()
          Gets the register spec representing the local variable introduced by this instance.
 RegisterSpec LocalEnd.getLocal()
          Gets the register spec representing the local variable ended by this instance.
 RegisterSpec LocalList.Entry.getRegisterSpec()
          Gets the RegisterSpec of the register holding the variable.
 

Methods in com.android.dx.dex.code with parameters of type RegisterSpec
 void LocalList.MakeState.endLocal(int address, RegisterSpec endedLocal)
          Ends a local at the given address, using the disposition END_SIMPLY.
 void LocalList.MakeState.endLocal(int address, RegisterSpec endedLocal, LocalList.Disposition disposition)
          Ends a local at the given address.
static String LocalStart.localString(RegisterSpec spec)
          Returns the local variable listing string for a single register spec.
static SimpleInsn DalvInsn.makeMove(SourcePosition position, RegisterSpec dest, RegisterSpec src)
          Makes a move instruction, appropriate and ideal for the given arguments.
 boolean LocalList.Entry.matches(RegisterSpec otherSpec)
          Returns whether or not this instance matches the given spec.
 void LocalList.MakeState.startLocal(int address, RegisterSpec startedLocal)
          Starts a local at the given address.
 

Constructors in com.android.dx.dex.code with parameters of type RegisterSpec
LocalEnd(SourcePosition position, RegisterSpec local)
          Constructs an instance.
LocalList.Entry(int address, LocalList.Disposition disposition, RegisterSpec spec)
          Constructs an instance.
LocalStart(SourcePosition position, RegisterSpec local)
          Constructs an instance.
 

Uses of RegisterSpec in com.android.dx.rop.code
 

Methods in com.android.dx.rop.code that return RegisterSpec
 RegisterSpec RegisterSpecSet.findMatchingLocal(RegisterSpec spec)
          Returns the spec in this set that's currently associated with a given local (type, name, and signature), or null if there is none.
 RegisterSpec RegisterSpecSet.get(int reg)
          Gets the element with the given register number, if any.
 RegisterSpec RegisterSpecList.get(int n)
          Gets the indicated element.
 RegisterSpec RegisterSpecSet.get(RegisterSpec spec)
          Gets the element with the same register number as the given spec, if any.
 RegisterSpec LocalVariableInfo.getAssignment(Insn insn)
          Gets the named register being assigned by the given instruction, if previously stored in this instance.
 RegisterSpec Insn.getLocalAssignment()
          Gets the spec of a local variable assignment that occurs at this instruction, or null if no local variable assignment occurs.
 RegisterSpec Insn.getResult()
          Gets the result spec, if any.
 RegisterSpec RegisterSpec.intersect(RegisterSpec other, boolean localPrimary)
          Returns an instance that is the intersection between this instance and the given one, if any.
 RegisterSpec RegisterSpecSet.localItemToSpec(LocalItem local)
          Returns the spec in this set that's currently associated with a given local (name and signature), or null if there is none.
static RegisterSpec RegisterSpec.make(int reg, TypeBearer type)
          Returns an instance for the given register number and type, with no variable info.
static RegisterSpec RegisterSpec.make(int reg, TypeBearer type, LocalItem local)
          Returns an instance for the given register number, type, and variable info.
static RegisterSpec RegisterSpec.makeLocalOptional(int reg, TypeBearer type, LocalItem local)
          Returns an instance for the given register number, type, and variable info.
 RegisterSpec RegisterSpecList.specForRegister(int reg)
          Returns a RegisterSpec in this list that uses the specified register, or null if there is none in this list.
 RegisterSpec RegisterSpec.withLocalItem(LocalItem local)
          Returns an instance that is identical to this one except that the local variable is as specified in the parameter.
 RegisterSpec RegisterSpec.withOffset(int delta)
          Returns an instance that is identical to this one, except that the register number is offset by the given amount.
 RegisterSpec RegisterSpec.withReg(int newReg)
          Returns an instance that is identical to this one, except that the register number is replaced by the given one.
 RegisterSpec RegisterSpec.withSimpleType()
          Returns an instance that is identical to this one, except that the type bearer is replaced by the actual underlying type (thereby stripping off non-type information) with any initialization information stripped away as well.
 RegisterSpec RegisterSpec.withType(TypeBearer newType)
          Returns an instance that is identical to this one, except that the type is replaced by the given one.
 

Methods in com.android.dx.rop.code with parameters of type RegisterSpec
 void LocalVariableInfo.addAssignment(Insn insn, RegisterSpec spec)
          Adds an assignment association for the given instruction and register spec.
 int RegisterSpec.compareTo(RegisterSpec other)
          Compares by (in priority order) register number, unwrapped type (that is types not TypeBearers, and local info.
 boolean RegisterSpec.equalsUsingSimpleType(RegisterSpec other)
          Like equals, but only consider the simple types of the registers.
 RegisterSpec RegisterSpecSet.findMatchingLocal(RegisterSpec spec)
          Returns the spec in this set that's currently associated with a given local (type, name, and signature), or null if there is none.
 RegisterSpec RegisterSpecSet.get(RegisterSpec spec)
          Gets the element with the same register number as the given spec, if any.
 boolean TranslationAdvice.hasConstantOperation(Rop opcode, RegisterSpec sourceA, RegisterSpec sourceB)
          Returns an indication of whether the target can directly represent an instruction with the given opcode operating on the given arguments, where the last source argument is used as a constant.
 boolean DexTranslationAdvice.hasConstantOperation(Rop opcode, RegisterSpec sourceA, RegisterSpec sourceB)
          Returns an indication of whether the target can directly represent an instruction with the given opcode operating on the given arguments, where the last source argument is used as a constant.
 boolean ConservativeTranslationAdvice.hasConstantOperation(Rop opcode, RegisterSpec sourceA, RegisterSpec sourceB)
          Returns an indication of whether the target can directly represent an instruction with the given opcode operating on the given arguments, where the last source argument is used as a constant.
 RegisterSpec RegisterSpec.intersect(RegisterSpec other, boolean localPrimary)
          Returns an instance that is the intersection between this instance and the given one, if any.
static RegisterSpecList RegisterSpecList.make(RegisterSpec spec)
          Makes a single-element instance.
static RegisterSpecList RegisterSpecList.make(RegisterSpec spec0, RegisterSpec spec1)
          Makes a two-element instance.
static RegisterSpecList RegisterSpecList.make(RegisterSpec spec0, RegisterSpec spec1, RegisterSpec spec2)
          Makes a three-element instance.
static RegisterSpecList RegisterSpecList.make(RegisterSpec spec0, RegisterSpec spec1, RegisterSpec spec2, RegisterSpec spec3)
          Makes a four-element instance.
 boolean RegisterSpec.matchesVariable(RegisterSpec other)
          Like equalsUsingSimpleType(com.android.dx.rop.code.RegisterSpec) but ignoring the register number.
 void RegisterSpecSet.put(RegisterSpec spec)
          Puts the given spec into the set.
 void RegisterSpecSet.remove(RegisterSpec toRemove)
          Removes a spec from the set.
 void RegisterSpecList.set(int n, RegisterSpec spec)
          Sets the element at the given index.
 RegisterSpecList RegisterSpecList.withFirst(RegisterSpec spec)
          Returns a new instance, which is the same as this instance, except that it has an additional element prepended to the original.
 Insn ThrowingInsn.withNewRegisters(RegisterSpec result, RegisterSpecList sources)
          Returns an instance that is just like this one, except with new result and source registers.
 Insn ThrowingCstInsn.withNewRegisters(RegisterSpec result, RegisterSpecList sources)
          Returns an instance that is just like this one, except with new result and source registers.
 Insn SwitchInsn.withNewRegisters(RegisterSpec result, RegisterSpecList sources)
          Returns an instance that is just like this one, except with new result and source registers.
 Insn PlainInsn.withNewRegisters(RegisterSpec result, RegisterSpecList sources)
          Returns an instance that is just like this one, except with new result and source registers.
 Insn PlainCstInsn.withNewRegisters(RegisterSpec result, RegisterSpecList sources)
          Returns an instance that is just like this one, except with new result and source registers.
abstract  Insn Insn.withNewRegisters(RegisterSpec result, RegisterSpecList sources)
          Returns an instance that is just like this one, except with new result and source registers.
 Insn FillArrayDataInsn.withNewRegisters(RegisterSpec result, RegisterSpecList sources)
          Returns an instance that is just like this one, except with new result and source registers.
 

Constructors in com.android.dx.rop.code with parameters of type RegisterSpec
CstInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, Constant cst)
          Constructs an instance.
Insn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources)
          Constructs an instance.
PlainCstInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, Constant cst)
          Constructs an instance.
PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpec source)
          Constructs a single-source instance.
PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources)
          Constructs an instance.
SwitchInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, IntList cases)
          Constructs an instance.
 

Uses of RegisterSpec in com.android.dx.ssa
 

Methods in com.android.dx.ssa that return RegisterSpec
 RegisterSpec LocalVariableInfo.getAssignment(SsaInsn insn)
          Gets the named register being assigned by the given instruction, if previously stored in this instance.
 RegisterSpec SsaInsn.getLocalAssignment()
          Gets the spec of a local variable assignment that occurs at this instruction, or null if no local variable assignment occurs.
 RegisterSpec NormalSsaInsn.getLocalAssignment()
          Gets the spec of a local variable assignment that occurs at this instruction, or null if no local variable assignment occurs.
 RegisterSpec SsaInsn.getResult()
          Like getResult().
abstract  RegisterSpec RegisterMapper.map(RegisterSpec registerSpec)
           
 RegisterSpec BasicRegisterMapper.map(RegisterSpec registerSpec)
          
 

Methods in com.android.dx.ssa with parameters of type RegisterSpec
 void LocalVariableInfo.addAssignment(SsaInsn insn, RegisterSpec spec)
          Adds an assignment association for the given instruction and register spec.
 void SsaBasicBlock.addMoveToBeginning(RegisterSpec result, RegisterSpec source)
          Adds a move instruction after the phi insn block.
 void SsaBasicBlock.addMoveToEnd(RegisterSpec result, RegisterSpec source)
          Adds a move instruction to the end of this basic block, just before the last instruction.
 void SsaBasicBlock.addPhiInsnForReg(RegisterSpec resultSpec)
          Adds a phi insn to the beginning of this block.
 void PhiInsn.addPhiOperand(RegisterSpec registerSpec, SsaBasicBlock predBlock)
          Adds an operand to this phi instruction.
 void NormalSsaInsn.changeOneSource(int index, RegisterSpec newSpec)
          Changes one of the insn's sources.
 boolean InterferenceRegisterMapper.interferes(RegisterSpec oldSpec, int newReg)
          Checks to see if old namespace reg oldReg interferes with what currently maps to newReg.
 boolean SsaMethod.isRegALocal(RegisterSpec spec)
          Checks to see if the given SSA reg is ever associated with a local local variable.
abstract  RegisterSpec RegisterMapper.map(RegisterSpec registerSpec)
           
 RegisterSpec BasicRegisterMapper.map(RegisterSpec registerSpec)
          
 void PhiInsn.removePhiRegister(RegisterSpec registerSpec)
          Removes all operand uses of a register from this phi instruction.
protected  void SsaInsn.setResult(RegisterSpec result)
          Set the result register.
 

Constructors in com.android.dx.ssa with parameters of type RegisterSpec
PhiInsn(RegisterSpec resultReg, SsaBasicBlock block)
          Constructs a new phi insn with no operands.
SsaInsn(RegisterSpec result, SsaBasicBlock block)
          Constructs an instance.
 

Uses of RegisterSpec in com.android.dx.ssa.back
 

Methods in com.android.dx.ssa.back that return RegisterSpec
protected  RegisterSpec RegisterAllocator.getDefinitionSpecForSsaReg(int reg)
          Returns the RegisterSpec of the definition of the register.
protected  RegisterSpec RegisterAllocator.insertMoveBefore(SsaInsn insn, RegisterSpec reg)
          Inserts a move instruction for a specified SSA register before a specified instruction, creating a new SSA register and adjusting the interference graph in the process.
 

Methods in com.android.dx.ssa.back with parameters of type RegisterSpec
protected  RegisterSpec RegisterAllocator.insertMoveBefore(SsaInsn insn, RegisterSpec reg)
          Inserts a move instruction for a specified SSA register before a specified instruction, creating a new SSA register and adjusting the interference graph in the process.
 



Copyright © 2013. All Rights Reserved.