Home
last modified time | relevance | path

Searched refs:instructionIndex (Results 1 – 23 of 23) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DInstructionOffsetMap.java94 private final int instructionIndex; field in InstructionOffsetMap.InvalidInstructionIndex
96 public InvalidInstructionIndex(int instructionIndex) { in InvalidInstructionIndex() argument
97 super("Instruction index out of bounds: %d", instructionIndex); in InvalidInstructionIndex()
98 this.instructionIndex = instructionIndex; in InvalidInstructionIndex()
102 return instructionIndex; in getInstructionIndex()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DAnalyzedInstruction.java65 protected final int instructionIndex; field in AnalyzedInstruction
104 int instructionIndex, int registerCount) { in AnalyzedInstruction() argument
108 this.instructionIndex = instructionIndex; in AnalyzedInstruction()
119 return instructionIndex; in getInstructionIndex()
192 return predecessors.first().instructionIndex == -1; in isBeginningInstruction()
223 verifiedInstructions.clear(instructionIndex); in mergeRegister()
305 verifiedInstructions.clear(instructionIndex);
389 if (instructionIndex > 0 &&
410 if (instructionIndex > 1) {
544 if (instructionIndex > 0 &&
[all …]
DMethodAnalyzer.java178 instructionsToAnalyze.set(successor.instructionIndex); in analyze()
326 return analyzedInstructions.keyAt(instruction.instructionIndex);
341 for (int instructionIndex=changedInstructions.nextSetBit(0);
342 instructionIndex>=0;
343 instructionIndex=changedInstructions.nextSetBit(instructionIndex+1)) {
345 changedInstructions.clear(instructionIndex);
347 … propagateRegisterToSuccessors(analyzedInstructions.valueAt(instructionIndex), registerNumber,
363 changedInstructions.set(analyzedInstruction.instructionIndex);
427 changedInstructions.set(successor.instructionIndex);
580 …nalyzedInstruction[] exceptionHandlersForSuccessor = exceptionHandlers[successor.instructionIndex];
[all …]
/external/r8/src/main/java/com/android/tools/r8/ir/synthetic/
DSingleBlockSourceCode.java111 public final int instructionIndex(int instructionOffset) { in instructionIndex() method in SingleBlockSourceCode
116 public final int instructionOffset(int instructionIndex) { in instructionOffset() argument
117 return instructionIndex; in instructionOffset()
126 public final int traceInstruction(int instructionIndex, IRBuilder builder) { in traceInstruction() argument
127 return (instructionIndex == constructors.size() - 1) ? instructionIndex : -1; in traceInstruction()
176 public final void buildInstruction(IRBuilder builder, int instructionIndex) { in buildInstruction() argument
177 constructors.get(instructionIndex).accept(builder); in buildInstruction()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DSourceCode.java20 int instructionIndex(int instructionOffset); in instructionIndex() method
21 int instructionOffset(int instructionIndex); in instructionOffset() argument
38 int traceInstruction(int instructionIndex, IRBuilder builder); in traceInstruction() argument
49 void buildInstruction(IRBuilder builder, int instructionIndex); in buildInstruction() argument
DDexSourceCode.java151 public void buildInstruction(IRBuilder builder, int instructionIndex) { in buildInstruction() argument
152 updateCurrentCatchHandlers(instructionIndex); in buildInstruction()
153 emitDebugPosition(instructionIndex, builder); in buildInstruction()
154 currentDexInstruction = code.instructions[instructionIndex]; in buildInstruction()
173 private void updateCurrentCatchHandlers(int instructionIndex) { in updateCurrentCatchHandlers() argument
174 Try tryRange = getTryForOffset(instructionOffset(instructionIndex)); in updateCurrentCatchHandlers()
188 private void emitDebugPosition(int instructionIndex, IRBuilder builder) { in emitDebugPosition() argument
192 int offset = instructionOffset(instructionIndex); in emitDebugPosition()
211 public int instructionIndex(int instructionOffset) { in instructionIndex() method in DexSourceCode
216 public int instructionOffset(int instructionIndex) { in instructionOffset() argument
[all …]
DJarSourceCode.java117 int instructionIndex;
119 public JarStateWorklistItem(BlockInfo blockInfo, int instructionIndex) {
121 this.instructionIndex = instructionIndex;
226 public int instructionIndex(int instructionOffset) { in instructionIndex() method in JarSourceCode
231 public int instructionOffset(int instructionIndex) { in instructionOffset() argument
232 return instructionIndex; in instructionOffset()
323 state.restoreState(item.instructionIndex); in computeBlockEntryJarStates()
327 if (tryCatchBlockNode.handler == getInstruction(item.instructionIndex)) { in computeBlockEntryJarStates()
333 for (int i = item.instructionIndex; i <= instructionCount(); ++i) { in computeBlockEntryJarStates()
337 if (i == instructionCount() || (i != item.instructionIndex && CFG.containsKey(i))) { in computeBlockEntryJarStates()
[all …]
DIRBuilder.java323 int startOfBlockIndex = source.instructionIndex(startOfBlockOffset); in build()
825 addToWorklist(targetBlock, source.instructionIndex(targetOffset));
840 addToWorklist(target, source.instructionIndex(trueTargetOffset));
851 addToWorklist(falseTarget, source.instructionIndex(falseTargetOffset));
852 addToWorklist(trueTarget, source.instructionIndex(trueTargetOffset));
1278 addToWorklist(fallthroughBlock, source.instructionIndex(fallthroughOffset));
1289 addToWorklist(targetBlock, source.instructionIndex(targetOffset));
1575 addToWorklist(target, source.instructionIndex(targetOffset));
1647 return isIndexProcessed(source.instructionIndex(offset));
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokenRewriteStream.cs109 public int instructionIndex; field in Antlr.Runtime.TokenRewriteStream.RewriteOperation
233 public virtual void Rollback( int instructionIndex ) in Rollback() argument
235 Rollback( DEFAULT_PROGRAM_NAME, instructionIndex ); in Rollback()
244 public virtual void Rollback( string programName, int instructionIndex ) in Rollback() argument
250 for ( int i = MIN_TOKEN_INDEX; i <= instructionIndex; i++ ) in Rollback()
308 op.instructionIndex = rewrites.Count; in InsertBefore()
340 op.instructionIndex = rewrites.Count; in Replace()
587 rewrites[iop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
593 rewrites[iop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
604 rewrites[prevRop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DTokenRewriteStream.java92 protected int instructionIndex; field in TokenRewriteStream.RewriteOperation
187 public void rollback(int instructionIndex) { in rollback() argument
188 rollback(DEFAULT_PROGRAM_NAME, instructionIndex); in rollback()
195 public void rollback(String programName, int instructionIndex) { in rollback() argument
198 programs.put(programName, is.subList(MIN_TOKEN_INDEX,instructionIndex)); in rollback()
243 op.instructionIndex = rewrites.size(); in insertBefore()
269 op.instructionIndex = rewrites.size(); in replace()
472 rewrites.set(iop.instructionIndex, null); in reduceToSingleOperationPerIndex()
477 rewrites.set(iop.instructionIndex, null); in reduceToSingleOperationPerIndex()
486 rewrites.set(prevRop.instructionIndex, null); in reduceToSingleOperationPerIndex()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenRewriteStream.cs104 public int instructionIndex; field in Antlr.Runtime.TokenRewriteStream.RewriteOperation
207 public virtual void Rollback(int instructionIndex) { in Rollback() argument
208 Rollback(DEFAULT_PROGRAM_NAME, instructionIndex); in Rollback()
217 public virtual void Rollback(string programName, int instructionIndex) { in Rollback() argument
221 for (int i = MIN_TOKEN_INDEX; i <= instructionIndex; i++) in Rollback()
271 op.instructionIndex = rewrites.Count; in InsertBefore()
297 op.instructionIndex = rewrites.Count; in Replace()
507 rewrites[iop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
516 rewrites[prevRop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
548 rewrites[prevIop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/util/
DInstructionOffsetMapTest.java91 int instructionIndex = -1; in testInstructionOffsetMap() local
93 if (codeOffset == expectedOffsets[instructionIndex+1]) { in testInstructionOffsetMap()
95 instructionIndex++; in testInstructionOffsetMap()
98 Assert.assertEquals(instructionIndex, in testInstructionOffsetMap()
/external/r8/src/test/java/com/android/tools/r8/maindexlist/
DMainDexListTests.java461 public int instructionIndex(int instructionOffset) { in instructionIndex() method in MainDexListTests.ReturnVoidCode
466 public int instructionOffset(int instructionIndex) { in instructionOffset() argument
467 return instructionIndex; in instructionOffset()
481 public int traceInstruction(int instructionIndex, IRBuilder builder) { in traceInstruction() argument
482 return instructionIndex; in traceInstruction()
511 public void buildInstruction(IRBuilder builder, int instructionIndex) { in buildInstruction() argument
512 assert instructionIndex == 0; in buildInstruction() local
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dstreams.py960 self.instructionIndex = None
1103 instructionIndex = args[1]
1106 instructionIndex = args[0]
1113 p[self.MIN_TOKEN_INDEX:instructionIndex])
1164 op.instructionIndex = len(rewrites)
1205 op.instructionIndex = len(rewrites)
1405 rewrites[iop.instructionIndex] = None
1431 rewrites[prevRop.instructionIndex] = None
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js152 instructionIndex;
156 instructionIndex = arguments[0];
159 instructionIndex = arguments[1];
163 programs[programName] = is.slice(trs.MIN_TOKEN_INDEX, this.instructionIndex);
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRTokenRewriteStream.h44 NSInteger instructionIndex; variable
50 @property (getter=getInstructionIndex, setter=setInstructionIndex:) NSInteger instructionIndex;
128 - (void) rollback:(NSInteger)instructionIndex;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTokenRewriteStream.h44 NSInteger instructionIndex; variable
50 @property (getter=getInstructionIndex, setter=setInstructionIndex:) NSInteger instructionIndex;
128 - (void) rollback:(NSInteger)instructionIndex;
DANTLRTokenRewriteStream.m45 @synthesize instructionIndex;
245 - (void) rollback:(NSInteger)instructionIndex
247 [self rollback:DEFAULT_PROGRAM_NAME Index:instructionIndex];
251 * the indicated instruction (via instructionIndex) is no
319 op.instructionIndex = [rewrites count];
355 op.instructionIndex = [rewrites count];
575 [rewrites insertObject:nil atIndex:iop.instructionIndex];
584 [rewrites setObject:nil atIndex:prevRop.instructionIndex];
614 [rewrites setObject:nil atIndex:prevIop.instructionIndex];
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRTokenRewriteStream.h44 NSInteger instructionIndex; variable
50 @property (getter=getInstructionIndex, setter=setInstructionIndex:) NSInteger instructionIndex;
128 - (void) rollback:(NSInteger)instructionIndex;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRTokenRewriteStream.h44 NSInteger instructionIndex; variable
50 @property (getter=getInstructionIndex, setter=setInstructionIndex:) NSInteger instructionIndex;
128 - (void) rollback:(NSInteger)instructionIndex;
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DOutliner.java799 public int instructionIndex(int instructionOffset) { in instructionIndex() method in Outliner.OutlineSourceCode
804 public int instructionOffset(int instructionIndex) { in instructionOffset() argument
805 return instructionIndex; in instructionOffset()
814 public int traceInstruction(int instructionIndex, IRBuilder builder) { in traceInstruction() argument
816 return instructionIndex == outline.templateInstructions.size() ? instructionIndex : -1; in traceInstruction()
850 public void buildInstruction(IRBuilder builder, int instructionIndex) { in buildInstruction() argument
851 if (instructionIndex == outline.templateInstructions.size()) { in buildInstruction()
860 Instruction template = outline.templateInstructions.get(instructionIndex); in buildInstruction()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DTokenRewriteStream.as102 * the indicated instruction (via instructionIndex) is no
105 public function rollback(instructionIndex:int, programName:String = DEFAULT_PROGRAM_NAME):void {
108 programs[programName] = isn.slice(MIN_TOKEN_INDEX,instructionIndex);
133 op.instructionIndex = rewrites.length;
147 op.instructionIndex = rewrites.length;
327 rewrites[iop.instructionIndex] = null; // delete insert as it's a no-op.
335 rewrites[prevRop.instructionIndex] = null; // delete replace as it's a no-op.
364 rewrites[prevIop.instructionIndex] = null; // delete redundant prior insert
446 internal var instructionIndex:int;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DMutableMethodImplementation.java520 public Label newLabelForIndex(int instructionIndex) {
521 if (instructionIndex < 0 || instructionIndex >= instructionList.size()) {
522 …w IndexOutOfBoundsException(String.format("instruction index %d out of bounds", instructionIndex));
524 MethodLocation referent = instructionList.get(instructionIndex);