/art/compiler/utils/arm/ |
H A D | assembler_thumb2_test.cc | 615 Label label; local 616 __ Bind(&label); 631 EXPECT_EQ(static_cast<uint32_t>(label.Position()) + 0u, 632 __ GetAdjustedPosition(label.Position())); 638 Label label; local 639 __ Bind(&label); 654 EXPECT_EQ(static_cast<uint32_t>(label.Position()) + 2u, 655 __ GetAdjustedPosition(label.Position())); 661 Label label; local 662 __ Bind(&label); 684 Label label; local 709 Label label; local 734 Label label; local 759 Label label; local 784 Label label; local 812 Label label; local 840 Label label; local 864 Label label; local 891 Label label; local 917 Label label; local 947 Label label; local 1013 Label label; local [all...] |
H A D | assembler_arm.h | 680 virtual void b(Label* label, Condition cond = AL) = 0; 681 virtual void bl(Label* label, Condition cond = AL) = 0; 690 // Adjust label position. 691 void AdjustLabelPosition(Label* label) { argument 692 DCHECK(label->IsBound()); 693 uint32_t old_position = static_cast<uint32_t>(label->Position()); 695 label->Reinitialize(); 697 label->BindTo(static_cast<int>(new_position)); 700 // Get the final position of a label after local fixup based on the old position 781 virtual void MarkExceptionHandler(Label* label) 1052 b(label); variable 1077 BindTrackedLabel(Label* label) argument [all...] |
H A D | assembler_arm32.cc | 548 void Arm32Assembler::b(Label* label, Condition cond) { argument 549 EmitBranch(cond, label, false); 553 void Arm32Assembler::bl(Label* label, Condition cond) { argument 554 EmitBranch(cond, label, true); 558 void Arm32Assembler::MarkExceptionHandler(Label* label) { argument 562 EmitBranch(AL, label, false); 709 void Arm32Assembler::EmitBranch(Condition cond, Label* label, bool link) { argument 710 if (label->IsBound()) { 711 EmitType5(cond, label->Position() - buffer_.Size(), link); 715 EmitType5(cond, label 1329 Bind(Label* label) argument 1636 CompareAndBranchIfZero(Register r, Label* label) argument 1642 CompareAndBranchIfNonZero(Register r, Label* label) argument [all...] |
H A D | assembler_thumb2.cc | 90 void Thumb2Assembler::BindLabel(Label* label, uint32_t bound_pc) { argument 91 CHECK(!label->IsBound()); 93 while (label->IsLinked()) { 94 FixupId fixup_id = label->Position(); // The id for linked Fixup. 100 label->position_ = next; // Move to next. 102 label->BindTo(bound_pc); 109 Label* label = lit.GetLabel(); local 110 BindLabel(label, code_size); 118 Label* label = table.GetLabel(); local 119 BindLabel(label, code_siz 190 Label* label = literal.GetLabel(); local 197 Label* label = table.GetLabel(); local 1136 b(Label* label, Condition cond) argument 1142 bl(Label* label, Condition cond) argument 1148 blx(Label* label) argument 1153 MarkExceptionHandler(Label* label) argument 2546 EmitBranch(Condition cond, Label* label, bool link, bool x) argument 3199 cbz(Register rn, Label* label) argument 3214 cbnz(Register rn, Label* label) argument 3272 Bind(Label* label) argument 3831 CompareAndBranchIfZero(Register r, Label* label) argument 3841 CompareAndBranchIfNonZero(Register r, Label* label) argument [all...] |
/art/compiler/utils/ |
H A D | assembler_thumb_test.cc | 1289 Label label; local 1290 __ CompareAndBranchIfZero(arm::R0, &label); 1291 __ CompareAndBranchIfZero(arm::R11, &label); 1292 __ CompareAndBranchIfNonZero(arm::R0, &label); 1293 __ CompareAndBranchIfNonZero(arm::R11, &label); 1294 __ Bind(&label);
|
/art/compiler/utils/mips/ |
H A D | assembler_mips_test.cc | 192 mips::MipsLabel label; local 193 (Base::GetAssembler()->*f)(mips::A0, &label); 198 __ Bind(&label); 203 (Base::GetAssembler()->*f)(mips::A1, &label); 221 mips::MipsLabel label; local 222 (Base::GetAssembler()->*f)(mips::A0, mips::A1, &label); 227 __ Bind(&label); 232 (Base::GetAssembler()->*f)(mips::A2, mips::A3, &label); 1256 mips::MipsLabel label; local 1257 __ Beqz(mips::A0, &label); 1282 mips::MipsLabel label; local 1324 mips::MipsLabel label; local 1352 mips::MipsLabel label; local 1380 mips::MipsLabel label; local 1408 mips::MipsLabel label; local 1436 mips::MipsLabel label; local 1462 mips::MipsLabel label; local [all...] |
H A D | assembler_mips.cc | 1860 void MipsAssembler::Bind(MipsLabel* label) { argument 1861 CHECK(!label->IsBound()); 1864 // Walk the list of branches referring to and preceding this label. 1866 while (label->IsLinked()) { 1867 uint32_t branch_id = label->Position(); 1877 label->position_ = prev; 1880 // Now make the label object contain its own location (relative to the end of the preceding 1881 // branch, if any; it will be used by the branches referring to and following this label). 1882 label->prev_branch_id_plus_one_ = branches_.size(); 1883 if (label 1926 FinalizeLabeledBranch(MipsLabel* label) argument 1945 Buncond(MipsLabel* label) argument 1951 Bcond(MipsLabel* label, BranchCondition condition, Register lhs, Register rhs) argument 1961 Call(MipsLabel* label, Register indirect_reg) argument 2155 B(MipsLabel* label) argument 2159 Jalr(MipsLabel* label, Register indirect_reg) argument 2163 Beq(Register rs, Register rt, MipsLabel* label) argument 2167 Bne(Register rs, Register rt, MipsLabel* label) argument 2171 Beqz(Register rt, MipsLabel* label) argument 2175 Bnez(Register rt, MipsLabel* label) argument 2179 Bltz(Register rt, MipsLabel* label) argument 2183 Bgez(Register rt, MipsLabel* label) argument 2187 Blez(Register rt, MipsLabel* label) argument 2191 Bgtz(Register rt, MipsLabel* label) argument 2195 Blt(Register rs, Register rt, MipsLabel* label) argument 2205 Bge(Register rs, Register rt, MipsLabel* label) argument 2217 Bltu(Register rs, Register rt, MipsLabel* label) argument 2227 Bgeu(Register rs, Register rt, MipsLabel* label) argument 2239 Bc1f(MipsLabel* label) argument 2243 Bc1f(int cc, MipsLabel* label) argument 2248 Bc1t(MipsLabel* label) argument 2252 Bc1t(int cc, MipsLabel* label) argument 2257 Bc1eqz(FRegister ft, MipsLabel* label) argument 2261 Bc1nez(FRegister ft, MipsLabel* label) argument [all...] |
/art/compiler/utils/mips64/ |
H A D | assembler_mips64_test.cc | 216 mips64::Mips64Label label; local 217 (Base::GetAssembler()->*f)(mips64::A0, &label); 222 __ Bind(&label); 227 (Base::GetAssembler()->*f)(mips64::A1, &label); 245 mips64::Mips64Label label; local 246 (Base::GetAssembler()->*f)(mips64::A0, mips64::A1, &label); 251 __ Bind(&label); 256 (Base::GetAssembler()->*f)(mips64::A2, mips64::A3, &label); 735 mips64::Mips64Label label; local 736 __ Bc1eqz(mips64::F0, &label); 761 mips64::Mips64Label label; local 787 mips64::Mips64Label label; local [all...] |
H A D | assembler_mips64.cc | 1525 void Mips64Assembler::Bind(Mips64Label* label) { argument 1526 CHECK(!label->IsBound()); 1529 // Walk the list of branches referring to and preceding this label. 1531 while (label->IsLinked()) { 1532 uint32_t branch_id = label->Position(); 1542 label->position_ = prev; 1545 // Now make the label object contain its own location (relative to the end of the preceding 1546 // branch, if any; it will be used by the branches referring to and following this label). 1547 label->prev_branch_id_plus_one_ = branches_.size(); 1548 if (label 1591 FinalizeLabeledBranch(Mips64Label* label) argument 1610 Buncond(Mips64Label* label) argument 1616 Bcond(Mips64Label* label, BranchCondition condition, GpuRegister lhs, GpuRegister rhs) argument 1629 Call(Mips64Label* label, GpuRegister indirect_reg) argument 1739 Bc(Mips64Label* label) argument 1743 Jialc(Mips64Label* label, GpuRegister indirect_reg) argument 1747 Bltc(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 1751 Bltzc(GpuRegister rt, Mips64Label* label) argument 1755 Bgtzc(GpuRegister rt, Mips64Label* label) argument 1759 Bgec(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 1763 Bgezc(GpuRegister rt, Mips64Label* label) argument 1767 Blezc(GpuRegister rt, Mips64Label* label) argument 1771 Bltuc(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 1775 Bgeuc(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 1779 Beqc(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 1783 Bnec(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 1787 Beqzc(GpuRegister rs, Mips64Label* label) argument 1791 Bnezc(GpuRegister rs, Mips64Label* label) argument 1795 Bc1eqz(FpuRegister ft, Mips64Label* label) argument 1799 Bc1nez(FpuRegister ft, Mips64Label* label) argument [all...] |
/art/compiler/optimizing/ |
H A D | code_generator_x86_64.h | 542 : target_dex_file(dex_file), element_offset(element_off), label() { } 546 Label label; member in struct:art::x86_64::CodeGeneratorX86_64::PcRelativeDexCacheAccessInfo
|
H A D | code_generator_arm64.h | 477 // Add a new PC-relative string patch for an instruction and return the label 480 // to the associated ADRP patch label). 486 // the label to be bound before the instruction. The instruction will be 488 // pointing to the associated ADRP patch label). 604 : target_dex_file(dex_file), offset_or_index(off_or_idx), label(), pc_insn_label() { } 609 vixl::Label label; member in struct:art::arm64::CodeGeneratorARM64::PcRelativePatchInfo
|
H A D | code_generator_x86.h | 570 : target_dex_file(dex_file), element_offset(element_off), label() { } 575 Label label; member in struct:art::x86::CodeGeneratorX86::PcRelativeDexCacheAccessInfo
|
H A D | code_generator.h | 34 #include "utils/label.h" 473 explicit MethodPatchInfo(MethodReference m) : target_method(m), label() { } 476 LabelType label; member in struct:art::CodeGenerator::MethodPatchInfo 484 : dex_file(df), string_index(index), label() { } 488 LabelType label; member in struct:art::CodeGenerator::StringPatchInfo 556 // Arm64 has its own type for a label, so we need to templatize these methods
|
H A D | code_generator_mips64.cc | 323 // If `successor_` is null, the label to branch to after the suspend check. 2379 Mips64Label* label) { 2399 __ Beqzc(lhs, label); 2403 __ Bnezc(lhs, label); 2406 __ Bltzc(lhs, label); 2409 __ Bgezc(lhs, label); 2412 __ Blezc(lhs, label); 2415 __ Bgtzc(lhs, label); 2420 __ Bc(label); 2430 __ Beqc(lhs, rhs_reg, label); 2376 GenerateIntLongCompareAndBranch(IfCondition cond, bool is64bit, LocationSummary* locations, Mips64Label* label) argument 2463 GenerateFpCompareAndBranch(IfCondition cond, bool gt_bias, Primitive::Type type, LocationSummary* locations, Mips64Label* label) argument [all...] |
H A D | code_generator_arm64.cc | 425 // If `successor_` is null, the label to branch to after the suspend check. 3380 // to the `compare_classes` label to compare it with the checked 3435 // an array), jump to label `check_non_primitive_component_type` 3699 vixl::Label* label = &relative_call_patches_.back().label; local 3701 __ Bind(label); 3775 // Add a patch entry and return the label. 3778 vixl::Label* label = &info->label; local 3779 // If adrp_label is null, this is the ADRP patch and needs to point to its own label [all...] |
H A D | code_generator_mips.cc | 371 // If `successor_` is null, the label to branch to after the suspend check. 2749 MipsLabel* label) { 2765 __ Beqz(lhs, label); 2769 __ Bnez(lhs, label); 2772 __ Bltz(lhs, label); 2775 __ Bgez(lhs, label); 2778 __ Blez(lhs, label); 2781 __ Bgtz(lhs, label); 2786 __ B(label); 2797 __ Beq(lhs, rhs_reg, label); 2747 GenerateIntCompareAndBranch(IfCondition cond, LocationSummary* locations, MipsLabel* label) argument 2830 GenerateLongCompareAndBranch(IfCondition cond, LocationSummary* locations, MipsLabel* label) argument 3043 GenerateFpCompareAndBranch(IfCondition cond, bool gt_bias, Primitive::Type type, LocationSummary* locations, MipsLabel* label) argument [all...] |
/art/runtime/base/ |
H A D | timing_logger.cc | 91 void CumulativeLogger::AddPair(const std::string& label, uint64_t delta_time) { argument 96 Histogram<uint64_t> dummy(label.c_str()); 101 histogram = new Histogram<uint64_t>(label.c_str(), kInitialBucketSize, max_buckets); 138 void TimingLogger::StartTiming(const char* label) { argument 139 DCHECK(label != nullptr); 140 timings_.push_back(Timing(NanoTime(), label)); 141 ATRACE_BEGIN(label);
|
H A D | timing_logger.h | 60 void AddPair(const std::string &label, uint64_t delta_time) 159 ScopedTiming(const char* label, TimingLogger* logger) : logger_(logger) { argument 160 logger_->StartTiming(label); 166 void NewTiming(const char* label) { argument 167 logger_->NewTiming(label);
|
/art/test/023-many-interfaces/src/ |
H A D | ManyInterfaces.java | 173 private static void report(String label, long start, long end, int iter, argument 176 System.out.println(label + ": " + (end - start) / 1000 + "us" 179 System.out.println(label + ": done");
|
/art/compiler/utils/x86/ |
H A D | assembler_x86.h | 315 void call(Label* label); 316 void call(const ExternalLabel& label); 579 void j(Condition condition, Label* label); 580 void j(Condition condition, NearLabel* label); 581 void jecxz(NearLabel* label); 585 void jmp(Label* label); 586 void jmp(NearLabel* label); 624 void Bind(Label* label) OVERRIDE; 625 void Jump(Label* label) OVERRIDE { 626 jmp(label); variable [all...] |
H A D | assembler_x86.cc | 49 void X86Assembler::call(Label* label) { argument 54 EmitLabel(label, kSize - 1); 58 void X86Assembler::call(const ExternalLabel& label) { argument 62 EmitInt32(label.address()); 1565 void X86Assembler::j(Condition condition, Label* label) { argument 1567 if (label->IsBound()) { 1570 int offset = label->Position() - buffer_.Size(); 1583 EmitLabelLink(label); 1588 void X86Assembler::j(Condition condition, NearLabel* label) { argument 1590 if (label 1604 jecxz(NearLabel* label) argument 1632 jmp(Label* label) argument 1653 jmp(NearLabel* label) argument 1788 Bind(Label* label) argument 1801 Bind(NearLabel* label) argument 1862 EmitLabel(Label* label, int instruction_size) argument 1873 EmitLabelLink(Label* label) argument 1881 EmitLabelLink(NearLabel* label) argument [all...] |
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64.h | 345 void call(Label* label); 621 void j(Condition condition, Label* label); 622 void j(Condition condition, NearLabel* label); 623 void jrcxz(NearLabel* label); 627 void jmp(Label* label); 628 void jmp(NearLabel* label); 695 void Bind(Label* label) OVERRIDE; 696 void Jump(Label* label) OVERRIDE { 697 jmp(label); variable 699 void Bind(NearLabel* label); [all...] |
H A D | assembler_x86_64.cc | 55 void X86_64Assembler::call(Label* label) { argument 60 EmitLabel(label, kSize - 1); 2007 void X86_64Assembler::j(Condition condition, Label* label) { argument 2009 if (label->IsBound()) { 2012 int offset = label->Position() - buffer_.Size(); 2025 EmitLabelLink(label); 2030 void X86_64Assembler::j(Condition condition, NearLabel* label) { argument 2032 if (label->IsBound()) { 2034 int offset = label->Position() - buffer_.Size(); 2041 EmitLabelLink(label); 2046 jrcxz(NearLabel* label) argument 2076 jmp(Label* label) argument 2097 jmp(NearLabel* label) argument 2349 Bind(Label* label) argument 2362 Bind(NearLabel* label) argument 2427 EmitLabel(Label* label, int instruction_size) argument 2438 EmitLabelLink(Label* label) argument 2446 EmitLabelLink(NearLabel* label) argument [all...] |
/art/runtime/ |
H A D | dex_file_verifier.cc | 178 const char* label) { 190 ErrorStringPrintf("Overflow in range for %s: %zx for %zu@%zu", label, 200 ErrorStringPrintf("Bad range for %s: %zx to %zx", label, 208 bool DexFileVerifier::CheckList(size_t element_size, const char* label, const uint8_t* *ptr) { argument 210 if (!CheckListSize(*ptr, 1, 4U, label)) { 216 if (!CheckListSize(*ptr + 4, count, element_size, label)) { 225 bool DexFileVerifier::CheckIndex(uint32_t field, uint32_t limit, const char* label) { argument 227 ErrorStringPrintf("Bad index for %s: %x >= %x", label, field, limit); 236 const char* label) { 239 ErrorStringPrintf("Offset(%d) should be zero when size is zero for %s.", offset, label); 177 CheckListSize(const void* start, size_t count, size_t elem_size, const char* label) argument 233 CheckValidOffsetAndSize(uint32_t offset, uint32_t size, size_t alignment, const char* label) argument 254 CheckSizeLimit(uint32_t size, uint32_t limit, const char* label) argument [all...] |
H A D | elf_file.cc | 288 bool ElfFileImpl<ElfTypes>::CheckAndSet(Elf32_Off offset, const char* label, argument 291 *error_msg = StringPrintf("Offset %d is out of range for %s in ELF file: '%s'", offset, label,
|