/art/compiler/utils/arm/ |
H A D | assembler_arm_vixl.cc | 437 vixl32::Label* label, 439 if (!is_far_target && rn.IsLow() && !label->IsBound()) { 444 Cbz(rn, label); 448 B(eq, label, is_far_target); 452 vixl32::Label* label, 454 if (!is_far_target && rn.IsLow() && !label->IsBound()) { 455 Cbnz(rn, label); 459 B(ne, label, is_far_target); 462 void ArmVIXLMacroAssembler::B(vixl32::Label* label) { argument 463 if (!label 436 CompareAndBranchIfZero(vixl32::Register rn, vixl32::Label* label, bool is_far_target) argument 451 CompareAndBranchIfNonZero(vixl32::Register rn, vixl32::Label* label, bool is_far_target) argument 476 B(vixl32::Condition cond, vixl32::Label* label, bool is_far_target) argument [all...] |
H A D | assembler_thumb2_test.cc | 767 Label label; local 768 __ Bind(&label); 783 EXPECT_EQ(static_cast<uint32_t>(label.Position()) + 0u, 784 __ GetAdjustedPosition(label.Position())); 790 Label label; local 791 __ Bind(&label); 806 EXPECT_EQ(static_cast<uint32_t>(label.Position()) + 2u, 807 __ GetAdjustedPosition(label.Position())); 813 Label label; local 814 __ Bind(&label); 836 Label label; local 861 Label label; local 886 Label label; local 911 Label label; local 936 Label label; local 964 Label label; local 992 Label label; local 1016 Label label; local 1044 Label label; local 1072 Label label; local 1100 Label label; local 1130 Label label; local 1196 Label label; local [all...] |
H A D | assembler_arm_vixl.h | 51 // If a hint is given (is_far_target = false) and rn and label can all fit into Cbz/Cbnz, 59 vixl32::Label* label, 62 vixl32::Label* label, 133 void B(vixl32::Label* label); 134 // For B(label), we always try to use Narrow encoding, because 16-bit T2 encoding supports 135 // jumping within 2KB range. For B(cond, label), because the supported branch range is 256 137 void B(vixl32::Condition cond, vixl32::Label* label, bool is_far_target = true); 171 void Bind(Label* label ATTRIBUTE_UNUSED) OVERRIDE { 174 void Jump(Label* label ATTRIBUTE_UNUSED) OVERRIDE {
|
H A D | jni_macro_assembler_arm_vixl.cc | 595 vixl32::Label* label = exception_blocks_.back()->Entry(); local 596 ___ b(ne, Narrow, label); 597 ___ AddBranchLabel(label); 606 void ArmVIXLJNIMacroAssembler::Jump(JNIMacroLabel* label) { argument 607 CHECK(label != nullptr); 608 ___ B(ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); 611 void ArmVIXLJNIMacroAssembler::Jump(JNIMacroLabel* label, argument 614 CHECK(label != nullptr); 621 ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); 625 ArmVIXLJNIMacroLabel::Cast(label) 633 Bind(JNIMacroLabel* label) argument [all...] |
H A D | assembler_arm.cc | 444 for (Label* label : tracked_labels_) { 445 DCHECK_NE(label, last_label); 446 AdjustLabelPosition(label); 447 last_label = label;
|
H A D | jni_macro_assembler_arm.h | 28 #include "utils/label.h" 163 // Create a new label that can be used with Jump/Bind calls. 165 // Emit an unconditional jump to the label. 166 void Jump(JNIMacroLabel* label) OVERRIDE; 167 // Emit a conditional jump to the label by applying a unary condition test to the register. 168 void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) OVERRIDE; 170 void Bind(JNIMacroLabel* label) OVERRIDE;
|
H A D | jni_macro_assembler_arm_vixl.h | 190 // Create a new label that can be used with Jump/Bind calls. 192 // Emit an unconditional jump to the label. 193 void Jump(JNIMacroLabel* label) OVERRIDE; 194 // Emit a conditional jump to the label by applying a unary condition test to the register. 195 void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) OVERRIDE; 197 void Bind(JNIMacroLabel* label) OVERRIDE;
|
H A D | assembler_arm.h | 650 virtual void b(Label* label, Condition cond = AL) = 0; 651 virtual void bl(Label* label, Condition cond = AL) = 0; 660 // Adjust label position. 661 void AdjustLabelPosition(Label* label) { argument 662 DCHECK(label->IsBound()); 663 uint32_t old_position = static_cast<uint32_t>(label->Position()); 665 label->Reinitialize(); 667 label->BindTo(static_cast<int>(new_position)); 670 // Get the final position of a label after local fixup based on the old position 726 virtual void MarkExceptionHandler(Label* label) 891 b(label); variable 916 BindTrackedLabel(Label* label) argument [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/ |
H A D | jni_macro_assembler.h | 202 // Create a new label that can be used with Jump/Bind calls. 204 // Emit an unconditional jump to the label. 205 virtual void Jump(JNIMacroLabel* label) = 0; 206 // Emit a conditional jump to the label by applying a unary condition test to the register. 207 virtual void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) = 0; 209 virtual void Bind(JNIMacroLabel* label) = 0; 229 // It is only safe to use a label created 273 static Self* Cast(JNIMacroLabel* label) { argument 274 CHECK(label != nullptr); 275 CHECK_EQ(kIsa, label [all...] |
/art/compiler/utils/mips/ |
H A D | assembler_mips32r6_test.cc | 223 mips::MipsLabel label; local 224 (Base::GetAssembler()->*f)(mips::A0, mips::A1, &label); 229 __ Bind(&label); 234 (Base::GetAssembler()->*f)(mips::A2, mips::A3, &label); 673 mips::MipsLabel label; local 674 __ LoadLabelAddress(mips::V0, mips::ZERO, &label); 679 __ Bind(&label); 689 mips::MipsLabel label; local 690 __ LoadLabelAddress(mips::V0, mips::ZERO, &label); 695 __ Bind(&label); 745 mips::MipsLabel label; local 770 mips::MipsLabel label; local 838 mips::MipsLabel label; local [all...] |
H A D | assembler_mips.h | 34 #include "utils/label.h" 476 void Bind(MipsLabel* label); 477 void B(MipsLabel* label); 478 void Bal(MipsLabel* label); 479 void Beq(Register rs, Register rt, MipsLabel* label); 480 void Bne(Register rs, Register rt, MipsLabel* label); 481 void Beqz(Register rt, MipsLabel* label); 482 void Bnez(Register rt, MipsLabel* label); 483 void Bltz(Register rt, MipsLabel* label); 484 void Bgez(Register rt, MipsLabel* label); [all...] |
H A D | assembler_mips.cc | 70 // the PC of the label preceding it so that no unconditional branch 75 // Otherwise wait for another instruction or label before we can 76 // commit the label PC. The label PC will be dropped if instead 77 // of another instruction or label there's a call from the code 150 // the label before it (if any) and clear the delay slot. 236 // Commit the last branch target label (if any) and disable instruction reordering. 306 // been promoted), adjust the target label PCs. 861 // do not commit the label before it (if any). 2110 // R2 near label 2326 Bind(MipsLabel* label) argument 2403 FinalizeLabeledBranch(MipsLabel* label) argument 2555 Buncond(MipsLabel* label) argument 2562 Bcond(MipsLabel* label, BranchCondition condition, Register lhs, Register rhs) argument 2573 Call(MipsLabel* label) argument 2580 LoadLabelAddress(Register dest_reg, Register base_reg, MipsLabel* label) argument 2596 MipsLabel* label = literal->GetLabel(); local 2614 MipsLabel* label = literal.GetLabel(); local 2628 MipsLabel* label = table.GetLabel(); local 2996 B(MipsLabel* label) argument 3000 Bal(MipsLabel* label) argument 3004 Beq(Register rs, Register rt, MipsLabel* label) argument 3008 Bne(Register rs, Register rt, MipsLabel* label) argument 3012 Beqz(Register rt, MipsLabel* label) argument 3016 Bnez(Register rt, MipsLabel* label) argument 3020 Bltz(Register rt, MipsLabel* label) argument 3024 Bgez(Register rt, MipsLabel* label) argument 3028 Blez(Register rt, MipsLabel* label) argument 3032 Bgtz(Register rt, MipsLabel* label) argument 3084 Blt(Register rs, Register rt, MipsLabel* label) argument 3094 Bge(Register rs, Register rt, MipsLabel* label) argument 3106 Bltu(Register rs, Register rt, MipsLabel* label) argument 3116 Bgeu(Register rs, Register rt, MipsLabel* label) argument 3128 Bc1f(MipsLabel* label) argument 3132 Bc1f(int cc, MipsLabel* label) argument 3137 Bc1t(MipsLabel* label) argument 3141 Bc1t(int cc, MipsLabel* label) argument 3146 Bc1eqz(FRegister ft, MipsLabel* label) argument 3150 Bc1nez(FRegister ft, MipsLabel* label) argument [all...] |
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); 2118 mips::MipsLabel label; local 2119 __ Beqz(mips::A0, &label); 2145 mips::MipsLabel label; local 2192 mips::MipsLabel label; local 2221 mips::MipsLabel label; local 2250 mips::MipsLabel label; local 2279 mips::MipsLabel label; local 2308 mips::MipsLabel label; local 2335 mips::MipsLabel label; local 2406 mips::MipsLabel label; local 2424 mips::MipsLabel label; local 2835 mips::MipsLabel label; local [all...] |
/art/disassembler/ |
H A D | disassembler_arm.cc | 50 DisassemblerStream& operator<<(const PrintLabel& label) OVERRIDE { 51 const LocationType type = label.GetLocationType(); 66 const uintptr_t pc_delta = label.GetLabel()->GetPcOffset(); 67 const int32_t offset = label.GetLabel()->GetLocation(); 74 return DisassemblerStream::operator<<(label);
|
/art/runtime/ |
H A D | dex_file_verifier.h | 60 bool CheckListSize(const void* start, size_t count, size_t element_size, const char* label); 63 bool CheckList(size_t element_size, const char* label, const uint8_t* *ptr); 66 bool CheckValidOffsetAndSize(uint32_t offset, uint32_t size, size_t alignment, const char* label); 68 bool CheckSizeLimit(uint32_t size, uint32_t limit, const char* label); 69 bool CheckIndex(uint32_t field, uint32_t limit, const char* label);
|
/art/compiler/utils/arm64/ |
H A D | assembler_arm64.h | 101 void Bind(Label* label ATTRIBUTE_UNUSED) OVERRIDE { 104 void Jump(Label* label ATTRIBUTE_UNUSED) OVERRIDE {
|
/art/compiler/utils/mips64/ |
H A D | assembler_mips64.cc | 1952 // Near label. 1963 // Far label. 2037 // Near label. 2121 void Mips64Assembler::Bind(Mips64Label* label) { argument 2122 CHECK(!label->IsBound()); 2125 // Walk the list of branches referring to and preceding this label. 2127 while (label->IsLinked()) { 2128 uint32_t branch_id = label->Position(); 2138 label->position_ = prev; 2141 // Now make the label objec 2187 FinalizeLabeledBranch(Mips64Label* label) argument 2206 Buncond(Mips64Label* label) argument 2212 Bcond(Mips64Label* label, BranchCondition condition, GpuRegister lhs, GpuRegister rhs) argument 2225 Call(Mips64Label* label) argument 2231 LoadLabelAddress(GpuRegister dest_reg, Mips64Label* label) argument 2272 Mips64Label* label = literal->GetLabel(); local 2288 Mips64Label* label = table.GetLabel(); local 2342 Mips64Label* label = literal.GetLabel(); local 2356 Mips64Label* label = literal.GetLabel(); local 2556 Bc(Mips64Label* label) argument 2560 Balc(Mips64Label* label) argument 2564 Bltc(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 2568 Bltzc(GpuRegister rt, Mips64Label* label) argument 2572 Bgtzc(GpuRegister rt, Mips64Label* label) argument 2576 Bgec(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 2580 Bgezc(GpuRegister rt, Mips64Label* label) argument 2584 Blezc(GpuRegister rt, Mips64Label* label) argument 2588 Bltuc(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 2592 Bgeuc(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 2596 Beqc(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 2600 Bnec(GpuRegister rs, GpuRegister rt, Mips64Label* label) argument 2604 Beqzc(GpuRegister rs, Mips64Label* label) argument 2608 Bnezc(GpuRegister rs, Mips64Label* label) argument 2612 Bc1eqz(FpuRegister ft, Mips64Label* label) argument 2616 Bc1nez(FpuRegister ft, Mips64Label* label) argument [all...] |
H A D | assembler_mips64.h | 34 #include "utils/label.h" 799 void Bind(Label* label) OVERRIDE { 800 Bind(down_cast<Mips64Label*>(label)); 802 void Jump(Label* label ATTRIBUTE_UNUSED) OVERRIDE { 806 void Bind(Mips64Label* label); 812 // Create a new label that can be used with Jump/Bind calls. 817 // Emit an unconditional jump to the label. 818 void Jump(JNIMacroLabel* label ATTRIBUTE_UNUSED) OVERRIDE { 822 // Emit a conditional jump to the label by applying a unary condition test to the register. 823 void Jump(JNIMacroLabel* label ATTRIBUTE_UNUSE [all...] |
/art/compiler/utils/x86/ |
H A D | assembler_x86.h | 316 void call(Label* label); 317 void call(const ExternalLabel& label); 665 void j(Condition condition, Label* label); 666 void j(Condition condition, NearLabel* label); 667 void jecxz(NearLabel* label); 671 void jmp(Label* label); 672 void jmp(NearLabel* label); 713 void Bind(Label* label) OVERRIDE; 714 void Jump(Label* label) OVERRIDE { 715 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()); 2172 void X86Assembler::j(Condition condition, Label* label) { argument 2174 if (label->IsBound()) { 2177 int offset = label->Position() - buffer_.Size(); 2190 EmitLabelLink(label); 2195 void X86Assembler::j(Condition condition, NearLabel* label) { argument 2197 if (label 2211 jecxz(NearLabel* label) argument 2239 jmp(Label* label) argument 2260 jmp(NearLabel* label) argument 2416 Bind(Label* label) argument 2429 Bind(NearLabel* label) argument 2490 EmitLabel(Label* label, int instruction_size) argument 2501 EmitLabelLink(Label* label) argument 2509 EmitLabelLink(NearLabel* label) argument [all...] |
H A D | jni_macro_assembler_x86.h | 157 // Create a new label that can be used with Jump/Bind calls. 159 // Emit an unconditional jump to the label. 160 void Jump(JNIMacroLabel* label) OVERRIDE; 161 // Emit a conditional jump to the label by applying a unary condition test to the register. 162 void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) OVERRIDE; 164 void Bind(JNIMacroLabel* label) OVERRIDE;
|
/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); 2672 void X86_64Assembler::j(Condition condition, Label* label) { argument 2674 if (label->IsBound()) { 2677 int offset = label->Position() - buffer_.Size(); 2690 EmitLabelLink(label); 2695 void X86_64Assembler::j(Condition condition, NearLabel* label) { argument 2697 if (label->IsBound()) { 2699 int offset = label->Position() - buffer_.Size(); 2706 EmitLabelLink(label); 2711 jrcxz(NearLabel* label) argument 2741 jmp(Label* label) argument 2762 jmp(NearLabel* label) argument 3019 Bind(Label* label) argument 3032 Bind(NearLabel* label) argument 3097 EmitLabel(Label* label, int instruction_size) argument 3108 EmitLabelLink(Label* label) argument 3116 EmitLabelLink(NearLabel* label) argument [all...] |
H A D | jni_macro_assembler_x86_64.h | 183 // Create a new label that can be used with Jump/Bind calls. 185 // Emit an unconditional jump to the label. 186 void Jump(JNIMacroLabel* label) OVERRIDE; 187 // Emit a conditional jump to the label by applying a unary condition test to the register. 188 void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) OVERRIDE; 190 void Bind(JNIMacroLabel* label) OVERRIDE;
|