HomeSort by relevance Sort by last modified time
    Searched full:branchinstruction (Results 1 - 25 of 30) sorted by null

1 2

  /external/proguard/src/proguard/classfile/instruction/
BranchInstruction.java 33 public class BranchInstruction extends Instruction
39 * Creates an uninitialized BranchInstruction.
41 public BranchInstruction() {}
44 public BranchInstruction(byte opcode, int branchOffset)
53 * @param branchInstruction the instruction to be copied.
56 public BranchInstruction copy(BranchInstruction branchInstruction)
58 this.opcode = branchInstruction.opcode;
59 this.branchOffset = branchInstruction.branchOffset
    [all...]
InstructionFactory.java 276 instruction = new BranchInstruction();
  /external/proguard/src/proguard/classfile/editor/
InstructionWriter.java 124 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
129 branchInstruction.write(codeAttribute, offset);
135 new BranchInstruction(InstructionConstants.OP_GOTO_W,
136 branchInstruction.branchOffset);
139 switch (branchInstruction.opcode)
145 new BranchInstruction(branchInstruction.opcode,
146 branchInstruction.branchOffset).shrink();
169 new BranchInstruction((byte)(((branchInstruction.opcode+1) ^ 1) - 1)
    [all...]
CodeAttributeComposer.java 459 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
462 branchInstruction.branchOffset = remapBranchOffset(offset,
463 branchInstruction.branchOffset);
833 composer.appendInstruction(2, new BranchInstruction(InstructionConstants.OP_GOTO, 1));
839 composer.appendInstruction(3, new BranchInstruction(InstructionConstants.OP_IFICMPLT, -3));
CodeAttributeEditor.java 765 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
768 branchInstruction.branchOffset = remapBranchOffset(offset,
769 branchInstruction.branchOffset);
776 branchInstruction);
778 newOffset += branchInstruction.length(newOffset);
    [all...]
  /external/proguard/src/proguard/optimize/peephole/
GotoGotoReplacer.java 75 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
78 byte opcode = branchInstruction.opcode;
84 int branchOffset = branchInstruction.branchOffset;
87 if (branchOffset != branchInstruction.length(offset) &&
97 int targetBranchOffset = ((BranchInstruction)targetInstruction).branchOffset;
100 new BranchInstruction(opcode,
108 extraInstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
InstructionSequenceConstants.java     [all...]
GotoCommonCodeReplacer.java 97 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
101 byte opcode = branchInstruction.opcode;
106 int branchOffset = branchInstruction.branchOffset;
117 System.out.println("GotoCommonCodeReplacer: "+clazz.getName()+"."+method.getName(clazz)+" (["+(offset-commonCount)+"] - "+branchInstruction.toString(offset)+" -> "+targetOffset+")");
136 if (newBranchOffset != branchInstruction.length(offset))
139 new BranchInstruction(opcode, newBranchOffset);
147 extraInstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
GotoReturnReplacer.java 75 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
78 byte opcode = branchInstruction.opcode;
83 int targetOffset = offset + branchInstruction.branchOffset;
107 extraInstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
ReachableCodeMarker.java 146 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
152 offset + branchInstruction.branchOffset);
154 byte opcode = branchInstruction.opcode;
InstructionSequenceReplacer.java 249 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
252 new BranchInstruction(branchInstruction.opcode,
253 instructionSequenceMatcher.matchedBranchOffset(offset, branchInstruction.branchOffset));
BranchTargetFinder.java 537 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
546 markBranchTarget(offset, branchInstruction.branchOffset);
548 byte opcode = branchInstruction.opcode;
556 int targetOffset = offset + branchInstruction.branchOffset;
563 markAfterBranchOrigin(offset + branchInstruction.length(offset));
MethodInliner.java 344 Instruction branchInstruction =
345 new BranchInstruction(InstructionConstants.OP_GOTO_W,
349 branchInstruction.shrink());
  /external/proguard/src/proguard/optimize/info/
BackwardBranchMarker.java 44 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
46 markBackwardBranch(method, branchInstruction.branchOffset);
SideEffectInstructionChecker.java 137 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
139 byte opcode = branchInstruction.opcode;
  /external/proguard/src/proguard/classfile/instruction/visitor/
InstructionVisitor.java 39 public void visitBranchInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction);
MultiInstructionVisitor.java 108 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
112 instructionVisitors[index].visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
  /external/proguard/src/proguard/preverify/
CodeSubroutineInliner.java 277 new BranchInstruction(InstructionConstants.OP_GOTO,
302 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
304 byte opcode = branchInstruction.opcode;
308 int branchOffset = branchInstruction.branchOffset;
333 new BranchInstruction(InstructionConstants.OP_GOTO,
342 codeAttributeComposer.appendInstruction(offset, branchInstruction);
366 if (!exceptionInfo.isApplicable(offset + ((BranchInstruction)instruction).branchOffset))
  /external/proguard/src/proguard/optimize/evaluation/
EvaluationSimplifier.java 333 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
335 switch (branchInstruction.opcode)
344 replaceJsrInstruction(clazz, offset, branchInstruction);
348 replaceBranchInstruction(clazz, offset, branchInstruction);
732 BranchInstruction branchInstruction)
735 int subroutineStart = offset + branchInstruction.branchOffset;
741 replaceBranchInstruction(clazz, offset, branchInstruction);
743 else if (!partialEvaluator.isTraced(offset + branchInstruction.length(offset))
    [all...]
EvaluationShrinker.java 201 ((BranchInstruction)instruction).branchOffset == 0)
641 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
646 if (branchInstruction.opcode == InstructionConstants.OP_JSR ||
647 branchInstruction.opcode == InstructionConstants.OP_JSR_W)
653 markStackProducers(clazz, offset, branchInstruction);
    [all...]
  /external/proguard/src/proguard/classfile/attribute/visitor/
StackSizeComputer.java 193 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
195 byte opcode = branchInstruction.opcode;
202 branchInstruction.branchOffset);
215 offset + branchInstruction.length(offset));
  /external/proguard/src/proguard/classfile/util/
InstructionSequenceMatcher.java 250 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
257 matchingOpcodes(branchInstruction, patternInstruction) &&
259 branchInstruction.branchOffset,
260 ((BranchInstruction)patternInstruction).branchOffset);
268 branchInstruction);
SimplifiedVisitor.java 497 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
499 visitAnyInstruction(clazz, method, codeAttribute, offset, branchInstruction);
  /external/proguard/src/proguard/evaluation/
Processor.java 746 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
748 int branchTarget = offset + branchInstruction.branchOffset;
750 switch (branchInstruction.opcode)
836 branchInstruction.length(offset)));
    [all...]
  /external/proguard/src/proguard/optimize/
TailRecursionSimplifier.java 201 new BranchInstruction(InstructionConstants.OP_GOTO, -gotoOffset));

Completed in 723 milliseconds

1 2