Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart::HostCPUFeatures Class Reference

#include <cpu_arm.h>

Inheritance diagram for dart::HostCPUFeatures:
dart::AllStatic dart::AllStatic dart::AllStatic dart::AllStatic dart::AllStatic

Static Public Member Functions

static void Init ()
 
static void Cleanup ()
 
static const char * hardware ()
 
static bool integer_division_supported ()
 
static bool neon_supported ()
 
static bool hardfp_supported ()
 
static void set_integer_division_supported (bool supported)
 
static void set_neon_supported (bool supported)
 
static void Init ()
 
static void Cleanup ()
 
static const char * hardware ()
 
static void Init ()
 
static void Cleanup ()
 
static const char * hardware ()
 
static bool sse2_supported ()
 
static bool sse4_1_supported ()
 
static bool popcnt_supported ()
 
static bool abm_supported ()
 
static void Init ()
 
static void Cleanup ()
 
static const char * hardware ()
 
static void Init ()
 
static void Cleanup ()
 
static const char * hardware ()
 
static bool sse2_supported ()
 
static bool sse4_1_supported ()
 
static bool popcnt_supported ()
 
static bool abm_supported ()
 

Detailed Description

Definition at line 26 of file cpu_arm.h.

Member Function Documentation

◆ abm_supported() [1/2]

static bool dart::HostCPUFeatures::abm_supported ( )
inlinestatic

Definition at line 39 of file cpu_ia32.h.

39 {
40 DEBUG_ASSERT(initialized_);
41 return abm_supported_ && !FLAG_target_unknown_cpu;
42 }
#define DEBUG_ASSERT(cond)
Definition: assert.h:321

◆ abm_supported() [2/2]

static bool dart::HostCPUFeatures::abm_supported ( )
inlinestatic

Definition at line 39 of file cpu_x64.h.

39 {
40 DEBUG_ASSERT(initialized_);
41 return abm_supported_ && !FLAG_target_unknown_cpu;
42 }

◆ Cleanup() [1/5]

static void dart::HostCPUFeatures::Cleanup ( )
static

◆ Cleanup() [2/5]

static void dart::HostCPUFeatures::Cleanup ( )
static

◆ Cleanup() [3/5]

static void dart::HostCPUFeatures::Cleanup ( )
static

◆ Cleanup() [4/5]

static void dart::HostCPUFeatures::Cleanup ( )
static

◆ Cleanup() [5/5]

static void dart::HostCPUFeatures::Cleanup ( )
static

◆ hardfp_supported()

static bool dart::HostCPUFeatures::hardfp_supported ( )
inlinestatic

Definition at line 42 of file cpu_arm.h.

42 {
43 DEBUG_ASSERT(initialized_);
44 return hardfp_supported_;
45 }

◆ hardware() [1/5]

static const char * dart::HostCPUFeatures::hardware ( )
inlinestatic

Definition at line 30 of file cpu_arm.h.

30 {
31 DEBUG_ASSERT(initialized_);
32 return hardware_;
33 }

◆ hardware() [2/5]

static const char * dart::HostCPUFeatures::hardware ( )
inlinestatic

Definition at line 30 of file cpu_arm64.h.

30 {
31 DEBUG_ASSERT(initialized_);
32 return hardware_;
33 }

◆ hardware() [3/5]

static const char * dart::HostCPUFeatures::hardware ( )
inlinestatic

Definition at line 23 of file cpu_ia32.h.

23 {
24 DEBUG_ASSERT(initialized_);
25 return hardware_;
26 }

◆ hardware() [4/5]

static const char * dart::HostCPUFeatures::hardware ( )
inlinestatic

Definition at line 29 of file cpu_riscv.h.

29 {
30 DEBUG_ASSERT(initialized_);
31 return hardware_;
32 }

◆ hardware() [5/5]

static const char * dart::HostCPUFeatures::hardware ( )
inlinestatic

Definition at line 23 of file cpu_x64.h.

23 {
24 DEBUG_ASSERT(initialized_);
25 return hardware_;
26 }

◆ Init() [1/5]

static void dart::HostCPUFeatures::Init ( )
static

◆ Init() [2/5]

static void dart::HostCPUFeatures::Init ( )
static

◆ Init() [3/5]

static void dart::HostCPUFeatures::Init ( )
static

◆ Init() [4/5]

static void dart::HostCPUFeatures::Init ( )
static

◆ Init() [5/5]

static void dart::HostCPUFeatures::Init ( )
static

◆ integer_division_supported()

static bool dart::HostCPUFeatures::integer_division_supported ( )
inlinestatic

Definition at line 34 of file cpu_arm.h.

34 {
35 DEBUG_ASSERT(initialized_);
36 return integer_division_supported_ && !FLAG_target_unknown_cpu;
37 }

◆ neon_supported()

static bool dart::HostCPUFeatures::neon_supported ( )
inlinestatic

Definition at line 38 of file cpu_arm.h.

38 {
39 DEBUG_ASSERT(initialized_);
40 return neon_supported_;
41 }

◆ popcnt_supported() [1/2]

static bool dart::HostCPUFeatures::popcnt_supported ( )
inlinestatic

Definition at line 35 of file cpu_ia32.h.

35 {
36 DEBUG_ASSERT(initialized_);
37 return popcnt_supported_ && !FLAG_target_unknown_cpu;
38 }

◆ popcnt_supported() [2/2]

static bool dart::HostCPUFeatures::popcnt_supported ( )
inlinestatic

Definition at line 35 of file cpu_x64.h.

35 {
36 DEBUG_ASSERT(initialized_);
37 return popcnt_supported_ && !FLAG_target_unknown_cpu;
38 }

◆ set_integer_division_supported()

static void dart::HostCPUFeatures::set_integer_division_supported ( bool  supported)
inlinestatic

Definition at line 48 of file cpu_arm.h.

48 {
49 DEBUG_ASSERT(initialized_);
50 integer_division_supported_ = supported;
51 }

◆ set_neon_supported()

static void dart::HostCPUFeatures::set_neon_supported ( bool  supported)
inlinestatic

Definition at line 52 of file cpu_arm.h.

52 {
53 DEBUG_ASSERT(initialized_);
54 neon_supported_ = supported;
55 }

◆ sse2_supported() [1/2]

static bool dart::HostCPUFeatures::sse2_supported ( )
inlinestatic

Definition at line 27 of file cpu_ia32.h.

27 {
28 DEBUG_ASSERT(initialized_);
29 return sse2_supported_;
30 }

◆ sse2_supported() [2/2]

static bool dart::HostCPUFeatures::sse2_supported ( )
inlinestatic

Definition at line 27 of file cpu_x64.h.

27 {
28 DEBUG_ASSERT(initialized_);
29 return sse2_supported_;
30 }

◆ sse4_1_supported() [1/2]

static bool dart::HostCPUFeatures::sse4_1_supported ( )
inlinestatic

Definition at line 31 of file cpu_ia32.h.

31 {
32 DEBUG_ASSERT(initialized_);
33 return sse4_1_supported_ && FLAG_use_sse41 && !FLAG_target_unknown_cpu;
34 }

◆ sse4_1_supported() [2/2]

static bool dart::HostCPUFeatures::sse4_1_supported ( )
inlinestatic

Definition at line 31 of file cpu_x64.h.

31 {
32 DEBUG_ASSERT(initialized_);
33 return sse4_1_supported_ && FLAG_use_sse41 && !FLAG_target_unknown_cpu;
34 }

The documentation for this class was generated from the following files: