Lines Matching full:mir
28 /* Insert an MIR instruction to the end of a basic block */
29 void dvmCompilerAppendMIR(BasicBlock *bb, MIR *mir)
33 bb->lastMIRInsn = bb->firstMIRInsn = mir;
34 mir->prev = mir->next = NULL;
36 bb->lastMIRInsn->next = mir;
37 mir->prev = bb->lastMIRInsn;
38 mir->next = NULL;
39 bb->lastMIRInsn = mir;
43 /* Insert an MIR instruction to the head of a basic block */
44 void dvmCompilerPrependMIR(BasicBlock *bb, MIR *mir)
48 bb->lastMIRInsn = bb->firstMIRInsn = mir;
49 mir->prev = mir->next = NULL;
51 bb->firstMIRInsn->prev = mir;
52 mir->next = bb->firstMIRInsn;
53 mir->prev = NULL;
54 bb->firstMIRInsn = mir;