Lines Matching refs:current_block_

201   current_block_->AddInstruction(comparison);  in If_22t()
203 current_block_->AddInstruction(ifinst); in If_22t()
204 current_block_->AddSuccessor(branch_target); in If_22t()
205 current_block_->AddSuccessor(fallthrough_target); in If_22t()
206 current_block_ = nullptr; in If_22t()
219 current_block_->AddInstruction(comparison); in If_21t()
221 current_block_->AddInstruction(ifinst); in If_21t()
222 current_block_->AddSuccessor(branch_target); in If_21t()
223 current_block_->AddSuccessor(fallthrough_target); in If_21t()
224 current_block_ = nullptr; in If_21t()
344 if (current_block_ != nullptr) { in MaybeUpdateCurrentBlock()
348 current_block_->AddInstruction(new (arena_) HGoto()); in MaybeUpdateCurrentBlock()
349 current_block_->AddSuccessor(block); in MaybeUpdateCurrentBlock()
352 current_block_ = block; in MaybeUpdateCurrentBlock()
444 current_block_->AddInstruction(new (arena_) T(type, first)); in Unop_12x()
445 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Unop_12x()
453 current_block_->AddInstruction(new (arena_) HTypeConversion(result_type, first, dex_pc)); in Conversion_12x()
454 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Conversion_12x()
461 current_block_->AddInstruction(new (arena_) T(type, first, second)); in Binop_23x()
462 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x()
471 current_block_->AddInstruction(new (arena_) T(type, first, second, dex_pc)); in Binop_23x()
472 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x()
480 current_block_->AddInstruction(new (arena_) T(type, first, second)); in Binop_23x_shift()
481 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_shift()
490 current_block_->AddInstruction(new (arena_) HCompare(type, first, second, bias, dex_pc)); in Binop_23x_cmp()
491 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_cmp()
498 current_block_->AddInstruction(new (arena_) T(type, first, second)); in Binop_12x()
499 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x()
506 current_block_->AddInstruction(new (arena_) T(type, first, second)); in Binop_12x_shift()
507 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x_shift()
516 current_block_->AddInstruction(new (arena_) T(type, first, second, dex_pc)); in Binop_12x()
517 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x()
527 current_block_->AddInstruction(new (arena_) T(Primitive::kPrimInt, first, second)); in Binop_22s()
528 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22s()
538 current_block_->AddInstruction(new (arena_) T(Primitive::kPrimInt, first, second)); in Binop_22b()
539 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22b()
558 current_block_->AddInstruction(new (arena_) HMemoryBarrier(kStoreStore)); in BuildReturn()
560 current_block_->AddInstruction(new (arena_) HReturnVoid()); in BuildReturn()
563 current_block_->AddInstruction(new (arena_) HReturn(value)); in BuildReturn()
565 current_block_->AddSuccessor(exit_block_); in BuildReturn()
566 current_block_ = nullptr; in BuildReturn()
728 current_block_->AddInstruction(load_class); in BuildInvoke()
730 current_block_->AddInstruction(clinit_check); in BuildInvoke()
746 current_block_->AddInstruction(null_check); in BuildInvoke()
798 current_block_->AddInstruction(invoke); in BuildInvoke()
845 current_block_->AddInstruction(new (arena_) HNullCheck(object, dex_pc)); in BuildInstanceFieldAccess()
848 HInstruction* null_check = current_block_->GetLastInstruction(); in BuildInstanceFieldAccess()
852 current_block_->AddInstruction(new (arena_) HInstanceFieldSet( in BuildInstanceFieldAccess()
859 current_block_->AddInstruction(new (arena_) HInstanceFieldGet( in BuildInstanceFieldAccess()
860 current_block_->GetLastInstruction(), in BuildInstanceFieldAccess()
865 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildInstanceFieldAccess()
957 current_block_->AddInstruction(constant); in BuildStaticFieldAccess()
962 current_block_->AddInstruction(cls); in BuildStaticFieldAccess()
972 current_block_->AddInstruction( in BuildStaticFieldAccess()
976 current_block_->AddInstruction( in BuildStaticFieldAccess()
979 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildStaticFieldAccess()
1010 current_block_->AddInstruction(second); in BuildCheckedDivRem()
1011 temps.Add(current_block_->GetLastInstruction()); in BuildCheckedDivRem()
1015 current_block_->AddInstruction(new (arena_) HDiv(type, first, second, dex_pc)); in BuildCheckedDivRem()
1017 current_block_->AddInstruction(new (arena_) HRem(type, first, second, dex_pc)); in BuildCheckedDivRem()
1019 UpdateLocal(out_vreg, current_block_->GetLastInstruction()); in BuildCheckedDivRem()
1035 current_block_->AddInstruction(object); in BuildArrayAccess()
1039 current_block_->AddInstruction(length); in BuildArrayAccess()
1043 current_block_->AddInstruction(index); in BuildArrayAccess()
1048 current_block_->AddInstruction(new (arena_) HArraySet( in BuildArrayAccess()
1051 current_block_->AddInstruction(new (arena_) HArrayGet(object, index, anticipated_type)); in BuildArrayAccess()
1052 UpdateLocal(source_or_dest_reg, current_block_->GetLastInstruction()); in BuildArrayAccess()
1068 current_block_->AddInstruction(object); in BuildFilledNewArray()
1084 current_block_->AddInstruction( in BuildFilledNewArray()
1099 current_block_->AddInstruction(new (arena_) HArraySet( in BuildFillArrayData()
1108 current_block_->AddInstruction(null_check); in BuildFillArrayData()
1112 current_block_->AddInstruction(length); in BuildFillArrayData()
1123 current_block_->AddInstruction(new (arena_) HBoundsCheck(last_index, length, dex_pc)); in BuildFillArrayData()
1166 current_block_->AddInstruction(new (arena_) HArraySet( in BuildFillWideArrayData()
1193 current_block_->AddInstruction(cls); in BuildTypeCheck()
1198 current_block_->AddInstruction( in BuildTypeCheck()
1200 UpdateLocal(destination, current_block_->GetLastInstruction()); in BuildTypeCheck()
1203 current_block_->AddInstruction( in BuildTypeCheck()
1270 current_block_->AddInstruction(comparison); in BuildSwitchCaseHelper()
1272 current_block_->AddInstruction(ifinst); in BuildSwitchCaseHelper()
1275 current_block_->AddSuccessor(case_target); in BuildSwitchCaseHelper()
1285 current_block_->AddSuccessor(next_case_target); in BuildSwitchCaseHelper()
1290 current_block_ = next_case_target; in BuildSwitchCaseHelper()
1294 current_block_->AddSuccessor(default_target); in BuildSwitchCaseHelper()
1295 current_block_ = nullptr; in BuildSwitchCaseHelper()
1312 current_block_->AddInstruction(new (arena_) HSuspendCheck(dex_pc)); in PotentiallyAddSuspendCheck()
1317 if (current_block_ == nullptr) { in AnalyzeDexInstruction()
1436 current_block_->AddInstruction(new (arena_) HGoto()); in AnalyzeDexInstruction()
1437 current_block_->AddSuccessor(target); in AnalyzeDexInstruction()
1438 current_block_ = nullptr; in AnalyzeDexInstruction()
2022 current_block_->AddInstruction(new (arena_) HNewInstance(dex_pc, type_index, entrypoint)); in AnalyzeDexInstruction()
2023 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in AnalyzeDexInstruction()
2034 current_block_->AddInstruction( in AnalyzeDexInstruction()
2036 UpdateLocal(instruction.VRegA_22c(), current_block_->GetLastInstruction()); in AnalyzeDexInstruction()
2178 current_block_->AddInstruction(object); in AnalyzeDexInstruction()
2179 current_block_->AddInstruction(new (arena_) HArrayLength(object)); in AnalyzeDexInstruction()
2180 UpdateLocal(instruction.VRegA_12x(), current_block_->GetLastInstruction()); in AnalyzeDexInstruction()
2185 current_block_->AddInstruction(new (arena_) HLoadString(instruction.VRegB_21c(), dex_pc)); in AnalyzeDexInstruction()
2186 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in AnalyzeDexInstruction()
2191 current_block_->AddInstruction(new (arena_) HLoadString(instruction.VRegB_31c(), dex_pc)); in AnalyzeDexInstruction()
2192 UpdateLocal(instruction.VRegA_31c(), current_block_->GetLastInstruction()); in AnalyzeDexInstruction()
2212 current_block_->AddInstruction( in AnalyzeDexInstruction()
2214 UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction()); in AnalyzeDexInstruction()
2219 current_block_->AddInstruction(new (arena_) HLoadException()); in AnalyzeDexInstruction()
2220 UpdateLocal(instruction.VRegA_11x(), current_block_->GetLastInstruction()); in AnalyzeDexInstruction()
2226 current_block_->AddInstruction(new (arena_) HThrow(exception, dex_pc)); in AnalyzeDexInstruction()
2228 current_block_->AddSuccessor(exit_block_); in AnalyzeDexInstruction()
2231 current_block_ = nullptr; in AnalyzeDexInstruction()
2255 current_block_->AddInstruction(new (arena_) HMonitorOperation( in AnalyzeDexInstruction()
2263 current_block_->AddInstruction(new (arena_) HMonitorOperation( in AnalyzeDexInstruction()
2297 current_block_->AddInstruction(new (arena_) HStoreLocal(local, instruction)); in UpdateLocal()
2302 current_block_->AddInstruction(new (arena_) HLoadLocal(local, type)); in LoadLocal()
2303 return current_block_->GetLastInstruction(); in LoadLocal()