/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_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...] |
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_arm32.h | 214 void b(Label* label, Condition cond = AL) OVERRIDE; 215 void bl(Label* label, Condition cond = AL) OVERRIDE; 246 void CompareAndBranchIfZero(Register r, Label* label) OVERRIDE; 247 void CompareAndBranchIfNonZero(Register r, Label* label) OVERRIDE; 252 // Get the final position of a label after local fixup based on the old position 270 void MarkExceptionHandler(Label* label) OVERRIDE; 313 void Bind(Label* label) OVERRIDE; 398 void EmitBranch(Condition cond, Label* label, bool link);
|
H A D | assembler_thumb2.h | 259 void b(Label* label, Condition cond = AL); 260 void bl(Label* label, Condition cond = AL); 261 void blx(Label* label); 293 void CompareAndBranchIfZero(Register r, Label* label) OVERRIDE; 294 void CompareAndBranchIfNonZero(Register r, Label* label) OVERRIDE; 299 // Get the final position of a label after local fixup based on the old position 319 void MarkExceptionHandler(Label* label) OVERRIDE; 364 void Bind(Label* label) OVERRIDE; 396 // every instruction. When we bind a label to a branch we don't know the final location yet 404 // Fixup. For each unresolved label w [all...] |
/art/runtime/base/ |
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);
|
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);
|
/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.h | 30 #include "utils/label.h" 365 void Bind(MipsLabel* label); 366 void B(MipsLabel* label); 367 void Jalr(MipsLabel* label, Register indirect_reg); 368 void Beq(Register rs, Register rt, MipsLabel* label); 369 void Bne(Register rs, Register rt, MipsLabel* label); 370 void Beqz(Register rt, MipsLabel* label); 371 void Bnez(Register rt, MipsLabel* label); 372 void Bltz(Register rt, MipsLabel* label); 373 void Bgez(Register rt, MipsLabel* label); [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/runtime/ |
H A D | dex_file_verifier.h | 45 bool CheckListSize(const void* start, size_t count, size_t element_size, const char* label); 48 bool CheckList(size_t element_size, const char* label, const uint8_t* *ptr); 51 bool CheckValidOffsetAndSize(uint32_t offset, uint32_t size, size_t alignment, const char* label); 53 bool CheckSizeLimit(uint32_t size, uint32_t limit, const char* label); 54 bool CheckIndex(uint32_t field, uint32_t limit, const char* label);
|
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...] |
/art/compiler/utils/mips64/ |
H A D | assembler_mips64.h | 29 #include "utils/label.h" 329 void Bind(Label* label) OVERRIDE { 330 Bind(down_cast<Mips64Label*>(label)); 332 void Jump(Label* label ATTRIBUTE_UNUSED) OVERRIDE { 336 void Bind(Mips64Label* label); 337 void Bc(Mips64Label* label); 338 void Jialc(Mips64Label* label, GpuRegister indirect_reg); 339 void Bltc(GpuRegister rs, GpuRegister rt, Mips64Label* label); 340 void Bltzc(GpuRegister rt, Mips64Label* label); 341 void Bgtzc(GpuRegister rt, Mips64Label* label); [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...] |
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...] |
/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/optimizing/ |
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...] |
H A D | code_generator_mips.h | 232 MipsLabel* label); 235 MipsLabel* label); 240 MipsLabel* label);
|
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...] |
/art/compiler/utils/x86_64/ |
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...] |
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...] |
/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/arm64/ |
H A D | assembler_arm64.h | 218 void Bind(Label* label ATTRIBUTE_UNUSED) OVERRIDE { 221 void Jump(Label* label ATTRIBUTE_UNUSED) OVERRIDE {
|