Home
last modified time | relevance | path

Searched refs:liveness (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
H A Dgc_intrusion.h53 void RewriteWithGcInBlock(llvm::BasicBlock *block, GcRefLiveness *liveness, llvm::SetVector<llvm::Value *> *alive,
71 void PropagateRelocs(GcRefLiveness *liveness, llvm::DenseSet<llvm::BasicBlock *> *visited, llvm::BasicBlock *block,
74 void CopySinglePredRelocs(GcRefLiveness *liveness, llvm::BasicBlock *block, GcIntrusionContext *gcContext);
81 void RewriteWithGc(llvm::CallInst *call, GcRefLiveness *liveness, llvm::SetVector<llvm::Value *> *refs,
H A Dgc_intrusion.cpp73 LLVM_DEBUG(llvm::dbgs() << "Running GC references liveness analysis for: " << function->getName() << "\n"); in GcRefLiveness()
253 GcRefLiveness liveness(&function); in run()
272 RewriteWithGcInBlock(block, &liveness, &alive, &visited, &gcContext); in run()
282 void GcIntrusion::RewriteWithGcInBlock(BasicBlock *block, GcRefLiveness *liveness, SetVector<Value *> *alive, in RewriteWithGcInBlock() argument
285 auto &liveOuts = liveness->GetLiveOutsForBlock(block); in RewriteWithGcInBlock()
302 RewriteWithGc(call, liveness, alive, gcContext); in RewriteWithGcInBlock()
305 PropagateRelocs(liveness, visited, block, gcContext); in RewriteWithGcInBlock()
329 void GcIntrusion::CopySinglePredRelocs(GcRefLiveness *liveness, BasicBlock *block, GcIntrusionContext *gcContext) in CopySinglePredRelocs() argument
334 for (auto var : liveness->GetLiveInsForBlock(block)) { in CopySinglePredRelocs()
380 void GcIntrusion::PropagateRelocs(GcRefLiveness *liveness, DenseSe argument
475 RewriteWithGc(CallInst *call, GcRefLiveness *liveness, SetVector<Value *> *refs, GcIntrusionContext *gcContext) RewriteWithGc() argument
[all...]
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
H A Dsplit_resolver.h26 explicit SplitResolver(Graph *graph, LivenessAnalyzer *liveness) : graph_(graph), liveness_(liveness) {} in SplitResolver() argument
H A Dreg_alloc_graph_coloring.cpp84 auto liveness = el.GetLifeIntervals(); in FindFixedNode()
85 return liveness->IsPhysical() && liveness->GetLocation() == location; in FindFixedNode()
95 auto liveness = el.GetLifeIntervals(); in FindNode()
96 return !liveness->IsPhysical() && liveness->GetInst() == inst && liveness->GetSibling() == nullptr; in FindNode()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
H A Dsplit_resolver.h26 explicit SplitResolver(Graph *graph, LivenessAnalyzer *liveness) : graph_(graph), liveness_(liveness) {} in SplitResolver() argument
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Descape.h446 void PatchSaveStatesInBlock(BasicBlock *block, ArenaVector<ArenaSet<Inst *>> &liveness);
447 void PatchSaveStatesInLoop(Loop *loop, ArenaSet<Inst *> &loopLiveIns, ArenaVector<ArenaSet<Inst *>> &liveness);
448 void FillLiveInsts(BasicBlock *block, ArenaSet<Inst *> &liveIns, ArenaVector<ArenaSet<Inst *>> &liveness);
H A Descape.cpp1995 ArenaVector<ArenaSet<Inst *>> liveness {graph_->GetLocalAllocator()->Adapter()};
1997 liveness.emplace_back(graph_->GetLocalAllocator()->Adapter());
2003 PatchSaveStatesInBlock(block, liveness);
2008 ArenaVector<ArenaSet<Inst *>> &liveness)
2011 liveIns.insert(liveness[succ->GetId()].begin(), liveness[succ->GetId()].end());
2032 void ScalarReplacement::PatchSaveStatesInBlock(BasicBlock *block, ArenaVector<ArenaSet<Inst *>> &liveness)
2034 auto &liveIns = liveness[block->GetId()];
2035 FillLiveInsts(block, liveIns, liveness);
2073 PatchSaveStatesInLoop(loop, liveIns, liveness);
[all...]

Completed in 6 milliseconds