Home
last modified time | relevance | path

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

123

/art/compiler/utils/
Djni_macro_assembler.h202 JNIMacroLabel* label, ArrayRef<const ManagedRegister> scratch_regs) = 0;
207 virtual void TryToTransitionFromNativeToRunnable(JNIMacroLabel* label,
212 virtual void SuspendCheck(JNIMacroLabel* label) = 0;
216 virtual void ExceptionPoll(JNIMacroLabel* label) = 0;
223 virtual void Jump(JNIMacroLabel* label) = 0;
225 virtual void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) = 0;
228 JNIMacroLabel* label,
231 virtual void TestByteAndJumpIfNotZero(uintptr_t address, JNIMacroLabel* label) = 0;
233 virtual void Bind(JNIMacroLabel* label) = 0;
306 static Self* Cast(JNIMacroLabel* label) { in Cast() argument
[all …]
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.h113 JNIMacroLabel* label, ArrayRef<const ManagedRegister> scratch_regs) override;
118 void TryToTransitionFromNativeToRunnable(JNIMacroLabel* label,
123 void SuspendCheck(JNIMacroLabel* label) override;
127 void ExceptionPoll(JNIMacroLabel* label) override;
134 void Jump(JNIMacroLabel* label) override;
136 void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
138 void TestMarkBit(ManagedRegister ref, JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
140 void TestByteAndJumpIfNotZero(uintptr_t address, JNIMacroLabel* label) override;
142 void Bind(JNIMacroLabel* label) override;
Djni_macro_assembler_x86_64.cc518 JNIMacroLabel* label, [[maybe_unused]] ArrayRef<const ManagedRegister> scratch_regs) { in TryToTransitionFromRunnableToNative() argument
536 __ j(kNotZero, X86_64JNIMacroLabel::Cast(label)->AsX86_64()); in TryToTransitionFromRunnableToNative()
545 JNIMacroLabel* label, in TryToTransitionFromNativeToRunnable() argument
580 __ j(kNotZero, X86_64JNIMacroLabel::Cast(label)->AsX86_64()); in TryToTransitionFromNativeToRunnable()
590 void X86_64JNIMacroAssembler::SuspendCheck(JNIMacroLabel* label) { in SuspendCheck() argument
593 __ j(kNotZero, X86_64JNIMacroLabel::Cast(label)->AsX86_64()); in SuspendCheck()
596 void X86_64JNIMacroAssembler::ExceptionPoll(JNIMacroLabel* label) { in ExceptionPoll() argument
599 __ j(kNotEqual, X86_64JNIMacroLabel::Cast(label)->AsX86_64()); in ExceptionPoll()
616 void X86_64JNIMacroAssembler::Jump(JNIMacroLabel* label) { in Jump() argument
617 CHECK(label != nullptr); in Jump()
[all …]
/art/compiler/utils/x86/
Djni_macro_assembler_x86.h112 JNIMacroLabel* label, ArrayRef<const ManagedRegister> scratch_regs) override;
117 void TryToTransitionFromNativeToRunnable(JNIMacroLabel* label,
122 void SuspendCheck(JNIMacroLabel* label) override;
126 void ExceptionPoll(JNIMacroLabel* label) override;
133 void Jump(JNIMacroLabel* label) override;
135 void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
137 void TestMarkBit(ManagedRegister ref, JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
139 void TestByteAndJumpIfNotZero(uintptr_t address, JNIMacroLabel* label) override;
141 void Bind(JNIMacroLabel* label) override;
Djni_macro_assembler_x86.cc446 JNIMacroLabel* label, ArrayRef<const ManagedRegister> scratch_regs) { in TryToTransitionFromRunnableToNative() argument
467 __ j(kNotZero, X86JNIMacroLabel::Cast(label)->AsX86()); in TryToTransitionFromRunnableToNative()
475 JNIMacroLabel* label, in TryToTransitionFromNativeToRunnable() argument
517 __ j(kNotZero, X86JNIMacroLabel::Cast(label)->AsX86()); in TryToTransitionFromNativeToRunnable()
525 void X86JNIMacroAssembler::SuspendCheck(JNIMacroLabel* label) { in SuspendCheck() argument
528 __ j(kNotZero, X86JNIMacroLabel::Cast(label)->AsX86()); in SuspendCheck()
531 void X86JNIMacroAssembler::ExceptionPoll(JNIMacroLabel* label) { in ExceptionPoll() argument
533 __ j(kNotEqual, X86JNIMacroLabel::Cast(label)->AsX86()); in ExceptionPoll()
548 void X86JNIMacroAssembler::Jump(JNIMacroLabel* label) { in Jump() argument
549 CHECK(label != nullptr); in Jump()
[all …]
Dassembler_x86.cc83 void X86Assembler::call(Label* label) { in call() argument
88 EmitLabel(label, kSize - 1); in call()
92 void X86Assembler::call(const ExternalLabel& label) { in call() argument
96 EmitInt32(label.address()); in call()
3591 void X86Assembler::j(Condition condition, Label* label) { in j() argument
3593 if (label->IsBound()) { in j()
3596 int offset = label->Position() - buffer_.Size(); in j()
3609 EmitLabelLink(label); in j()
3614 void X86Assembler::j(Condition condition, NearLabel* label) { in j() argument
3616 if (label->IsBound()) { in j()
[all …]
Dassembler_x86.h390 void call(Label* label);
391 void call(const ExternalLabel& label);
860 void j(Condition condition, Label* label);
861 void j(Condition condition, NearLabel* label);
862 void jecxz(NearLabel* label);
866 void jmp(Label* label);
867 void jmp(NearLabel* label);
970 void Bind(Label* label) override;
971 void Jump(Label* label) override { in Jump() argument
972 jmp(label); in Jump()
[all …]
/art/compiler/utils/riscv64/
Djni_macro_assembler_riscv64.h113 void TryToTransitionFromRunnableToNative(JNIMacroLabel* label,
119 void TryToTransitionFromNativeToRunnable(JNIMacroLabel* label,
124 void SuspendCheck(JNIMacroLabel* label) override;
128 void ExceptionPoll(JNIMacroLabel* label) override;
135 void Jump(JNIMacroLabel* label) override;
137 void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
139 void TestMarkBit(ManagedRegister ref, JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
141 void TestByteAndJumpIfNotZero(uintptr_t address, JNIMacroLabel* label) override;
143 void Bind(JNIMacroLabel* label) override;
Djni_macro_assembler_riscv64.cc458 JNIMacroLabel* label, in TryToTransitionFromRunnableToNative() argument
480 __ Bnez(scratch, Riscv64JNIMacroLabel::Cast(label)->AsRiscv64()); in TryToTransitionFromRunnableToNative()
490 JNIMacroLabel* label, in TryToTransitionFromNativeToRunnable() argument
518 __ Bne(scratch, scratch2, Riscv64JNIMacroLabel::Cast(label)->AsRiscv64()); in TryToTransitionFromNativeToRunnable()
529 void Riscv64JNIMacroAssembler::SuspendCheck(JNIMacroLabel* label) { in SuspendCheck() argument
535 __ Bnez(tmp, Riscv64JNIMacroLabel::Cast(label)->AsRiscv64()); in SuspendCheck()
538 void Riscv64JNIMacroAssembler::ExceptionPoll(JNIMacroLabel* label) { in ExceptionPoll() argument
542 __ Bnez(tmp, Riscv64JNIMacroLabel::Cast(label)->AsRiscv64()); in ExceptionPoll()
560 void Riscv64JNIMacroAssembler::Jump(JNIMacroLabel* label) { in Jump() argument
561 CHECK(label != nullptr); in Jump()
[all …]
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.h123 JNIMacroLabel* label, ArrayRef<const ManagedRegister> scratch_regs) override;
128 void TryToTransitionFromNativeToRunnable(JNIMacroLabel* label,
133 void SuspendCheck(JNIMacroLabel* label) override;
137 void ExceptionPoll(JNIMacroLabel* label) override;
144 void Jump(JNIMacroLabel* label) override;
146 void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
148 void TestMarkBit(ManagedRegister ref, JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
150 void TestByteAndJumpIfNotZero(uintptr_t address, JNIMacroLabel* label) override;
152 void Bind(JNIMacroLabel* label) override;
Dassembler_arm_vixl.cc444 vixl32::Label* label, in CompareAndBranchIfZero() argument
446 if (!is_far_target && rn.IsLow() && !label->IsBound()) { in CompareAndBranchIfZero()
451 Cbz(rn, label); in CompareAndBranchIfZero()
455 B(eq, label, is_far_target); in CompareAndBranchIfZero()
459 vixl32::Label* label, in CompareAndBranchIfNonZero() argument
461 if (!is_far_target && rn.IsLow() && !label->IsBound()) { in CompareAndBranchIfNonZero()
462 Cbnz(rn, label); in CompareAndBranchIfNonZero()
466 B(ne, label, is_far_target); in CompareAndBranchIfNonZero()
469 void ArmVIXLMacroAssembler::B(vixl32::Label* label) { in B() argument
470 if (!label->IsBound()) { in B()
[all …]
Dassembler_arm_vixl.h87 vixl32::Label* label,
90 vixl32::Label* label,
161 void B(vixl32::Label* label);
165 void B(vixl32::Condition cond, vixl32::Label* label, bool is_far_target = true);
223 void Bind([[maybe_unused]] Label* label) override { in Bind() argument
226 void Jump([[maybe_unused]] Label* label) override { in Jump() argument
230 void Bind(vixl::aarch32::Label* label) { in Bind() argument
231 vixl_masm_.Bind(label); in Bind()
233 void Jump(vixl::aarch32::Label* label) { in Jump() argument
234 vixl_masm_.B(label); in Jump()
Djni_macro_assembler_arm_vixl.cc898 JNIMacroLabel* label, ArrayRef<const ManagedRegister> scratch_regs) { in TryToTransitionFromRunnableToNative() argument
916 ___ B(ne, ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); in TryToTransitionFromRunnableToNative()
927 JNIMacroLabel* label, in TryToTransitionFromNativeToRunnable() argument
953 ___ B(ne, ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); in TryToTransitionFromNativeToRunnable()
965 void ArmVIXLJNIMacroAssembler::SuspendCheck(JNIMacroLabel* label) { in SuspendCheck() argument
974 ___ BPreferNear(ne, ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); in SuspendCheck()
978 void ArmVIXLJNIMacroAssembler::ExceptionPoll(JNIMacroLabel* label) { in ExceptionPoll() argument
987 ___ BPreferNear(ne, ArmVIXLJNIMacroLabel::Cast(label)->AsArm()); in ExceptionPoll()
1009 void ArmVIXLJNIMacroAssembler::Jump(JNIMacroLabel* label) { in Jump() argument
1010 CHECK(label != nullptr); in Jump()
[all …]
/art/compiler/utils/arm64/
Djni_macro_assembler_arm64.h125 JNIMacroLabel* label, ArrayRef<const ManagedRegister> scratch_regs) override;
130 void TryToTransitionFromNativeToRunnable(JNIMacroLabel* label,
135 void SuspendCheck(JNIMacroLabel* label) override;
139 void ExceptionPoll(JNIMacroLabel* label) override;
146 void Jump(JNIMacroLabel* label) override;
148 void TestGcMarking(JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
150 void TestMarkBit(ManagedRegister ref, JNIMacroLabel* label, JNIMacroUnaryCondition cond) override;
152 void TestByteAndJumpIfNotZero(uintptr_t address, JNIMacroLabel* label) override;
154 void Bind(JNIMacroLabel* label) override;
Dassembler_arm64.h148 void Bind([[maybe_unused]] Label* label) override { in Bind() argument
151 void Jump([[maybe_unused]] Label* label) override { in Jump() argument
155 void Bind(vixl::aarch64::Label* label) { in Bind() argument
156 vixl_masm_.Bind(label); in Bind()
158 void Jump(vixl::aarch64::Label* label) { in Jump() argument
159 vixl_masm_.B(label); in Jump()
Djni_macro_assembler_arm64.cc710 JNIMacroLabel* label, [[maybe_unused]] ArrayRef<const ManagedRegister> scratch_regs) { in TryToTransitionFromRunnableToNative() argument
729 ___ Cbnz(scratch, Arm64JNIMacroLabel::Cast(label)->AsArm64()); in TryToTransitionFromRunnableToNative()
738 JNIMacroLabel* label, in TryToTransitionFromNativeToRunnable() argument
763 ___ B(ne, Arm64JNIMacroLabel::Cast(label)->AsArm64()); in TryToTransitionFromNativeToRunnable()
773 void Arm64JNIMacroAssembler::SuspendCheck(JNIMacroLabel* label) { in SuspendCheck() argument
778 ___ B(ne, Arm64JNIMacroLabel::Cast(label)->AsArm64()); in SuspendCheck()
781 void Arm64JNIMacroAssembler::ExceptionPoll(JNIMacroLabel* label) { in ExceptionPoll() argument
785 ___ Cbnz(scratch, Arm64JNIMacroLabel::Cast(label)->AsArm64()); in ExceptionPoll()
805 void Arm64JNIMacroAssembler::Jump(JNIMacroLabel* label) { in Jump() argument
806 CHECK(label != nullptr); in Jump()
[all …]
/art/runtime/base/
Dtiming_logger.h67 void AddPair(const char* label, uint64_t delta_time) REQUIRES(GetLock());
184 ScopedTiming(const char* label, TimingLogger* logger) : logger_(logger) { in ScopedTiming() argument
185 logger_->StartTiming(label); in ScopedTiming()
191 void NewTiming(const char* label) { in NewTiming() argument
192 logger_->NewTiming(label); in NewTiming()
Dtiming_logger.cc89 void CumulativeLogger::AddPair(const char* label, uint64_t delta_time) { in AddPair() argument
93 CumulativeTime candidate(label, delta_time); in AddPair()
97 if (it == cumulative_timers_.end() || it->Name() != label) { in AddPair()
139 void TimingLogger::StartTiming(const char* label) { in StartTiming() argument
140 DCHECK(label != nullptr); in StartTiming()
141 timings_.push_back(Timing(kind_, label)); in StartTiming()
142 ATraceBegin(label); in StartTiming()
/art/test/800-smali/smali/
Db_21614284.smali17 if-nez p0, :label
18 :label
/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 DisassemblerStream::operator<<(label); in operator <<()
77 uintptr_t address = label.GetLocation() + (options_->absolute_addresses_ ? 0u : begin); in operator <<()
88 return DisassemblerStream::operator<<(label); in operator <<()
/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/runtime/arch/x86/
Dasm_support_x86.S242 MACRO3(SETUP_PC_REL_BASE_IMPL, reg, label, call_label)
245 RAW_VAR(label):
254 MACRO2(SETUP_PC_REL_BASE, reg, label)
255 SETUP_PC_REL_BASE_IMPL \reg, \label, \label
/art/test/503-dead-instructions/smali/
DDeadInstructions.smali22 # Create a label and a branch to that label to trick the
/art/tools/ahat/src/main/com/android/ahat/
DObjectHandler.java288 DocString label = DocString.text("→ "); in printGcRootPath()
289 label.append(Summarizer.summarize(element.instance)); in printGcRootPath()
290 label.append(element.field); in printGcRootPath()
291 return label; in printGcRootPath()
/art/runtime/arch/arm/
Djni_entrypoints_arm.S59 .macro JNI_SAVE_RETURN_VALUE_TRAMPOLINE name, cxx_name, arg1, arg2 = "none", label = "none"
62 .ifnc \label, none
63 \label:

123