Package sootup.core.jimple.common.expr
Class JPhiExpr
java.lang.Object
sootup.core.jimple.common.expr.JPhiExpr
- Author:
- Zun Wang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V extends ExprVisitor>
Vaccept(@NonNull V v) Called when this object is visited.intReturns a (not necessarily fixed) hash code for this object.booleanequivTo(Object o, @NonNull JimpleComparator comparator) Returns true if this object is equivalent to o according to the given comparator.@NonNull LocalgetArg(int index) @NonNull LocalgetArg(@NonNull BasicBlock<?> block) intgetArgIndex(@NonNull BasicBlock<?> block) getArgs()int@NonNull Map<Local,BasicBlock<?>> @NonNull BasicBlock<?>getBlock(int index) @NonNull BasicBlock<?>@NonNull List<BasicBlock<?>>@NonNull TypegetType()Returns the Soot type of this Value.getUses()Returns a List of Locals,FieldRefs,ArrayRefs which are used by (ie contained within) this Expression or Reference.boolean@NonNull StringtoString()voidtoString(@NonNull StmtPrinter up) @NonNull JPhiExpr@NonNull JPhiExprwithArgToBlockMap(@NonNull Map<Local, BasicBlock<?>> argToBlock) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface sootup.core.jimple.common.expr.Expr
asJAddExpr, asJAndExpr, asJCastExpr, asJCmpExpr, asJCmpgExpr, asJCmplExpr, asJDivExpr, asJDynamicInvokeExpr, asJEqExpr, asJGeExpr, asJGtExpr, asJInstanceOfExpr, asJInterfaceInvokeExpr, asJLeExpr, asJLengthExpr, asJLtExpr, asJMulExpr, asJNeExpr, asJNegExpr, asJNewArrayExpr, asJNewExpr, asJNewMultiArrayExpr, asJOrExpr, asJRemExpr, asJShlExpr, asJShrExpr, asJSpecialInvokeExpr, asJStaticInvokeExpr, asJSubExpr, asJUshrExpr, asJVirtualInvokeExpr, asJXorExpr, isJAddExpr, isJAndExpr, isJCastExpr, isJCmpExpr, isJCmpgExpr, isJCmplExpr, isJDivExpr, isJDynamicInvokeExpr, isJEqExpr, isJGeExpr, isJGtExpr, isJInstanceOfExpr, isJInterfaceInvokeExpr, isJLeExpr, isJLengthExpr, isJLtExpr, isJMulExpr, isJNeExpr, isJNegExpr, isJNewArrayExpr, isJNewExpr, isJNewMultiArrayExpr, isJOrExpr, isJRemExpr, isJShlExpr, isJShrExpr, isJSpecialInvokeExpr, isJStaticInvokeExpr, isJSubExpr, isJUshrExpr, isJVirtualInvokeExpr, isJXorExpr, toJAddExpr, toJAndExpr, toJCastExpr, toJCmpExpr, toJCmpgExpr, toJCmplExpr, toJDivExpr, toJDynamicInvokeExpr, toJEqExpr, toJGeExpr, toJGtExpr, toJInstanceOfExpr, toJInterfaceInvokeExpr, toJLeExpr, toJLengthExpr, toJLtExpr, toJMulExpr, toJNeExpr, toJNegExpr, toJNewArrayExpr, toJNewExpr, toJNewMultiArrayExpr, toJOrExpr, toJRemExpr, toJShlExpr, toJShrExpr, toJSpecialInvokeExpr, toJStaticInvokeExpr, toJSubExpr, toJUshrExpr, toJVirtualInvokeExpr, toJXorExpr
-
Constructor Details
-
JPhiExpr
-
-
Method Details
-
getArgs
-
getArgsSize
public int getArgsSize() -
getArg
-
getArg
-
getArgIndex
-
getBlocks
- Returns:
- a list of Preds in which each Pred corresponds to arg from args with the same list index.
-
getBlock
-
getBlock
-
getArgToBlockMap
-
getUses
Description copied from interface:ValueReturns a List of Locals,FieldRefs,ArrayRefs which are used by (ie contained within) this Expression or Reference. -
equivHashCode
public int equivHashCode()Description copied from interface:EquivToReturns a (not necessarily fixed) hash code for this object. This hash code coincides with equivTo; it is undefined in the presence of mutable objects. The contract is defined inJimpleComparator.- Specified by:
equivHashCodein interfaceEquivTo
-
equivTo
Description copied from interface:EquivToReturns true if this object is equivalent to o according to the given comparator. -
getType
Description copied from interface:ValueReturns the Soot type of this Value. -
toString
-
toString
-
withArgs
-
withArgToBlockMap
-
accept
Description copied from interface:AcceptorCalled when this object is visited.- Specified by:
acceptin interfaceAcceptor<ExprVisitor>
-
isJPhiExpr
public boolean isJPhiExpr()- Specified by:
isJPhiExprin interfaceExpr
-
asJPhiExpr
- Specified by:
asJPhiExprin interfaceExpr
-
toJPhiExpr
- Specified by:
toJPhiExprin interfaceExpr
-