Lines Matching refs:BasicBlock
28 static unsigned int Predecessors(BasicBlock* bb) {
45 void MIRGraph::DoConstantPropagation(BasicBlock* bb) {
107 MIR* MIRGraph::AdvanceMIR(BasicBlock** p_bb, MIR* mir) {
108 BasicBlock* bb = *p_bb;
131 MIR* MIRGraph::FindMoveResult(BasicBlock* bb, MIR* mir) {
132 BasicBlock* tbb = bb;
150 BasicBlock* MIRGraph::NextDominatedBlock(BasicBlock* bb) {
156 BasicBlock* bb_taken = GetBasicBlock(bb->taken);
157 BasicBlock* bb_fall_through = GetBasicBlock(bb->fall_through);
173 static MIR* FindPhi(BasicBlock* bb, int ssa_name) {
320 bool MIRGraph::BasicBlockOpt(BasicBlock* bb) {
433 BasicBlock* ft = GetBasicBlock(bb->fall_through);
435 BasicBlock* ft_ft = GetBasicBlock(ft->fall_through);
436 BasicBlock* ft_tk = GetBasicBlock(ft->taken);
438 BasicBlock* tk = GetBasicBlock(bb->taken);
440 BasicBlock* tk_ft = GetBasicBlock(tk->fall_through);
441 BasicBlock* tk_tk = GetBasicBlock(tk->taken);
576 void MIRGraph::CountChecks(struct BasicBlock* bb) {
600 bool MIRGraph::LayoutBlocks(BasicBlock* bb) {
612 BasicBlock* walker = bb;
618 BasicBlock* prev = GetBasicBlock(walker->predecessors->Get(0));
661 void MIRGraph::CombineBlocks(struct BasicBlock* bb) {
693 BasicBlock* bb_next = GetBasicBlock(bb->fall_through);
731 for (BasicBlock* bb = iter.Next(); bb != nullptr; bb = iter.Next()) {
748 bool MIRGraph::EliminateNullChecksAndInferTypes(BasicBlock* bb) {
771 BasicBlock* pred_bb = GetBasicBlock(bb->predecessors->Get(0));
798 BasicBlock* pred_bb = GetBasicBlock(iter.Next());
891 struct BasicBlock* next_bb = GetBasicBlock(bb->fall_through);
954 for (BasicBlock* bb = iter.Next(); bb != nullptr; bb = iter.Next()) {
972 for (BasicBlock* bb = iter.Next(); bb != nullptr; bb = iter.Next()) {
1013 for (BasicBlock* bb = iter.Next(); bb != nullptr; bb = iter.Next()) {
1057 bool MIRGraph::EliminateClassInitChecks(BasicBlock* bb) {
1071 BasicBlock* pred_bb = GetBasicBlock(bb->predecessors->Get(0));
1080 BasicBlock* pred_bb = GetBasicBlock(iter.Next());
1145 for (BasicBlock* bb = iter.Next(); bb != nullptr; bb = iter.Next()) {
1170 bool MIRGraph::ApplyGlobalValueNumbering(BasicBlock* bb) {
1187 for (BasicBlock* bb = iter.Next(); bb != nullptr; bb = iter.Next()) {
1259 void MIRGraph::InlineSpecialMethods(BasicBlock* bb) {
1307 for (BasicBlock* bb = iter.Next(); bb != NULL; bb = iter.Next()) {
1326 bool MIRGraph::BuildExtendedBBList(struct BasicBlock* bb) {
1335 BasicBlock* start_bb = bb;
1362 for (BasicBlock* bb = iter2.Next(); bb != NULL; bb = iter2.Next()) {
1371 for (BasicBlock* bb = iter.Next(); bb != NULL; bb = iter.Next()) {