Home
last modified time | relevance | path

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

123

/external/clang/lib/Analysis/
DLiveVariables.cpp87 llvm::DenseMap<const CFGBlock *, LiveVariables::LivenessValues> blocksEndToLiveness;
88 llvm::DenseMap<const CFGBlock *, LiveVariables::LivenessValues> blocksBeginToLiveness;
89 llvm::DenseMap<const Stmt *, LiveVariables::LivenessValues> stmtsToLiveness;
93 LiveVariables::LivenessValues
94 merge(LiveVariables::LivenessValues valsA,
95 LiveVariables::LivenessValues valsB);
97 LiveVariables::LivenessValues
98 runOnBlock(const CFGBlock *block, LiveVariables::LivenessValues val,
99 LiveVariables::Observer *obs = nullptr);
119 bool LiveVariables::LivenessValues::isLive(const Stmt *S) const { in isLive()
[all …]
DCMakeLists.txt17 LiveVariables.cpp
/external/clang/include/clang/Analysis/Analyses/
DLiveVariables.h30 class LiveVariables : public ManagedAnalysis {
50 friend class LiveVariables; variable
69 ~LiveVariables() override;
72 static LiveVariables *computeLiveness(AnalysisDeclContext &analysisContext,
95 static LiveVariables *create(AnalysisDeclContext &analysisContext) { in create()
102 LiveVariables(void *impl);
106 class RelaxedLiveVariables : public LiveVariables {
108 static LiveVariables *create(AnalysisDeclContext &analysisContext) { in create()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
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()
53 void LiveVariables::getAnalysisUsage(AnalysisUsage &AU) const { in INITIALIZE_PASS_DEPENDENCY()
60 LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const { in findKill()
68 LLVM_DUMP_METHOD void LiveVariables::VarInfo::dump() const { in dump()
85 LiveVariables::VarInfo &LiveVariables::getVarInfo(unsigned RegIdx) { in getVarInfo()
92 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo& VRInfo, in MarkVirtRegAliveInBlock()
118 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo &VRInfo, in MarkVirtRegAliveInBlock()
[all …]
DPHIElimination.cpp68 LiveVariables *LV;
132 INITIALIZE_PASS_DEPENDENCY(LiveVariables) in INITIALIZE_PASS_DEPENDENCY() argument
137 AU.addUsedIfAvailable<LiveVariables>(); in INITIALIZE_PASS_DEPENDENCY()
138 AU.addPreserved<LiveVariables>(); in INITIALIZE_PASS_DEPENDENCY()
148 LV = getAnalysisIfAvailable<LiveVariables>(); in runOnMachineFunction()
289 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerPHINode()
/external/llvm/lib/CodeGen/
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()
53 void LiveVariables::getAnalysisUsage(AnalysisUsage &AU) const { in INITIALIZE_PASS_DEPENDENCY()
60 LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const { in findKill()
67 LLVM_DUMP_METHOD void LiveVariables::VarInfo::dump() const { in dump()
85 LiveVariables::VarInfo &LiveVariables::getVarInfo(unsigned RegIdx) { in getVarInfo()
92 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo& VRInfo, in MarkVirtRegAliveInBlock()
118 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo &VRInfo, in MarkVirtRegAliveInBlock()
[all …]
DPHIElimination.cpp56 LiveVariables *LV;
118 INITIALIZE_PASS_DEPENDENCY(LiveVariables) in INITIALIZE_PASS_DEPENDENCY() argument
123 AU.addUsedIfAvailable<LiveVariables>(); in INITIALIZE_PASS_DEPENDENCY()
124 AU.addPreserved<LiveVariables>(); in INITIALIZE_PASS_DEPENDENCY()
134 LV = getAnalysisIfAvailable<LiveVariables>(); in runOnMachineFunction()
275 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerPHINode()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLiveVariables.cpp43 char LiveVariables::ID = 0;
44 INITIALIZE_PASS_BEGIN(LiveVariables, "livevars",
47 INITIALIZE_PASS_END(LiveVariables, "livevars", in INITIALIZE_PASS_DEPENDENCY()
51 void LiveVariables::getAnalysisUsage(AnalysisUsage &AU) const { in INITIALIZE_PASS_DEPENDENCY()
58 LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const { in findKill()
65 void LiveVariables::VarInfo::dump() const { in dump()
81 LiveVariables::VarInfo &LiveVariables::getVarInfo(unsigned RegIdx) { in getVarInfo()
88 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo& VRInfo, in MarkVirtRegAliveInBlock()
113 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo &VRInfo, in MarkVirtRegAliveInBlock()
126 void LiveVariables::HandleVirtRegUse(unsigned reg, MachineBasicBlock *MBB, in HandleVirtRegUse()
[all …]
DProcessImplicitDefs.cpp31 INITIALIZE_PASS_DEPENDENCY(LiveVariables) in INITIALIZE_PASS_DEPENDENCY() argument
38 AU.addPreserved<LiveVariables>(); in INITIALIZE_PASS_DEPENDENCY()
39 AU.addRequired<LiveVariables>(); in INITIALIZE_PASS_DEPENDENCY()
90 LV = &getAnalysis<LiveVariables>(); in runOnMachineFunction()
125 LiveVariables::VarInfo& vi = LV->getVarInfo(MO.getReg()); in runOnMachineFunction()
158 LiveVariables::VarInfo& vi = LV->getVarInfo(Reg); in runOnMachineFunction()
269 LiveVariables::VarInfo& vi = LV->getVarInfo(Reg); in runOnMachineFunction()
DPHIElimination.cpp73 LiveVariables &LV, MachineLoopInfo *MLI);
101 AU.addPreserved<LiveVariables>(); in getAnalysisUsage()
117 if (LiveVariables *LV = getAnalysisIfAvailable<LiveVariables>()) { in runOnMachineFunction()
236 LiveVariables *LV = getAnalysisIfAvailable<LiveVariables>(); in LowerAtomicPHINode()
241 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerAtomicPHINode()
407 LiveVariables &LV, in SplitPHIEdges()
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp123 class DeadStoreObs : public LiveVariables::Observer {
147 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) { in isLive()
210 const LiveVariables::LivenessValues &Live) { in CheckVarDecl()
230 const LiveVariables::LivenessValues& Live) { in CheckDeclRef()
259 const LiveVariables::LivenessValues &Live) override { in observeStmt()
466 if (LiveVariables *L = mgr.getAnalysis<LiveVariables>(D)) { in checkASTCodeBody()
DDebugCheckers.cpp61 if (LiveVariables* L = mgr.getAnalysis<LiveVariables>(D)) { in checkASTCodeBody()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DProcessImplicitDefs.h23 class LiveVariables; variable
31 LiveVariables *LV;
DLiveVariables.h48 class LiveVariables : public MachineFunctionPass {
51 LiveVariables() : MachineFunctionPass(ID) { in LiveVariables() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DLiveVariables.h46 class LiveVariables : public MachineFunctionPass {
49 LiveVariables() : MachineFunctionPass(ID) { in LiveVariables() function
/external/llvm/include/llvm/CodeGen/
DLiveVariables.h46 class LiveVariables : public MachineFunctionPass {
49 LiveVariables() : MachineFunctionPass(ID) { in LiveVariables() function
/external/clang/test/Analysis/
Ddead-stores.m29 // LiveVariables <-> deadcode.DeadStores interplay. We should not flag a warning
48 // twice by the LiveVariables analysis.
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1148 static void CreateGCRelocates(ArrayRef<Value *> LiveVariables, in CreateGCRelocates() argument
1153 if (LiveVariables.empty()) in CreateGCRelocates()
1187 for (unsigned i = 0; i < LiveVariables.size(); i++) { in CreateGCRelocates()
1190 Builder.getInt32(LiveStart + FindIndex(LiveVariables, BasePtrs[i])); in CreateGCRelocates()
1193 Type *Ty = LiveVariables[i]->getType(); in CreateGCRelocates()
1201 suffixed_name_or(LiveVariables[i], ".relocated", "")); in CreateGCRelocates()
1279 const SmallVectorImpl<Value *> &LiveVariables, in makeStatepointExplicitImpl() argument
1282 assert(BasePtrs.size() == LiveVariables.size()); in makeStatepointExplicitImpl()
1291 ArrayRef<Value *> GCArgs(LiveVariables); in makeStatepointExplicitImpl()
1405 CreateGCRelocates(LiveVariables, LiveStartIdx, BasePtrs, ExceptionalToken, in makeStatepointExplicitImpl()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrInfo.h261 LiveVariables *LV) const;
275 LiveVariables *LV) const override;
584 LiveVariables *LV) const;
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Ddomain-reassignment-implicit-def.ll4 ; which would later cause crashes (e.g. in LiveVariables) - see PR37430
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrInfo.h203 LiveVariables *LV) const;
365 LiveVariables *LV) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1272 static void CreateGCRelocates(ArrayRef<Value *> LiveVariables, in CreateGCRelocates() argument
1277 if (LiveVariables.empty()) in CreateGCRelocates()
1311 for (unsigned i = 0; i < LiveVariables.size(); i++) { in CreateGCRelocates()
1314 Builder.getInt32(LiveStart + FindIndex(LiveVariables, BasePtrs[i])); in CreateGCRelocates()
1317 Type *Ty = LiveVariables[i]->getType(); in CreateGCRelocates()
1325 suffixed_name_or(LiveVariables[i], ".relocated", "")); in CreateGCRelocates()
1420 const SmallVectorImpl<Value *> &LiveVariables, in makeStatepointExplicitImpl() argument
1423 assert(BasePtrs.size() == LiveVariables.size()); in makeStatepointExplicitImpl()
1432 ArrayRef<Value *> GCArgs(LiveVariables); in makeStatepointExplicitImpl()
1549 CreateGCRelocates(LiveVariables, LiveStartIdx, BasePtrs, ExceptionalToken, in makeStatepointExplicitImpl()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DEnvironment.h23 class LiveVariables; variable
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/
D2011-05-26-BranchKillsVreg.ll6 ; kills a virtual register, and LiveVariables must be updated with the new kill
/external/llvm/test/CodeGen/Mips/
D2011-05-26-BranchKillsVreg.ll6 ; kills a virtual register, and LiveVariables must be updated with the new kill

123