Flutter Engine
The Flutter Engine
third_party
dart-lang
sdk
runtime
vm
compiler
asm_intrinsifier.h
Go to the documentation of this file.
1
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4
// Class for intrinsifying functions.
5
6
#ifndef RUNTIME_VM_COMPILER_ASM_INTRINSIFIER_H_
7
#define RUNTIME_VM_COMPILER_ASM_INTRINSIFIER_H_
8
9
#if defined(DART_PRECOMPILED_RUNTIME)
10
#error "AOT runtime should not use compiler sources (including header files)"
11
#endif
// defined(DART_PRECOMPILED_RUNTIME)
12
13
#include "
vm/allocation.h
"
14
#include "
vm/compiler/assembler/assembler.h
"
15
#include "
vm/compiler/recognized_methods_list.h
"
16
17
namespace
dart
{
18
19
// Forward declarations.
20
class
FlowGraphCompiler;
21
class
Function;
22
class
TargetEntryInstr;
23
class
ParsedFunction;
24
class
FlowGraph;
25
26
namespace
compiler
{
27
class
Assembler;
28
class
Intrinsifier;
29
class
Label;
30
31
class
AsmIntrinsifier
:
public
AllStatic
{
32
private
:
33
friend
class
Intrinsifier
;
34
35
#define DECLARE_FUNCTION(class_name, function_name, enum_name, fp) \
36
static void enum_name(Assembler* assembler, Label* normal_ir_body);
37
ALL_INTRINSICS_LIST
(
DECLARE_FUNCTION
)
38
39
#undef DECLARE_FUNCTION
40
41
static
void
IntrinsifyRegExpExecuteMatch(Assembler* assembler,
42
Label* normal_ir_body,
43
bool
sticky);
44
45
static
void
StringEquality(Assembler* assembler,
46
Register
obj1,
47
Register
obj2,
48
Register
temp1,
49
Register
temp2,
50
Register
result
,
51
Label* normal_ir_body,
52
intptr_t string_cid);
53
};
54
55
}
// namespace compiler
56
}
// namespace dart
57
58
#endif
// RUNTIME_VM_COMPILER_ASM_INTRINSIFIER_H_
DECLARE_FUNCTION
#define DECLARE_FUNCTION(class_name, function_name, enum_name, fp)
Definition:
asm_intrinsifier.h:35
assembler.h
dart::AllStatic
Definition:
allocation.h:33
dart::compiler::AsmIntrinsifier
Definition:
asm_intrinsifier.h:31
dart::compiler::Intrinsifier
Definition:
intrinsifier.h:29
result
GAsyncResult * result
Definition:
fl_text_input_plugin.cc:106
compiler
Definition:
compiler.py:1
dart
Definition:
dart_vm.cc:33
dart::Register
Register
Definition:
constants_arm.h:81
recognized_methods_list.h
ALL_INTRINSICS_LIST
#define ALL_INTRINSICS_LIST(V)
Definition:
recognized_methods_list.h:519
allocation.h
Generated on Sun Jun 23 2024 21:55:26 for Flutter Engine by
1.9.4