/art/compiler/utils/arm/ |
H A D | assembler_arm_vixl.cc | 461 vixl32::Label* label, 463 if (!is_far_target && rn.IsLow() && !label->IsBound()) { 468 Cbz(rn, label); 472 B(eq, label, is_far_target); 476 vixl32::Label* label, 478 if (!is_far_target && rn.IsLow() && !label->IsBound()) { 479 Cbnz(rn, label); 483 B(ne, label, is_far_target); 486 void ArmVIXLMacroAssembler::B(vixl32::Label* label) { argument 487 if (!label 460 CompareAndBranchIfZero(vixl32::Register rn, vixl32::Label* label, bool is_far_target) argument 475 CompareAndBranchIfNonZero(vixl32::Register rn, vixl32::Label* label, bool is_far_target) argument 496 B(vixl32::Condition cond, vixl32::Label* label, bool is_far_target) argument [all...] |
H A D | assembler_arm_vixl.h | 53 // If a hint is given (is_far_target = false) and rn and label can all fit into Cbz/Cbnz, 61 vixl32::Label* label, 64 vixl32::Label* label, 135 void B(vixl32::Label* label); 136 // For B(label), we always try to use Narrow encoding, because 16-bit T2 encoding supports 137 // jumping within 2KB range. For B(cond, label), because the supported branch range is 256 139 void B(vixl32::Condition cond, vixl32::Label* label, bool is_far_target = true); 173 void Bind(Label* label ATTRIBUTE_UNUSED) OVERRIDE { 176 void Jump(Label* label ATTRIBUTE_UNUSED) OVERRIDE {
|
H A D | jni_macro_assembler_arm_vixl.cc | 627 vixl32::Label* label = exception_blocks_.back()->Entry(); local 628 ___ BPreferNear(ne, label); 636 void ArmVIXLJNIMacroAssembler::Jump(JNIMacroLabel* label) { argument 637 CHECK(label != nullptr); 638 ___ B(ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); 641 void ArmVIXLJNIMacroAssembler::Jump(JNIMacroLabel* label, argument 644 CHECK(label != nullptr); 651 ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); 655 ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); 663 void ArmVIXLJNIMacroAssembler::Bind(JNIMacroLabel* label) { argument [all...] |
H A D | jni_macro_assembler_arm_vixl.h | 193 // Create a new label that can be used with Jump/Bind calls. 195 // Emit an unconditional jump to the label. 196 void Jump(JNIMacroLabel* label) OVERRIDE; 197 // Emit a conditional jump to the label by applying a unary condition test to the register. 198 void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) OVERRIDE; 200 void Bind(JNIMacroLabel* label) OVERRIDE;
|
/art/runtime/base/ |
H A D | timing_logger.h | 61 void AddPair(const std::string &label, uint64_t delta_time) 177 ScopedTiming(const char* label, TimingLogger* logger) : logger_(logger) { argument 178 logger_->StartTiming(label); 184 void NewTiming(const char* label) { argument 185 logger_->NewTiming(label);
|
H A D | timing_logger.cc | 93 void CumulativeLogger::AddPair(const std::string& label, uint64_t delta_time) { argument 98 Histogram<uint64_t> dummy(label.c_str()); 103 histogram = new Histogram<uint64_t>(label.c_str(), kInitialBucketSize, max_buckets); 143 void TimingLogger::StartTiming(const char* label) { argument 144 DCHECK(label != nullptr); 145 timings_.push_back(Timing(kind_, label)); 146 ATRACE_BEGIN(label);
|
/art/compiler/utils/ |
H A D | jni_macro_assembler.h | 209 // Create a new label that can be used with Jump/Bind calls. 211 // Emit an unconditional jump to the label. 212 virtual void Jump(JNIMacroLabel* label) = 0; 213 // Emit a conditional jump to the label by applying a unary condition test to the register. 214 virtual void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) = 0; 216 virtual void Bind(JNIMacroLabel* label) = 0; 243 // It is only safe to use a label created 287 static Self* Cast(JNIMacroLabel* label) { argument 288 CHECK(label != nullptr); 289 CHECK_EQ(kIsa, label [all...] |
/art/libdexfile/dex/ |
H A D | dex_file_verifier.h | 61 bool CheckListSize(const void* start, size_t count, size_t element_size, const char* label); 64 bool CheckList(size_t element_size, const char* label, const uint8_t* *ptr); 67 bool CheckValidOffsetAndSize(uint32_t offset, uint32_t size, size_t alignment, const char* label); 69 bool CheckSizeLimit(uint32_t size, uint32_t limit, const char* label); 70 bool CheckIndex(uint32_t field, uint32_t limit, const char* label);
|
/art/compiler/utils/mips/ |
H A D | assembler_mips.h | 36 #include "utils/label.h" 161 // Bound label's position is negative, hence decrementing it. 769 void Bind(MipsLabel* label); 794 void B(MipsLabel* label, bool is_bare = false); 795 void Bal(MipsLabel* label, bool is_bare = false); 796 void Beq(Register rs, Register rt, MipsLabel* label, bool is_bare = false); 797 void Bne(Register rs, Register rt, MipsLabel* label, bool is_bare = false); 798 void Beqz(Register rt, MipsLabel* label, bool is_bare = false); 799 void Bnez(Register rt, MipsLabel* label, bool is_bare = false); 800 void Bltz(Register rt, MipsLabel* label, boo [all...] |
H A D | assembler_mips.cc | 59 // the PC of the label preceding it so that no unconditional branch 64 // Otherwise wait for another instruction or label before we can 65 // commit the label PC. The label PC will be dropped if instead 66 // of another instruction or label there's a call from the code 136 // the label before it (if any) and clear the delay slot. 160 // Commit the last branch target label (if any) and disable instruction reordering. 230 // been promoted), adjust the target label PCs. 947 // do not commit the label before it (if any). 962 // Move the patcher label alon 3494 BindRelativeToPrecedingBranch(MipsLabel* label, uint32_t prev_branch_id_plus_one, uint32_t position) argument 3505 Bind(MipsLabel* label) argument 3575 FinalizeLabeledBranch(MipsLabel* label) argument 3736 Buncond(MipsLabel* label, bool is_r6, bool is_bare) argument 3743 Bcond(MipsLabel* label, bool is_r6, bool is_bare, BranchCondition condition, Register lhs, Register rhs) argument 3759 Call(MipsLabel* label, bool is_r6, bool is_bare) argument 3766 LoadLabelAddress(Register dest_reg, Register base_reg, MipsLabel* label) argument 3788 MipsLabel* label = literal->GetLabel(); local 3812 MipsLabel* label = literal.GetLabel(); local 3826 MipsLabel* label = table.GetLabel(); local 4282 B(MipsLabel* label, bool is_bare) argument 4286 Bal(MipsLabel* label, bool is_bare) argument 4290 Beq(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4294 Bne(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4298 Beqz(Register rt, MipsLabel* label, bool is_bare) argument 4302 Bnez(Register rt, MipsLabel* label, bool is_bare) argument 4306 Bltz(Register rt, MipsLabel* label, bool is_bare) argument 4310 Bgez(Register rt, MipsLabel* label, bool is_bare) argument 4314 Blez(Register rt, MipsLabel* label, bool is_bare) argument 4318 Bgtz(Register rt, MipsLabel* label, bool is_bare) argument 4370 Blt(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4380 Bge(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4392 Bltu(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4402 Bgeu(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4414 Bc1f(MipsLabel* label, bool is_bare) argument 4418 Bc1f(int cc, MipsLabel* label, bool is_bare) argument 4423 Bc1t(MipsLabel* label, bool is_bare) argument 4427 Bc1t(int cc, MipsLabel* label, bool is_bare) argument 4432 Bc(MipsLabel* label, bool is_bare) argument 4436 Balc(MipsLabel* label, bool is_bare) argument 4440 Beqc(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4444 Bnec(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4448 Beqzc(Register rt, MipsLabel* label, bool is_bare) argument 4452 Bnezc(Register rt, MipsLabel* label, bool is_bare) argument 4456 Bltzc(Register rt, MipsLabel* label, bool is_bare) argument 4460 Bgezc(Register rt, MipsLabel* label, bool is_bare) argument 4464 Blezc(Register rt, MipsLabel* label, bool is_bare) argument 4468 Bgtzc(Register rt, MipsLabel* label, bool is_bare) argument 4472 Bltc(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4476 Bgec(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4480 Bltuc(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4484 Bgeuc(Register rs, Register rt, MipsLabel* label, bool is_bare) argument 4488 Bc1eqz(FRegister ft, MipsLabel* label, bool is_bare) argument 4492 Bc1nez(FRegister ft, MipsLabel* label, bool is_bare) argument [all...] |
H A D | assembler_mips32r6_test.cc | 313 mips::MipsLabel label; local 314 (Base::GetAssembler()->*f)(mips::A0, &label, is_bare); 319 __ Bind(&label); 324 (Base::GetAssembler()->*f)(mips::A1, &label, is_bare); 347 mips::MipsLabel label; local 348 (Base::GetAssembler()->*f)(mips::A0, mips::A1, &label, is_bare); 353 __ Bind(&label); 358 (Base::GetAssembler()->*f)(mips::A2, mips::A3, &label, is_bare); 380 mips::MipsLabel label; local 381 (Base::GetAssembler()->*f)(mips::F0, &label, is_bar 1311 mips::MipsLabel label; local 1356 mips::MipsLabel label; local 1447 mips::MipsLabel label; local 1472 mips::MipsLabel label; local 1592 mips::MipsLabel label, patcher_label1, patcher_label2; local 1643 mips::MipsLabel label; local 1659 mips::MipsLabel label; local [all...] |
/art/compiler/utils/arm64/ |
H A D | assembler_arm64.h | 112 void Bind(Label* label ATTRIBUTE_UNUSED) OVERRIDE { 115 void Jump(Label* label ATTRIBUTE_UNUSED) OVERRIDE {
|
H A D | jni_macro_assembler_arm64.h | 174 // Create a new label that can be used with Jump/Bind calls. 176 // Emit an unconditional jump to the label. 177 void Jump(JNIMacroLabel* label) OVERRIDE; 178 // Emit a conditional jump to the label by applying a unary condition test to the register. 179 void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) OVERRIDE; 181 void Bind(JNIMacroLabel* label) OVERRIDE;
|
/art/disassembler/ |
H A D | disassembler_arm.cc | 50 DisassemblerStream& operator<<(const PrintLabel& label) OVERRIDE { 51 const LocationType type = label.GetLocationType(); 66 const int32_t offset = label.GetImmediate(); 72 return DisassemblerStream::operator<<(label);
|
/art/compiler/utils/mips64/ |
H A D | assembler_mips64.h | 36 #include "utils/label.h" 918 void Bind(Label* label) OVERRIDE { 919 Bind(down_cast<Mips64Label*>(label)); 921 void Jump(Label* label ATTRIBUTE_UNUSED) OVERRIDE { 925 void Bind(Mips64Label* label); 931 // Create a new label that can be used with Jump/Bind calls. 936 // Emit an unconditional jump to the label. 937 void Jump(JNIMacroLabel* label ATTRIBUTE_UNUSED) OVERRIDE { 941 // Emit a conditional jump to the label by applying a unary condition test to the register. 942 void Jump(JNIMacroLabel* label ATTRIBUTE_UNUSE [all...] |
H A D | assembler_mips64.cc | 2621 // Near label. 2632 // Far label. 2708 // Near label. 2792 void Mips64Assembler::Bind(Mips64Label* label) { argument 2793 CHECK(!label->IsBound()); 2796 // Walk the list of branches referring to and preceding this label. 2798 while (label->IsLinked()) { 2799 uint32_t branch_id = label->Position(); 2809 label->position_ = prev; 2812 // Now make the label objec 2858 FinalizeLabeledBranch(Mips64Label* label) argument 2877 Buncond(Mips64Label* label, bool is_bare) argument 2883 Bcond(Mips64Label* label, bool is_r6, bool is_bare, BranchCondition condition, GpuRegister lhs, GpuRegister rhs) argument 2898 Call(Mips64Label* label, bool is_bare) argument 2904 LoadLabelAddress(GpuRegister dest_reg, Mips64Label* label) argument 2945 Mips64Label* label = literal->GetLabel(); local 2961 Mips64Label* label = table.GetLabel(); local 3015 Mips64Label* label = literal.GetLabel(); local 3029 Mips64Label* label = literal.GetLabel(); local 3252 Bc(Mips64Label* label, bool is_bare) argument 3256 Balc(Mips64Label* label, bool is_bare) argument 3260 Bltc(GpuRegister rs, GpuRegister rt, Mips64Label* label, bool is_bare) argument 3264 Bltzc(GpuRegister rt, Mips64Label* label, bool is_bare) argument 3268 Bgtzc(GpuRegister rt, Mips64Label* label, bool is_bare) argument 3272 Bgec(GpuRegister rs, GpuRegister rt, Mips64Label* label, bool is_bare) argument 3276 Bgezc(GpuRegister rt, Mips64Label* label, bool is_bare) argument 3280 Blezc(GpuRegister rt, Mips64Label* label, bool is_bare) argument 3284 Bltuc(GpuRegister rs, GpuRegister rt, Mips64Label* label, bool is_bare) argument 3288 Bgeuc(GpuRegister rs, GpuRegister rt, Mips64Label* label, bool is_bare) argument 3292 Beqc(GpuRegister rs, GpuRegister rt, Mips64Label* label, bool is_bare) argument 3296 Bnec(GpuRegister rs, GpuRegister rt, Mips64Label* label, bool is_bare) argument 3300 Beqzc(GpuRegister rs, Mips64Label* label, bool is_bare) argument 3304 Bnezc(GpuRegister rs, Mips64Label* label, bool is_bare) argument 3308 Bc1eqz(FpuRegister ft, Mips64Label* label, bool is_bare) argument 3312 Bc1nez(FpuRegister ft, Mips64Label* label, bool is_bare) argument 3316 Bltz(GpuRegister rt, Mips64Label* label, bool is_bare) argument 3321 Bgtz(GpuRegister rt, Mips64Label* label, bool is_bare) argument 3326 Bgez(GpuRegister rt, Mips64Label* label, bool is_bare) argument 3331 Blez(GpuRegister rt, Mips64Label* label, bool is_bare) argument 3336 Beq(GpuRegister rs, GpuRegister rt, Mips64Label* label, bool is_bare) argument 3341 Bne(GpuRegister rs, GpuRegister rt, Mips64Label* label, bool is_bare) argument 3346 Beqz(GpuRegister rs, Mips64Label* label, bool is_bare) argument 3351 Bnez(GpuRegister rs, Mips64Label* label, bool is_bare) argument [all...] |
/art/compiler/utils/x86/ |
H A D | assembler_x86.cc | 76 void X86Assembler::call(Label* label) { argument 81 EmitLabel(label, kSize - 1); 85 void X86Assembler::call(const ExternalLabel& label) { argument 89 EmitInt32(label.address()); 2471 void X86Assembler::j(Condition condition, Label* label) { argument 2473 if (label->IsBound()) { 2476 int offset = label->Position() - buffer_.Size(); 2489 EmitLabelLink(label); 2494 void X86Assembler::j(Condition condition, NearLabel* label) { argument 2496 if (label 2510 jecxz(NearLabel* label) argument 2538 jmp(Label* label) argument 2559 jmp(NearLabel* label) argument 2715 Bind(Label* label) argument 2728 Bind(NearLabel* label) argument 2795 EmitLabel(Label* label, int instruction_size) argument 2806 EmitLabelLink(Label* label) argument 2814 EmitLabelLink(NearLabel* label) argument [all...] |
H A D | jni_macro_assembler_x86.h | 158 // Create a new label that can be used with Jump/Bind calls. 160 // Emit an unconditional jump to the label. 161 void Jump(JNIMacroLabel* label) OVERRIDE; 162 // Emit a conditional jump to the label by applying a unary condition test to the register. 163 void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) OVERRIDE; 165 void Bind(JNIMacroLabel* label) OVERRIDE;
|
H A D | assembler_x86.h | 320 void call(Label* label); 321 void call(const ExternalLabel& label); 704 void j(Condition condition, Label* label); 705 void j(Condition condition, NearLabel* label); 706 void jecxz(NearLabel* label); 710 void jmp(Label* label); 711 void jmp(NearLabel* label); 752 void Bind(Label* label) OVERRIDE; 753 void Jump(Label* label) OVERRIDE { 754 jmp(label); variable [all...] |
H A D | jni_macro_assembler_x86.cc | 531 void X86JNIMacroAssembler::Jump(JNIMacroLabel* label) { argument 532 CHECK(label != nullptr); 533 __ jmp(X86JNIMacroLabel::Cast(label)->AsX86()); 536 void X86JNIMacroAssembler::Jump(JNIMacroLabel* label, argument 539 CHECK(label != nullptr); 557 __ j(x86_cond, X86JNIMacroLabel::Cast(label)->AsX86()); 564 void X86JNIMacroAssembler::Bind(JNIMacroLabel* label) { argument 565 CHECK(label != nullptr); 566 __ Bind(X86JNIMacroLabel::Cast(label)->AsX86());
|
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64.cc | 83 void X86_64Assembler::call(Label* label) { argument 88 EmitLabel(label, kSize - 1); 3005 void X86_64Assembler::j(Condition condition, Label* label) { argument 3007 if (label->IsBound()) { 3010 int offset = label->Position() - buffer_.Size(); 3023 EmitLabelLink(label); 3028 void X86_64Assembler::j(Condition condition, NearLabel* label) { argument 3030 if (label->IsBound()) { 3032 int offset = label->Position() - buffer_.Size(); 3039 EmitLabelLink(label); 3044 jrcxz(NearLabel* label) argument 3074 jmp(Label* label) argument 3095 jmp(NearLabel* label) argument 3352 Bind(Label* label) argument 3365 Bind(NearLabel* label) argument 3434 EmitLabel(Label* label, int instruction_size) argument 3445 EmitLabelLink(Label* label) argument 3453 EmitLabelLink(NearLabel* label) argument [all...] |
H A D | jni_macro_assembler_x86_64.h | 184 // Create a new label that can be used with Jump/Bind calls. 186 // Emit an unconditional jump to the label. 187 void Jump(JNIMacroLabel* label) OVERRIDE; 188 // Emit a conditional jump to the label by applying a unary condition test to the register. 189 void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) OVERRIDE; 191 void Bind(JNIMacroLabel* label) OVERRIDE;
|
H A D | assembler_x86_64.h | 365 void call(Label* label); 763 void j(Condition condition, Label* label); 764 void j(Condition condition, NearLabel* label); 765 void jrcxz(NearLabel* label); 769 void jmp(Label* label); 770 void jmp(NearLabel* label); 838 void Bind(Label* label) OVERRIDE; 839 void Jump(Label* label) OVERRIDE { 840 jmp(label); variable 842 void Bind(NearLabel* label); [all...] |
H A D | jni_macro_assembler_x86_64.cc | 598 void X86_64JNIMacroAssembler::Jump(JNIMacroLabel* label) { argument 599 CHECK(label != nullptr); 600 __ jmp(X86_64JNIMacroLabel::Cast(label)->AsX86_64()); 603 void X86_64JNIMacroAssembler::Jump(JNIMacroLabel* label, argument 606 CHECK(label != nullptr); 624 __ j(x86_64_cond, X86_64JNIMacroLabel::Cast(label)->AsX86_64()); 627 void X86_64JNIMacroAssembler::Bind(JNIMacroLabel* label) { argument 628 CHECK(label != nullptr); 629 __ Bind(X86_64JNIMacroLabel::Cast(label)->AsX86_64());
|
/art/tools/ahat/src/main/com/android/ahat/ |
H A D | ObjectHandler.java | 301 DocString label = DocString.text("→ "); 302 label.append(Summarizer.summarize(element.instance)); 303 label.append(element.field); 304 return label;
|