Home
last modified time | relevance | path

Searched full:store (Results 1 – 25 of 706) sorted by relevance

12345678910>>...29

/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/
Dindex.test.ts16 import { store } from './index';
23 describe('Redux Store Configuration', () => {
25 const state = store.getState();
35 store.dispatch(setTheme('dark'));
36 expect(store.getState().appState.theme).toBe('dark');
40 store.dispatch(setOptionsLoading(true));
41 expect(store.getState().options.isLoading).toBe(true);
44 store.dispatch(setOptionsResponse(mockOptions));
45 expect(store.getState().options.options).toEqual(mockOptions);
49 store.dispatch(setSyntaxLoading(true));
[all …]
/arkcompiler/ets_runtime/test/aottest/pgo_napi1/
Dpgo_napi1.ts26 // load store load store load load
30 obj.x = 1; // store: fast
32 obj.y = 2; // store: fast
40 // store store load load load
43 obj.x = 1; // store: fast
44 obj.y = 1; // store: fast
57 obj.__proto__ = objproto; // store: slow
58 objproto.x = 1; // store: slow
59 objproto.y = 1; // store: slow
72 obj.x = 1; // store: fast
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/actions/
DappState.test.ts16 import { store, RootState } from '../index';
21 describe('Redux store structure and functionality', () => {
23 const initialState: RootState = store.getState();
30 store.dispatch(setTheme('dark'));
31 const state = store.getState();
36 store.dispatch(setOptionsLoading(true));
37 const state = store.getState();
42 store.dispatch(setSyntaxLoading(true));
43 const state = store.getState();
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/components/controlPanel/
DControlPanel.test.tsx20 import configureMockStore from 'redux-mock-store';
21 import { AppDispatch } from '../../store';
26 let store: ReturnType<typeof mockStore>;
29 store = mockStore({
35 store.dispatch = jest.fn();
39 return render(<Provider store={store}>{component}</Provider>);
53 expect(store.dispatch).toHaveBeenCalled();
60 expect(store.dispatch).toHaveBeenCalled();
67 expect(store.dispatch).toHaveBeenCalled();
78 store = mockStore({
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_dataview_stub_builder.cpp125 Store(VariableType::INT8(), glue, pointer, offset, TruncInt32ToInt8(b0)); in SetValueInBufferForInt32()
126Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(1)), TruncInt32ToInt8(b1)); in SetValueInBufferForInt32()
127Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(OffsetIndex::TWO)), TruncInt32To… in SetValueInBufferForInt32()
128Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(OffsetIndex::THREE)), TruncInt32… in SetValueInBufferForInt32()
133 Store(VariableType::INT8(), glue, pointer, offset, TruncInt32ToInt8(b3)); in SetValueInBufferForInt32()
134Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(1)), TruncInt32ToInt8(b2)); in SetValueInBufferForInt32()
135Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(OffsetIndex::TWO)), TruncInt32To… in SetValueInBufferForInt32()
136Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(OffsetIndex::THREE)), TruncInt32… in SetValueInBufferForInt32()
169 Store(VariableType::INT8(), glue, pointer, offset, TruncInt32ToInt8(b0)); in SetValueInBufferForInt64()
170Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(1)), TruncInt32ToInt8(b1)); in SetValueInBufferForInt64()
[all …]
/arkcompiler/runtime_core/libpandabase/mem/
Dgc_barrier.h32 …BARRIER_POSITION_PRE = 0x1, // Should be inserted before each store/load when reference stored/l…
33 …BARRIER_POSITION_POST = 0x0, // Should be inserted after each store/load when reference stored/lo…
37 * Indicates if barrier for store or load
40 WRITE_BARRIER = 0x1, // Should be used around store
71 … * load obj.field -> pre_val // note: if store volatile - we need to have volatile load here
76 * store obj.field <- new_val // STORE for which barrier generated
80 * STORE_IN_BUFF_TO_MARK_FUNC - address of function to store replaced reference
87 * store obj.field <- new_val // STORE for which barrier generated
92 * store card_addr <- DIRTY_VAL
100 … * Note if store if to expensive on the architecture(for example in multithreading environment) -
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/pages/codeEditor/
DArkTSEditor.test.tsx20 import configureMockStore from 'redux-mock-store';
22 import { AppDispatch } from '../../store';
24 jest.mock('../../store/actions/code', () => ({
39 let store: ReturnType<typeof mockStore>;
42 store = mockStore({
49 store.dispatch = jest.fn();
54 <Provider store={store}>
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dstobj.v.obj.yaml72 title: Store register content into object field
74 Store register content into object field by field_id.
84 description: Store register content into object field by field_id.
419 # store into object field
444 # store into object array field
472 # store into i32[] array field
494 # store into panda.Object field
535 # store into panda.Object[] field
598 # store into object field
632 # store into object array field
[all …]
Dstobj.obj.yaml92 title: Store accumulator content into object field
94 Store accumulator content into object field by field_id.
104 description: Store accumulator content into object field by field_id.
367 # store into object field
398 # store into object array field
436 # store into i32[] array field
461 # store into panda.Object field
500 # store into panda.Object[] field
562 # store into object field
598 # store into object array field
[all …]
Dststatic.obj.yaml92 title: Store to static field
94 Store accumulator content into static field by field_id.
104 description: Store accumulator content into static field by field_id.
246 # store into object type field
277 # store into object array type field
315 # store into i32[] array field
340 # store into panda.Object field
379 # store into panda.Object[] field
439 # store into object type field
475 # store into object array type field
[all …]
/arkcompiler/ets_runtime/test/aottest/pgo_inherited_function_operation/
Dpgo_inherited_function_operation.ts21 this.c = 0 // store: this.c --> type: MONO_STORE_PROPERTY
22 this.x = 1 // store: this.x --> type: MONO_STORE_PROPERTY
24 …Base.prototype.add = () => { print("add") } // store: Base.prototype.add --> type: MONO_STORE_PROP…
27 this.y = 2 // store: this.y --> type: MONO_STORE_PROPERTY
31 p.z = 3 // store: p.z --> type: MONO_STORE_PROPERTY
36 …Derived.prototype.sub = () => { print("sub") } // store: Derived.prototype.sub --> type: MONO_STOR…
38 obj.w = "w" // store: obj.w --> type: MONO_STORE_PROPERTY
39 obj.x = 4 // store: obj.x --> type: MONO_STORE_PROPERTY
85 this.w = 1 // store: this.x --> type: MONO_STORE_PROPERTY * 2
87 …Base.prototype.add = () => { print("add") } // store: Base.prototype.add --> type: MONO_STORE_PROP…
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dgc_barrier.h30 …BARRIER_POSITION_PRE = 0x1, // Should be inserted before each store/load when reference stored/l…
31 …BARRIER_POSITION_POST = 0x0, // Should be inserted after each store/load when reference stored/lo…
34 /// Indicates if barrier for store or load
36 WRITE_BARRIER = 0x1, // Should be used around store
67 … * load obj.field -> pre_val // note: if store volatile - we need to have volatile load here
72 * store obj.field <- new_val // STORE for which barrier generated
77 * STORE_IN_BUFF_TO_MARK_FUNC - address of function to store replaced reference
84 * store obj.field <- new_val // STORE for which barrier generated
89 * store card_addr <- DIRTY_VAL
97 … * Note if store if to expensive on the architecture(for example in multithreading environment) -
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/pages/disasmView/
DDisasmCode.test.tsx20 import configureMockStore from 'redux-mock-store';
22 import { AppDispatch } from '../../store';
30 let store: ReturnType<typeof mockStore>;
33 store = mockStore({
40 store.dispatch = jest.fn();
45 <Provider store={store}>
67 store = mockStore({
78 store = mockStore({
90 store = mockStore({
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/components/theme/
DThemeContext.test.tsx20 import configureMockStore from 'redux-mock-store';
21 import { AppDispatch } from '../../store';
38 let store: ReturnType<typeof mockStore>;
42 store = mockStore({});
43 store.dispatch = jest.fn();
50 <Provider store={store}>
88 expect(store.dispatch).toHaveBeenCalled();
101 expect(store.dispatch).toHaveBeenCalled();
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/pages/compileOptions/
DCompileOptions.test.tsx20 import configureMockStore from 'redux-mock-store';
22 import {AppDispatch} from '../../store';
28 let store: ReturnType<typeof mockStore>;
38 store = mockStore({
43 store.dispatch = jest.fn();
48 <Provider store={store}>
85 expect(store.dispatch).toHaveBeenCalled();
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/components/header/
DHeader.test.tsx20 import configureMockStore from 'redux-mock-store';
22 import { AppDispatch } from '../../store';
27 let store: ReturnType<typeof mockStore>;
30 store = mockStore({
34 store.dispatch = jest.fn();
39 <Provider store={store}>
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dlse.h29 * Load Store Elimination (Lse) optimization is aimed to eliminate redundant
30 * loads and store. It uses Alias Analysis to determine which memory
36 * 1) delete stores that attempt to store the same values that already have
37 * been been stored by a previous store
43 * - if the instruction is a store and a stored value is equal to value from
44 * heap for this store then this store can be eliminated.
45 * - if the instruction is a store and a value from heap for this store is
47 * into heap. The values of memory instructions that MUST_ALIAS this store are
48 * updated as well. All values in the heap that MAY_ALIAS this store
83 * candidate is a store, we do nothing. If among aliased accesses only loads,
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/across_abc_test/
Dacross_abc_test.js20 function getData(store, userInput) { argument
23 let result = store.querySql(sql);
28 let store = db.getDatabaseInstance();
30 getData(store, userInput);
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/
DApp.tsx22 import {store} from './store';
27 <Provider store={store}>
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dstobj.v.obj.yaml44 title: Store register content into object field
46 Store register content into object field by field_id.
55 description: Store register content into object field by field_id.
251 # store into object field
276 # store into object array field
304 # store into i32[] array field
326 # store into panda.Object field
367 # store into panda.Object[] field
439 description: Store register content into object field by field_id.
464 # store null into Q type field
[all …]
Dstobj.obj.yaml49 title: Store accumulator content into object field
51 Store accumulator content into object field by field_id.
60 description: Store accumulator content into object field by field_id.
263 # store into object field
294 # store into object array field
332 # store into i32[] array field
357 # store into panda.Object field
396 # store into panda.Object[] field
462 description: Store accumulator content into object field by field_id.
482 # store null into Q type field
[all …]
Dststatic.obj.yaml49 title: Store to static field
51 Store accumulator content into static field by field_id.
60 description: Store accumulator content into static field by field_id.
197 # store into object type field
228 # store into object array type field
266 # store into i32[] array field
291 # store into panda.Object field
330 # store into panda.Object[] field
376 description: Store accumulator content into static field by field_id.
394 # store null into Q type field
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dlse_doc.md1 # Load Store Elimination
4 The idea of optimization is to delete store instructions that store a value to memory that has been…
8 Elimination of load and store instructions generally reduces the number of long latency memory inst…
27store instructions write values on the heap, load instructions read values from the heap. But if a…
35 - if the instruction is a store and a stored value is equal to value from heap for this store then …
36store and a value from heap for this store is absent or differs from a new stored value then the n…
105 …f loads that will be eliminated because further in the loop we can have a store instruction like t…
113 …esses collected in lists for each phi-candidate. If there is at least one store among them, we dro…
122 * If any of aliased accesses for a candidate is a store, we do nothing.
178 // If a value stored on the heap is already there, we eliminate this store instruction
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/models/
Dlogs.test.ts16 import configureMockStore from 'redux-mock-store';
18 import {AppDispatch} from '../store';
23 let store: ReturnType<typeof mockStore>; variable
39 store = mockStore(initialState);
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dsatepoint_GC_0.ll37 store i64 287454020, i64 addrspace(0)* %value1
39 store i64 1432778632, i64 addrspace(0)* %value2
41 store i64 305419896, i64 addrspace(0)* %value3
44 store i64 287454020, i64 addrspace(0)* %value4
46 store i64 1432778632, i64 addrspace(0)* %value5
48 store i64 305419896, i64 addrspace(0)* %value6
50 store i64 287454020, i64 addrspace(0)* %value7
53 store i64 287454020, i64 addrspace(0)* %value8
55 store i64 1432778632, i64 addrspace(1)* %value9

12345678910>>...29