v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::turboshaft::IterationCount Class Reference

#include <loop-unrolling-reducer.h>

Collaboration diagram for v8::internal::compiler::turboshaft::IterationCount:

Public Member Functions

 IterationCount ()
 
 IterationCount (Kind kind)
 
 IterationCount (Kind kind, size_t count)
 
size_t exact_count () const
 
size_t approx_count () const
 
bool IsExact () const
 
bool IsApprox () const
 
bool IsUnknown () const
 
bool IsSmallerThan (size_t max)
 

Static Public Member Functions

static IterationCount Exact (size_t count)
 
static IterationCount Approx (size_t count)
 
static IterationCount Unknown ()
 

Private Types

enum class  Kind { kExact , kApprox , kUnknown }
 

Private Attributes

Kind kind_
 
size_t count_
 

Detailed Description

Definition at line 39 of file loop-unrolling-reducer.h.

Member Enumeration Documentation

◆ Kind

Enumerator
kExact 
kApprox 
kUnknown 

Definition at line 40 of file loop-unrolling-reducer.h.

Constructor & Destructor Documentation

◆ IterationCount() [1/3]

v8::internal::compiler::turboshaft::IterationCount::IterationCount ( )
inline

Definition at line 53 of file loop-unrolling-reducer.h.

Here is the caller graph for this function:

◆ IterationCount() [2/3]

v8::internal::compiler::turboshaft::IterationCount::IterationCount ( Kind kind)
inlineexplicit

Definition at line 54 of file loop-unrolling-reducer.h.

◆ IterationCount() [3/3]

v8::internal::compiler::turboshaft::IterationCount::IterationCount ( Kind kind,
size_t count )
inline

Definition at line 57 of file loop-unrolling-reducer.h.

Here is the call graph for this function:

Member Function Documentation

◆ Approx()

static IterationCount v8::internal::compiler::turboshaft::IterationCount::Approx ( size_t count)
inlinestatic

Definition at line 48 of file loop-unrolling-reducer.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ approx_count()

size_t v8::internal::compiler::turboshaft::IterationCount::approx_count ( ) const
inline

Definition at line 65 of file loop-unrolling-reducer.h.

◆ Exact()

static IterationCount v8::internal::compiler::turboshaft::IterationCount::Exact ( size_t count)
inlinestatic

Definition at line 44 of file loop-unrolling-reducer.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exact_count()

size_t v8::internal::compiler::turboshaft::IterationCount::exact_count ( ) const
inline

Definition at line 61 of file loop-unrolling-reducer.h.

Here is the caller graph for this function:

◆ IsApprox()

bool v8::internal::compiler::turboshaft::IterationCount::IsApprox ( ) const
inline

Definition at line 71 of file loop-unrolling-reducer.h.

Here is the caller graph for this function:

◆ IsExact()

bool v8::internal::compiler::turboshaft::IterationCount::IsExact ( ) const
inline

Definition at line 70 of file loop-unrolling-reducer.h.

Here is the caller graph for this function:

◆ IsSmallerThan()

bool v8::internal::compiler::turboshaft::IterationCount::IsSmallerThan ( size_t max)
inline

Definition at line 74 of file loop-unrolling-reducer.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsUnknown()

bool v8::internal::compiler::turboshaft::IterationCount::IsUnknown ( ) const
inline

Definition at line 72 of file loop-unrolling-reducer.h.

◆ Unknown()

static IterationCount v8::internal::compiler::turboshaft::IterationCount::Unknown ( )
inlinestatic

Definition at line 51 of file loop-unrolling-reducer.h.

Here is the call graph for this function:

Member Data Documentation

◆ count_

size_t v8::internal::compiler::turboshaft::IterationCount::count_
private

Definition at line 80 of file loop-unrolling-reducer.h.

◆ kind_

Kind v8::internal::compiler::turboshaft::IterationCount::kind_
private

Definition at line 79 of file loop-unrolling-reducer.h.


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