Home
last modified time | relevance | path

Searched refs:branchTargets (Results 1 – 6 of 6) sorted by relevance

/external/proguard/src/proguard/optimize/evaluation/
DPartialEvaluator.java227 InstructionOffsetValue branchTargets = branchTargets(offset); in visitCodeAttribute()
228 if (branchTargets != null) in visitCodeAttribute()
230 System.out.println(" has overall been branching to "+branchTargets); in visitCodeAttribute()
307 InstructionOffsetValue branchTargets = branchTargets(offset); in visitCodeAttribute0() local
308 if (branchTargets != null) in visitCodeAttribute0()
310 System.out.println(" has overall been branching to "+branchTargets); in visitCodeAttribute0()
519 public InstructionOffsetValue branchTargets(int instructionOffset) in branchTargets() method in PartialEvaluator
778 InstructionOffsetValue branchTargets = branchUnit.getTraceBranchTargets(); in evaluateSingleInstructionBlock() local
779 int branchTargetCount = branchTargets.instructionOffsetCount(); in evaluateSingleInstructionBlock()
788 System.out.println(" is branching to "+branchTargets); in evaluateSingleInstructionBlock()
[all …]
DEvaluationSimplifier.java835 InstructionOffsetValue branchTargets = partialEvaluator.branchTargets(offset); in replaceBranchInstruction() local
838 if (branchTargets != null && in replaceBranchInstruction()
839 branchTargets.instructionOffsetCount() == 1) in replaceBranchInstruction()
842 int branchOffset = branchTargets.instructionOffset(0) - offset; in replaceBranchInstruction()
1044 InstructionOffsetValue branchTargets = partialEvaluator.branchTargets(offset); in cleanUpSwitchInstruction() local
1048 branchTargets.instructionOffset(branchTargets.instructionOffsetCount()-1) - in cleanUpSwitchInstruction()
1057 if (!branchTargets.contains(offset + jumpOffsets[index])) in cleanUpSwitchInstruction()
1068 if (!branchTargets.contains(offset + switchInstruction.defaultOffset)) in cleanUpSwitchInstruction()
DLivenessAnalyzer.java228 InstructionOffsetValue branchTargets = partialEvaluator.branchTargets(offset); in visitCodeAttribute() local
229 if (branchTargets != null) in visitCodeAttribute()
232 alive = combinedLiveness(branchTargets); in visitCodeAttribute()
DEvaluationShrinker.java282 partialEvaluator.branchTargets(offset), in visitCodeAttribute0()
343 partialEvaluator.branchTargets(offset), in visitCodeAttribute0()
368 isAllSmallerThanOrEqual(partialEvaluator.branchTargets(offset), in visitCodeAttribute0()
446 InstructionOffsetValue branchTargets = partialEvaluator.branchTargets(offset); in visitCodeAttribute0() local
447 if (branchTargets != null) in visitCodeAttribute0()
449 System.out.println(" has overall been branching to "+branchTargets); in visitCodeAttribute0()
805 InstructionOffsetValue branchTargets = in visitAnyInstruction() local
806 partialEvaluator.branchTargets(offset); in visitAnyInstruction()
807 if (branchTargets != null && in visitAnyInstruction()
808 branchTargets.instructionOffsetCount() == 0) in visitAnyInstruction()
[all …]
/external/proguard/src/proguard/evaluation/
DBasicBranchUnit.java71 public void setTraceBranchTargets(InstructionOffsetValue branchTargets) in setTraceBranchTargets() argument
73 this.traceBranchTargets = branchTargets; in setTraceBranchTargets()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DMethodGen.java947 private final Stack<BranchTarget> branchTargets = new Stack<>(); field in MethodGen.BranchStack
955 branchTargets.push(visit(target, stackDepth)); in push()
960 if (!branchTargets.empty()) { in pop()
961 final BranchTarget bt = branchTargets.pop(); in pop()
987 final BranchStack branchTargets = new BranchStack(); in getMaxStack() local
996 branchTargets.push(handler_pc, 1); in getMaxStack()
1018 branchTargets.push(target, stackDepth); in getMaxStack()
1026 branchTargets.push(ih.getNext(), stackDepth - 1); in getMaxStack()
1033 branchTargets.push(branch.getTarget(), stackDepth); in getMaxStack()
1047 final BranchTarget bt = branchTargets.pop(); in getMaxStack()