Home
last modified time | relevance | path

Searched refs:chunk_ (Results 1 – 25 of 47) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/mem/
Dchunk_allocator.h42 explicit ChunkAllocator(Chunk *chunk) : chunk_(chunk) {} in ChunkAllocator()
45 explicit ChunkAllocator(const ChunkAllocator<U> &other) : chunk_(other.chunk_) in ChunkAllocator()
55 chunk_ = other.chunk_; in ChunkAllocator()
56 other.chunk_ = nullptr; in ChunkAllocator()
60 chunk_ = other.chunk_;
61 other.chunk_ = nullptr;
87 return chunk_->NewArray<T>(n);
109 return chunk_ == other.chunk_;
113 return chunk_ != other.chunk_;
118 return chunk_->NewArray<uint8_t>(size); in Alloc()
[all …]
Ddyn_chunk.h30 explicit DynChunk(Chunk *chunk) : chunk_(chunk) in DynChunk()
32 ASSERT(chunk_ != nullptr); in DynChunk()
142 DynChunk(uint8_t *buf, Chunk *chunk) : buf_(buf), chunk_(chunk) in DynChunk()
144 ASSERT(chunk_ != nullptr); in DynChunk()
151 Chunk *chunk_ {nullptr};
/arkcompiler/ets_runtime/ecmascript/regexp/tests/
Dregexp_test.cpp42 chunk_ = thread->GetEcmaVM()->GetChunk(); in SetUp()
104 Chunk *chunk_ {nullptr}; member in panda::test::RegExpTest
109 RegExpParser parser = RegExpParser(chunk_); in HWTEST_F_L0()
119 RegExpParser parser = RegExpParser(chunk_); in HWTEST_F_L0()
129 RegExpParser parser = RegExpParser(chunk_); in HWTEST_F_L0()
139 RegExpParser parser = RegExpParser(chunk_); in HWTEST_F_L0()
149 RegExpParser parser = RegExpParser(chunk_); in HWTEST_F_L0()
159 RegExpParser parser = RegExpParser(chunk_); in HWTEST_F_L0()
169 RegExpParser parser = RegExpParser(chunk_); in HWTEST_F_L0()
179 RegExpParser parser = RegExpParser(chunk_); in HWTEST_F_L0()
[all …]
Ddyn_chunk_test.cpp40 chunk_ = thread->GetEcmaVM()->GetChunk(); in SetUp()
51 Chunk *chunk_ {nullptr}; member in panda::test::DynChunkTest
56 DynChunk dynChunk = DynChunk(chunk_); in HWTEST_F_L0()
74 DynChunk dynChunk = DynChunk(chunk_); in HWTEST_F_L0()
88 DynChunk dynChunk = DynChunk(chunk_); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dearly_elimination.cpp48 auto newChain = new (chunk_) DependInfoNode(chunk_); in GetLoopDependInfo()
50 ChunkSet<GateRef> visited(chunk_); in GetLoopDependInfo()
51 ChunkQueue<GateRef> workList(chunk_); in GetLoopDependInfo()
74 auto empty = new (chunk_) DependInfoNode(chunk_); in VisitDependEntry()
210 DependInfoNode* copy = new (chunk_) DependInfoNode(chunk_); in TryEliminateDependSelector()
242 return new (chunk_) DependInfoNode(chunk_); in UpdateWrite()
382 ChunkStack<GateRef> gateStack(chunk_); in Rename()
418 ChunkStack<GateRef> gateStack(chunk_); in Merge()
440 Node* node = chunk_->New<Node>(gateStack.top(), head_); in Merge()
487 ChunkStack<GateRef> st(chunk_); in GetGates()
[all …]
Dnumber_speculative_runner.cpp24 RangeGuard rangeGuard(circuit_, chunk_); in Run()
41 NumberSpeculativeRetype retype(circuit_, chunk_, typeInfos_); in Run()
58 RangeAnalysis rangeAnalysis(circuit_, chunk_, typeInfos_, rangeInfos_); in Run()
72 NumberSpeculativeLowering lowering(circuit_, chunk_, typeInfos_, rangeInfos_); in Run()
Ddebug_info.h37 FuncDebugInfo(Chunk *chunk) : chunk_(chunk), name_("") in FuncDebugInfo()
39 comments_ = new ChunkVector<std::string>(chunk_); in FuncDebugInfo()
82 Chunk* chunk_ {nullptr};
89 Chunk chunk_; variable
Ddebug_info.cpp22 : chunk_(allocator), in DebugInfo()
23 funcToDInfo_(&chunk_), in DebugInfo()
24 dInfos_(&chunk_), in DebugInfo()
63 FuncDebugInfo *info = new FuncDebugInfo(&chunk_); in AddFuncDebugInfo()
Dloop_peeling.h33 methodName_(name), chunk_(chunk), loopInfo_(loopInfo), copies_(chunk_) {} in LoopPeeling()
55 Chunk* chunk_{nullptr};
Dgate_meta_data.cpp303 : cache_(), chunk_(chunk) {} in GateMetaBuilder()
316 auto meta = new (chunk_) BoolMetaData(OpCode::OP, R, S, D, V, value); \
325 auto meta = new (chunk_) BoolMetaData(OpCode::OP, R, S, D, V, flag); \ in GATE_META_DATA_LIST_WITH_BOOL()
348 auto meta = new (chunk_) GateMetaData(OpCode::OP, R, S, D, V); \
372 auto meta = new (chunk_) OneParameterMetaData(OpCode::OP, R, S, D, V, value); \
382 auto meta = new (chunk_) OneParameterMetaData(OpCode::OP, R, S, D, V, value); \
392 auto meta = new (chunk_) OneParameterMetaData(OpCode::OP, R, S, D, value, pcOffset); \
402 auto meta = new (chunk_) TypedCallMetaData(OpCode::OP, R, S, D, value, pcOffset, noGC); \
412 auto meta = new (chunk_) OneParameterMetaData(OpCode::OP, R, S, D, V, pcOffset); \
432 auto meta = new (chunk_) OneParameterMetaData(OpCode::ARG, GateFlags::HAS_ROOT, 0, 0, 0, value);
Dgraph_visitor.h29 chunk_(chunk), workList_(chunk), changedList_(chunk), orderList_(chunk) {} in GraphVisitor()
64 return chunk_; in GetChunk()
70 Chunk* chunk_ {nullptr};
Dgate_meta_data_builder.h139 return new (chunk_) JSBytecodeMetaData(valuesIn, opcode, pcOffset, flags); in JSBytecode()
144 return new (chunk_) TypedBinaryMetaData(value, binOp, type); in TypedBinaryOp()
149 return new (chunk_) TypedCallTargetCheckMetaData(numIns, value, checkOp); in TypedCallTargetCheckOp()
159 auto meta = new (chunk_) GateMetaData(other->opcode_, other->GetFlags(), in NewGateMetaData()
167 return new (chunk_) StringMetaData(chunk_, str); in ConstString()
173 Chunk* chunk_; variable
Dgraph_editor.h29 chunk_(circuit->chunk()), workList_(circuit->chunk()) {} in GraphEditor()
44 Chunk* chunk_ {nullptr};
Dnumber_speculative_runner.h30 chunk_(chunk), typeInfos_(chunk), rangeInfos_(chunk) {} in NumberSpeculativeRunner()
49 Chunk *chunk_ {nullptr};
Dloop_analysis.cpp45 ChunkUnorderedMap<GateRef, size_t> gateToDepth(chunk_); in CollectLoopBody()
46 ChunkQueue<GateRef> firstList(chunk_); // for state and depend edges in CollectLoopBody()
47 ChunkQueue<GateRef> secondList(chunk_); // for other edges in CollectLoopBody()
179 ChunkQueue<GateRef> workList(chunk_); in LoopExitElimination()
180 ChunkSet<GateRef> inList(chunk_); in LoopExitElimination()
Dlater_elimination.cpp40 auto empty = new (chunk_) DependChains(chunk_); in VisitDependEntry()
125 DependChains* copy = new (chunk_) DependChains(chunk_); in TryEliminateDependSelector()
Dloop_analysis.h38 : acc_(circuit), chunk_(chunk), loopInfos_(chunk) {} in LoopAnalysis()
51 Chunk* chunk_{nullptr};
Drange_guard.cpp80 DependChains* copy = new (chunk_) DependChains(chunk_); in TraverseDependSelector()
150 auto empty = new (chunk_) DependChains(chunk_); in VisitDependEntry()
Dgraph_linearizer.cpp42 : linearizer_(linearizer), pendingList_(linearizer->chunk_), in CFGBuilder()
43 endStateList_(linearizer->chunk_), in CFGBuilder()
225 ChunkDeque<size_t> sonList(linearizer_->chunk_); in BuildDomTree()
322 loops_(chunk), loopbacks_(chunk), chunk_(chunk), in LoopInfoBuilder()
377 loopInfo.loopBodys = chunk_->New<BitSet>(chunk_, size); in ComputeLoopInfo()
480 loopInfo->loopExits = chunk_->New<ChunkVector<GateRegion*>>(chunk_); in AddLoopExit()
548 Chunk* chunk_ {nullptr}; member in panda::ecmascript::kungfu::LoopInfoBuilder
557 : linearizer_(linearizer), fixedGateList_(linearizer->chunk_), in GateScheduler()
558 pendingList_(linearizer->chunk_), acc_(linearizer->circuit_), in GateScheduler()
797 ImmediateDominatorsGenerator generator(this, chunk_, regionList_.size()); in LinearizeGraph()
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot_json_serializer.h39 : stream_(stream), chunkSize_(stream->GetSize()), chunk_(chunkSize_), current_(0) in StreamWriter()
52 if (memcpy_s(chunk_.data() + current_, dstSize, cur, writeSize) != EOK) { in Write()
80 stream_->WriteChunk(chunk_.data(), current_); in WriteChunk()
86 CVector<char> chunk_; variable
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/
Dassembler_aarch64_test.cpp50 chunk_ = thread->GetEcmaVM()->GetChunk(); in SetUp()
126 Chunk *chunk_ {nullptr}; member in panda::test::AssemblerAarch64Test
142 AssemblerAarch64 masm(chunk_); in HWTEST_F_L0()
157 AssemblerAarch64 masm(chunk_); in HWTEST_F_L0()
173 AssemblerAarch64 masm(chunk_); in HWTEST_F_L0()
197 AssemblerAarch64 masm(chunk_); in HWTEST_F_L0()
222 AssemblerAarch64 masm(chunk_); in HWTEST_F_L0()
239 AssemblerAarch64 masm(chunk_); in HWTEST_F_L0()
257 AssemblerAarch64 masm(chunk_); in HWTEST_F_L0()
290 AssemblerAarch64 masm(chunk_); in HWTEST_F_L0()
[all …]
Dassembler_x64_test.cpp55 chunk_ = thread->GetEcmaVM()->GetChunk(); in SetUp()
132 Chunk *chunk_ {nullptr}; member in panda::test::AssemblerX64Test
138 x64::AssemblerX64 masm(chunk_); in HWTEST_F_L0()
187 x64::AssemblerX64 masm(chunk_); in HWTEST_F_L0()
268 x64::AssemblerX64 masm(chunk_); in HWTEST_F_L0()
330 x64::AssemblerX64 masm(chunk_); in HWTEST_F_L0()
409 x64::AssemblerX64 masm(chunk_); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/base/
Ddepend_chain_helper.cpp99 Node* node = chunk_->New<Node>(gate, head_); in UpdateNode()
100 DependChains* that = new (chunk_) DependChains(chunk_); in UpdateNode()
Ddepend_chain_helper.h31 DependChains(Chunk* chunk) : chunk_(chunk) {} in DependChains()
54 Chunk* chunk_; variable
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dpgo_type_infer.h30 … builder_(builder), methodName_(name), chunk_(chunk), enableLog_(enableLog), profiler_(chunk) {} in PGOTypeInfer()
90 Chunk *chunk_ {nullptr};

12