scale.backend.x86
Class X86RDBranch
java.lang.Object
scale.backend.Instruction
scale.backend.Branch
scale.backend.x86.X86Branch
scale.backend.x86.X86RBranch
scale.backend.x86.X86RDBranch
- All Implemented Interfaces:
- java.lang.Cloneable
public class X86RDBranch
- extends X86RBranch
This is the base class for all X86 branches that reference a
register and a displacement.
$Id$
Copyright 2008 by James H. Burrill
All Rights Reserved.
Methods inherited from class scale.backend.x86.X86Branch |
assembleDisp, buildAddress, canBeDeleted, defs, getOpcode, getOperandSize, getOperandSizeLabel, getPt, getReg2, instructionSize, isReversed, isUnconditional, mods, remapDestRegister, setOpcode, setOperandSize, setReg2, setReturnedStructSize, setScale, specifyRegisterUsage |
Methods inherited from class scale.backend.Branch |
additionalRegsKilled, additionalRegsSet, additionalRegsUsed, addTarget, copy, getBranchProbability, getExecutionCycles, getRegsKilled, getTarget, independent, isBranch, isCall, markAsCall, nullify, numTargets, setBranchProbability, uses |
Methods inherited from class scale.backend.Instruction |
clone, ehash, getBBID, getCopyDest, getCopySrc, getDestRegister, getFunctionalUnit, getLoopNumber, getNext, getPredicate, getPredicates, getSrcRegisters, getTag, isCopy, isLabel, isLoad, isMandatory, isMarker, isPhi, isPredicated, isPredicatedOnTrue, isPrefetch, isSpillInstruction, isSpillLoadPoint, isSpillStorePoint, isStore, markSpillInstruction, nullified, numPredicates, removePredicates, setBBID, setLoopNumber, setMandatory, setNext, setPredicate, setPredicate, setPredicatedOnTrue, setPredicates, setsSpecialReg, setTag, specifyNotSpillLoadPoint, specifySpillStorePoint |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
disp
protected Displacement disp
X86RDBranch
public X86RDBranch(int opcode,
boolean pt,
int numTargets,
int reg,
Displacement disp)
checkForm
protected boolean checkForm(int opcode)
- Overrides:
checkForm
in class X86RBranch
getDisplacement
public Displacement getDisplacement()
- Overrides:
getDisplacement
in class X86Branch
setDisplacement
public void setDisplacement(Displacement disp)
- Overrides:
setDisplacement
in class X86Branch
assembler
public void assembler(Assembler asm,
Emit emit)
- Insert the assembler representation of the instruction into the
output stream.
- Overrides:
assembler
in class X86RBranch
toString
public java.lang.String toString()
- Overrides:
toString
in class X86RBranch