Home
last modified time | relevance | path

Searched refs:branchTargetFinder (Results 1 – 8 of 8) sorted by relevance

/external/proguard/src/proguard/optimize/peephole/
DGotoCommonCodeReplacer.java52 private final BranchTargetFinder branchTargetFinder = new BranchTargetFinder(); field in GotoCommonCodeReplacer
79 branchTargetFinder.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute()
104 !branchTargetFinder.isBranchTarget(offset)) in visitBranchInstruction()
124 if (branchTargetFinder.isInstruction(deleteOffset)) in visitBranchInstruction()
180 if (branchTargetFinder.isInstruction(newOffset1) ^ in commonByteCodeCount()
181 branchTargetFinder.isInstruction(newOffset2)) in commonByteCodeCount()
187 if (branchTargetFinder.isInstruction(newOffset1) && in commonByteCodeCount()
188 branchTargetFinder.isInstruction(newOffset2)) in commonByteCodeCount()
195 if (branchTargetFinder.isBranchOrigin(newOffset1) || in commonByteCodeCount()
196 branchTargetFinder.isBranchTarget(newOffset1) || in commonByteCodeCount()
[all …]
DInstructionSequencesReplacer.java58 BranchTargetFinder branchTargetFinder, in InstructionSequencesReplacer() argument
63 branchTargetFinder, in InstructionSequencesReplacer()
87 BranchTargetFinder branchTargetFinder, in InstructionSequencesReplacer() argument
93 branchTargetFinder, in InstructionSequencesReplacer()
117 … BranchTargetFinder branchTargetFinder, in createInstructionSequenceReplacers() argument
131 branchTargetFinder, in createInstructionSequenceReplacers()
DPeepholeOptimizer.java41 private final BranchTargetFinder branchTargetFinder; field in PeepholeOptimizer
71 public PeepholeOptimizer(BranchTargetFinder branchTargetFinder, in PeepholeOptimizer() argument
75 this.branchTargetFinder = branchTargetFinder; in PeepholeOptimizer()
88 if (branchTargetFinder != null) in visitCodeAttribute()
91 branchTargetFinder.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute()
DInstructionSequenceReplacer.java88 private final BranchTargetFinder branchTargetFinder; field in InstructionSequenceReplacer
110 BranchTargetFinder branchTargetFinder, in InstructionSequenceReplacer() argument
116 branchTargetFinder, in InstructionSequenceReplacer()
137 BranchTargetFinder branchTargetFinder, in InstructionSequenceReplacer() argument
144 this.branchTargetFinder = branchTargetFinder; in InstructionSequenceReplacer()
156 if ((branchTargetFinder != null && in visitAnyInstruction()
157 branchTargetFinder.isTarget(offset)) || in visitAnyInstruction()
/external/proguard/src/proguard/preverify/
DCodeSubroutineInliner.java51 private final BranchTargetFinder branchTargetFinder = new BranchTargetFinder(); field in CodeSubroutineInliner
97 branchTargetFinder.visitCodeAttribute(clazz, method, codeAttribute); in visitCodeAttribute0()
100 if (!branchTargetFinder.containsSubroutines()) in visitCodeAttribute0()
122 if (branchTargetFinder.isSubroutine(offset) && in visitCodeAttribute0()
123 branchTargetFinder.isSubroutineReturning(offset)) in visitCodeAttribute0()
172 int subroutineEnd = branchTargetFinder.subroutineEnd(subroutineStart); in inlineSubroutine()
230 if (branchTargetFinder.isSubroutineStart(offset)) in visitAnyInstruction()
255 … if (branchTargetFinder.subroutineEnd(offset) == offset + variableInstruction.length(offset)) in visitVariableInstruction()
275 branchTargetFinder.subroutineEnd(offset) - offset); in visitVariableInstruction()
280 else if (branchTargetFinder.isSubroutineStart(offset)) in visitVariableInstruction()
[all …]
/external/proguard/src/proguard/optimize/evaluation/
DPartialEvaluator.java76 private final BranchTargetFinder branchTargetFinder; field in PartialEvaluator
129 partialEvaluator.branchTargetFinder, in PartialEvaluator()
157 BranchTargetFinder branchTargetFinder, in PartialEvaluator() argument
164 this.branchTargetFinder = branchTargetFinder; in PartialEvaluator()
221 int initializationOffset = branchTargetFinder.initializationOffset(offset); in visitCodeAttribute()
267 codeAttribute.accept(clazz, method, branchTargetFinder); in visitCodeAttribute0()
301 int initializationOffset = branchTargetFinder.initializationOffset(offset); in visitCodeAttribute0()
356 return branchTargetFinder.isInstruction(instructionOffset); in isInstruction()
366 return branchTargetFinder.isBranchTarget(instructionOffset) || in isBranchOrExceptionTarget()
367 branchTargetFinder.isExceptionHandler(instructionOffset); in isBranchOrExceptionTarget()
[all …]
/external/proguard/src/proguard/optimize/
DOptimizer.java844 BranchTargetFinder branchTargetFinder = new BranchTargetFinder(); in execute() local
854branchTargetFinder, codeAttributeEditor, codeSimplificationVariableCounter)); in execute()
863branchTargetFinder, codeAttributeEditor, codeSimplificationArithmeticCounter)); in execute()
872branchTargetFinder, codeAttributeEditor, codeSimplificationCastCounter)); in execute()
881branchTargetFinder, codeAttributeEditor, codeSimplificationFieldCounter)); in execute()
890branchTargetFinder, codeAttributeEditor, codeSimplificationBranchCounter)); in execute()
905branchTargetFinder, codeAttributeEditor, codeSimplificationStringCounter)); in execute()
919 new PeepholeOptimizer(branchTargetFinder, codeAttributeEditor, in execute()
/external/proguard/lib/
Dproguard.jarMETA-INF/ META-INF/MANIFEST.MF proguard/ proguard/DuplicateClassPrinter.class DuplicateClassPrinter ...