Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 20 of 20) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Dloop_analysis.cpp51 GateRef cur = Circuit::NullGate(); in CollectLoopBody() local
53 cur = firstList.front(); in CollectLoopBody()
56 cur = secondList.front(); in CollectLoopBody()
59 ASSERT(gateToDepth.count(cur) > 0); in CollectLoopBody()
60 auto use = acc_.Uses(cur); in CollectLoopBody()
64 if (acc_.IsLoopExit(cur) && (!acc_.IsFixed(*it))) { in CollectLoopBody()
66 } else if (acc_.IsLoopExitRelated(cur) && acc_.IsFixed(cur)) { in CollectLoopBody()
74 ASSERT(gateToDepth[nex] == ComputeLoopDepth(cur, nex, gateToDepth[cur])); in CollectLoopBody()
81 gateToDepth[nex] = ComputeLoopDepth(cur, nex, gateToDepth[cur]); in CollectLoopBody()
142 size_t LoopAnalysis::ComputeLoopDepth(GateRef cur, GateRef nex, size_t curDep) in ComputeLoopDepth() argument
[all …]
Dgraph_editor.cpp132 auto cur = workList.front(); in EliminatePhi() local
134 ASSERT(acc_.IsValueSelector(cur)); in EliminatePhi()
135 GateRef first = acc_.GetValueIn(cur, 0); in EliminatePhi()
136 auto use = acc_.Uses(cur); in EliminatePhi()
138 bool selfUse = first == cur; in EliminatePhi()
140 auto valueNum = acc_.GetNumValueIn(cur); in EliminatePhi()
142 GateRef input = acc_.GetValueIn(cur, i); in EliminatePhi()
146 if (input == cur) { in EliminatePhi()
147 ASSERT(acc_.IsLoopHead(acc_.GetState(cur))); in EliminatePhi()
152 inList.erase(cur); in EliminatePhi()
[all …]
Dverifier.cpp146 GateRef cur; in RunCFGIsDAGCheck() member
158 auto &cur = curState.cur; in RunCFGIsDAGCheck() local
162 gateAcc.SetFinished(cur); in RunCFGIsDAGCheck()
172 << "(id=" << gateAcc.GetId(cur) << ")"; in RunCFGIsDAGCheck()
173 LOG_COMPILER(ERROR) << "(id=" << gateAcc.GetId(cur) << ") is reachable from " in RunCFGIsDAGCheck()
298 GateRef cur; in RunFlowCyclesFind() member
313 auto &cur = curState.cur; in RunFlowCyclesFind() local
317 gateAcc.SetFinished(cur); in RunFlowCyclesFind()
321 const auto prev = gateAcc.GetIn(cur, idx); in RunFlowCyclesFind()
328 << "(id=" << circuit->GetId(cur) << ")"; in RunFlowCyclesFind()
[all …]
Dloop_analysis.h48 size_t ComputeLoopDepth(GateRef cur, GateRef nex, size_t curDep);
Dscheduler.cpp145 size_t cur; in Run() member
160 auto &cur = curState.cur; in Run() local
164 timeOut[cur] = timestamp++; in Run()
171 jumpUp[succ][0] = cur; in Run()
Dbytecode_circuit_builder.cpp1577 size_t cur = workList.front(); in ComputeLoopDepth() local
1579 if (visited.count(cur) > 0) { in ComputeLoopDepth()
1582 visited.insert(cur); in ComputeLoopDepth()
1583 auto &curBB = GetBasicBlockById(cur); in ComputeLoopDepth()
/arkcompiler/toolchain/websocket/
Ddefine.h46 size_t cur = str.find(input); in ProtocolSplit() local
47 while (cur != std::string::npos) { in ProtocolSplit()
48 std::string tmp = str.substr(prev, cur - prev); in ProtocolSplit()
50 prev = cur + len; in ProtocolSplit()
51 cur = str.find(input, prev); in ProtocolSplit()
/arkcompiler/runtime_core/libpandabase/mem/
Darena_allocator.cpp60 Arena *cur = arenas_; in ~ArenaAllocatorT() local
61 while (cur != nullptr) { in ~ArenaAllocatorT()
63 tmp = cur->GetNextArena(); in ~ArenaAllocatorT()
64 PoolManager::FreeArena(cur); in ~ArenaAllocatorT()
65 cur = tmp; in ~ArenaAllocatorT()
174 for (Arena *cur = arenas_; cur != nullptr; cur = cur->GetNextArena()) { in GetAllocatedSize() local
175 size += cur->GetOccupiedSize(); in GetAllocatedSize()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot_json_serializer.h47 const char *cur = str.c_str(); in Write() local
48 const char *end = cur + len; in Write()
49 while (cur < end) { in Write()
51 int writeSize = std::min(static_cast<int>(end - cur), dstSize); in Write()
52 if (memcpy_s(chunk_.data() + current_, dstSize, cur, writeSize) != EOK) { in Write()
55 cur += writeSize; in Write()
/arkcompiler/runtime_core/tests/cts-assembly/
Dobj-13.pa33 # Obj* cur;
34 # cur = head;
36 # addNext(cur, i);
37 # cur = cur->next;
41 # cur = head;
43 # ret += cur->data;
44 # cur = cur->next;
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_parser.h183 int cur = c; in GetcurrentCharNext() local
185 if (c == cur) { in GetcurrentCharNext()
189 !((cur >= 'A' && cur <= 'Z') || (cur >= 'a' && cur <= 'z'))) { in GetcurrentCharNext()
190 c = cur; in GetcurrentCharNext()
Dregexp_parser.cpp1482 int cur = c; in Canonicalize() local
1486 c = cur; in Canonicalize()
1491 c = cur; in Canonicalize()
/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases/
Dtest-class-1-expected.txt262 val: cur
344 val: cur
512 val: cur
522 val: .cur
Dtest-class-1.ts18 cur() : Student { method in Student
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/
Dstubbuilder.js667 const result = arr.reduce((pre, cur) => {
668 if (!obj[cur.stuId]) {
669 obj[cur.stuId] = true;
670 return [...pre, cur];
701 let num = str.split("").reduce((pre, cur) => {
702 if (cur in pre) {
703 pre[cur]++;
705 pre[cur] = 1;
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dinterference_graph.cpp44 unsigned cur = nodes_.size(); in AllocNode() local
45 nodes_.emplace_back(cur, nodes_.get_allocator()); in AllocNode()
/arkcompiler/ets_runtime/ecmascript/
Ddate_parse.h325 DateUnit cur = GetDate(); in NextDate() local
327 return cur; in NextDate()
/arkcompiler/runtime_core/libpandabase/tests/
Dalloc_tracker_test.cpp48 in.seekg(len, std::ios_base::cur); in SkipString()
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DinstantiateContextualTypes.ts48 nextValues: (cur: T) => T;
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_info.cpp1154 stream.seekp(sizeof(SectionInfo), std::ofstream::cur); in ProcessToBinaryForLayout()