/external/proguard/src/proguard/classfile/editor/ |
D | InstructionWriter.java | 155 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 160 branchInstruction.write(codeAttribute, offset); in visitBranchInstruction() 167 branchInstruction.branchOffset); in visitBranchInstruction() 170 switch (branchInstruction.opcode) in visitBranchInstruction() 176 new BranchInstruction(branchInstruction.opcode, in visitBranchInstruction() 177 branchInstruction.branchOffset); in visitBranchInstruction() 200 new BranchInstruction((byte)(((branchInstruction.opcode+1) ^ 1) - 1), in visitBranchInstruction() 214 new BranchInstruction((byte)(branchInstruction.opcode ^ 1), in visitBranchInstruction() 226 …System.out.println(" "+branchInstruction.toString(offset)+" will be widened to "+replacementInstr… in visitBranchInstruction() 232 branchInstruction.branchOffset = 0; in visitBranchInstruction() [all …]
|
D | CodeAttributeEditor.java | 852 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 855 branchInstruction.branchOffset = in visitBranchInstruction() 856 newBranchOffset(offset, branchInstruction.branchOffset, newOffset); in visitBranchInstruction() 863 branchInstruction); in visitBranchInstruction() 865 newOffset += branchInstruction.length(newOffset); in visitBranchInstruction()
|
D | CodeAttributeComposer.java | 539 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 544 branchInstruction.branchOffset = in visitBranchInstruction() 545 newBranchOffset(offset, branchInstruction.branchOffset); in visitBranchInstruction()
|
/external/proguard/src/proguard/optimize/peephole/ |
D | GotoGotoReplacer.java | 75 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 78 byte opcode = branchInstruction.opcode; in visitBranchInstruction() 84 int branchOffset = branchInstruction.branchOffset; in visitBranchInstruction() 88 branchOffset != branchInstruction.length(offset) && in visitBranchInstruction() 109 …InstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction); in visitBranchInstruction()
|
D | GotoCommonCodeReplacer.java | 97 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 101 byte opcode = branchInstruction.opcode; in visitBranchInstruction() 106 int branchOffset = branchInstruction.branchOffset; in visitBranchInstruction() 117 …tName()+"."+method.getName(clazz)+" (["+(offset-commonCount)+"] - "+branchInstruction.toString(off… in visitBranchInstruction() 133 if (newBranchOffset != branchInstruction.length(offset)) in visitBranchInstruction() 144 …InstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction); in visitBranchInstruction()
|
D | GotoReturnReplacer.java | 75 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 78 byte opcode = branchInstruction.opcode; in visitBranchInstruction() 83 int targetOffset = offset + branchInstruction.branchOffset; in visitBranchInstruction() 107 …InstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction); in visitBranchInstruction()
|
D | ReachableCodeMarker.java | 145 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 151 offset + branchInstruction.branchOffset); in visitBranchInstruction() 153 byte opcode = branchInstruction.opcode; in visitBranchInstruction()
|
D | BranchTargetFinder.java | 552 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 554 int branchOffset = branchInstruction.branchOffset; in visitBranchInstruction() 566 byte opcode = branchInstruction.opcode; in visitBranchInstruction() 589 markAfterBranchOrigin(offset + branchInstruction.length(offset)); in visitBranchInstruction()
|
D | InstructionSequenceReplacer.java | 290 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 293 new BranchInstruction(branchInstruction.opcode, in visitBranchInstruction() 295 … branchInstruction.branchOffset)); in visitBranchInstruction()
|
D | MethodInliner.java | 381 Instruction branchInstruction = in visitSimpleInstruction() local 386 branchInstruction); in visitSimpleInstruction()
|
/external/swiftshader/src/Pipeline/ |
D | SpirvShaderControlFlow.cpp | 49 branchInstruction = insns[1]; in Block() 50 outs.emplace(Block::ID(branchInstruction.word(1))); in Block() 68 branchInstruction = insns[1]; in Block() 69 outs.emplace(Block::ID(branchInstruction.word(2))); in Block() 70 outs.emplace(Block::ID(branchInstruction.word(3))); in Block() 94 branchInstruction = insns[1]; in Block() 95 outs.emplace(Block::ID(branchInstruction.word(2))); in Block() 96 for(uint32_t w = 4; w < branchInstruction.wordCount(); w += 2) in Block() 98 outs.emplace(Block::ID(branchInstruction.word(w))); in Block() 507 ASSERT(block.branchInstruction == insn); in EmitBranchConditional() [all …]
|
/external/proguard/src/proguard/optimize/evaluation/ |
D | SimpleEnumUseSimplifier.java | 348 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 350 switch (branchInstruction.opcode) in visitBranchInstruction() 359 branchInstruction, in visitBranchInstruction() 361 branchInstruction.branchOffset)); in visitBranchInstruction() 372 branchInstruction, in visitBranchInstruction() 374 branchInstruction.branchOffset)); in visitBranchInstruction() 385 branchInstruction, in visitBranchInstruction() 388 branchInstruction.branchOffset)); in visitBranchInstruction() 399 branchInstruction, in visitBranchInstruction() 401 branchInstruction.branchOffset)); in visitBranchInstruction()
|
D | EvaluationSimplifier.java | 335 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 337 switch (branchInstruction.opcode) in visitBranchInstruction() 346 replaceJsrInstruction(clazz, offset, branchInstruction); in visitBranchInstruction() 350 replaceBranchInstruction(clazz, offset, branchInstruction); in visitBranchInstruction() 786 BranchInstruction branchInstruction) in replaceJsrInstruction() argument 789 int subroutineStart = offset + branchInstruction.branchOffset; in replaceJsrInstruction() 795 replaceBranchInstruction(clazz, offset, branchInstruction); in replaceJsrInstruction() 797 else if (!partialEvaluator.isTraced(offset + branchInstruction.length(offset))) in replaceJsrInstruction() 801 … replaceByInfiniteLoop(clazz, offset + branchInstruction.length(offset), branchInstruction); in replaceJsrInstruction()
|
D | SimpleEnumUseChecker.java | 318 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 320 switch (branchInstruction.opcode) in visitBranchInstruction()
|
D | EvaluationShrinker.java | 666 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 671 if (branchInstruction.opcode == InstructionConstants.OP_JSR || in visitBranchInstruction() 672 branchInstruction.opcode == InstructionConstants.OP_JSR_W) in visitBranchInstruction() 678 markStackProducers(clazz, offset, branchInstruction); in visitBranchInstruction()
|
/external/proguard/src/proguard/classfile/instruction/ |
D | BranchInstruction.java | 56 public BranchInstruction copy(BranchInstruction branchInstruction) in copy() argument 58 this.opcode = branchInstruction.opcode; in copy() 59 this.branchOffset = branchInstruction.branchOffset; in copy()
|
/external/proguard/src/proguard/classfile/attribute/visitor/ |
D | StackSizeComputer.java | 192 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 194 byte opcode = branchInstruction.opcode; in visitBranchInstruction() 201 branchInstruction.branchOffset); in visitBranchInstruction() 214 offset + branchInstruction.length(offset)); in visitBranchInstruction()
|
/external/proguard/src/proguard/optimize/info/ |
D | BackwardBranchMarker.java | 44 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 46 markBackwardBranch(method, branchInstruction.branchOffset); in visitBranchInstruction()
|
D | SideEffectInstructionChecker.java | 255 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 257 byte opcode = branchInstruction.opcode; in visitBranchInstruction()
|
/external/proguard/src/proguard/preverify/ |
D | CodeSubroutineInliner.java | 299 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 301 byte opcode = branchInstruction.opcode; in visitBranchInstruction() 305 int branchOffset = branchInstruction.branchOffset; in visitBranchInstruction() 339 codeAttributeComposer.appendInstruction(offset, branchInstruction); in visitBranchInstruction()
|
/external/proguard/src/proguard/classfile/instruction/visitor/ |
D | MultiInstructionVisitor.java | 108 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 112 …ionVisitors[index].visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction); in visitBranchInstruction()
|
D | InstructionVisitor.java | 39 …Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction); in visitBranchInstruction() argument
|
/external/proguard/src/proguard/classfile/util/ |
D | InstructionSequenceMatcher.java | 289 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 296 matchingOpcodes(branchInstruction, patternInstruction) && in visitBranchInstruction() 298 branchInstruction.branchOffset, in visitBranchInstruction() 307 branchInstruction); in visitBranchInstruction()
|
D | SimplifiedVisitor.java | 603 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 605 visitAnyInstruction(clazz, method, codeAttribute, offset, branchInstruction); in visitBranchInstruction()
|
/external/proguard/src/proguard/evaluation/ |
D | Processor.java | 763 …clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) in visitBranchInstruction() argument 765 int branchTarget = offset + branchInstruction.branchOffset; in visitBranchInstruction() 767 switch (branchInstruction.opcode) in visitBranchInstruction() 853 branchInstruction.length(offset))); in visitBranchInstruction() 868 … throw new IllegalArgumentException("Unknown branch instruction ["+branchInstruction.opcode+"]"); in visitBranchInstruction()
|