Package org.robovm.compiler.llvm
Class Switch
java.lang.Object
org.robovm.compiler.llvm.Instruction
org.robovm.compiler.llvm.Switch
- All Implemented Interfaces:
Writable
public class Switch extends Instruction
- Version:
- $Id$
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.robovm.compiler.llvm.Writable
Writable.Provider -
Constructor Summary
Constructors Constructor Description Switch(Value value, BasicBlockRef def, Map<IntegerConstant,BasicBlockRef> alt)Switch(Value value, BasicBlockRef def, IntegerConstant altVal, BasicBlockRef altBlock) -
Method Summary
Modifier and Type Method Description Set<BasicBlockRef>getBranchTargets()Set<VariableRef>getReadsFrom()StringtoString()voidwrite(Writer writer)Methods inherited from class org.robovm.compiler.llvm.Instruction
addMetadata, attach, getAttachment, getAttachments, getBasicBlock, getMetadata, getWritesTo
-
Constructor Details
-
Switch
-
Switch
-
-
Method Details
-
getReadsFrom
- Overrides:
getReadsFromin classInstruction
-
getBranchTargets
- Overrides:
getBranchTargetsin classInstruction
-
write
- Throws:
IOException
-
toString
-