Lines Matching refs:mir
125 static void genLong3Addr(CompilationUnit *cUnit, MIR *mir, OpKind firstOp, in genLong3Addr() argument
198 static ArmLIR *genExportPC(CompilationUnit *cUnit, MIR *mir) in genExportPC() argument
203 res = loadConstant(cUnit, rDPC, (int) (cUnit->method->insns + mir->offset)); in genExportPC()
237 static void genMonitorEnter(CompilationUnit *cUnit, MIR *mir) in genMonitorEnter() argument
239 RegLocation rlSrc = dvmCompilerGetSrc(cUnit, mir, 0); in genMonitorEnter()
249 genNullCheck(cUnit, rlSrc.sRegLow, r1, mir->offset, NULL); in genMonitorEnter()
268 loadConstant(cUnit, r3, (int) (cUnit->method->insns + mir->offset)); in genMonitorEnter()
271 loadConstant(cUnit, r4PC, (int)(cUnit->method->insns + mir->offset + in genMonitorEnter()
292 static void genMonitorExit(CompilationUnit *cUnit, MIR *mir) in genMonitorExit() argument
294 RegLocation rlSrc = dvmCompilerGetSrc(cUnit, mir, 0); in genMonitorExit()
304 genNullCheck(cUnit, rlSrc.sRegLow, r1, mir->offset, NULL); in genMonitorExit()
324 loadConstant(cUnit, r3, (int) (cUnit->method->insns + mir->offset)); in genMonitorExit()
336 (int) (cUnit->method->insns + mir->offset + in genMonitorExit()
347 static void genMonitor(CompilationUnit *cUnit, MIR *mir) in genMonitor() argument
349 if (mir->dalvikInsn.opcode == OP_MONITOR_ENTER) in genMonitor()
350 genMonitorEnter(cUnit, mir); in genMonitor()
352 genMonitorExit(cUnit, mir); in genMonitor()
370 static void genCmpLong(CompilationUnit *cUnit, MIR *mir, in genCmpLong() argument
406 static bool genInlinedAbsFloat(CompilationUnit *cUnit, MIR *mir) in genInlinedAbsFloat() argument
408 RegLocation rlSrc = dvmCompilerGetSrc(cUnit, mir, 0); in genInlinedAbsFloat()
409 RegLocation rlDest = inlinedTarget(cUnit, mir, true); in genInlinedAbsFloat()
417 static bool genInlinedAbsDouble(CompilationUnit *cUnit, MIR *mir) in genInlinedAbsDouble() argument
419 RegLocation rlSrc = dvmCompilerGetSrcWide(cUnit, mir, 0, 1); in genInlinedAbsDouble()
420 RegLocation rlDest = inlinedTargetWide(cUnit, mir, true); in genInlinedAbsDouble()
429 static bool genInlinedMinMaxInt(CompilationUnit *cUnit, MIR *mir, bool isMin) in genInlinedMinMaxInt() argument
431 RegLocation rlSrc1 = dvmCompilerGetSrc(cUnit, mir, 0); in genInlinedMinMaxInt()
432 RegLocation rlSrc2 = dvmCompilerGetSrc(cUnit, mir, 1); in genInlinedMinMaxInt()
435 RegLocation rlDest = inlinedTarget(cUnit, mir, false); in genInlinedMinMaxInt()