Home
last modified time | relevance | path

Searched refs:LiveVariables (Results 1 – 25 of 40) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/Analysis/
H A DLiveVariables.cpp39 LiveVariables::LivenessValues
43 LiveVariables::LivenessValues
100 LiveVariables::LivenessValues
159 LiveVariables::LivenessValues &val;
160 LiveVariables::Observer *observer;
477 LiveVariables::LivenessValues
509 void LiveVariables::runOnAllBlocks(LiveVariables::Observer &obs) { in runOnAllBlocks()
515 LiveVariables::LiveVariables(void *im) : impl(im) {} in LiveVariables() function in LiveVariables
517 LiveVariables::~LiveVariables() { in ~LiveVariables()
521 std::unique_ptr<LiveVariables>
[all …]
H A DCMakeLists.txt22 LiveVariables.cpp
/llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h28 class LiveVariables : public ManagedAnalysis {
51 friend class LiveVariables; variable
70 ~LiveVariables() override;
73 static std::unique_ptr<LiveVariables>
100 static std::unique_ptr<LiveVariables>
108 LiveVariables(void *impl);
112 class RelaxedLiveVariables : public LiveVariables {
114 static std::unique_ptr<LiveVariables>
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLiveVariables.cpp44 char LiveVariables::ID = 0;
45 char &llvm::LiveVariablesID = LiveVariables::ID;
46 INITIALIZE_PASS_BEGIN(LiveVariables, "livevars",
49 INITIALIZE_PASS_END(LiveVariables, "livevars", in INITIALIZE_PASS_DEPENDENCY()
84 LiveVariables::VarInfo &LiveVariables::getVarInfo(Register Reg) { in getVarInfo()
90 void LiveVariables::MarkVirtRegAliveInBlock( in MarkVirtRegAliveInBlock()
189 LiveVariables::FindLastPartialDef(Register Reg, in FindLastPartialDef()
496 void LiveVariables::runOnInstr(MachineInstr &MI, in runOnInstr()
808 LiveVariables::VarInfo &VI = getVarInfo(Reg); in isLiveOut()
832 void LiveVariables::addNewBlock(MachineBasicBlock *BB, in addNewBlock()
[all …]
H A DPHIElimination.cpp67 LiveVariables *LV;
133 INITIALIZE_PASS_DEPENDENCY(LiveVariables) in INITIALIZE_PASS_DEPENDENCY() argument
138 AU.addUsedIfAvailable<LiveVariables>(); in INITIALIZE_PASS_DEPENDENCY()
139 AU.addPreserved<LiveVariables>(); in INITIALIZE_PASS_DEPENDENCY()
149 LV = getAnalysisIfAvailable<LiveVariables>(); in runOnMachineFunction()
168 LiveVariables::VarInfo &VI = LV->getVarInfo(VirtReg); in runOnMachineFunction()
331 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerPHINode()
470 LiveVariables::VarInfo &SrcVI = LV->getVarInfo(SrcReg); in LowerPHINode()
471 LiveVariables::VarInfo &IncomingVI = LV->getVarInfo(IncomingReg); in LowerPHINode()
H A DTwoAddressInstructionPass.cpp95 LiveVariables *LV;
176 AU.addUsedIfAvailable<LiveVariables>(); in getAnalysisUsage()
177 AU.addPreserved<LiveVariables>(); in getAnalysisUsage()
1676 LiveVariables::VarInfo &SrcInfo = LV->getVarInfo(RegB); in processStatepoint()
1677 LiveVariables::VarInfo &DstInfo = LV->getVarInfo(RegA); in processStatepoint()
1694 LV = getAnalysisIfAvailable<LiveVariables>(); in runOnMachineFunction()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIOptimizeVGPRLiveRange.cpp94 LiveVariables *LV = nullptr;
150 AU.addRequired<LiveVariables>(); in getAnalysisUsage()
153 AU.addPreserved<LiveVariables>(); in getAnalysisUsage()
244 LiveVariables::VarInfo &VI = LV->getVarInfo(MOReg); in collectCandidateRegisters()
283 LiveVariables::VarInfo &VI = LV->getVarInfo(Reg); in collectCandidateRegisters()
417 LiveVariables::VarInfo &OldVarInfo = LV->getVarInfo(Reg); in updateLiveRangeInThenRegion()
474 LiveVariables::VarInfo &OldVarInfo = LV->getVarInfo(Reg); in updateLiveRangeInElseRegion()
536 LiveVariables::VarInfo &OldVarInfo = LV->getVarInfo(Reg); in optimizeLiveRange()
574 LiveVariables::VarInfo &OldVarInfo = LV->getVarInfo(Reg); in optimizeWaterfallLiveRange()
614 INITIALIZE_PASS_DEPENDENCY(LiveVariables)
[all …]
H A DSILowerControlFlow.cpp76 LiveVariables *LV = nullptr;
529 LiveVariables::VarInfo &VI = LV->getVarInfo(Reg); in emitEndCf()
847 LV = getAnalysisIfAvailable<LiveVariables>(); in runOnMachineFunction()
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp66 LiveVariables.emplace_back(LocExpr, VarName, U, FuncDie); in addVariable()
74 LiveVariables.emplace_back(WholeFuncExpr, VarName, U, FuncDie); in addVariable()
127 for (const LiveVariable &LV : LiveVariables) { in dump()
157 LiveVariable &LV = LiveVariables[ActiveCols[ColIdx].VarIdx]; in update()
172 for (unsigned VarIdx = 0, End = LiveVariables.size(); VarIdx < End; in update()
176 LiveVariable &LV = LiveVariables[VarIdx]; in update()
282 << LiveVariables[ActiveCols[ColIdx].VarIdx].VarName; in printBetweenInsts()
286 LiveVariables[ActiveCols[ColIdx].VarIdx].print(OS, MRI); in printBetweenInsts()
H A DSourcePrinter.h57 std::vector<LiveVariable> LiveVariables; variable
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp130 class DeadStoreObs : public LiveVariables::Observer {
155 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) { in isLive()
267 const LiveVariables::LivenessValues &Live) { in CheckVarDecl()
287 const LiveVariables::LivenessValues& Live) { in CheckDeclRef()
316 const LiveVariables::LivenessValues &Live) override { in observeStmt()
544 if (LiveVariables *L = mgr.getAnalysis<LiveVariables>(D)) { in checkASTCodeBody()
H A DDebugCheckers.cpp114 if (LiveVariables* L = mgr.getAnalysis<LiveVariables>(D)) { in checkASTCodeBody()
138 if (LiveVariables *L = Mgr.getAnalysis<RelaxedLiveVariables>(D)) in checkASTCodeBody()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DLiveVariables.h47 class LiveVariables : public MachineFunctionPass {
50 LiveVariables() : MachineFunctionPass(ID) { in LiveVariables() function
H A DMachinePassRegistry.def69 // LiveVariables currently requires pure SSA form.
71 // LiveVariables can be removed completely, and LiveIntervals can be directly
/llvm-project-15.0.7/clang/test/Analysis/
H A Ddead-stores.m28 // LiveVariables <-> deadcode.DeadStores interplay. We should not flag a warning
47 // twice by the LiveVariables analysis.
H A Drdar-6540084.m3 // This test exercises the live variables analysis (LiveVariables.cpp).
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A DPHIElimination-crash.mir7 # *** Bad machine code: LiveVariables: Block should not be in AliveBlocks ***
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Analysis/
H A DBUILD.gn28 "LiveVariables.cpp",
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Ddomain-reassignment-implicit-def.ll4 ; which would later cause crashes (e.g. in LiveVariables) - see PR37430
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dstale-livevar-in-twoaddr-pass.mir2 # This used to fail under ASAN enabled build because we didn't update LiveVariables in SIInstrInfo:…
H A Dblock-should-not-be-in-alive-blocks.mir5 # LiveVariables live after for the verifier. Also -start-before
8 # LiveVariables needs to remove %bb.3 from the live blocks for %1
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrInfo.h260 LiveVariables *LV, LiveIntervals *LIS) const;
272 MachineInstr *convertToThreeAddress(MachineInstr &MI, LiveVariables *LV,
603 LiveVariables *LV,
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A D2011-05-26-BranchKillsVreg.ll6 ; kills a virtual register, and LiveVariables must be updated with the new kill
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1468 static void CreateGCRelocates(ArrayRef<Value *> LiveVariables, in CreateGCRelocates() argument
1472 if (LiveVariables.empty()) in CreateGCRelocates()
1507 for (unsigned i = 0; i < LiveVariables.size(); i++) { in CreateGCRelocates()
1509 Value *BaseIdx = Builder.getInt32(FindIndex(LiveVariables, BasePtrs[i])); in CreateGCRelocates()
1512 Type *Ty = LiveVariables[i]->getType(); in CreateGCRelocates()
1520 suffixed_name_or(LiveVariables[i], ".relocated", "")); in CreateGCRelocates()
1614 const SmallVectorImpl<Value *> &LiveVariables, in makeStatepointExplicitImpl() argument
1618 assert(BasePtrs.size() == LiveVariables.size()); in makeStatepointExplicitImpl()
1626 ArrayRef<Value *> GCArgs(LiveVariables); in makeStatepointExplicitImpl()
1850 CreateGCRelocates(LiveVariables, BasePtrs, ExceptionalToken, Builder); in makeStatepointExplicitImpl()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.h171 MachineInstr *convertToThreeAddress(MachineInstr &MI, LiveVariables *LV,

12