Searched refs:uValue (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | lowering.cpp | 311 void Lowering::ReplaceUnsignedDivPowerOfTwo([[maybe_unused]] GraphVisitor *v, Inst *inst, uint64_t uValue) in ReplaceUnsignedDivPowerOfTwo() argument 326 int64_t n = GetPowerOfTwo(uValue); in ReplaceUnsignedDivPowerOfTwo() 353 uint64_t uValue = inst->GetInput(1).GetInst()->CastToConstant()->GetInt64Value(); in TryReplaceDivPowerOfTwo() local 354 auto sValue = bit_cast<int64_t>(uValue); in TryReplaceDivPowerOfTwo() 358 if ((isSigned && !helpers::math::IsPowerOfTwo(sValue)) || (!isSigned && !helpers::math::IsPowerOfTwo(uValue))) { in TryReplaceDivPowerOfTwo() 365 ReplaceUnsignedDivPowerOfTwo(v, inst, uValue); in TryReplaceDivPowerOfTwo() 377 uint64_t uValue = inst->GetInput(1).GetInst()->CastToConstant()->GetInt64Value(); in TryReplaceDivModNonPowerOfTwo() local 381 if (!graph->GetEncoder()->CanOptimizeImmDivMod(uValue, isSigned)) { in TryReplaceDivModNonPowerOfTwo() 386 auto divImmInst = graph->CreateInstDivI(inst->GetType(), inst->GetPc(), input0, uValue); in TryReplaceDivModNonPowerOfTwo() 390 auto modImmInst = graph->CreateInstModI(inst->GetType(), inst->GetPc(), input0, uValue); in TryReplaceDivModNonPowerOfTwo() 402 uint64_t uValue = inst->GetInput(1).GetInst()->CastToConstant()->GetInt64Value(); TryReplaceModPowerOfTwo() local [all...] |
H A D | lowering.h | 411 static void ReplaceUnsignedDivPowerOfTwo(GraphVisitor *v, Inst *inst, uint64_t uValue);
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_arraybuffer.h | 42 uint32_t uValue; member 46 uint64_t uValue; member
|
H A D | builtins_arraybuffer.cpp | 540 unionValue.uValue = *reinterpret_cast<uint32_t *>(block + byteIndex); in GetValueFromBufferForFloat() 541 uint32_t res = LittleEndianToBigEndian(unionValue.uValue); in GetValueFromBufferForFloat() 544 unionValue.uValue = *reinterpret_cast<uint64_t *>(block + byteIndex); in GetValueFromBufferForFloat() 545 uint64_t res = LittleEndianToBigEndian64Bit(unionValue.uValue); in GetValueFromBufferForFloat()
|
Completed in 5 milliseconds