Lines Matching defs:mir

38 static void genMethodInflateAndPunt(CompilationUnit *cUnit, MIR *mir,
67 loadConstant(cUnit, currentPC, (int) (cUnit->method->insns + mir->offset));
96 genPuntToInterp(cUnit, mir->offset);
106 static bool handleMethodFmt10t_Fmt20t_Fmt30t(CompilationUnit *cUnit, MIR *mir,
110 bool backwardBranch = (bb->taken->startOffset <= mir->offset);
113 genSuspendPoll(cUnit, mir);
121 static bool handleMethodFmt10x(CompilationUnit *cUnit, MIR *mir)
123 Opcode dalvikOpcode = mir->dalvikInsn.opcode;
128 return handleFmt10x(cUnit, mir);
132 static bool handleMethodFmt11n_Fmt31i(CompilationUnit *cUnit, MIR *mir)
134 return handleFmt11n_Fmt31i(cUnit, mir);
137 static bool handleMethodFmt11x(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb,
140 Opcode dalvikOpcode = mir->dalvikInsn.opcode;
143 genMethodInflateAndPunt(cUnit, mir, bb);
146 return handleFmt11x(cUnit, mir);
150 static bool handleMethodFmt12x(CompilationUnit *cUnit, MIR *mir)
152 return handleFmt12x(cUnit, mir);
155 static bool handleMethodFmt20bc(CompilationUnit *cUnit, MIR *mir)
157 return handleFmt20bc(cUnit, mir);
160 static bool handleMethodFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir)
162 return handleFmt21c_Fmt31c(cUnit, mir);
165 static bool handleMethodFmt21h(CompilationUnit *cUnit, MIR *mir)
167 return handleFmt21h(cUnit, mir);
170 static bool handleMethodFmt21s(CompilationUnit *cUnit, MIR *mir)
172 return handleFmt21s(cUnit, mir);
175 static bool handleMethodFmt21t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb,
178 return handleFmt21t(cUnit, mir, bb, labelList);
181 static bool handleMethodFmt22b_Fmt22s(CompilationUnit *cUnit, MIR *mir)
183 return handleFmt22b_Fmt22s(cUnit, mir);
186 static bool handleMethodFmt22c(CompilationUnit *cUnit, MIR *mir)
188 return handleFmt22c(cUnit, mir);
191 static bool handleMethodFmt22cs(CompilationUnit *cUnit, MIR *mir)
193 return handleFmt22cs(cUnit, mir);
196 static bool handleMethodFmt22t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb,
199 return handleFmt22t(cUnit, mir, bb, labelList);
202 static bool handleMethodFmt22x_Fmt32x(CompilationUnit *cUnit, MIR *mir)
204 return handleFmt22x_Fmt32x(cUnit, mir);
207 static bool handleMethodFmt23x(CompilationUnit *cUnit, MIR *mir)
209 return handleFmt23x(cUnit, mir);
212 static bool handleMethodFmt31t(CompilationUnit *cUnit, MIR *mir)
214 return handleFmt31t(cUnit, mir);
217 static bool handleMethodFmt35c_3rc(CompilationUnit *cUnit, MIR *mir,
220 return handleFmt35c_3rc(cUnit, mir, bb, labelList);
223 static bool handleMethodFmt35ms_3rms(CompilationUnit *cUnit, MIR *mir,
226 return handleFmt35ms_3rms(cUnit, mir, bb, labelList);
229 static bool handleMethodExecuteInline(CompilationUnit *cUnit, MIR *mir)
231 return handleExecuteInline(cUnit, mir);
234 static bool handleMethodFmt51l(CompilationUnit *cUnit, MIR *mir)
236 return handleFmt51l(cUnit, mir);
242 MIR *mir;
270 for (mir = bb->firstMIRInsn; mir; mir = mir->next) {
281 Opcode dalvikOpcode = mir->dalvikInsn.opcode;
294 mir->offset,
296 &mir->dalvikInsn, ""));
306 if (cUnit->printMe && mir->ssaRep) {
307 char *ssaString = dvmCompilerGetSSAString(cUnit, mir->ssaRep);
316 notHandled = handleMethodFmt10t_Fmt20t_Fmt30t(cUnit, mir, bb,
320 notHandled = handleMethodFmt10x(cUnit, mir);
324 notHandled = handleMethodFmt11n_Fmt31i(cUnit, mir);
327 notHandled = handleMethodFmt11x(cUnit, mir, bb, labelList);
330 notHandled = handleMethodFmt12x(cUnit, mir);
333 notHandled = handleMethodFmt20bc(cUnit, mir);
337 notHandled = handleMethodFmt21c_Fmt31c(cUnit, mir);
340 notHandled = handleMethodFmt21h(cUnit, mir);
343 notHandled = handleMethodFmt21s(cUnit, mir);
346 notHandled = handleMethodFmt21t(cUnit, mir, bb, labelList);
350 notHandled = handleMethodFmt22b_Fmt22s(cUnit, mir);
353 notHandled = handleMethodFmt22c(cUnit, mir);
356 notHandled = handleMethodFmt22cs(cUnit, mir);
359 notHandled = handleMethodFmt22t(cUnit, mir, bb, labelList);
363 notHandled = handleMethodFmt22x_Fmt32x(cUnit, mir);
366 notHandled = handleMethodFmt23x(cUnit, mir);
369 notHandled = handleMethodFmt31t(cUnit, mir);
373 notHandled = handleMethodFmt35c_3rc(cUnit, mir, bb, labelList);
377 notHandled = handleMethodFmt35ms_3rms(cUnit, mir, bb,
382 notHandled = handleMethodExecuteInline(cUnit, mir);
385 notHandled = handleMethodFmt51l(cUnit, mir);
399 mir->offset,