Home
last modified time | relevance | path

Searched defs:block (Results 1 – 25 of 54) sorted by relevance

123

/arkcompiler/runtime_core/compiler/optimizer/analysis/
Ddominators_tree.h54 void SetAncestor(BasicBlock *dest, BasicBlock *block) in SetAncestor()
58 BasicBlock *GetAncestor(BasicBlock *block) const in GetAncestor()
66 BlocksVector &GetBucket(BasicBlock *block) in GetBucket()
74 void SetIdom(BasicBlock *dest, BasicBlock *block) in SetIdom()
78 BasicBlock *GetIdom(BasicBlock *block) const in GetIdom()
86 void SetLabel(BasicBlock *dest, BasicBlock *block) in SetLabel()
90 BasicBlock *GetLabel(BasicBlock *block) const in GetLabel()
98 void SetParent(BasicBlock *dest, BasicBlock *block) in SetParent()
102 BasicBlock *GetParent(BasicBlock *block) const in GetParent()
114 int32_t GetSemi(BasicBlock *block) const in GetSemi()
[all …]
Ddominators_tree.cpp26 for (auto block : GetGraph()->GetBlocksRPO()) { in RunImpl() local
50 void DominatorsTree::AdjustImmediateDominators(BasicBlock *block) in AdjustImmediateDominators()
65 void DominatorsTree::ComputeImmediateDominators(BasicBlock *block) in ComputeImmediateDominators()
97 void DominatorsTree::Compress(BasicBlock *block) in Compress()
114 void DominatorsTree::DfsNumbering(BasicBlock *block) in DfsNumbering()
138 BasicBlock *DominatorsTree::Eval(BasicBlock *block) in Eval()
181 void DominatorsTree::SetDomPair(BasicBlock *dominator, BasicBlock *block) in SetDomPair()
222 inline uint32_t DominatorsTree::GetBlockId(BasicBlock *block) in GetBlockId()
Dloop_analyzer.cpp39 for (auto block : GetGraph()->GetVectorBlocks()) { in ResetLoopInfo() local
80 void LoopAnalyzer::BackEdgeSearch(BasicBlock *block) in BackEdgeSearch()
235 auto block = *it; in PopulateLoops() local
260 for (auto block : GetGraph()->GetBlocksRPO()) { in PopulateLoops() local
276 void LoopAnalyzer::NaturalLoopSearch(Loop *loop, BasicBlock *block) in NaturalLoopSearch()
310 void Loop::AppendBlock(BasicBlock *block) in AppendBlock()
317 void Loop::RemoveBlock(BasicBlock *block) in RemoveBlock()
374 for (auto block : GetBlocks()) { in CheckInfinity() local
416 for (auto block : loop->GetBlocks()) { in IsLoopSingleBackEdgeExitPoint() local
Dlinear_order.cpp48 void LinearOrder::HandlePrevInstruction(BasicBlock *block, BasicBlock *prev_block) in HandlePrevInstruction()
106 for (auto block : blocks) { in MakeLinearOrder() local
121 BasicBlock *LinearOrder::LeastLikelySuccessor(const BasicBlock *block) in LeastLikelySuccessor()
152 void LinearOrder::DFSAndDeferLeastFrequentBranches(BasicBlock *block, size_t *blocks_count) in DFSAndDeferLeastFrequentBranches()
Dloop_analyzer.h62 void AppendBackEdge(BasicBlock *block) in AppendBackEdge()
68 void ReplaceBackEdge(BasicBlock *block, BasicBlock *new_block) in ReplaceBackEdge()
78 bool HasBackEdge(BasicBlock *block) const in HasBackEdge()
84 void RemoveBackEdge(BasicBlock *block) in RemoveBackEdge()
Dliveness_analyzer.cpp104 bool LivenessAnalyzer::AllForwardEdgesVisited(BasicBlock *block) in AllForwardEdgesVisited()
151 … auto pc_compare = [succ](auto block) { return block->GetGuestPc() > succ->GetGuestPc(); }; in LinearizeBlocks()
159 auto is_same_or_inner_loop = [succ](auto block) { in LinearizeBlocks()
177 for (auto block : linear_blocks_) { in CheckLinearOrder() local
181 for (auto block : linear_blocks_) { in CheckLinearOrder() local
210 for (auto block : GetLinearizedBlocks()) { in BuildInstLifeNumbers() local
240 auto block = *it; in BuildInstLifeIntervals() local
251 InstLiveSet *LivenessAnalyzer::GetInitInstLiveSet(BasicBlock *block) in GetInitInstLiveSet()
295 void LivenessAnalyzer::ProcessBlockLiveInstructions(BasicBlock *block, InstLiveSet *live_set) in ProcessBlockLiveInstructions()
443 void LivenessAnalyzer::SetBlockLiveRange(BasicBlock *block, LiveRange life_range) in SetBlockLiveRange()
[all …]
Drpo.cpp27 void Rpo::DFS(BasicBlock *block, size_t *blocks_count) in DFS()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.cpp25 static void MarkBlocksRec(Marker mrk, BasicBlock *block) in MarkBlocksRec()
109 void Graph::AddBlock(BasicBlock *block) in AddBlock()
118 void Graph::AddBlock(BasicBlock *block, uint32_t id) in AddBlock()
153 auto block = GetAllocator()->New<BasicBlock>(this, guest_pc); in CreateEmptyBlock() local
162 auto block = CreateEmptyBlock(); in CreateEmptyBlock() local
172 auto block = GetAllocator()->New<BasicBlock>(this, guest_pc); in CreateEmptyBlock() local
180 auto block = CreateEmptyBlock(0U); in CreateStartBlock() local
187 auto block = CreateEmptyBlock(guest_pc); in CreateEndBlock() local
192 void RemovePredecessorUpdateDF(BasicBlock *block, BasicBlock *rm_pred) in RemovePredecessorUpdateDF()
220 void Graph::RemoveSuccessors(BasicBlock *block) in RemoveSuccessors()
[all …]
Dgraph_checker.cpp44 for (auto block : graph->GetVectorBlocks()) { in UserInputCheck() local
103 for (auto block : GetGraph()->GetVectorBlocks()) { in Check() local
138 void GraphChecker::CheckBlock([[maybe_unused]] BasicBlock *block) in CheckBlock()
161 void GraphChecker::CheckControlFlow(BasicBlock *block) in CheckControlFlow()
186 void GraphChecker::CheckDataFlow(BasicBlock *block) in CheckDataFlow()
247 for (auto block : GetGraph()->GetEndBlock()->GetPredsBlocks()) { in CheckCallReturnInlined() local
356 void GraphChecker::CheckNoLowLevel(BasicBlock *block) in CheckNoLowLevel()
368 for ([[maybe_unused]] auto block : loop->GetBlocks()) { in MarkBlocksInLoop() local
377 bool GraphChecker::CheckBlockHasPredecessor(BasicBlock *block, BasicBlock *predecessor) in CheckBlockHasPredecessor()
388 bool GraphChecker::CheckBlockHasSuccessor(BasicBlock *block, BasicBlock *successor) in CheckBlockHasSuccessor()
[all …]
Dgraph_cloner.h179 bool HasClone(const BasicBlock *block) in HasClone()
184 BasicBlock *GetClone(const BasicBlock *block) in GetClone()
223 for (const auto &block : blocks) { in CloneBlocksAndInstructions() local
239 void CloneInstructions(const BasicBlock *block, BasicBlock *clone, size_t *inst_count) in CloneInstructions()
304 void CloneEdges(BasicBlock *block) in CloneEdges()
Dgraph_cloner.cpp62 for (auto block : GetGraph()->GetBlocksRPO()) { in CloneAnalyses() local
98 for (auto block : loop->GetBlocks()) { in CopyLoop() local
128 for (auto block : GetGraph()->GetBlocksLinearOrder()) { in CloneLinearOrder() local
138 for (const auto &block : GetGraph()->GetVectorBlocks()) { in BuildControlFlow() local
152 for (const auto &block : GetGraph()->GetVectorBlocks()) { in BuildDataFlow() local
187 for (auto block : loop->GetBlocks()) { in CreateResolverBlock() local
526 void GraphCloner::BuildClonedLoopHeaderDataFlow(const BasicBlock &block, BasicBlock *resolver, Basi… in BuildClonedLoopHeaderDataFlow()
584 BasicBlock *GraphCloner::CloneLoopHeader(BasicBlock *block, BasicBlock *outer, BasicBlock *replacea… in CloneLoopHeader()
809 auto block = outside_succ->SplitBlockAfterInstruction(last_phi, true); in PrepareLoopToClone() local
817 auto block = outside_succ->InsertEmptyBlockBefore(); in PrepareLoopToClone() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtyped_array_stub_builder.cpp212 GateRef block = GetDataPointFromBuffer(buffer); in GetValueFromBuffer() local
221 GateRef block = GetDataPointFromBuffer(buffer); in GetValueFromBuffer() local
230 GateRef block = GetDataPointFromBuffer(buffer); in GetValueFromBuffer() local
248 GateRef block = GetDataPointFromBuffer(buffer); in GetValueFromBuffer() local
257 GateRef block = GetDataPointFromBuffer(buffer); in GetValueFromBuffer() local
266 GateRef block = GetDataPointFromBuffer(buffer); in GetValueFromBuffer() local
281 GateRef block = GetDataPointFromBuffer(buffer); in GetValueFromBuffer() local
300 GateRef block = GetDataPointFromBuffer(buffer); in GetValueFromBuffer() local
309 GateRef block = GetDataPointFromBuffer(buffer); in GetValueFromBuffer() local
/arkcompiler/runtime_core/bytecode_optimizer/
Dreg_acc_alloc.cpp30 compiler::BasicBlock *block = src_inst->GetBasicBlock(); in IsAccWriteBetween() local
200 for (auto block : GetGraph()->GetBlocksRPO()) { in RunImpl() local
218 for (auto block : GetGraph()->GetBlocksRPO()) { in RunImpl() local
227 for (auto block : GetGraph()->GetBlocksRPO()) { in RunImpl() local
/arkcompiler/ets_runtime/ecmascript/
Dbyte_array.cpp25 auto *block = reinterpret_cast<uint8_t *>(pointer) + offset; in Set() local
33 auto *block = reinterpret_cast<uint8_t *>(pointer) + offset; in Get() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_arraybuffer.cpp322 uint8_t *block = reinterpret_cast<uint8_t *>(pointer); in GetValueFromBuffer() local
326 …Value BuiltinsArrayBuffer::GetValueFromBuffer(JSThread *thread, uint32_t byteIndex, uint8_t *block, in GetValueFromBuffer()
386 uint8_t *block = reinterpret_cast<uint8_t *>(pointer); in SetValueInBuffer() local
417 void BuiltinsArrayBuffer::SetTypeData(uint8_t *block, T value, uint32_t index) in SetTypeData()
463 JSTaggedValue BuiltinsArrayBuffer::GetValueFromBufferForInteger(uint8_t *block, uint32_t byteIndex,… in GetValueFromBufferForInteger()
487 JSTaggedValue BuiltinsArrayBuffer::GetValueFromBufferForFloat(uint8_t *block, uint32_t byteIndex, b… in GetValueFromBufferForFloat()
529 JSTaggedValue BuiltinsArrayBuffer::GetValueFromBufferForBigInt(JSThread *thread, uint8_t *block, in GetValueFromBufferForBigInt()
545 void BuiltinsArrayBuffer::SetValueInBufferForByte(double val, uint8_t *block, uint32_t byteIndex) in SetValueInBufferForByte()
560 void BuiltinsArrayBuffer::SetValueInBufferForUint8Clamped(double val, uint8_t *block, uint32_t byte… in SetValueInBufferForUint8Clamped()
576 void BuiltinsArrayBuffer::SetValueInBufferForInteger(double val, uint8_t *block, uint32_t byteIndex… in SetValueInBufferForInteger()
[all …]
Dbuiltins_atomics.cpp313 uint8_t *block = reinterpret_cast<uint8_t *>(pointer); in AtomicReadModifyWriteCase() local
340 JSTaggedValue BuiltinsAtomics::HandleWithUint8(JSThread *thread, uint32_t size, uint8_t *block, in HandleWithUint8()
361 JSTaggedValue BuiltinsAtomics::HandleWithInt8(JSThread *thread, uint32_t size, uint8_t *block, in HandleWithInt8()
382 JSTaggedValue BuiltinsAtomics::HandleWithUint16(JSThread *thread, uint32_t size, uint8_t *block, in HandleWithUint16()
403 JSTaggedValue BuiltinsAtomics::HandleWithInt16(JSThread *thread, uint32_t size, uint8_t *block, in HandleWithInt16()
424 JSTaggedValue BuiltinsAtomics::HandleWithUint32(JSThread *thread, uint32_t size, uint8_t *block, in HandleWithUint32()
445 JSTaggedValue BuiltinsAtomics::HandleWithInt32(JSThread *thread, uint32_t size, uint8_t *block, in HandleWithInt32()
466 JSTaggedValue BuiltinsAtomics::HandleWithBigInt64(JSThread *thread, uint32_t size, uint8_t *block, in HandleWithBigInt64()
492 JSTaggedValue BuiltinsAtomics::HandleWithBigUint64(JSThread *thread, uint32_t size, uint8_t *block, in HandleWithBigUint64()
/arkcompiler/runtime_core/isa/
Dasserts.rb24 def sorted_by?(&block)
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyFunctionProto.cpp20 void CatchBlock::Serialize(const panda::pandasm::Function::CatchBlock &block, protoPanda::CatchBloc… in Serialize()
30 …:Deserialize(const protoPanda::CatchBlock &protoBlock, panda::pandasm::Function::CatchBlock &block) in Deserialize()
82 for (const auto &block : function.catch_blocks) { in Serialize() local
/arkcompiler/runtime_core/compiler/optimizer/
Dpass_manager_statistics.cpp96 for (auto block : graph_->GetVectorBlocks()) { in ProcessBeforeRun() local
132 for (auto block : graph_->GetVectorBlocks()) { in ProcessAfterRun() local
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dsplit_resolver.cpp38 for (auto block : liveness_->GetLinearizedBlocks()) { in Run() local
69 void SplitResolver::ProcessBlock(BasicBlock *block) in ProcessBlock()
/arkcompiler/runtime_core/compiler/tests/
Drpo_test.cpp26 for (auto block : GetGraph()->GetBlocksRPO()) { in Check_Subsequence() local
39 auto block = GetGraph()->CreateStartBlock(); in TEST_F() local
Dloop_analyzer_test.cpp30 for (auto block : blocks) { in CheckVectorEqualSet() local
45 void CheckPhiInputs(BasicBlock *block) in CheckPhiInputs()
Ddom_tree_test.cpp27 for (auto block : dominator->GetDominatedBlocks()) { in CheckImmediateDominators() local
61 auto block = GetGraph()->GetStartBlock(); in TEST_F() local
Dbasicblock_test.cpp30 for (auto block : blocks) { in CheckVectorEqualSet() local
48 …void CheckBlockFalseSuccessorPosition(BasicBlock *block, const ArenaVector<BasicBlock *> &blocks_v… in CheckBlockFalseSuccessorPosition()
/arkcompiler/ets_frontend/es2panda/ir/statements/
DtryStatement.h39 … explicit TryStatement(BlockStatement *block, CatchClause *catchClause, BlockStatement *finalizer) in TryStatement()

123