Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 54) sorted by relevance

123

/art/compiler/utils/arm/
Dassembler_arm_vixl.cc458 vixl32::Label* label, in CompareAndBranchIfZero() argument
460 if (!is_far_target && rn.IsLow() && !label->IsBound()) { in CompareAndBranchIfZero()
465 Cbz(rn, label); in CompareAndBranchIfZero()
469 B(eq, label, is_far_target); in CompareAndBranchIfZero()
473 vixl32::Label* label, in CompareAndBranchIfNonZero() argument
475 if (!is_far_target && rn.IsLow() && !label->IsBound()) { in CompareAndBranchIfNonZero()
476 Cbnz(rn, label); in CompareAndBranchIfNonZero()
480 B(ne, label, is_far_target); in CompareAndBranchIfNonZero()
483 void ArmVIXLMacroAssembler::B(vixl32::Label* label) { in B() argument
484 if (!label->IsBound()) { in B()
[all …]
Dassembler_arm_vixl.h61 vixl32::Label* label,
64 vixl32::Label* label,
135 void B(vixl32::Label* label);
139 void B(vixl32::Condition cond, vixl32::Label* label, bool is_far_target = true);
173 void Bind(Label* label ATTRIBUTE_UNUSED) override { in Bind()
176 void Jump(Label* label ATTRIBUTE_UNUSED) override { in Jump()
Djni_macro_assembler_arm_vixl.cc625 vixl32::Label* label = exception_blocks_.back()->Entry(); in ExceptionPoll() local
626 ___ BPreferNear(ne, label); in ExceptionPoll()
634 void ArmVIXLJNIMacroAssembler::Jump(JNIMacroLabel* label) { in Jump() argument
635 CHECK(label != nullptr); in Jump()
636 ___ B(ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); in Jump()
639 void ArmVIXLJNIMacroAssembler::Jump(JNIMacroLabel* label, in Jump() argument
642 CHECK(label != nullptr); in Jump()
649 ___ CompareAndBranchIfZero(test, ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); in Jump()
652 ___ CompareAndBranchIfNonZero(test, ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); in Jump()
660 void ArmVIXLJNIMacroAssembler::Bind(JNIMacroLabel* label) { in Bind() argument
[all …]
Djni_macro_assembler_arm_vixl.h196 void Jump(JNIMacroLabel* label) override;
198 void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) override;
200 void Bind(JNIMacroLabel* label) override;
/art/runtime/base/
Dtiming_logger.h62 void AddPair(const std::string &label, uint64_t delta_time) REQUIRES(GetLock());
182 ScopedTiming(const char* label, TimingLogger* logger) : logger_(logger) { in ScopedTiming() argument
183 logger_->StartTiming(label); in ScopedTiming()
189 void NewTiming(const char* label) { in NewTiming() argument
190 logger_->NewTiming(label); in NewTiming()
Dtiming_logger.cc94 void CumulativeLogger::AddPair(const std::string& label, uint64_t delta_time) { in AddPair() argument
99 Histogram<uint64_t> dummy(label.c_str()); in AddPair()
104 histogram = new Histogram<uint64_t>(label.c_str(), kInitialBucketSize, max_buckets); in AddPair()
144 void TimingLogger::StartTiming(const char* label) { in StartTiming() argument
145 DCHECK(label != nullptr); in StartTiming()
146 timings_.push_back(Timing(kind_, label)); in StartTiming()
147 ATraceBegin(label); in StartTiming()
/art/compiler/utils/
Djni_macro_assembler.h212 virtual void Jump(JNIMacroLabel* label) = 0;
214 virtual void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) = 0;
216 virtual void Bind(JNIMacroLabel* label) = 0;
287 static Self* Cast(JNIMacroLabel* label) { in Cast() argument
288 CHECK(label != nullptr); in Cast()
289 CHECK_EQ(kIsa, label->isa_); in Cast()
291 return reinterpret_cast<Self*>(label); in Cast()
/art/test/800-smali/smali/
Db_21614284.smali17 if-nez p0, :label
18 :label
/art/test/1339-dead-reference-safe/src/
DMain.java41 public static void $noinline$gcAndCheck(AtomicInteger counter, int expected, String label, in $noinline$gcAndCheck() argument
46 System.out.println(label + " count: " + count); in $noinline$gcAndCheck()
/art/compiler/utils/mips/
Dassembler_mips.h774 void Bind(MipsLabel* label);
799 void B(MipsLabel* label, bool is_bare = false);
800 void Bal(MipsLabel* label, bool is_bare = false);
801 void Beq(Register rs, Register rt, MipsLabel* label, bool is_bare = false);
802 void Bne(Register rs, Register rt, MipsLabel* label, bool is_bare = false);
803 void Beqz(Register rt, MipsLabel* label, bool is_bare = false);
804 void Bnez(Register rt, MipsLabel* label, bool is_bare = false);
805 void Bltz(Register rt, MipsLabel* label, bool is_bare = false);
806 void Bgez(Register rt, MipsLabel* label, bool is_bare = false);
807 void Blez(Register rt, MipsLabel* label, bool is_bare = false);
[all …]
Dassembler_mips.cc3514 void MipsAssembler::BindRelativeToPrecedingBranch(MipsLabel* label, in BindRelativeToPrecedingBranch() argument
3521 label->prev_branch_id_plus_one_ = prev_branch_id_plus_one; in BindRelativeToPrecedingBranch()
3522 label->BindTo(position); in BindRelativeToPrecedingBranch()
3525 void MipsAssembler::Bind(MipsLabel* label) { in Bind() argument
3526 CHECK(!label->IsBound()); in Bind()
3534 while (label->IsLinked()) { in Bind()
3535 uint32_t branch_id = label->Position(); in Bind()
3545 label->position_ = prev; in Bind()
3550 BindRelativeToPrecedingBranch(label, branches_.size(), bound_pc); in Bind()
3553 uint32_t MipsAssembler::GetLabelLocation(const MipsLabel* label) const { in GetLabelLocation()
[all …]
Dassembler_mips32r6_test.cc323 mips::MipsLabel label; in BranchCondOneRegHelper() local
324 (Base::GetAssembler()->*f)(mips::A0, &label, is_bare); in BranchCondOneRegHelper()
329 __ Bind(&label); in BranchCondOneRegHelper()
334 (Base::GetAssembler()->*f)(mips::A1, &label, is_bare); in BranchCondOneRegHelper()
357 mips::MipsLabel label; in BranchCondTwoRegsHelper() local
358 (Base::GetAssembler()->*f)(mips::A0, mips::A1, &label, is_bare); in BranchCondTwoRegsHelper()
363 __ Bind(&label); in BranchCondTwoRegsHelper()
368 (Base::GetAssembler()->*f)(mips::A2, mips::A3, &label, is_bare); in BranchCondTwoRegsHelper()
390 mips::MipsLabel label; in BranchFpuCondHelper() local
391 (Base::GetAssembler()->*f)(mips::F0, &label, is_bare); in BranchFpuCondHelper()
[all …]
/art/libdexfile/dex/
Ddex_file_verifier.h67 bool CheckListSize(const void* start, size_t count, size_t element_size, const char* label);
70 bool CheckList(size_t element_size, const char* label, const uint8_t* *ptr);
73 bool CheckValidOffsetAndSize(uint32_t offset, uint32_t size, size_t alignment, const char* label);
75 bool CheckSizeLimit(uint32_t size, uint32_t limit, const char* label);
76 bool CheckIndex(uint32_t field, uint32_t limit, const char* label);
/art/compiler/utils/mips64/
Dassembler_mips64.cc2812 void Mips64Assembler::Bind(Mips64Label* label) { in Bind() argument
2813 CHECK(!label->IsBound()); in Bind()
2818 while (label->IsLinked()) { in Bind()
2819 uint32_t branch_id = label->Position(); in Bind()
2829 label->position_ = prev; in Bind()
2834 label->prev_branch_id_plus_one_ = branches_.size(); in Bind()
2835 if (label->prev_branch_id_plus_one_) { in Bind()
2836 uint32_t branch_id = label->prev_branch_id_plus_one_ - 1; in Bind()
2840 label->BindTo(bound_pc); in Bind()
2843 uint32_t Mips64Assembler::GetLabelLocation(const Mips64Label* label) const { in GetLabelLocation()
[all …]
Dassembler_mips64.h923 void Bind(Label* label) override { in Bind() argument
924 Bind(down_cast<Mips64Label*>(label)); in Bind()
926 void Jump(Label* label ATTRIBUTE_UNUSED) override { in Jump()
930 void Bind(Mips64Label* label);
942 void Jump(JNIMacroLabel* label ATTRIBUTE_UNUSED) override { in Jump()
947 void Jump(JNIMacroLabel* label ATTRIBUTE_UNUSED, in Jump()
955 void Bind(JNIMacroLabel* label ATTRIBUTE_UNUSED) override { in Bind()
970 void LoadLabelAddress(GpuRegister dest_reg, Mips64Label* label);
1005 void Bc(Mips64Label* label, bool is_bare = false);
1006 void Balc(Mips64Label* label, bool is_bare = false);
[all …]
/art/compiler/utils/x86/
Dassembler_x86.cc168 void X86Assembler::call(Label* label) { in call() argument
173 EmitLabel(label, kSize - 1); in call()
177 void X86Assembler::call(const ExternalLabel& label) { in call() argument
181 EmitInt32(label.address()); in call()
2708 void X86Assembler::j(Condition condition, Label* label) { in j() argument
2710 if (label->IsBound()) { in j()
2713 int offset = label->Position() - buffer_.Size(); in j()
2726 EmitLabelLink(label); in j()
2731 void X86Assembler::j(Condition condition, NearLabel* label) { in j() argument
2733 if (label->IsBound()) { in j()
[all …]
Dassembler_x86.h320 void call(Label* label);
321 void call(const ExternalLabel& label);
718 void j(Condition condition, Label* label);
719 void j(Condition condition, NearLabel* label);
720 void jecxz(NearLabel* label);
724 void jmp(Label* label);
725 void jmp(NearLabel* label);
766 void Bind(Label* label) override;
767 void Jump(Label* label) override { in Jump() argument
768 jmp(label); in Jump()
[all …]
Djni_macro_assembler_x86.h161 void Jump(JNIMacroLabel* label) override;
163 void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) override;
165 void Bind(JNIMacroLabel* label) override;
Djni_macro_assembler_x86.cc530 void X86JNIMacroAssembler::Jump(JNIMacroLabel* label) { in Jump() argument
531 CHECK(label != nullptr); in Jump()
532 __ jmp(X86JNIMacroLabel::Cast(label)->AsX86()); in Jump()
535 void X86JNIMacroAssembler::Jump(JNIMacroLabel* label, in Jump() argument
538 CHECK(label != nullptr); in Jump()
556 __ j(x86_cond, X86JNIMacroLabel::Cast(label)->AsX86()); in Jump()
563 void X86JNIMacroAssembler::Bind(JNIMacroLabel* label) { in Bind() argument
564 CHECK(label != nullptr); in Bind()
565 __ Bind(X86JNIMacroLabel::Cast(label)->AsX86()); in Bind()
/art/disassembler/
Ddisassembler_arm.cc50 DisassemblerStream& operator<<(const PrintLabel& label) override { in operator <<() argument
51 const LocationType type = label.GetLocationType(); in operator <<()
66 const int32_t offset = label.GetImmediate(); in operator <<()
72 return DisassemblerStream::operator<<(label); in operator <<()
/art/compiler/utils/arm64/
Dassembler_arm64.h116 void Bind(Label* label ATTRIBUTE_UNUSED) override { in Bind()
119 void Jump(Label* label ATTRIBUTE_UNUSED) override { in Jump()
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.h187 void Jump(JNIMacroLabel* label) override;
189 void Jump(JNIMacroLabel* label, JNIMacroUnaryCondition cond, ManagedRegister test) override;
191 void Bind(JNIMacroLabel* label) override;
Dassembler_x86_64.cc176 void X86_64Assembler::call(Label* label) { in call() argument
181 EmitLabel(label, kSize - 1); in call()
3197 void X86_64Assembler::j(Condition condition, Label* label) { in j() argument
3199 if (label->IsBound()) { in j()
3202 int offset = label->Position() - buffer_.Size(); in j()
3215 EmitLabelLink(label); in j()
3220 void X86_64Assembler::j(Condition condition, NearLabel* label) { in j() argument
3222 if (label->IsBound()) { in j()
3224 int offset = label->Position() - buffer_.Size(); in j()
3231 EmitLabelLink(label); in j()
[all …]
/art/test/503-dead-instructions/smali/
DDeadInstructions.smali22 # Create a label and a branch to that label to trick the
/art/compiler/optimizing/
Dcode_generator_mips.cc1596 DCHECK(info.label.IsBound()); in EmitPcRelativeLinkerPatches()
1597 uint32_t literal_offset = __ GetLabelLocation(&info.label); in EmitPcRelativeLinkerPatches()
1737 __ Bind(&info_high->label); in EmitPcRelativeAddressPlaceholderHigh()
1748 __ Bind(&info_high->label); in EmitPcRelativeAddressPlaceholderHigh()
1768 __ Addiu(reg, TMP, /* imm16= */ 0x5678, &info_low->label); in LoadBootImageAddress()
1773 __ Lw(reg, reg, /* imm16= */ 0x5678, &info_low->label); in LoadBootImageAddress()
1797 __ Addiu(argument, argument, /* imm16= */ 0x5678, &info_low->label); in AllocateInstanceForIntrinsic()
4650 MipsLabel* label) { in GenerateIntCompareAndBranch() argument
4666 __ Beqz(lhs, label); in GenerateIntCompareAndBranch()
4670 __ Bnez(lhs, label); in GenerateIntCompareAndBranch()
[all …]

123