Home | History | Annotate | Download | only in compiler

Lines Matching refs:bb

23     BasicBlock *bb = (BasicBlock *)dvmCompilerNew(sizeof(BasicBlock), true);
24 bb->blockType = blockType;
25 bb->id = blockId;
26 bb->predecessors = dvmCompilerAllocBitVector(blockId > 32 ? blockId : 32,
28 return bb;
32 void dvmCompilerAppendMIR(BasicBlock *bb, MIR *mir)
34 if (bb->firstMIRInsn == NULL) {
35 assert(bb->lastMIRInsn == NULL);
36 bb->lastMIRInsn = bb->firstMIRInsn = mir;
39 bb->lastMIRInsn->next = mir;
40 mir->prev = bb->lastMIRInsn;
42 bb->lastMIRInsn = mir;
47 void dvmCompilerPrependMIR(BasicBlock *bb, MIR *mir)
49 if (bb->firstMIRInsn == NULL) {
50 assert(bb->lastMIRInsn == NULL);
51 bb->lastMIRInsn = bb->firstMIRInsn = mir;
54 bb->firstMIRInsn->prev = mir;
55 mir->next = bb->firstMIRInsn;
57 bb->firstMIRInsn = mir;
62 void dvmCompilerInsertMIRAfter(BasicBlock *bb, MIR *currentMIR, MIR *newMIR)
73 bb->lastMIRInsn = newMIR;