Home
last modified time | relevance | path

Searched defs:bb (Results 1 – 25 of 209) sorted by relevance

123456789

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dloop.cpp36 for (auto *bb : loop.GetBackedge()) { in PrintLoopInfo() local
40 for (auto *bb : loop.GetLoopMembers()) { in PrintLoopInfo() local
77 for (auto bb : iloop->loopMembers) { in CheckOverlappingInnerLoops() local
140 for (auto bb : funcLoop.multiEntries) { in PrintLoops() local
148 for (auto *bb : funcLoop.GetBackedge()) { in PrintLoops() local
152 for (auto *bb : funcLoop.GetLoopMembers()) { in PrintLoops() local
156 for (auto *bb : funcLoop.GetExits()) { in PrintLoops() local
214 void LoopFinder::seekBackEdge(BB *bb, MapleList<BB *> succs) in seekBackEdge()
232 BB *bb = dfsBBs.top(); in seekCycles() local
265 for (auto *bb : loop->GetLoopMembers()) { in markExtraEntryAndEncl() local
[all …]
Dcg_dominance.cpp26 void DomAnalysis::PostOrderWalk(const BB &bb, int32 &pid, MapleVector<bool> &visitedMap) in PostOrderWalk()
91 BB *bb = reversePostOrder[i]; in ComputeDominance() local
125 for (const BB *bb : bbVec) { in ComputeDomFrontiers() local
172 for (auto *bb : reversePostOrder) { in ComputeDomChildren() local
186 void DomAnalysis::GetIterDomFrontier(const BB *bb, MapleSet<uint32> *dfset, uint32 bbidMarker, in GetIterDomFrontier()
215 uint32 DomAnalysis::ComputeDtPreorder(const BB &bb, uint32 &num) in ComputeDtPreorder()
273 void PostDomAnalysis::PdomPostOrderWalk(const BB &bb, int32 &pid, MapleVector<bool> &visitedMap) in PdomPostOrderWalk()
331 BB *bb = pdomReversePostOrder[i]; in ComputePostDominance() local
366 for (const BB *bb : bbVec) { in ComputePdomFrontiers() local
388 for (const BB *bb : bbVec) { in ComputePdomChildren() local
[all …]
Dcgbb.cpp143 void BB::AppendBBInsns(BB &bb) in AppendBBInsns()
164 void BB::InsertAtBeginning(BB &bb) in InsertAtBeginning()
186 void BB::InsertAtEnd(BB &bb) in InsertAtEnd()
208 void BB::InsertAtEndMinus1(BB &bb) in InsertAtEndMinus1()
373 bool Bfs::AllPredBBVisited(const BB &bb, long &level) const in AllPredBBVisited() argument
414 BB *Bfs::MarkStraightLineBBInBFS(BB *bb) in MarkStraightLineBBInBFS()
435 BB *Bfs::SearchForStraightLineBBs(BB &bb) in SearchForStraightLineBBs()
476 BB *bb = workList.front(); in BFS() local
517 for (BB *bb = cleanupBB; bb != nullptr; bb = bb->GetNext()) { in ComputeBlockOrder() local
552 for (BB *bb = cleanupBB; bb != nullptr; bb = bb->GetNext()) { in ComputeBlockOrder() local
Dlive.cpp53 bool LiveAnalysis::GenerateLiveOut(BB &bb) in GenerateLiveOut()
75 bool LiveAnalysis::GenerateLiveIn(BB &bb) in GenerateLiveIn()
229 void LiveAnalysis::MarkStackMapInsn(Insn &insn, BB &bb) in MarkStackMapInsn()
239 void LiveAnalysis::GetBBDefUse(BB &bb) in GetBBDefUse()
288 void LiveAnalysis::CollectLiveInfo(BB &bb, const Operand &opnd, bool isDef, bool isUse) const in CollectLiveInfo()
311 void LiveAnalysis::ProcessAsmListOpnd(BB &bb, Operand &opnd, uint32 idx) const in ProcessAsmListOpnd()
334 void LiveAnalysis::ProcessListOpnd(BB &bb, Operand &opnd, bool isDef) const in ProcessListOpnd()
342 void LiveAnalysis::ProcessMemOpnd(BB &bb, Operand &opnd) const in ProcessMemOpnd()
432 void LiveAnalysis::InitBB(BB &bb) in InitBB()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
Dcleanup_empty_blocks.cpp27 static bool CheckSpecialTriangle(BasicBlock *bb) in CheckSpecialTriangle()
39 static bool TryRemoveEmptyBlock(BasicBlock *bb) in TryRemoveEmptyBlock()
62 for (auto bb : graph->GetVectorBlocks()) { in CleanupEmptyBlocks() local
70 for (auto bb : emptyBlocks) { in CleanupEmptyBlocks() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_live.h27 void InitEhDefine(BB &bb) override {}; in InitEhDefine()
28 void GenerateReturnBBDefUse(BB &bb) const override {}; in GenerateReturnBBDefUse()
29 void ProcessCallInsnParam(BB &bb, const Insn &insn) const override {}; in ProcessCallInsnParam()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dalignment.h68 uint32 GetAlignPower(BB &bb) in GetAlignPower()
73 void InsertLoopHeaderBBs(BB &bb) in InsertLoopHeaderBBs()
77 void InsertJumpTargetBBs(BB &bb) in InsertJumpTargetBBs()
81 void InsertAlignInfos(BB &bb, uint32 power) in InsertAlignInfos()
Dloop.h89 void InsertLoopMembers(BB &bb) in InsertLoopMembers()
93 void InsertBackedge(BB &bb) in InsertBackedge()
97 void InsertExit(BB &bb) in InsertExit()
105 void SetHeader(BB &bb) in SetHeader()
234 void AddMultiEntries(BB &bb) in AddMultiEntries()
238 void AddLoopMembers(BB &bb) in AddLoopMembers()
242 void AddBackedge(BB &bb) in AddBackedge()
246 void AddExit(BB &bb) in AddExit()
254 void SetHeader(BB &bb) in SetHeader()
Dcg_ssu_pre.h66 SOcc(SOccType ty, BB *bb) : occTy(ty), cgbb(bb) {} in SOcc()
83 explicit SRealOcc(BB *bb) : SOcc(kSOccReal, bb) {} in SRealOcc()
99 explicit SLambdaResOcc(BB *bb) : SOcc(kSOccLambdaRes, bb) {} in SLambdaResOcc()
114 SLambdaOcc(BB *bb, MapleAllocator &alloc) : SOcc(kSOccLambda, bb), lambdaRes(alloc.Adapter()) {} in SLambdaOcc()
142 explicit SEntryOcc(BB *bb) : SOcc(kSOccEntry, bb) {} in SEntryOcc()
153 explicit SKillOcc(BB *bb) : SOcc(kSOccKill, bb) {} in SKillOcc()
202 void GetIterPdomFrontier(const BB *bb, MapleSet<uint32> *pdfset) const in GetIterPdomFrontier()
211 void CreateEntryOcc(BB *bb) in CreateEntryOcc()
Dcg_ssa_pre.h58 Occ(AOccType ty, BB *bb) : occTy(ty), cgbb(bb) {} in Occ()
75 explicit RealOcc(BB *bb) : Occ(kAOccReal, bb) {} in RealOcc()
91 explicit PhiOpndOcc(BB *bb) : Occ(kAOccPhiOpnd, bb) {} in PhiOpndOcc()
106 PhiOcc(BB *bb, MapleAllocator &alloc) : Occ(kAOccPhi, bb), phiOpnds(alloc.Adapter()) {} in PhiOcc()
135 explicit ExitOcc(BB *bb) : Occ(kAOccExit, bb) {} in ExitOcc()
183 void GetIterDomFrontier(const BB *bb, MapleSet<uint32> *dfset) const in GetIterDomFrontier()
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
Dmonitor_analysis.cpp22 void MonitorAnalysis::MarkedMonitorRec(BasicBlock *bb, int32_t numMonitors) in MarkedMonitorRec()
78 for (auto bb : GetGraph()->GetBlocksRPO()) { in RunImpl() local
90 for (auto bb : GetGraph()->GetBlocksRPO()) { in RunImpl() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_peep.cpp38 bool X64CGPeepHole::DoSSAOptimize(BB &bb, Insn &insn) in DoSSAOptimize()
57 void RemoveMovingtoSameRegPattern::Run(BB &bb, Insn &insn) in Run()
65 void X64CGPeepHole::DoNormalOptimize(BB &bb, Insn &insn) in DoNormalOptimize()
Dx64_optimize_common.cpp21 void X64InsnVisitor::ModifyJumpTarget(Operand &targetOperand, BB &bb) in ModifyJumpTarget()
31 void X64InsnVisitor::ModifyJumpTarget(LabelIdx targetLabel, BB &bb) in ModifyJumpTarget()
37 void X64InsnVisitor::ModifyJumpTarget(BB &newTarget, BB &bb) in ModifyJumpTarget()
Dx64_reaching.cpp168 void X64ReachingDefinition::InitEhDefine(BB &bb) in InitEhDefine()
174 void X64ReachingDefinition::InitGenUse(BB &bb, bool firstTime) in InitGenUse()
180 void X64ReachingDefinition::GenAllAsmDefRegs(BB &bb, Insn &insn, uint32 index) in GenAllAsmDefRegs()
186 void X64ReachingDefinition::GenAllAsmUseRegs(BB &bb, Insn &insn, uint32 index) in GenAllAsmUseRegs()
192 void X64ReachingDefinition::GenAllCallerSavedRegs(BB &bb, Insn &insn) in GenAllCallerSavedRegs()
205 void X64ReachingDefinition::AddRetPseudoInsn(BB &bb) in AddRetPseudoInsn()
217 void X64ReachingDefinition::FindRegDefInBB(uint32 regNO, BB &bb, InsnSet &defInsnSet) const in FindRegDefInBB()
223 void X64ReachingDefinition::FindMemDefInBB(uint32 offset, BB &bb, InsnSet &defInsnSet) const in FindMemDefInBB()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_regsaves.cpp56 for (auto bb : bfs->sortedBBs) { in InitData() local
61 void AArch64RegSavesOpt::CollectLiveInfo(const BB &bb, const Operand &opnd, bool isDef, bool isUse) in CollectLiveInfo()
87 void AArch64RegSavesOpt::GenerateReturnBBDefUse(const BB &bb) in GenerateReturnBBDefUse()
102 void AArch64RegSavesOpt::ProcessAsmListOpnd(const BB &bb, Operand &opnd, uint32 idx) in ProcessAsmListOpnd()
125 void AArch64RegSavesOpt::ProcessListOpnd(const BB &bb, Operand &opnd) in ProcessListOpnd()
133 void AArch64RegSavesOpt::ProcessMemOpnd(const BB &bb, Operand &opnd) in ProcessMemOpnd()
146 void AArch64RegSavesOpt::ProcessCondOpnd(const BB &bb) in ProcessCondOpnd()
157 BB &bb = *bbp; in GetLocalDefUse() local
206 for (auto *bb : bfs->sortedBBs) { in PrintBBs() local
231 int32 AArch64RegSavesOpt::CheckCriteria(BB *bb, regno_t reg) const in CheckCriteria()
[all …]
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dbasic_block.rb57 def set_successor(dir, bb) argument
66 def set_true_succ(bb) argument
70 def set_false_succ(bb) argument
74 def add_predecessor(bb) argument
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dcondition_chain_manager.cpp25 ConditionChain *ConditionChainManager::FindConditionChain(BasicBlock *bb) in FindConditionChain()
39 ConditionChain *ConditionChainManager::TryConditionChain(BasicBlock *bb, BasicBlock *multiplePredsS… in TryConditionChain()
81 bool ConditionChainManager::IsConditionChainCandidate(const BasicBlock *bb) in IsConditionChainCandidate()
Dif_conversion.cpp53 bool IfConversion::TryTriangle(BasicBlock *bb) in TryTriangle()
109 uint32_t IfConversion::GetIfcLimit(BasicBlock *bb) in GetIfcLimit()
140 bool IfConversion::TryDiamond(BasicBlock *bb) in TryDiamond()
194 bool IfConversion::LoopInvariantPreventConversion(BasicBlock *bb) in LoopInvariantPreventConversion()
216 bool IfConversion::IsConvertable(BasicBlock *bb, uint32_t *instCount) in IsConvertable()
230 bool IfConversion::IsPhisAllowed(BasicBlock *bb, BasicBlock *pred1, BasicBlock *pred2, uint32_t *ph… in IsPhisAllowed()
Dif_merging.cpp113 bool IfMerging::TryMergeEquivalentIfs(BasicBlock *bb) in TryMergeEquivalentIfs()
148 auto bb = phi->GetBasicBlock(); in TryRemoveConstantPhiIf() local
178 bool IfMerging::MarkInstBranches(BasicBlock *bb, BasicBlock *trueBb, BasicBlock *falseBb) in MarkInstBranches()
216 std::optional<bool> IfMerging::GetUserBranch(Inst *userInst, BasicBlock *bb, BasicBlock *trueBb, Ba… in GetUserBranch()
241 void IfMerging::SplitBlockWithEquivalentIf(BasicBlock *bb, BasicBlock *trueBb, bool invertedIf) in SplitBlockWithEquivalentIf()
268 void IfMerging::SplitBlockWithConstantPhi(BasicBlock *bb, BasicBlock *trueBb, PhiInst *phi, uint64_… in SplitBlockWithConstantPhi()
318 BasicBlock *IfMerging::SplitBlock(BasicBlock *bb) in SplitBlock()
349 void IfMerging::TryJoinSuccessorBlock(BasicBlock *bb) in TryJoinSuccessorBlock()
359 void IfMerging::TryUpdateDominator(BasicBlock *bb) in TryUpdateDominator()
Dcleanup.cpp28 bool Cleanup::CanBeMerged(BasicBlock *bb) in CanBeMerged()
52 for (auto bb : GetGraph()->GetVectorBlocks()) { in RunImpl() local
87 for (auto bb : GetGraph()->GetVectorBlocks()) { in RunImpl() local
148 bool Cleanup::SkipBasicBlock(BasicBlock *bb) in SkipBasicBlock()
155 bool Cleanup::CheckSpecialTriangle(BasicBlock *bb) in CheckSpecialTriangle()
189 void Cleanup::RemoveDeadPhi(BasicBlock *bb, ArenaSet<BasicBlock *> *newEmptyBlocks) in RemoveDeadPhi()
208 bool Cleanup::ProcessBB(BasicBlock *bb, Marker deadMrk, ArenaSet<BasicBlock *> *newEmptyBlocks) in ProcessBB()
314 for (auto bb : GetGraph()->GetBlocksRPO()) { in MarkLiveInstructions() local
341 for (auto bb : GetGraph()->GetBlocksRPO()) { in Dce() local
471 auto bb = inst->GetBasicBlock(); in Removal() local
[all …]
Dlicm_conditions.cpp40 for (auto bb : GetGraph()->GetBlocksRPO()) { in MarkHoistableInst() local
103 auto bb = *bbIt; in IsHoistable() local
157 auto bb = phi->GetBasicBlock(); in SamePhiInputFromChain() local
257 [this](BasicBlock *bb) { bb->SetMarker(processedBlocksMarker_); }); in SaveProcessedBlocks()
260 void LicmConditions::SaveMulitplePredecessorsSuccessorPreds(const BasicBlock *bb) in SaveMulitplePredecessorsSuccessorPreds()
319 PhiInst *LicmConditions::AddPhiInst(BasicBlock *bb, const ConditionChain *chain) in AddPhiInst()
332 void LicmConditions::AddSingleIfImmInst(BasicBlock *bb, const ConditionChain *chain, Inst *input) in AddSingleIfImmInst()
340 void LicmConditions::AdjustPredecessorEdges(BasicBlock *chainFirstBb, BasicBlock *bb) in AdjustPredecessorEdges()
356 for (auto bb : multiplePredecessorsSuccessorPreds_) { in UpdateMultiplePredecessorsSuccessorsPreds() local
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dcleanup.cpp26 static bool SkipBasicBlock(BasicBlock *bb) in SkipBasicBlock()
47 for (auto bb : GetGraph()->GetVectorBlocks()) { in RunImpl() local
82 for (auto bb : GetGraph()->GetVectorBlocks()) { in RunImpl() local
144 bool Cleanup::CheckSpecialTriangle(BasicBlock *bb) in CheckSpecialTriangle()
176 void Cleanup::RemoveDeadPhi(BasicBlock *bb, ArenaSet<BasicBlock *> *new_empty_blocks) in RemoveDeadPhi()
195 bool Cleanup::ProcessBB(BasicBlock *bb, Marker dead_mrk, ArenaSet<BasicBlock *> *new_empty_blocks) in ProcessBB()
271 for (auto bb : GetGraph()->GetBlocksRPO()) { in Dce() local
279 for (auto bb : GetGraph()->GetBlocksRPO()) { in Dce() local
394 auto bb = inst->GetBasicBlock(); in Removal() local
439 for (auto bb : GetGraph()->GetBlocksRPO()) { in BuildDominators() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_circuit_builder.cpp218 auto &bb = RegionAt(i); in BuildCatchBlocks() local
247 auto &bb = RegionAt(i); in CollectTryPredsInfo() local
271 void BytecodeCircuitBuilder::RemoveUnusedPredsInfo(BytecodeRegion& bb) in RemoveUnusedPredsInfo()
286 auto bb = pendingList.back(); in ClearUnreachableRegion() local
330 auto &bb = RegionAt(i); in RemoveUnreachableRegion() local
344 auto &bb = RegionAt(i); in UpdateCFG() local
358 auto &bb = RegionAt(i); in UpdateCFG() local
513 void BytecodeCircuitBuilder::MergeThrowGate(BytecodeRegion &bb, uint32_t bcIndex) in MergeThrowGate()
534 void BytecodeCircuitBuilder::MergeExceptionGete(BytecodeRegion &bb, in MergeExceptionGete()
553 void BytecodeCircuitBuilder::NewJSGate(BytecodeRegion &bb) in NewJSGate()
[all …]
/arkcompiler/runtime_core/compiler/tests/
Dcompiler_basicblock_test.cpp59 for (auto bb : graph->GetBlocksRPO()) { in __anonba0391b00102() local
87 for (auto bb : graph->GetBlocksRPO()) { in __anonba0391b00202() local
116 for (auto bb : graph->GetBlocksRPO()) { in __anonba0391b00302() local
191 for (auto bb : graph->GetBlocksRPO()) { in __anonba0391b00602() local
223 for (auto bb : graph->GetBlocksRPO()) { in __anonba0391b00702() local
250 auto bb = graph->GetStartBlock(); in __anonba0391b00802() local
277 for (auto bb : graph->GetBlocksRPO()) { in __anonba0391b00902() local
443 for (auto bb : graph->GetBlocksRPO()) { in __anonba0391b00e02() local
456 for (auto bb : graph->GetVectorBlocks()) { in __anonba0391b00e02() local
492 for (auto bb : graph->GetBlocksRPO()) { in __anonba0391b00f02() local
[all …]
Dloop_analyzer_new_test.cpp79 for (auto bb : graph->GetBlocksRPO()) { in __anonb00bd9110202() local
113 for (auto bb : graph->GetBlocksRPO()) { in __anonb00bd9110302() local
147 for (auto bb : graph->GetBlocksRPO()) { in __anonb00bd9110402() local
181 for (auto bb : graph->GetBlocksRPO()) { in __anonb00bd9110502() local
217 auto bb = graph->GetEndBlock(); in __anonb00bd9110602() local

123456789