Home
last modified time | relevance | path

Searched refs:barrier (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dscheduler.cpp29 * 3. No liveness analysis, only calculating dependencies using barrier/users/alias information.
51 void Scheduler::AddDep(uint32_t *prio, Inst *from, Inst *to, uint32_t latency, Inst *barrier) in AddDep() argument
64 // Do not add cross-barrier dependencies into deps_ in AddDep()
65 if (barrier == nullptr || old_[to] > old_[barrier]) { in AddDep()
111 bool barrier = inst->IsBarrier(); in ProcessInst() local
119 // Dependency to the barrier in ProcessInst()
124 // Dependency from barrier in ProcessInst()
125 if (barrier) { in ProcessInst()
285 bool barrier in ScheduleBasicBlock() local
[all...]
H A Dscheduler.h58 void AddDep(uint32_t *prio, Inst *from, Inst *to, uint32_t latency, Inst *barrier);
/arkcompiler/runtime_core/static_core/runtime/
H A Dthread.cpp99 void Thread::InitCardTableData(mem::GCBarrierSet *barrier) in InitCardTableData() argument
101 auto postBarrierType = barrier->GetPostType(); in InitCardTableData()
104 cardTableMinAddr_ = std::get<void *>(barrier->GetPostBarrierOperand("MIN_ADDR").GetValue()); in InitCardTableData()
105 cardTableAddr_ = std::get<uint8_t *>(barrier->GetPostBarrierOperand("CARD_TABLE_ADDR").GetValue()); in InitCardTableData()
110 cardTableAddr_ = std::get<uint8_t *>(barrier->GetPostBarrierOperand("CARD_TABLE_ADDR").GetValue()); in InitCardTableData()
111 cardTableMinAddr_ = std::get<void *>(barrier->GetPostBarrierOperand("MIN_ADDR").GetValue()); in InitCardTableData()
124 LOG(FATAL, RUNTIME) << "Post barrier expected"; in InitCardTableData()
133 auto barrier = gc->GetBarrierSet(); in InitPreBuff() local
134 if (barrier->GetPreType() != ark::mem::BarrierType::PRE_WRB_NONE) { in InitPreBuff()
285 auto barrier in InitBuffers() local
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Druntime.cpp179 SuspendBarrier barrier; in SuspendAllThreadsImpl() local
192 barrier.Initialize(threads_.size() - 1); in SuspendAllThreadsImpl()
197 thread->SuspendThread(+1, &barrier); in SuspendAllThreadsImpl()
202 // passing barrier will be triggered. When the thread-I switches from NON_RUNNING to RUNNING, in SuspendAllThreadsImpl()
203 // it will firstly pass the barrier and then be blocked by the SUSPEND_REQUEST flag. If the in SuspendAllThreadsImpl()
205 // barrier. If the thread-I go to checkpoint in RUNNING state, it will act on the barrier in SuspendAllThreadsImpl()
213 // is not data-race for passing barrier. in SuspendAllThreadsImpl()
232 barrier.Wait(); in SuspendAllThreadsImpl()
H A Djs_thread.cpp1153 void JSThread::SuspendThread(bool internalSuspend, SuspendBarrier* barrier) in SuspendThread() argument
1166 if (barrier != nullptr) { in SuspendThread()
1168 suspendBarrier_ = barrier; in SuspendThread()
H A Djs_thread.h1368 void SuspendThread(bool internalSuspend, SuspendBarrier* barrier = nullptr);
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dmcr_gate_meta_data.h403 void SetBarrier(Barrier barrier) in SetBarrier() argument
405 BarrierField::Set<uint32_t>(barrier, &value_); in SetBarrier()
439 static MemoryAttribute Create(Order order, Barrier barrier = UNKNOWN_BARRIER, ShareFlag share = UNKNOWN) in Create()
441 uint32_t value = OrderField::Encode(order) | BarrierField::Encode(barrier) | ShareField::Encode(share); in Create()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Doption.h135 static bool barrier; member in maple::Options
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Doption.cpp86 bool Options::barrier = false; member in maple::Options
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dthread.h338 void InitCardTableData(mem::GCBarrierSet *barrier);
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js17767 this.barrier = n;
17775 this.barrier = t.barrier;
17788 this.barrier = o;
17798 this.barrier = t.barrier;
[all...]

Completed in 65 milliseconds