Home
last modified time | relevance | path

Searched refs:bitWidth (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dfast_divisor.h36 FastConstSignedDivisor(int64_t divisor, size_t bitWidth) in FastConstSignedDivisor() argument
40 ASSERT(bitWidth == WORD_SIZE || bitWidth == DOUBLE_WORD_SIZE); in FastConstSignedDivisor()
42 uint64_t highOne = static_cast<uint64_t>(1U) << (bitWidth - 1U); in FastConstSignedDivisor()
46 auto p = static_cast<int64_t>(bitWidth - 1U); in FastConstSignedDivisor()
74 if (bitWidth == WORD_SIZE) { in FastConstSignedDivisor()
77 shift_ = p - static_cast<int64_t>(bitWidth); in FastConstSignedDivisor()
97 FastConstUnsignedDivisor(uint64_t divisor, size_t bitWidth) in FastConstUnsignedDivisor() argument
101 uint64_t sizeMinusOne = static_cast<uint64_t>(bitWidth) - 1U; in FastConstUnsignedDivisor()
137 } while ((p < 2L * static_cast<int64_t>(bitWidth)) in FastConstUnsignedDivisor()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
H A Dmpl_int_val.h29 IntVal(uint64 val, uint8 bitWidth, bool isSigned) : value(val), width(bitWidth), sign(isSigned) in IntVal() argument
44 IntVal(const IntVal &val, uint8 bitWidth, bool isSigned) : IntVal(val.value, bitWidth, isSigned) {} in IntVal() argument
107 uint8 bitWidth = size ? size : width; in GetSXTValue() local
108 return static_cast<int64>(value << (valBitSize - bitWidth)) >> (valBitSize - bitWidth); in GetSXTValue()
313 // sign division in terms of new bitWidth
314 IntVal SDiv(const IntVal &divisor, uint8 bitWidth) const in SDiv()
316 return TruncOrExtend(bitWidth, tru in SDiv()
[all...]
/arkcompiler/ets_frontend/ets2panda/ir/
H A Dirnode.h67 constexpr FormatItem(OperandKind kind, uint32_t bitWidth) : kind_(kind), bitWidth_(bitWidth) {} in FormatItem() argument

Completed in 3 milliseconds