/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | hcr_circuit_builder.h | 80 Int32And(Int32LSR(bitfield, Int32(JSHClass::CallableBit::START_BIT)), in IsCallableFromBitField() 96 return TruncInt32ToInt1(Int32And(Int32LSR(bitfield, in IsProtoTypeHClass() 213 GateRef objectSizeInWords = Int32And(Int32LSR(bitfield, in GetObjectSizeFromHClass() 223 return NotEqual(Int32And(Int32LSR(bitfield, in IsDictionaryModeByHClass() 259 Int32LSR(bitField, Int32(JSFunctionBase::IsFastCallBit::START_BIT)), in CanFastCall() 268 return Int32And(Int32LSR(bitfield, in GetElementsKindByHClass() 277 return NotEqual(Int32And(Int32LSR(bitfield, in HasConstructorByHClass() 287 return NotEqual(Int32And(Int32LSR(bitfield, in IsDictionaryElement() 297 return NotEqual(Int32And(Int32LSR(bitfield, in IsStableElements() 316 Int32And(Int32LSR(bitfiel in IsConstructor() [all...] |
H A D | lcr_circuit_builder.h | 86 GateRef low8bits = Int32LSR(Int32And(int16toint32, Int32(0xFF00)), Int32(8)); in Int16ToBigEndianInt16() 94 GateRef third8bits = Int32LSR(Int32And(x, Int32(0x00FF0000)), Int32(8)); in Int32ToBigEndianInt32() 95 GateRef fourth8bits = Int32LSR(Int32And(x, Int32(0xFF000000)), Int32(24)); in Int32ToBigEndianInt32()
|
H A D | stub_builder-inl.h | 588 inline GateRef StubBuilder::Int32LSR(GateRef x, GateRef y) in Int32LSR() function in panda::ecmascript::kungfu::StubBuilder 590 return env_->GetBuilder()->Int32LSR(x, y); in Int32LSR() 789 auto nextOffset = Int32LSR(Int32Mul(count, Int32Add(count, Int32(1))), in GetNextPositionForHash() 1338 return Equal(Int32And(Int32LSR(bitfield, in IsSendableFunctionModule() 1380 Int32And(Int32LSR(bitfield, Int32(JSHClass::ConstructorBit::START_BIT)), in IsConstructor() 2072 return Int32LSR(len, Int32(EcmaString::STRING_LENGTH_SHIFT_COUNT)); in GetLengthFromString() 2088 return Int32And(Int32LSR(bitfield, in GetIsAllTaggedPropFromHClass() 2175 return TruncInt32ToInt1(Int32And(Int32LSR(bitfield, in IsProtoTypeHClass() 2186 GateRef inlinedPropsStart = Int32And(Int32LSR(bitfield, in SetPropertyInlinedProps() 2223 return Int32And(Int32LSR(bitfiel in GetNumberOfPropsFromHClass() [all...] |
H A D | mcr_circuit_builder.cpp | 339 Int32And(Int32LSR(bitfield, Int32(MarkerCell::IsDetectorInvalidBits::START_BIT)), in IsMarkerCellValid() 1248 return Int32LSR(len, Int32(EcmaString::STRING_LENGTH_SHIFT_COUNT)); in GetLengthFromString() 1254 return Int32Or(Int32LSL(word, Int32(shift)), Int32LSR(word, Int32(MAX_BITS - shift))); in Rotl() 1280 GateRef hash8 = Int32Xor(hash7, Int32LSR(hash7, Int32(MurmurHash32Const::FINALIZE_FIRST_SHIFT))); in CalcHashcodeForInt() 1282 GateRef hash10 = Int32Xor(hash9, Int32LSR(hash9, Int32(MurmurHash32Const::FINALIZE_SECOND_SHIFT))); in CalcHashcodeForInt() 1284 GateRef hash12 = Int32Xor(hash11, Int32LSR(hash11, Int32(MurmurHash32Const::FINALIZE_THIRD_SHIFT))); in CalcHashcodeForInt()
|
H A D | interpreter_stub-inl.h | 345 Int32LSR(bitfield, Int32(JSGeneratorObject::ResumeModeBits::START_BIT)), in GetResumeModeFromGeneratorObject() 354 Int32LSR(bitfield, Int32(JSAsyncGeneratorObject::ResumeModeBits::START_BIT)), in GetResumeModeFromAsyncGeneratorObject()
|
H A D | mcr_circuit_builder.h | 74 Int32And(Int32LSR(bitfield, Int32(JSHClass::IsJSSharedBit::START_BIT)), in TaggedObjectIsShared() 317 Int32LSR(bitField, Int32(JSFunctionBase::IsCompiledCodeBit::START_BIT)), in JudgeAotAndFastCall()
|
H A D | circuit_builder.cpp | 729 Int32And(Int32LSR(bitfield, Int32(ProtoChangeMarker::AccessorHasChangedBits::START_BIT)), in GetAccessorHasChanged() 738 Int32And(Int32LSR(bitfield, Int32(JSHClass::HasDeletePropertyBit::START_BIT)), in HasDeleteProperty() 747 Int32And(Int32LSR(bitfield, Int32(JSHClass::IsOnHeap::START_BIT)), in IsOnHeap()
|
H A D | profiler_stub_builder.cpp | 595 GateRef oldTrue = Int32LSR(oldSlotValue, Int32(PGOSampleType::WEIGHT_TRUE_START_BIT)); in ProfileBranch() 596 GateRef oldFalse = Int32LSR(oldSlotValue, Int32(PGOSampleType::WEIGHT_START_BIT)); in ProfileBranch()
|
H A D | hcr_circuit_builder.cpp | 567 GateRef inlinedPropsStart = Int32And(Int32LSR(bitfield, in SetPropertyInlinedProps()
|
H A D | number_speculative_lowering.cpp | 805 value = builder_.Int32LSR(left, shift, GateType::NJSValue()); in ShiftInts()
|
H A D | operations_stub_builder.cpp | 862 GateRef val = Int32LSR(*opNumber0, shift); in Shr()
|
H A D | circuit_builder.h | 93 V(Int32LSR, Lsr, MachineType::I32) \
|
H A D | stub_builder.h | 253 GateRef Int32LSR(GateRef x, GateRef y);
|
H A D | stub_builder.cpp | 1122 GateRef newL = Int32Add(oldLength, Int32LSR(oldLength, Int32(1))); in ComputeElementCapacity() 1920 GateRef index = Int32LSR(bitOffset, bitPerWordLog2); in SetSValueWithBarrier() 2000 GateRef index = Int32LSR(bitOffset, bitPerWordLog2); in SetNonSValueWithBarrier() 2038 GateRef index = Int32LSR(bitOffset, bitPerWordLog2); in SetNonSValueWithBarrier() 9117 GateRef kind = Int32And(Int32LSR(bitfield, Int32(Method::FunctionKindBits::START_BIT)), in GetFuncKind()
|
H A D | slowpath_lowering.cpp | 3035 auto bitfieldlsr = builder_.Int32LSR(bitField, in LowerGetResumeMode() 3047 auto bitfieldlsr = builder_.Int32LSR(bitField, builder_.Int32(JSGeneratorObject::ResumeModeBits::START_BIT)); in LowerGetResumeMode()
|
H A D | typed_hcr_lowering.cpp | 502 return builder_.Int32LSR( in GetLengthFromString()
|
H A D | typed_native_inline_lowering.cpp | 2123 sign = builder_.Int32LSR(value, builder_.Int32(JSTaggedValue::INT_SIGN_BIT_OFFSET)); in LowerBigIntConstructorInt32()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_dataview_stub_builder.cpp | 119 GateRef b1 = Int32And(Int32LSR(value, Int32(builtins::BITS_EIGHT)), Int32(0xFF));
in SetValueInBufferForInt32() 120 GateRef b2 = Int32And(Int32LSR(value, Int32(2 * builtins::BITS_EIGHT)), Int32(0xFF));
in SetValueInBufferForInt32() 121 GateRef b3 = Int32LSR(value, Int32(builtins::BITS_TWENTY_FOUR));
in SetValueInBufferForInt32() 157 GateRef b1 = Int32And(Int32LSR(lowerInt32, Int32(builtins::BITS_EIGHT)), Int32(builtins::BITS_MASK_FF));
in SetValueInBufferForInt64() 159 GateRef b2 = Int32And(Int32LSR(lowerInt32, Int32(2 * builtins::BITS_EIGHT)), Int32(builtins::BITS_MASK_FF));
in SetValueInBufferForInt64() 160 GateRef b3 = Int32LSR(lowerInt32, Int32(builtins::BITS_TWENTY_FOUR));
in SetValueInBufferForInt64() 162 GateRef b5 = Int32And(Int32LSR(highInt32, Int32(builtins::BITS_EIGHT)), Int32(builtins::BITS_MASK_FF));
in SetValueInBufferForInt64() 164 GateRef b6 = Int32And(Int32LSR(highInt32, Int32(2 * builtins::BITS_EIGHT)), Int32(builtins::BITS_MASK_FF));
in SetValueInBufferForInt64() 165 GateRef b7 = Int32LSR(highInt32, Int32(builtins::BITS_TWENTY_FOUR));
in SetValueInBufferForInt64()
|
H A D | builtins_collator_stub_builder.cpp | 110 GateRef bits = Int32And(Int32LSR(bitfield, Int32(BitType::START_BIT)), in GetBitField()
|
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
H A D | baseline_stub_builder.cpp | 38 Int32LSR(bitfield, Int32(JSGeneratorObject::ResumeModeBits::START_BIT)), in GetResumeModeFromGeneratorObject() 47 Int32LSR(bitfield, Int32(JSAsyncGeneratorObject::ResumeModeBits::START_BIT)), in GetResumeModeFromAsyncGeneratorObject()
|
H A D | baseline_stubs-inl.h | 327 Int32LSR(bitfield, Int32(JSGeneratorObject::ResumeModeBits::START_BIT)),
in GetResumeModeFromGeneratorObject() 336 Int32LSR(bitfield, Int32(JSAsyncGeneratorObject::ResumeModeBits::START_BIT)),
in GetResumeModeFromAsyncGeneratorObject()
|
H A D | baseline_stubs.cpp | 1334 GateRef arg1Id = Int32And(Int32LSR(argIds, Int32(ONE_BYTE_SIZE)), Int32(ONE_BYTE_ALL_ONE)); in GenerateCircuit() 1335 GateRef arg2Id = Int32And(Int32LSR(argIds, Int32(TWO_BYTE_SIZE)), Int32(ONE_BYTE_ALL_ONE)); in GenerateCircuit() 1868 GateRef propkeyVregId = Int32And(Int32LSR(vregIds, Int32(ONE_BYTE_SIZE)), Int32(ONE_BYTE_ALL_ONE)); in GenerateCircuit() 1869 GateRef getterVregId = Int32And(Int32LSR(vregIds, Int32(TWO_BYTE_SIZE)), Int32(ONE_BYTE_ALL_ONE)); in GenerateCircuit() 1870 GateRef setterVregId = Int32And(Int32LSR(vregIds, Int32(THREE_BYTE_SIZE)), Int32(ONE_BYTE_ALL_ONE)); in GenerateCircuit() 2065 GateRef literalId = Int32And(Int32LSR(methodLiteralId, Int32(TWO_BYTE_SIZE)), Int32(TWO_BYTE_ALL_ONE)); in GenerateCircuit() 2067 GateRef protoVregId = Int32And(Int32LSR(lengthAndProtoId, Int32(TWO_BYTE_SIZE)), Int32(TWO_BYTE_ALL_ONE)); in GenerateCircuit() 4724 GateRef vregId1 = Int32And(Int32LSR(vregIds, Int32(ONE_BYTE_SIZE)), Int32(ONE_BYTE_ALL_ONE)); in GenerateCircuit()
|
/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
H A D | instruction_combine_test.cpp | 1151 EXPECT_EQ(instcombie.VisitGate(b.Int32LSR(x, zero)), x); // x >>> 0 => x in HWTEST_F_L0() 1154 EXPECT_EQ(instcombie.VisitGate(b.Int32LSR(b.Int32(-8), two)), b.Int32(1073741822u)); in HWTEST_F_L0() 1155 EXPECT_EQ(instcombie.VisitGate(b.Int32LSR(b.Int32(8), two)), b.Int32(2)); in HWTEST_F_L0() 1157 EXPECT_EQ(instcombie.VisitGate(b.Int32LSR(b.Int32And(x, b.Int32(1023)), b.Int32(10))), zero); in HWTEST_F_L0()
|