#include <loop-unrolling-reducer.h>
|
enum class | CmpOp {
kEqual
, kSignedLessThan
, kSignedLessThanOrEqual
, kUnsignedLessThan
,
kUnsignedLessThanOrEqual
, kSignedGreaterThan
, kSignedGreaterThanOrEqual
, kUnsignedGreaterThan
,
kUnsignedGreaterThanOrEqual
} |
|
enum class | BinOp {
kAdd
, kMul
, kSub
, kBitwiseAnd
,
kBitwiseOr
, kBitwiseXor
, kOverflowCheckedAdd
, kOverflowCheckedMul
,
kOverflowCheckedSub
} |
|
|
bool | MatchPhiCompareCst (OpIndex cond_idx, StaticCanonicalForLoopMatcher::CmpOp *cmp_op, OpIndex *phi, uint64_t *cst) const |
|
bool | MatchCheckedOverflowBinop (OpIndex idx, V< Word > *left, V< Word > *right, BinOp *binop_op, WordRepresentation *binop_rep) const |
|
bool | MatchWordBinop (OpIndex idx, V< Word > *left, V< Word > *right, BinOp *binop_op, WordRepresentation *binop_rep) const |
|
IterationCount | CountIterations (uint64_t equal_cst, CmpOp cmp_op, uint64_t initial_input, uint64_t binop_cst, BinOp binop_op, WordRepresentation binop_rep, bool loop_if_cond_is) const |
|
template<class Int > |
IterationCount | CountIterationsImpl (Int init, Int max, CmpOp cmp_op, Int binop_cst, StaticCanonicalForLoopMatcher::BinOp binop_op, WordRepresentation binop_rep, bool loop_if_cond_is) const |
|
Definition at line 84 of file loop-unrolling-reducer.h.
◆ BinOp
Enumerator |
---|
kAdd | |
kMul | |
kSub | |
kBitwiseAnd | |
kBitwiseOr | |
kBitwiseXor | |
kOverflowCheckedAdd | |
kOverflowCheckedMul | |
kOverflowCheckedSub | |
Definition at line 119 of file loop-unrolling-reducer.h.
◆ CmpOp
Enumerator |
---|
kEqual | |
kSignedLessThan | |
kSignedLessThanOrEqual | |
kUnsignedLessThan | |
kUnsignedLessThanOrEqual | |
kSignedGreaterThan | |
kSignedGreaterThanOrEqual | |
kUnsignedGreaterThan | |
kUnsignedGreaterThanOrEqual | |
Definition at line 106 of file loop-unrolling-reducer.h.
◆ StaticCanonicalForLoopMatcher()
v8::internal::compiler::turboshaft::StaticCanonicalForLoopMatcher::StaticCanonicalForLoopMatcher |
( |
const OperationMatcher & | matcher | ) |
|
|
inlineexplicit |
◆ BinopFromOverflowCheckedBinopKind()
◆ BinopFromWordBinopKind()
◆ BinopKindIsSupported()
bool v8::internal::compiler::turboshaft::StaticCanonicalForLoopMatcher::BinopKindIsSupported |
( |
WordBinopOp::Kind | binop_kind | ) |
|
|
staticconstexpr |
◆ ComparisonKindToCmpOp()
◆ CountIterations()
IterationCount v8::internal::compiler::turboshaft::StaticCanonicalForLoopMatcher::CountIterations |
( |
uint64_t | equal_cst, |
|
|
CmpOp | cmp_op, |
|
|
uint64_t | initial_input, |
|
|
uint64_t | binop_cst, |
|
|
BinOp | binop_op, |
|
|
WordRepresentation | binop_rep, |
|
|
bool | loop_if_cond_is ) const |
|
private |
◆ CountIterationsImpl()
◆ GetIterCountIfStaticCanonicalForLoop()
IterationCount v8::internal::compiler::turboshaft::StaticCanonicalForLoopMatcher::GetIterCountIfStaticCanonicalForLoop |
( |
const Block * | header, |
|
|
OpIndex | cond_idx, |
|
|
bool | loop_if_cond_is ) const |
◆ InvertComparisonOp()
◆ MatchCheckedOverflowBinop()
◆ MatchPhiCompareCst()
◆ MatchWordBinop()
◆ kMaxExactIter
size_t v8::internal::compiler::turboshaft::StaticCanonicalForLoopMatcher::kMaxExactIter = 5 |
|
staticconstexprprivate |
◆ matcher_
const OperationMatcher& v8::internal::compiler::turboshaft::StaticCanonicalForLoopMatcher::matcher_ |
|
private |
The documentation for this class was generated from the following files: