Home
last modified time | relevance | path

Searched refs:bitfield (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/tools/circuit_viewer/examples/
Dlog_loop.txt182 [compiler] ("id"=41, "op"="FRAME_STATE", "MType"="NOVALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", …
183 [compiler] ("id"=44, "op"="FRAME_STATE", "MType"="NOVALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", …
184 [compiler] ("id"=47, "op"="FRAME_STATE", "MType"="NOVALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", …
185 [compiler] ("id"=50, "op"="FRAME_STATE", "MType"="NOVALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", …
186 [compiler] ("id"=53, "op"="FRAME_STATE", "MType"="NOVALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", …
198 [compiler] ("id"=11, "op"="CONSTANT", "MType"="I64, bitfield=18446462598732840970, type=-GT(M=0, L=…
201 [compiler] ("id"=12, "op"="CONSTANT", "MType"="I64, bitfield=18446462598732840960, type=-GT(M=0, L=…
215 [compiler] ("id"=16, "op"="JS_BYTECODE", "MType"="I64, bitfield=0, type=ANY_TYPE-GT(M=0, L=0), ", i…
217 [compiler] ("id"=17, "op"="JS_BYTECODE", "MType"="I64, bitfield=0, type=ANY_TYPE-GT(M=0, L=0), ", i…
219 [compiler] ("id"=18, "op"="JS_BYTECODE", "MType"="NOVALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", …
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcircuit_builder-inl.h631 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsJSFunctionWithBit() local
632 … return NotEqual(Int32And(bitfield, Int32(1LU << JSHClass::IsJSFunctionBit::START_BIT)), Int32(0)); in IsJSFunctionWithBit()
639 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsOptimizedAndNotFastCall() local
640 …GateRef optimizedFastCallBitsInBitfield = Int32And(bitfield, Int32(JSHClass::OPTIMIZED_FASTCALL_BI… in IsOptimizedAndNotFastCall()
648 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsOptimized() local
649 … return NotEqual(Int32And(bitfield, Int32(1LU << JSHClass::IsOptimizedBit::START_BIT)), Int32(0)); in IsOptimized()
652 inline GateRef CircuitBuilder::IsOptimizedWithBitField(GateRef bitfield) in IsOptimizedWithBitField() argument
654 … return NotEqual(Int32And(bitfield, Int32(1LU << JSHClass::IsOptimizedBit::START_BIT)), Int32(0)); in IsOptimizedWithBitField()
661 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in CanFastCall() local
662 … return NotEqual(Int32And(bitfield, Int32(1LU << JSHClass::CanFastCallBit::START_BIT)), Int32(0)); in CanFastCall()
[all …]
Dstub_builder-inl.h1026 inline GateRef StubBuilder::IsClassConstructorFromBitField(GateRef bitfield) in IsClassConstructorFromBitField() argument
1030 Int32And(Int32LSR(bitfield, Int32(JSHClass::ClassConstructorBit::START_BIT)), in IsClassConstructorFromBitField()
1095 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsConstructor() local
1098 Int32And(Int32LSR(bitfield, Int32(JSHClass::ConstructorBit::START_BIT)), in IsConstructor()
1323 GateRef bitfield = Load(VariableType::INT32(), object, bitfieldOffset); in GetHasChanged() local
1325 return Int32NotEqual(Int32And(bitfield, mask), Int32(0)); in GetHasChanged()
1520 GateRef bitfield = Load(VariableType::INT32(), hclass, IntPtr(JSHClass::BIT_FIELD1_OFFSET)); in GetIsAllTaggedPropFromHClass() local
1521 return Int32And(Int32LSR(bitfield, in GetIsAllTaggedPropFromHClass()
1526 inline void StubBuilder::SetBitFieldToHClass(GateRef glue, GateRef hClass, GateRef bitfield) in SetBitFieldToHClass() argument
1529 Store(VariableType::INT32(), glue, hClass, offset, bitfield); in SetBitFieldToHClass()
[all …]
Dcommon_stubs.cpp720 GateRef bitfield = Load(VariableType::INT32(), hClass, Int32(JSHClass::BIT_FIELD_OFFSET)); in GenerateCircuit() local
721 Branch(CanFastCallWithBitField(bitfield), &methodIsFastCall, &notFastCall); in GenerateCircuit()
809 … GateRef bitfield = Load(VariableType::INT32(), hClass, Int32(JSHClass::BIT_FIELD_OFFSET)); in GenerateCircuit() local
810 Branch(IsClassConstructorFromBitField(bitfield), &slowPath, &notCallConstructor); in GenerateCircuit()
814 Branch(CanFastCallWithBitField(bitfield), &fastCall, &notFastCall); in GenerateCircuit()
823 Branch(IsOptimizedWithBitField(bitfield), &slowCall, &slowPath); in GenerateCircuit()
856 … GateRef bitfield = Load(VariableType::INT32(), hClass, Int32(JSHClass::BIT_FIELD_OFFSET)); in GenerateCircuit() local
861 Branch(CanFastCallWithBitField(bitfield), &fastCall1, &notFastCall1); in GenerateCircuit()
870 Branch(IsOptimizedWithBitField(bitfield), &slowCall1, &slowPath1); in GenerateCircuit()
Dbytecodes.h467 explicit ConstDataId(uint64_t bitfield) in ConstDataId() argument
469 type_ = ConstDataIDType(bitfield >> TYPE_SHIFT); in ConstDataId()
470 id_ = bitfield & ((1 << TYPE_SHIFT) - 1); in ConstDataId()
Dinterpreter_stub-inl.h265 GateRef bitfield = Load(VariableType::INT32(), obj, bitfieldOffset); in GetResumeModeFromGeneratorObject() local
267 Int32LSR(bitfield, Int32(JSGeneratorObject::ResumeModeBits::START_BIT)), in GetResumeModeFromGeneratorObject()
274 GateRef bitfield = Load(VariableType::INT32(), obj, bitfieldOffset); in GetResumeModeFromAsyncGeneratorObject() local
276 Int32LSR(bitfield, Int32(JSAsyncGeneratorObject::ResumeModeBits::START_BIT)), in GetResumeModeFromAsyncGeneratorObject()
Dstub_builder.h297 GateRef IsClassConstructorFromBitField(GateRef bitfield);
389 void SetBitFieldToHClass(GateRef glue, GateRef hClass, GateRef bitfield);
519 GateRef IsCallableFromBitField(GateRef bitfield);
604 GateRef IsOptimizedWithBitField(GateRef bitfield);
605 GateRef CanFastCallWithBitField(GateRef bitfield);
Dcircuit_builder.cpp1233 uint64_t bitfield = args.size(); in Construct() local
1238 auto callGate = GetCircuit()->NewGate(circuit_->Construct(bitfield, pcOffset), MachineType::I64, in Construct()
1251 uint64_t bitfield = args.size(); in TypedCall() local
1256 …auto callGate = GetCircuit()->NewGate(circuit_->TypedCall(bitfield, pcOffset, isNoGC), MachineType… in TypedCall()
1269 uint64_t bitfield = args.size(); in TypedFastCall() local
1274 …auto callGate = GetCircuit()->NewGate(circuit_->TypedFastCall(bitfield, pcOffset, isNoGC), Machine… in TypedFastCall()
1693 GateRef bitfield = Load(VariableType::INT32(), hClass, IntPtr(JSHClass::BIT_FIELD1_OFFSET)); in SetPropertyInlinedProps() local
1694 GateRef inlinedPropsStart = Int32And(Int32LSR(bitfield, in SetPropertyInlinedProps()
Dcircuit_builder.h565 inline GateRef IsOptimizedWithBitField(GateRef bitfield);
567 inline GateRef CanFastCallWithBitField(GateRef bitfield);
581 inline GateRef IsClassConstructorWithBitField(GateRef bitfield);
591 inline GateRef IsCallableFromBitField(GateRef bitfield);
Dgate_accessor.h446 GateRef GetConstantGate(MachineType bitValue, BitField bitfield, GateType type) const;
Dgate_accessor.cpp999 GateRef GateAccessor::GetConstantGate(MachineType bitValue, BitField bitfield, GateType type) const in GetConstantGate() argument
1001 return circuit_->GetConstantGate(bitValue, bitfield, type); in GetConstantGate()
Dcircuit_ir_specification.md365 …tion code indicating the kind of comparison to perform is stored in the bitfield. The possible con…
390 …tion code indicating the kind of comparison to perform is stored in the bitfield. The possible con…
Dslowpath_lowering.cpp3016 …GateRef bitfield = builder_.Load(VariableType::INT32(), hClass, builder_.Int32(JSHClass::BIT_FIELD… in LowerFastCall() local
3018 …builder_.Branch(builder_.IsClassConstructorWithBitField(bitfield), &slowPath, &notCallConstructor); in LowerFastCall()
3021 … builder_.Branch(builder_.IsClassConstructorWithBitField(bitfield), &isCallConstructor, &slowPath); in LowerFastCall()
3026 builder_.Branch(builder_.CanFastCallWithBitField(bitfield), &fastCall, &notFastCall); in LowerFastCall()
3055 builder_.Branch(builder_.IsOptimizedWithBitField(bitfield), &slowCall, &slowPath); in LowerFastCall()
Dstub_builder.cpp5156 GateRef bitfield = 0; in JSCallDispatch() local
5163 bitfield = Load(VariableType::INT32(), hclass, IntPtr(JSHClass::BIT_FIELD_OFFSET)); in JSCallDispatch()
5164 Branch(IsCallableFromBitField(bitfield), &funcIsCallable, &funcNotCallable); in JSCallDispatch()
5298 …Branch(IsClassConstructorFromBitField(bitfield), &funcIsClassConstructor, &funcNotClassConstructor… in JSCallDispatch()
5306 Branch(IsClassConstructorFromBitField(bitfield), &funcIsClassConstructor, &methodNotAot); in JSCallDispatch()
5324 Branch(CanFastCallWithBitField(bitfield), &methodIsFastCall, &methodNotFastCall); in JSCallDispatch()
5483 Branch(IsOptimizedWithBitField(bitfield), &methodisAot, &methodNotAot); in JSCallDispatch()
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/
Doptimized_call.cpp491 Register bitfield(X2); in JSCallInternal() local
493 __ And(jstype2, bitfield.W(), LogicalImmediate::Create(0xff, RegWSize)); in JSCallInternal()
548 Register bitfield(X2); in JSCallCheck() local
549 __ Ldr(bitfield, MemoryOperand(jshclass, JSHClass::BIT_FIELD_OFFSET)); in JSCallCheck()
550 __ Tbz(bitfield, JSHClass::CallableBit::START_BIT, nonCallable); in JSCallCheck()
553 __ And(jstype, bitfield, LogicalImmediate::Create(0xFF, RegWSize)); in JSCallCheck()