public interface SwitchInst extends Instruction
| Modifier and Type | Method and Description |
|---|---|
static SwitchInst |
cast(Value value) |
static SwitchInst |
dyn_cast(Value value) |
default Value |
getCaseValue(int idx) |
Value |
getCondition() |
BasicBlock |
getDefaultDest() |
int |
getNumCases() |
BasicBlock |
getSuccessor(int idx)
0 for default
1 for case 0
|
static boolean |
isa(Value value) |
getOpcode, getParentgetNumOperands, getOperand, getTypegetName, getNameOriginal, getTypeOriginal, getValueID, toJavaString, useEmptyisNullstatic boolean isa(Value value)
isa in interface Instructionisa in interface Userstatic SwitchInst cast(Value value)
cast in interface Instructioncast in interface Userstatic SwitchInst dyn_cast(Value value)
dyn_cast in interface Instructiondyn_cast in interface UserValue getCondition()
BasicBlock getDefaultDest()
int getNumCases()
default Value getCaseValue(int idx)
BasicBlock getSuccessor(int idx)
idx - Copyright © 2022 Alibaba Group Holding Ltd.. All rights reserved.