/external/clang/lib/Analysis/ |
D | LiveVariables.cpp | 87 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 …]
|
D | CMakeLists.txt | 17 LiveVariables.cpp
|
/external/clang/include/clang/Analysis/Analyses/ |
D | LiveVariables.h | 30 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/ |
D | LiveVariables.cpp | 44 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 …]
|
D | PHIElimination.cpp | 68 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/ |
D | LiveVariables.cpp | 44 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 …]
|
D | PHIElimination.cpp | 56 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/ |
D | LiveVariables.cpp | 43 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 …]
|
D | ProcessImplicitDefs.cpp | 31 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()
|
D | PHIElimination.cpp | 73 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/ |
D | DeadStoresChecker.cpp | 123 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()
|
D | DebugCheckers.cpp | 61 if (LiveVariables* L = mgr.getAnalysis<LiveVariables>(D)) { in checkASTCodeBody()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | ProcessImplicitDefs.h | 23 class LiveVariables; variable 31 LiveVariables *LV;
|
D | LiveVariables.h | 48 class LiveVariables : public MachineFunctionPass { 51 LiveVariables() : MachineFunctionPass(ID) { in LiveVariables() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | LiveVariables.h | 46 class LiveVariables : public MachineFunctionPass { 49 LiveVariables() : MachineFunctionPass(ID) { in LiveVariables() function
|
/external/llvm/include/llvm/CodeGen/ |
D | LiveVariables.h | 46 class LiveVariables : public MachineFunctionPass { 49 LiveVariables() : MachineFunctionPass(ID) { in LiveVariables() function
|
/external/clang/test/Analysis/ |
D | dead-stores.m | 29 // LiveVariables <-> deadcode.DeadStores interplay. We should not flag a warning 48 // twice by the LiveVariables analysis.
|
/external/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 1148 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/ |
D | X86InstrInfo.h | 261 LiveVariables *LV) const; 275 LiveVariables *LV) const override; 584 LiveVariables *LV) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | domain-reassignment-implicit-def.ll | 4 ; which would later cause crashes (e.g. in LiveVariables) - see PR37430
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86InstrInfo.h | 203 LiveVariables *LV) const; 365 LiveVariables *LV) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 1272 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/ |
D | Environment.h | 23 class LiveVariables; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/ |
D | 2011-05-26-BranchKillsVreg.ll | 6 ; kills a virtual register, and LiveVariables must be updated with the new kill
|
/external/llvm/test/CodeGen/Mips/ |
D | 2011-05-26-BranchKillsVreg.ll | 6 ; kills a virtual register, and LiveVariables must be updated with the new kill
|