Searched refs:LiveVariables (Results 1 - 23 of 23) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h1 //===- LiveVariables.h - Live Variable Analysis for Source CFGs -*- C++ --*-//
28 class LiveVariables : public ManagedAnalysis { class in namespace:clang
51 friend class LiveVariables;
70 ~LiveVariables() override;
73 static LiveVariables *computeLiveness(AnalysisDeclContext &analysisContext,
100 static LiveVariables *create(AnalysisDeclContext &analysisContext) {
107 LiveVariables(void *impl);
111 class RelaxedLiveVariables : public LiveVariables {
113 static LiveVariables *create(AnalysisDeclContext &analysisContext) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp1 //=- LiveVariables.cpp - Live Variable Analysis for Source CFGs ----------*-==//
13 #include "clang/Analysis/Analyses/LiveVariables.h"
80 llvm::DenseMap<const CFGBlock *, LiveVariables::LivenessValues> blocksEndToLiveness;
81 llvm::DenseMap<const CFGBlock *, LiveVariables::LivenessValues> blocksBeginToLiveness;
82 llvm::DenseMap<const Stmt *, LiveVariables::LivenessValues> stmtsToLiveness;
86 LiveVariables::LivenessValues
87 merge(LiveVariables::LivenessValues valsA,
88 LiveVariables::LivenessValues valsB);
90 LiveVariables::LivenessValues
91 runOnBlock(const CFGBlock *block, LiveVariables
534 LiveVariables::LiveVariables(void *im) : impl(im) {} function in class:LiveVariables
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveVariables.cpp1 //===-- LiveVariables.cpp - Live Variable Analysis for Machine Code -------===//
28 #include "llvm/CodeGen/LiveVariables.h"
44 char LiveVariables::ID = 0;
45 char &llvm::LiveVariablesID = LiveVariables::ID;
46 INITIALIZE_PASS_BEGIN(LiveVariables, "livevars",
49 INITIALIZE_PASS_END(LiveVariables, "livevars",
53 void LiveVariables::getAnalysisUsage(AnalysisUsage &AU) const {
60 LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const {
68 LLVM_DUMP_METHOD void LiveVariables::VarInfo::dump() const {
85 LiveVariables
[all...]
H A DPHIElimination.cpp22 #include "llvm/CodeGen/LiveVariables.h"
69 LiveVariables *LV;
101 // These functions are temporary abstractions around LiveVariables and
102 // LiveIntervals, so they can go away when LiveVariables does.
133 INITIALIZE_PASS_DEPENDENCY(LiveVariables)
138 AU.addUsedIfAvailable<LiveVariables>();
139 AU.addPreserved<LiveVariables>();
149 LV = getAnalysisIfAvailable<LiveVariables>();
292 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg);
307 // Add information to LiveVariables t
[all...]
H A DTwoAddressInstructionPass.cpp38 #include "llvm/CodeGen/LiveVariables.h"
98 LiveVariables *LV;
185 AU.addUsedIfAvailable<LiveVariables>();
186 AU.addPreserved<LiveVariables>();
1673 LV = getAnalysisIfAvailable<LiveVariables>();
1851 // Update LiveVariables' kill info.
H A DMachineBasicBlock.cpp16 #include "llvm/CodeGen/LiveVariables.h"
896 // that LiveVariables is properly updated after updateTerminator replaces the
898 LiveVariables *LV = P.getAnalysisIfAvailable<LiveVariables>();
990 // Update LiveVariables.
H A DMachineVerifier.cpp41 #include "llvm/CodeGen/LiveVariables.h"
226 LiveVariables *LiveVars;
392 // We don't want to verify LiveVariables if LiveIntervals is available.
394 LiveVars = PASS->getAnalysisIfAvailable<LiveVariables>();
1946 LiveVariables::VarInfo &VI = LiveVars->getVarInfo(Reg);
1948 report("Kill missing from LiveVariables", MO, MONum);
2337 LiveVariables::VarInfo &VI = LiveVars->getVarInfo(Reg);
2341 // Our vregsRequired should be identical to LiveVariables' AliveBlocks
2344 report("LiveVariables: Block missing from AliveBlocks", &MBB);
2350 report("LiveVariables
[all...]
H A DLiveIntervals.cpp25 #include "llvm/CodeGen/LiveVariables.h"
91 AU.addPreserved<LiveVariables>();
973 // kill flags. This is wasteful. Eventually, LiveVariables will strip all kill
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp20 #include "clang/Analysis/Analyses/LiveVariables.h"
132 class DeadStoreObs : public LiveVariables::Observer {
157 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) {
269 const LiveVariables::LivenessValues &Live) {
289 const LiveVariables::LivenessValues& Live) {
318 const LiveVariables::LivenessValues &Live) override {
521 if (LiveVariables *L = mgr.getAnalysis<LiveVariables>(D)) {
H A DDebugCheckers.cpp15 #include "clang/Analysis/Analyses/LiveVariables.h"
114 if (LiveVariables* L = mgr.getAnalysis<LiveVariables>(D)) {
138 if (LiveVariables *L = Mgr.getAnalysis<RelaxedLiveVariables>(D))
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveVariables.h1 //===-- llvm/CodeGen/LiveVariables.h - Live Variable Analysis ---*- C++ -*-===//
9 // This file implements the LiveVariables analysis pass. For each machine
46 class LiveVariables : public MachineFunctionPass { class in namespace:llvm
49 LiveVariables() : MachineFunctionPass(ID) { function in class:llvm::LiveVariables
H A DTargetInstrInfo.h46 class LiveVariables;
396 LiveVariables *LV) const {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h226 LiveVariables *LV) const;
240 LiveVariables *LV) const override;
557 LiveVariables *LV,
H A DX86InstrInfo.cpp23 #include "llvm/CodeGen/LiveVariables.h"
706 LiveVariables *LV) const {
762 LiveVariables *LV, bool Is8BitOp) const {
893 MachineInstr &MI, LiveVariables *LV) const {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1269 static void CreateGCRelocates(ArrayRef<Value *> LiveVariables, argument
1274 if (LiveVariables.empty())
1308 for (unsigned i = 0; i < LiveVariables.size(); i++) {
1311 Builder.getInt32(LiveStart + FindIndex(LiveVariables, BasePtrs[i]));
1314 Type *Ty = LiveVariables[i]->getType();
1322 suffixed_name_or(LiveVariables[i], ".relocated", ""));
1417 const SmallVectorImpl<Value *> &LiveVariables,
1420 assert(BasePtrs.size() == LiveVariables.size());
1428 ArrayRef<Value *> GCArgs(LiveVariables);
1545 CreateGCRelocates(LiveVariables, LiveStartId
1415 makeStatepointExplicitImpl(CallBase *Call, const SmallVectorImpl<Value *> &BasePtrs, const SmallVectorImpl<Value *> &LiveVariables, PartiallyConstructedSafepointRecord &Result, std::vector<DeferredReplacement> &Replacements) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.h260 LiveVariables *LV) const override;
H A DSystemZInstrInfo.cpp21 #include "llvm/CodeGen/LiveVariables.h"
955 MachineFunction::iterator &MFI, MachineInstr &MI, LiveVariables *LV) const {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h118 LiveVariables *LV) const override;
H A DARMBaseInstrInfo.cpp27 #include "llvm/CodeGen/LiveVariables.h"
142 MachineFunction::iterator &MFI, MachineInstr &MI, LiveVariables *LV) const {
275 // Transfer LiveVariables states, kill / dead info.
282 LiveVariables::VarInfo &VI = LV->getVarInfo(Reg);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h327 LiveVariables *LV) const override;
H A DSIInstrInfo.cpp2616 LiveVariables *LV) const {
/freebsd-12-stable/lib/clang/libclang/
H A DMakefile161 SRCS_MIN+= Analysis/LiveVariables.cpp
/freebsd-12-stable/lib/clang/libllvm/
H A DMakefile261 SRCS_MIN+= CodeGen/LiveVariables.cpp

Completed in 269 milliseconds