Home
last modified time | relevance | path

Searched refs:branchOffset (Results 1 – 21 of 21) sorted by relevance

/external/proguard/src/proguard/classfile/instruction/
DBranchInstruction.java35 public int branchOffset; field in BranchInstruction
44 public BranchInstruction(byte opcode, int branchOffset) in BranchInstruction() argument
47 this.branchOffset = branchOffset; in BranchInstruction()
59 this.branchOffset = branchInstruction.branchOffset; in copy()
117 branchOffset = readSignedValue(code, offset, branchOffsetSize()); in readInfo()
128 writeSignedValue(code, offset, branchOffset, branchOffsetSize()); in writeInfo()
146 return "["+offset+"] "+toString()+" (target="+(offset+branchOffset)+")"; in toString()
154 return getName()+" "+(branchOffset >= 0 ? "+" : "")+branchOffset; in toString()
177 return branchOffset << 16 >> 16 == branchOffset ? 2 : in requiredBranchOffsetSize()
/external/proguard/src/proguard/optimize/peephole/
DGotoGotoReplacer.java84 int branchOffset = branchInstruction.branchOffset; in visitBranchInstruction() local
85 int targetOffset = offset + branchOffset; in visitBranchInstruction()
87 if (branchOffset != branchInstruction.length(offset) && in visitBranchInstruction()
97 int targetBranchOffset = ((BranchInstruction)targetInstruction).branchOffset; in visitBranchInstruction()
101 (branchOffset + targetBranchOffset)); in visitBranchInstruction()
DGotoCommonCodeReplacer.java106 int branchOffset = branchInstruction.branchOffset; in visitBranchInstruction() local
107 int targetOffset = offset + branchOffset; in visitBranchInstruction()
135 int newBranchOffset = branchOffset - commonCount; in visitBranchInstruction()
DGotoReturnReplacer.java83 int targetOffset = offset + branchInstruction.branchOffset; in visitBranchInstruction()
DBranchTargetFinder.java546 markBranchTarget(offset, branchInstruction.branchOffset); in visitBranchInstruction()
556 int targetOffset = offset + branchInstruction.branchOffset; in visitBranchInstruction()
DReachableCodeMarker.java152 offset + branchInstruction.branchOffset); in visitBranchInstruction()
DInstructionSequenceReplacer.java253 … instructionSequenceMatcher.matchedBranchOffset(offset, branchInstruction.branchOffset)); in visitBranchInstruction()
/external/proguard/src/proguard/optimize/info/
DBackwardBranchMarker.java46 markBackwardBranch(method, branchInstruction.branchOffset); in visitBranchInstruction()
66 private void markBackwardBranch(Method method, int branchOffset) in markBackwardBranch() argument
68 if (branchOffset < 0) in markBackwardBranch()
/external/proguard/src/proguard/preverify/
DCodeSubroutineInliner.java308 int branchOffset = branchInstruction.branchOffset; in visitBranchInstruction() local
309 int branchTarget = offset + branchOffset; in visitBranchInstruction()
334 branchOffset).shrink(); in visitBranchInstruction()
366 … if (!exceptionInfo.isApplicable(offset + ((BranchInstruction)instruction).branchOffset)) in visitExceptionInfo()
/external/proguard/src/proguard/classfile/editor/
DInstructionWriter.java136 branchInstruction.branchOffset); in visitBranchInstruction()
146 branchInstruction.branchOffset).shrink(); in visitBranchInstruction()
196 branchInstruction.branchOffset = 0; in visitBranchInstruction()
DCodeAttributeComposer.java462 branchInstruction.branchOffset = remapBranchOffset(offset, in visitBranchInstruction()
463 branchInstruction.branchOffset); in visitBranchInstruction()
639 private int remapBranchOffset(int newInstructionOffset, int branchOffset) in remapBranchOffset() argument
649 return remapInstructionOffset(oldInstructionOffset + branchOffset) - in remapBranchOffset()
DCodeAttributeEditor.java768 branchInstruction.branchOffset = remapBranchOffset(offset, in visitBranchInstruction()
769 branchInstruction.branchOffset); in visitBranchInstruction()
952 private int remapBranchOffset(int offset, int branchOffset) in remapBranchOffset() argument
954 return remapInstructionOffset(offset + branchOffset) - newOffset; in remapBranchOffset()
/external/webkit/JavaScriptCore/bytecode/
DJumpTable.h41 int32_t branchOffset; member
60 return loc->second.branchOffset; in offsetForValue()
DCodeBlock.cpp468 … printf("\t\t\"%s\" => %04d\n", UString(iter->first).ascii(), iter->second.branchOffset); in dump()
/external/proguard/src/proguard/classfile/util/
DInstructionSequenceMatcher.java160 public int matchedBranchOffset(int offset, int branchOffset) in matchedBranchOffset() argument
162 int argumentIndex = branchOffset - X; in matchedBranchOffset()
164 branchOffset : in matchedBranchOffset()
259 branchInstruction.branchOffset, in visitBranchInstruction()
260 ((BranchInstruction)patternInstruction).branchOffset); in visitBranchInstruction()
/external/proguard/src/proguard/optimize/evaluation/
DEvaluationSimplifier.java735 int subroutineStart = offset + branchInstruction.branchOffset; in replaceJsrInstruction()
788 int branchOffset = branchTargets.instructionOffset(0) - offset; in replaceBranchInstruction() local
789 if (branchOffset == instruction.length(offset)) in replaceBranchInstruction()
798 branchOffset).shrink(); in replaceBranchInstruction()
DEvaluationShrinker.java201 ((BranchInstruction)instruction).branchOffset == 0) in visitCodeAttribute0()
1000 int branchOffset = branchOffsets.instructionOffset(branchIndex); in markStraddlingBranches() local
1006 branchOffset, in markStraddlingBranches()
1008 branchOffset); in markStraddlingBranches()
1013 branchOffset, in markStraddlingBranches()
1014 branchOffset, in markStraddlingBranches()
/external/proguard/src/proguard/classfile/attribute/visitor/
DStackSizeComputer.java202 branchInstruction.branchOffset); in visitBranchInstruction()
/external/webkit/JavaScriptCore/jit/
DJIT.cpp505 unsigned offset = it->second.branchOffset; in privateCompile()
/external/proguard/src/proguard/evaluation/
DProcessor.java748 int branchTarget = offset + branchInstruction.branchOffset; in visitBranchInstruction()
/external/webkit/JavaScriptCore/bytecompiler/
DBytecodeGenerator.cpp1907 location.branchOffset = labels[i]->offsetFrom(switchAddress); in prepareJumpTableForStringSwitch()