Lines Matching refs:mir

40 static void genMethodInflateAndPunt(CompilationUnit *cUnit, MIR *mir,
69 loadConstant(cUnit, currentPC, (int) (cUnit->method->insns + mir->offset));
98 genPuntToInterp(cUnit, mir->offset);
108 static bool handleMethodFmt10t_Fmt20t_Fmt30t(CompilationUnit *cUnit, MIR *mir,
112 bool backwardBranch = (bb->taken->startOffset <= mir->offset);
115 genSuspendPoll(cUnit, mir);
123 static bool handleMethodFmt10x(CompilationUnit *cUnit, MIR *mir)
125 Opcode dalvikOpcode = mir->dalvikInsn.opcode;
130 return handleFmt10x(cUnit, mir);
134 static bool handleMethodFmt11n_Fmt31i(CompilationUnit *cUnit, MIR *mir)
136 return handleFmt11n_Fmt31i(cUnit, mir);
139 static bool handleMethodFmt11x(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb,
142 Opcode dalvikOpcode = mir->dalvikInsn.opcode;
145 genMethodInflateAndPunt(cUnit, mir, bb);
148 return handleFmt11x(cUnit, mir);
152 static bool handleMethodFmt12x(CompilationUnit *cUnit, MIR *mir)
154 return handleFmt12x(cUnit, mir);
157 static bool handleMethodFmt20bc(CompilationUnit *cUnit, MIR *mir)
159 return handleFmt20bc(cUnit, mir);
162 static bool handleMethodFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir)
164 return handleFmt21c_Fmt31c(cUnit, mir);
167 static bool handleMethodFmt21h(CompilationUnit *cUnit, MIR *mir)
169 return handleFmt21h(cUnit, mir);
172 static bool handleMethodFmt21s(CompilationUnit *cUnit, MIR *mir)
174 return handleFmt21s(cUnit, mir);
177 static bool handleMethodFmt21t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb,
180 return handleFmt21t(cUnit, mir, bb, labelList);
183 static bool handleMethodFmt22b_Fmt22s(CompilationUnit *cUnit, MIR *mir)
185 return handleFmt22b_Fmt22s(cUnit, mir);
188 static bool handleMethodFmt22c(CompilationUnit *cUnit, MIR *mir)
190 return handleFmt22c(cUnit, mir);
193 static bool handleMethodFmt22cs(CompilationUnit *cUnit, MIR *mir)
195 return handleFmt22cs(cUnit, mir);
198 static bool handleMethodFmt22t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb,
201 return handleFmt22t(cUnit, mir, bb, labelList);
204 static bool handleMethodFmt22x_Fmt32x(CompilationUnit *cUnit, MIR *mir)
206 return handleFmt22x_Fmt32x(cUnit, mir);
209 static bool handleMethodFmt23x(CompilationUnit *cUnit, MIR *mir)
211 return handleFmt23x(cUnit, mir);
214 static bool handleMethodFmt31t(CompilationUnit *cUnit, MIR *mir)
216 return handleFmt31t(cUnit, mir);
219 static bool handleMethodFmt35c_3rc(CompilationUnit *cUnit, MIR *mir,
222 return handleFmt35c_3rc(cUnit, mir, bb, labelList);
225 static bool handleMethodFmt35ms_3rms(CompilationUnit *cUnit, MIR *mir,
228 return handleFmt35ms_3rms(cUnit, mir, bb, labelList);
231 static bool handleMethodExecuteInline(CompilationUnit *cUnit, MIR *mir)
233 return handleExecuteInline(cUnit, mir);
236 static bool handleMethodFmt51l(CompilationUnit *cUnit, MIR *mir)
238 return handleFmt51l(cUnit, mir);
244 MIR *mir;
272 for (mir = bb->firstMIRInsn; mir; mir = mir->next) {
283 Opcode dalvikOpcode = mir->dalvikInsn.opcode;
296 mir->offset,
298 &mir->dalvikInsn, ""));
308 if (cUnit->printMe && mir->ssaRep) {
309 char *ssaString = dvmCompilerGetSSAString(cUnit, mir->ssaRep);
318 notHandled = handleMethodFmt10t_Fmt20t_Fmt30t(cUnit, mir, bb,
322 notHandled = handleMethodFmt10x(cUnit, mir);
326 notHandled = handleMethodFmt11n_Fmt31i(cUnit, mir);
329 notHandled = handleMethodFmt11x(cUnit, mir, bb, labelList);
332 notHandled = handleMethodFmt12x(cUnit, mir);
335 notHandled = handleMethodFmt20bc(cUnit, mir);
339 notHandled = handleMethodFmt21c_Fmt31c(cUnit, mir);
342 notHandled = handleMethodFmt21h(cUnit, mir);
345 notHandled = handleMethodFmt21s(cUnit, mir);
348 notHandled = handleMethodFmt21t(cUnit, mir, bb, labelList);
352 notHandled = handleMethodFmt22b_Fmt22s(cUnit, mir);
355 notHandled = handleMethodFmt22c(cUnit, mir);
358 notHandled = handleMethodFmt22cs(cUnit, mir);
361 notHandled = handleMethodFmt22t(cUnit, mir, bb, labelList);
365 notHandled = handleMethodFmt22x_Fmt32x(cUnit, mir);
368 notHandled = handleMethodFmt23x(cUnit, mir);
371 notHandled = handleMethodFmt31t(cUnit, mir);
375 notHandled = handleMethodFmt35c_3rc(cUnit, mir, bb, labelList);
379 notHandled = handleMethodFmt35ms_3rms(cUnit, mir, bb,
384 notHandled = handleMethodExecuteInline(cUnit, mir);
387 notHandled = handleMethodFmt51l(cUnit, mir);
401 mir->offset,