Home
last modified time | relevance | path

Searched defs:block (Results 1 – 25 of 71) 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.cpp52 void LinearOrder::HandlePrevInstruction(BasicBlock *block, BasicBlock *prev_block) in HandlePrevInstruction()
115 for (auto block : blocks) { in MakeLinearOrder() local
130 BasicBlock *LinearOrder::LeastLikelySuccessor(const BasicBlock *block) in LeastLikelySuccessor()
161 void LinearOrder::DFSAndDeferLeastFrequentBranches(BasicBlock *block, size_t *blocks_count) in DFSAndDeferLeastFrequentBranches()
Dliveness_analyzer.cpp106 bool LivenessAnalyzer::AllForwardEdgesVisited(BasicBlock *block) in AllForwardEdgesVisited()
153 … auto pc_compare = [succ](auto block) { return block->GetGuestPc() > succ->GetGuestPc(); }; in LinearizeBlocks()
161 auto is_same_or_inner_loop = [succ](auto block) { in LinearizeBlocks()
179 for (auto block : linear_blocks_) { in CheckLinearOrder() local
183 for (auto block : linear_blocks_) { in CheckLinearOrder() local
212 for (auto block : GetLinearizedBlocks()) { in BuildInstLifeNumbers() local
248 auto block = *it; in BuildInstLifeIntervals() local
259 InstLiveSet *LivenessAnalyzer::GetInitInstLiveSet(BasicBlock *block) in GetInitInstLiveSet()
303 void LivenessAnalyzer::ProcessBlockLiveInstructions(BasicBlock *block, InstLiveSet *live_set) in ProcessBlockLiveInstructions()
484 void LivenessAnalyzer::SetBlockLiveRange(BasicBlock *block, LiveRange life_range) in SetBlockLiveRange()
[all …]
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()
/arkcompiler/runtime_core/runtime/
Dglobal_handle_storage-inl.h40 auto block = allocator_->New<std::array<Node, GLOBAL_BLOCK_SIZE>>(); in NewGlobalHandle() local
84 …lHandleStorage<coretypes::TaggedType>::DealUpdateObject(std::array<Node, GLOBAL_BLOCK_SIZE> *block, in DealUpdateObject()
102 auto block = globalNodes_->at(i); in UpdateHeapObject() local
108 auto block = globalNodes_->back(); in UpdateHeapObject() local
115 …lHandleStorage<coretypes::TaggedType>::DealVisitGCRoots(std::array<Node, GLOBAL_BLOCK_SIZE> *block, in DealVisitGCRoots()
132 auto block = globalNodes_->at(i); in VisitGCRoots() local
138 auto block = globalNodes_->back(); in VisitGCRoots() local
Dglobal_handle_storage.h101 inline void DealUpdateObject([[maybe_unused]] std::array<Node, GLOBAL_BLOCK_SIZE> *block, in DealUpdateObject()
106 inline void DealVisitGCRoots([[maybe_unused]] std::array<Node, GLOBAL_BLOCK_SIZE> *block, in DealVisitGCRoots()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.cpp34 static void MarkBlocksRec(Marker mrk, BasicBlock *block) in MarkBlocksRec()
131 void Graph::AddBlock(BasicBlock *block) in AddBlock()
140 void Graph::AddBlock(BasicBlock *block, uint32_t id) in AddBlock()
185 auto block = GetAllocator()->New<BasicBlock>(this, guest_pc); in CreateEmptyBlock() local
194 auto block = CreateEmptyBlock(); in CreateEmptyBlock() local
204 auto block = GetAllocator()->New<BasicBlock>(this, guest_pc); in CreateEmptyBlock() local
212 auto block = CreateEmptyBlock(0U); in CreateStartBlock() local
219 auto block = CreateEmptyBlock(guest_pc); in CreateEndBlock() local
224 void RemovePredecessorUpdateDF(BasicBlock *block, BasicBlock *rm_pred) in RemovePredecessorUpdateDF()
252 void Graph::RemoveSuccessors(BasicBlock *block) in RemoveSuccessors()
[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()
315 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 …]
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()
187 void GraphChecker::CheckDataFlow(BasicBlock *block) in CheckDataFlow()
257 for (auto block : GetGraph()->GetBlocksRPO()) { in CheckDataFlow() local
275 for (auto block : GetGraph()->GetEndBlock()->GetPredsBlocks()) { in CheckDataFlow() local
292 for (auto block : GetGraph()->GetBlocksRPO()) { in CheckDataFlow() local
305 auto block = savestate->GetBasicBlock(); in CheckDataFlow() local
457 void GraphChecker::CheckNoLowLevel(BasicBlock *block) in CheckDataFlow()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Ddeoptimize_elimination.cpp39 auto block = inst->GetBasicBlock(); in ReplaceDeoptimizeIfByUnconditionalDeoptimize() local
49 auto block = GetGraph()->GetStartBlock(); in RemoveSafePoints() local
136 auto block = inst->GetBasicBlock(); in VisitDeoptimizeIf() local
165 auto block = inst->GetBasicBlock(); in TryToRemoveRedundantSaveState() local
210 bool DeoptimizeElimination::CanRemoveGuardRec(BasicBlock *block, Inst *guard, const Marker &mrk, in CanRemoveGuardRec()
259 auto block = guard->GetBasicBlock(); in RemoveGuard() local
272 auto block = inst->GetBasicBlock(); in RemoveDeoptimizeIf() local
Dcode_sink.cpp71 for (auto block : GetGraph()->GetBlocksRPO()) { in RunImpl() local
95 bool CodeSink::ProcessBlock(BasicBlock *block) in ProcessBlock()
173 BasicBlock *block = inst->GetBasicBlock(); in SinkInstruction() local
204 BasicBlock *block = inst->GetBasicBlock(); in IsAcceptableTarget() local
Dobject_type_check_elimination.cpp54 auto block = inst->GetBasicBlock(); in ReplaceCheckMustThrowByUnconditionalDeoptimize() local
72 auto block = inst->GetBasicBlock(); in TryEliminateIsInstance() local
107 auto block = inst->GetBasicBlock(); in TryEliminateCheckCast() local
Dredundant_loop_elimination.cpp39 for (auto block : loop->GetBlocks()) { in IsRedundant() local
79 for (auto block : loop->GetBlocks()) { in DeleteLoop() local
Ddeoptimize_elimination.h108 void PushNewBlockType(BasicBlock *block, BlockType type) in PushNewBlockType()
114 BlockType GetBlockType(BasicBlock *block) in GetBlockType()
Dtry_catch_resolving.cpp32 for (auto block : GetGraph()->GetBlocksRPO()) { in RunImpl() local
172 void TryCatchResolving::RemoveCatchPhis(BasicBlock *block, Inst *throw_inst) in RemoveCatchPhis()
219 bool TryCatchResolving::DFS(BasicBlock *block, Marker marker, uint32_t try_id) in DFS()
/arkcompiler/runtime_core/bytecode_optimizer/
Dreg_acc_alloc.cpp30 compiler::BasicBlock *block = src_inst->GetBasicBlock(); in IsAccWriteBetween() local
216 for (auto block : GetGraph()->GetBlocksRPO()) { in RunImpl() local
236 for (auto block : GetGraph()->GetBlocksRPO()) { in RunImpl() local
246 for (auto block : GetGraph()->GetBlocksRPO()) { in RunImpl() local
255 for (auto block : GetGraph()->GetBlocksRPO()) { in RunImpl() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_arraybuffer.cpp316 uint8_t *block = reinterpret_cast<uint8_t *>(pointer); in GetValueFromBuffer() local
320 …Value BuiltinsArrayBuffer::GetValueFromBuffer(JSThread *thread, uint32_t byteIndex, uint8_t *block, in GetValueFromBuffer()
379 uint8_t *block = reinterpret_cast<uint8_t *>(pointer); in SetValueInBuffer() local
410 void BuiltinsArrayBuffer::SetTypeData(uint8_t *block, T value, uint32_t index) in SetTypeData()
455 JSTaggedValue BuiltinsArrayBuffer::GetValueFromBufferForInteger(uint8_t *block, uint32_t byteIndex,… in GetValueFromBufferForInteger()
479 JSTaggedValue BuiltinsArrayBuffer::GetValueFromBufferForFloat(uint8_t *block, uint32_t byteIndex, b… in GetValueFromBufferForFloat()
509 JSTaggedValue BuiltinsArrayBuffer::GetValueFromBufferForBigInt(JSThread *thread, uint8_t *block, in GetValueFromBufferForBigInt()
525 void BuiltinsArrayBuffer::SetValueInBufferForByte(double val, uint8_t *block, uint32_t byteIndex) in SetValueInBufferForByte()
540 void BuiltinsArrayBuffer::SetValueInBufferForUint8Clamped(double val, uint8_t *block, uint32_t byte… in SetValueInBufferForUint8Clamped()
556 void BuiltinsArrayBuffer::SetValueInBufferForInteger(double val, uint8_t *block, uint32_t byteIndex… in SetValueInBufferForInteger()
[all …]
/arkcompiler/runtime_core/irtoc/lang/
Dirtoc.rb76 def function(name, **kwargs, &block)
82 def cpp_function(name, &block)
88 def macro(name, &block)
Dcpp_function.rb30 def code(&block)
43 def variant(name, &block)
/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_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/isa/
Dasserts.rb24 def sorted_by?(&block)

123