Home | History | Annotate | Download | only in compiler

Lines Matching refs:bb

23     BasicBlock *bb = dvmCompilerNew(sizeof(BasicBlock), true);
24 bb->blockType = blockType;
25 return bb;
29 void dvmCompilerAppendMIR(BasicBlock *bb, MIR *mir)
31 if (bb->firstMIRInsn == NULL) {
32 assert(bb->lastMIRInsn == NULL);
33 bb->lastMIRInsn = bb->firstMIRInsn = mir;
36 bb->lastMIRInsn->next = mir;
37 mir->prev = bb->lastMIRInsn;
39 bb->lastMIRInsn = mir;
44 void dvmCompilerPrependMIR(BasicBlock *bb, MIR *mir)
46 if (bb->firstMIRInsn == NULL) {
47 assert(bb->lastMIRInsn == NULL);
48 bb->lastMIRInsn = bb->firstMIRInsn = mir;
51 bb->firstMIRInsn->prev = mir;
52 mir->next = bb->firstMIRInsn;
54 bb->firstMIRInsn = mir;
59 void dvmCompilerInsertMIRAfter(BasicBlock *bb, MIR *currentMIR, MIR *newMIR)
70 bb->lastMIRInsn = newMIR;