Home
last modified time | relevance | path

Searched refs:Label (Results 1 – 25 of 32) sorted by relevance

12

/art/compiler/utils/
Dlabel.h69 class Label {
71 Label() : position_(0) {} in Label() function
73 Label(Label&& src) in Label() function
80 ~Label() { in ~Label()
131 DISALLOW_COPY_AND_ASSIGN(Label);
Dassembler.h70 Label* Continuation() { return &continuation_; } in Continuation()
71 Label* Entry() { return &entry_; } in Entry()
77 Label entry_;
79 Label continuation_;
509 virtual void Bind(Label* label) = 0;
510 virtual void Jump(Label* label) = 0;
Dassembler_thumb_test.cc700 Label l1; in TEST_F()
705 Label l2; in TEST_F()
711 Label l3; in TEST_F()
717 Label l4; in TEST_F()
724 Label l5; in TEST_F()
738 Label l1; in TEST_F()
744 Label l2; in TEST_F()
750 Label l3; in TEST_F()
756 Label l4; in TEST_F()
763 Label l5; in TEST_F()
[all …]
/art/compiler/optimizing/
Dcode_generator_arm64.h73 vixl::Label* GetEntryLabel() { return &entry_label_; } in GetEntryLabel()
74 vixl::Label* GetExitLabel() { return &exit_label_; } in GetExitLabel()
80 vixl::Label entry_label_;
81 vixl::Label exit_label_;
91 vixl::Label* GetTableStartLabel() { return &table_start_; } in GetTableStartLabel()
97 vixl::Label table_start_;
260 vixl::Label* fixup_label = nullptr);
268 vixl::Label* true_target,
269 vixl::Label* false_target);
355 vixl::Label* GetLabelOf(HBasicBlock* block) { in GetLabelOf()
[all …]
Dcode_generator_arm.h278 Label* true_target,
279 Label* false_target);
281 Label* true_target,
282 Label* false_target);
283 void GenerateFPJumps(HCondition* cond, Label* true_label, Label* false_label);
284 void GenerateLongComparesAndJumps(HCondition* cond, Label* true_label, Label* false_label);
383 Label* GetLabelOf(HBasicBlock* block) const { in GetLabelOf()
384 return CommonGetLabelOf<Label>(block_labels_, block); in GetLabelOf()
388 block_labels_ = CommonInitializeLabels<Label>(); in Initialize()
403 Label* GetFrameEntryLabel() { return &frame_entry_label_; } in GetFrameEntryLabel()
[all …]
Dcode_generator_x86.h267 Label* fixup_label = nullptr);
407 Label* NewPcRelativeDexCacheArrayPatch(const DexFile& dex_file, uint32_t element_offset);
423 Label* GetLabelOf(HBasicBlock* block) const { in GetLabelOf()
424 return CommonGetLabelOf<Label>(block_labels_, block); in GetLabelOf()
428 block_labels_ = CommonInitializeLabels<Label>(); in Initialize()
437 Label* GetFrameEntryLabel() { return &frame_entry_label_; } in GetFrameEntryLabel()
575 Label label;
579 Label* block_labels_; // Indexed by block id.
580 Label frame_entry_label_;
588 ArenaDeque<MethodPatchInfo<Label>> method_patches_;
[all …]
Dcode_generator_x86_64.h262 Label* fixup_label = nullptr);
374 Label* GetLabelOf(HBasicBlock* block) const { in GetLabelOf()
375 return CommonGetLabelOf<Label>(block_labels_, block); in GetLabelOf()
379 block_labels_ = CommonInitializeLabels<Label>(); in Initialize()
402 Label* NewPcRelativeDexCacheArrayPatch(const DexFile& dex_file, uint32_t element_offset);
546 Label label;
550 Label* block_labels_; // Indexed by block id.
551 Label frame_entry_label_;
563 ArenaDeque<MethodPatchInfo<Label>> method_patches_;
564 ArenaDeque<MethodPatchInfo<Label>> relative_call_patches_;
[all …]
Dcode_generator_arm64.cc410 vixl::Label* GetReturnLabel() { in GetReturnLabel()
426 vixl::Label return_label_;
566 vixl::Label* target_label = codegen->GetLabelOf(successors[i]); in EmitTable()
1080 vixl::Label done; in MarkGCCard()
2196 vixl::Label done; in VisitArraySet()
2221 vixl::Label non_zero; in VisitArraySet()
2275 vixl::Label do_put; in VisitArraySet()
2808 vixl::Label* true_target, in GenerateTestAndBranch()
2809 vixl::Label* false_target) { in GenerateTestAndBranch()
2812 vixl::Label fallthrough_target; in GenerateTestAndBranch()
[all …]
Dcode_generator.h106 Label* GetEntryLabel() { return &entry_label_; } in GetEntryLabel()
107 Label* GetExitLabel() { return &exit_label_; } in GetExitLabel()
126 Label entry_label_;
127 Label exit_label_;
Dcode_generator_arm.cc133 Label* GetReturnLabel() { in GetReturnLabel()
149 Label return_label_;
953 Label* label = GetLabelOf(block); in Bind()
1257 Label* true_label, in GenerateFPJumps()
1258 Label* false_label ATTRIBUTE_UNUSED) { in GenerateFPJumps()
1264 Label* true_label, in GenerateLongComparesAndJumps()
1265 Label* false_label) { in GenerateLongComparesAndJumps()
1348 Label* true_target_in, in GenerateCompareTestAndBranch()
1349 Label* false_target_in) { in GenerateCompareTestAndBranch()
1352 Label fallthrough_target; in GenerateCompareTestAndBranch()
[all …]
Dintrinsics_arm.cc163 Label end; in GenNumberOfLeadingZeros()
204 Label end; in GenNumberOfTrailingZeros()
711 Label loop_head; in GenUnsafePut()
877 Label loop_head; in GenCas()
1045 Label loop; in VisitStringEquals()
1046 Label end; in VisitStringEquals()
1047 Label return_true; in VisitStringEquals()
1048 Label return_false; in VisitStringEquals()
1397 Label conditions_on_positions_validated; in VisitSystemArrayCopy()
1515 Label do_copy; in VisitSystemArrayCopy()
[all …]
Dintrinsics_arm64.cc1065 vixl::Label loop_head, exit_loop; in GenCas()
1229 vixl::Label loop; in VisitStringEquals()
1230 vixl::Label end; in VisitStringEquals()
1231 vixl::Label return_true; in VisitStringEquals()
1232 vixl::Label return_false; in VisitStringEquals()
1699 vixl::Label loop, done; in VisitStringGetCharsNoCheck()
1927 vixl::Label loop, done; in VisitSystemArrayCopyChar()
2017 vixl::Label conditions_on_positions_validated; in VisitSystemArrayCopy()
2136 vixl::Label do_copy; in VisitSystemArrayCopy()
2185 vixl::Label loop, done; in VisitSystemArrayCopy()
/art/runtime/base/
Dvariant_map_test.cc41 static const Key<std::string> Label; member
46 const FruitMap::Key<std::string> FruitMap::Label; member in art::__anon7e36ef1c0111::FruitMap
85 fm.Set(FruitMap::Label, std::string("hello_world")); in TEST()
86 auto* ptr = fm.Get(FruitMap::Label); in TEST()
92 fm.Set(FruitMap::Label, *ptr); in TEST()
94 auto* new_ptr = fm.Get(FruitMap::Label); in TEST()
/art/compiler/utils/arm/
Dassembler_thumb2_test.cc376 Label start, end; in TEST_F()
401 Label label0, label1, label2; in TEST_F()
435 Label label0, label1, label2; in TEST_F()
471 Label label0, label1, label2; in TEST_F()
506 Label label0, label1, label2; in TEST_F()
542 Label label0, label1, label2; in TEST_F()
577 Label label0, label1, label2; in TEST_F()
615 Label label; in TEST_F()
638 Label label; in TEST_F()
661 Label label; in TEST_F()
[all …]
Dassembler_arm.h67 Label* GetLabel() { in GetLabel()
71 const Label* GetLabel() const { in GetLabel()
76 Label label_;
86 explicit JumpTable(std::vector<Label*>&& labels) in JumpTable()
94 const std::vector<Label*>& GetData() const { in GetData()
98 Label* GetLabel() { in GetLabel()
102 const Label* GetLabel() const { in GetLabel()
106 Label* GetAnchorLabel() { in GetAnchorLabel()
110 const Label* GetAnchorLabel() const { in GetAnchorLabel()
115 Label label_;
[all …]
Dassembler_arm32.h149 void cbz(Register rn, Label* target) OVERRIDE;
150 void cbnz(Register rn, Label* target) OVERRIDE;
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;
270 void MarkExceptionHandler(Label* label) OVERRIDE;
313 void Bind(Label* label) OVERRIDE;
317 JumpTable* CreateJumpTable(std::vector<Label*>&& labels, Register base_reg) OVERRIDE;
398 void EmitBranch(Condition cond, Label* label, bool link);
Dassembler_thumb2.h194 void cbz(Register rn, Label* target) OVERRIDE;
195 void cbnz(Register rn, Label* target) OVERRIDE;
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;
319 void MarkExceptionHandler(Label* label) OVERRIDE;
364 void Bind(Label* label) OVERRIDE;
375 JumpTable* CreateJumpTable(std::vector<Label*>&& labels, Register base_reg) OVERRIDE;
[all …]
Dassembler_arm32.cc548 void Arm32Assembler::b(Label* label, Condition cond) { in b()
553 void Arm32Assembler::bl(Label* label, Condition cond) { in bl()
558 void Arm32Assembler::MarkExceptionHandler(Label* label) { in MarkExceptionHandler()
560 Label l; in MarkExceptionHandler()
709 void Arm32Assembler::EmitBranch(Condition cond, Label* label, bool link) { in EmitBranch()
1329 void Arm32Assembler::Bind(Label* label) { in Bind()
1626 void Arm32Assembler::cbz(Register rn ATTRIBUTE_UNUSED, Label* target ATTRIBUTE_UNUSED) { in cbz()
1631 void Arm32Assembler::cbnz(Register rn ATTRIBUTE_UNUSED, Label* target ATTRIBUTE_UNUSED) { in cbnz()
1636 void Arm32Assembler::CompareAndBranchIfZero(Register r, Label* label) { in CompareAndBranchIfZero()
1642 void Arm32Assembler::CompareAndBranchIfNonZero(Register r, Label* label) { in CompareAndBranchIfNonZero()
[all …]
Dassembler_arm.cc790 Label null_arg; in LoadReferenceFromHandleScope()
935 [](const Label* lhs, const Label* rhs) { return lhs->Position() < rhs->Position(); })); in FinalizeTrackedLabels()
937 Label* last_label = nullptr; // Track duplicates, we must not adjust twice. in FinalizeTrackedLabels()
938 for (Label* label : tracked_labels_) { in FinalizeTrackedLabels()
Dassembler_thumb2.cc90 void Thumb2Assembler::BindLabel(Label* label, uint32_t bound_pc) { in BindLabel()
109 Label* label = lit.GetLabel(); in BindLiterals()
118 Label* label = table.GetLabel(); in BindJumpTables()
190 Label* label = literal.GetLabel(); in AdjustFixups()
197 Label* label = table.GetLabel(); in AdjustFixups()
281 for (Label* target : table.GetData()) { in EmitJumpTables()
1136 void Thumb2Assembler::b(Label* label, Condition cond) { in b()
1142 void Thumb2Assembler::bl(Label* label, Condition cond) { in bl()
1148 void Thumb2Assembler::blx(Label* label) { in blx()
1153 void Thumb2Assembler::MarkExceptionHandler(Label* label) { in MarkExceptionHandler()
[all …]
/art/compiler/utils/x86/
Dassembler_x86.h241 class NearLabel : private Label {
243 NearLabel() : Label() {} in NearLabel()
246 using Label::Position;
247 using Label::LinkPosition;
248 using Label::IsBound;
249 using Label::IsUnused;
250 using Label::IsLinked;
253 using Label::BindTo;
254 using Label::LinkTo;
315 void call(Label* label);
[all …]
Dassembler_x86.cc49 void X86Assembler::call(Label* label) { in call()
141 void X86Assembler::movl(const Address& dst, Label* lbl) { in movl()
1565 void X86Assembler::j(Condition condition, Label* label) { in j()
1632 void X86Assembler::jmp(Label* label) { in jmp()
1788 void X86Assembler::Bind(Label* label) { in Bind()
1862 void X86Assembler::EmitLabel(Label* label, int instruction_size) { in EmitLabel()
1873 void X86Assembler::EmitLabelLink(Label* label) { in EmitLabelLink()
2295 Label null_arg; in CreateHandleScopeEntry()
2315 Label null_arg; in CreateHandleScopeEntry()
2334 Label null_arg; in LoadReferenceFromHandleScope()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h314 class NearLabel : private Label {
316 NearLabel() : Label() {} in NearLabel()
319 using Label::Position;
320 using Label::LinkPosition;
321 using Label::IsBound;
322 using Label::IsUnused;
323 using Label::IsLinked;
326 using Label::BindTo;
327 using Label::LinkTo;
345 void call(Label* label);
[all …]
/art/compiler/utils/arm64/
Dassembler_arm64.h71 vixl::Label* Entry() { return &exception_entry_; } in Entry()
79 vixl::Label exception_entry_;
218 void Bind(Label* label ATTRIBUTE_UNUSED) OVERRIDE { in Bind()
221 void Jump(Label* label ATTRIBUTE_UNUSED) OVERRIDE { in Jump()
/art/test/509-pre-header/smali/
DPreHeader.smali19 # Label names in this method are taken from the original apk

12