Flutter Engine
The Flutter Engine
third_party
dart-lang
sdk
runtime
vm
compiler
intrinsifier.h
Go to the documentation of this file.
1
// Copyright (c) 2012, 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_INTRINSIFIER_H_
7
#define RUNTIME_VM_COMPILER_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/asm_intrinsifier.h
"
15
#include "
vm/compiler/graph_intrinsifier.h
"
16
#include "
vm/compiler/method_recognizer.h
"
17
18
namespace
dart
{
19
20
// Forward declarations.
21
class
FlowGraphCompiler;
22
class
Function;
23
class
ParsedFunction;
24
25
namespace
compiler
{
26
class
Assembler;
27
class
Label;
28
29
class
Intrinsifier
:
public
AllStatic
{
30
public
:
31
static
bool
Intrinsify
(
const
ParsedFunction
& parsed_function,
32
FlowGraphCompiler
*
compiler
);
33
34
static
void
InitializeState
();
35
36
private
:
37
static
bool
CanIntrinsify(
const
ParsedFunction
& parsed_function);
38
};
39
40
}
// namespace compiler
41
}
// namespace dart
42
43
#endif
// RUNTIME_VM_COMPILER_INTRINSIFIER_H_
asm_intrinsifier.h
dart::AllStatic
Definition:
allocation.h:33
dart::FlowGraphCompiler
Definition:
flow_graph_compiler.h:338
dart::ParsedFunction
Definition:
parser.h:69
dart::compiler::Intrinsifier
Definition:
intrinsifier.h:29
dart::compiler::Intrinsifier::Intrinsify
static bool Intrinsify(const ParsedFunction &parsed_function, FlowGraphCompiler *compiler)
Definition:
intrinsifier.cc:173
dart::compiler::Intrinsifier::InitializeState
static void InitializeState()
Definition:
intrinsifier.cc:115
graph_intrinsifier.h
method_recognizer.h
compiler
Definition:
compiler.py:1
dart
Definition:
dart_vm.cc:33
allocation.h
Generated on Sun Jun 23 2024 21:55:38 for Flutter Engine by
1.9.4