Home
last modified time | relevance | path

Searched refs:isLive (Results 1 – 25 of 70) sorted by relevance

123

/llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h48 bool isLive(const Expr *E) const;
49 bool isLive(const VarDecl *D) const;
78 bool isLive(const CFGBlock *B, const VarDecl *D);
84 bool isLive(const Stmt *S, const VarDecl *D);
88 bool isLive(const Stmt *Loc, const Expr *Val);
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp445 return isLive(SR->getSymbol()); in isLiveRegion()
448 return isLive(VR, true); in isLiveRegion()
457 bool SymbolReaper::isLive(SymbolRef sym) { in isLive() function in SymbolReaper
473 KnownLive = isLive(cast<SymbolDerived>(sym)->getParentSymbol()); in isLive()
485 KnownLive = isLive(cast<SymIntExpr>(sym)->getLHS()); in isLive()
488 KnownLive = isLive(cast<IntSymExpr>(sym)->getRHS()); in isLive()
491 KnownLive = isLive(cast<SymSymExpr>(sym)->getLHS()) && in isLive()
492 isLive(cast<SymSymExpr>(sym)->getRHS()); in isLive()
495 KnownLive = isLive(cast<SymbolCast>(sym)->getOperand()); in isLive()
498 KnownLive = isLive(cast<UnarySymExpr>(sym)->getOperand()); in isLive()
[all …]
H A DDynamicType.cpp158 static bool isLive(SymbolReaper &SR, const MemRegion *MR) { in isLive() function
162 static bool isLive(SymbolReaper &SR, SymbolRef Sym) { return SR.isLive(Sym); } in isLive() function
169 if (!isLive(SR, Elem.first)) in removeDeadImpl()
/llvm-project-15.0.7/pstl/test/std/algorithms/alg.sorting/
H A Dsort.pass.cpp50 isLive() const in isLive() function in ParanoidKey
58 return isLive() || index == Empty; in isConstructed()
70 EXPECT_TRUE(k.isLive(), "source for copy-constructor is dead"); in ParanoidKey()
82 EXPECT_TRUE(k.isLive(), "source for copy-assignment is dead"); in operator =()
133 EXPECT_TRUE(j.isLive(), "first key to operator() is not live"); in operator ()()
134 EXPECT_TRUE(k.isLive(), "second key to operator() is not live"); in operator ()()
/llvm-project-15.0.7/lld/wasm/
H A DMarkLive.cpp55 if (!sym || sym->isLive()) in enqueue()
60 bool needInitFunctions = file && !file->isLive() && sym->isDefined(); in enqueue()
102 if (obj->isLive()) in run()
200 if (!sym->isDiscarded() && sym->isLive()) in isCallCtorsLive()
H A DWriter.cpp596 if (!sym->isLive()) in shouldImport()
661 if (!sym->isLive()) in calculateExports()
703 if (sym->isUsedInRegularObj && sym->isLive()) in populateSymtab()
709 if (sym->isLocal() && !isa<SectionSymbol>(sym) && sym->isLive()) in populateSymtab()
1356 if (!WasmSym::callCtors->isLive() && initFunctions.empty()) in createCallCtorsFunction()
1392 if (WasmSym::callCtors->isLive()) { in createCommandExportWrapper()
1469 if (!config->relocatable && !WasmSym::callCtors->isLive()) in calculateInitFunctions()
1477 if (sym->isDiscarded() || !sym->isLive()) in calculateInitFunctions()
1621 if (WasmSym::initTLS && WasmSym::initTLS->isLive()) { in run()
/llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/
H A DDenseAnalysis.cpp47 if (!getOrCreateFor<Executable>(op, op->getBlock())->isLive()) in visitOperation()
89 if (!getOrCreateFor<Executable>(block, block)->isLive()) in visitBlock()
133 ->isLive()) in visitBlock()
H A DSparseAnalysis.cpp84 if (!getOrCreate<Executable>(op->getBlock())->isLive()) in visitOperation()
142 if (!getOrCreate<Executable>(block)->isLive()) in visitBlock()
200 if (!edgeExecutable->isLive()) in visitBlock()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DADCE.cpp126 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive() function in __anon4cd2add00111::AggressiveDeadCodeElimination
130 bool isLive(Instruction *I) { return InstInfo[I].Live; } in isLive() function in __anon4cd2add00111::AggressiveDeadCodeElimination
282 if (isLive(Term)) in initialize()
513 if (isLive(&I)) in removeDeadInstructions()
526 if (isLive(II)) { in removeDeadInstructions()
542 if (isLive(&I)) in removeDeadInstructions()
/llvm-project-15.0.7/lld/MachO/
H A DMapFile.cpp54 if (d->isLive()) { in getSymbols()
163 assert(sym->isLive()); in writeMapFile()
175 assert(!sym->isLive()); in writeMapFile()
H A DInputSection.h59 virtual bool isLive(uint64_t off) const = 0;
109 bool isLive(uint64_t off) const override { return live; } in isLive() function
198 bool isLive(uint64_t off) const override { return getStringPiece(off).live; } in isLive() function
234 bool isLive(uint64_t off) const override { in isLive() function
H A DMarkLive.cpp77 if (isec->isLive(off)) in enqueue()
191 if (s->isLive()) { in markTransitively()
199 if (referentIsec->isLive(r.addend)) in markTransitively()
H A DSymbols.cpp77 assert(isLive() && "this should only be called for live symbols"); in getVA()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkGeneric.cpp246 if (Sym->isLive()) in prune()
265 if (E.getTarget().isDefined() && !E.getTarget().isLive()) in prune()
278 if (!Sym->isLive()) in prune()
304 if (!Sym->isLive()) in prune()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DLiveVariables.cpp66 bool LiveVariables::LivenessValues::isLive(const Expr *E) const { in isLive() function in LiveVariables::LivenessValues
70 bool LiveVariables::LivenessValues::isLive(const VarDecl *D) const { in isLive() function in LiveVariables::LivenessValues
140 bool LiveVariables::isLive(const CFGBlock *B, const VarDecl *D) { in isLive() function in LiveVariables
141 return isAlwaysAlive(D) || getImpl(impl).blocksEndToLiveness[B].isLive(D); in isLive()
144 bool LiveVariables::isLive(const Stmt *S, const VarDecl *D) { in isLive() function in LiveVariables
145 return isAlwaysAlive(D) || getImpl(impl).stmtsToLiveness[S].isLive(D); in isLive()
148 bool LiveVariables::isLive(const Stmt *Loc, const Expr *Val) { in isLive() function in LiveVariables
149 return getImpl(impl).stmtsToLiveness[Loc].isLive(Val); in isLive()
/llvm-project-15.0.7/lld/ELF/
H A DMarkLive.cpp352 d->section->isLive()) in moveToMain()
356 if (!sec->isLive() || !isValidCIdentifier(sec->name)) in moveToMain()
397 if (!sec->isLive()) in markLive()
H A DMapFile.cpp61 if (!dr->isSection() && dr->section && dr->section->isLive() && in getSymbols()
232 if (!d->isLocal() && (!d->section || d->section->isLive())) in writeCref()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp155 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) { in isLive() function in __anon9ba7c1e10211::DeadStoreObs
156 if (Live.isLive(D)) in isLive()
276 if (!isLive(Live, VD) && in CheckVarDecl()
403 if (!isLive(Live, V) && in observeStmt()
H A DTrustNonnullChecker.cpp150 if (!SymReaper.isLive(P.first) || !SymReaper.isLive(P.second)) in dropDeadFromGDM()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DPointer.h139 bool isLive() const { return Pointee && !Pointee->IsDead; } in isLive() function
278 assert(isLive() && "Invalid pointer"); in deref()
H A DInterp.cpp215 if (!Ptr.isLive()) { in CheckLive()
259 assert(Ptr.isLive() && "Pointer is not live"); in CheckConst()
271 assert(Ptr.isLive() && "Pointer is not live"); in CheckMutable()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSymbolManager.h608 bool isLive(SymbolRef sym);
610 bool isLive(const Expr *ExprVal, const LocationContext *LCtx) const;
611 bool isLive(const VarRegion *VR, bool includeStoreBindings = false) const;
639 return !isLive(sym); in isDead()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp364 if (isLive(Use)) in markIfNotLive()
654 assert(!isLive(RA) && "Use is already live!"); in markValue()
656 if (isLive(MaybeLiveUse)) { in markValue()
688 if (isLive(RA)) in markLive()
698 bool DeadArgumentEliminationPass::isLive(const RetOrArg &RA) { in isLive() function in DeadArgumentEliminationPass
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DDeadArgumentElimination.h130 bool isLive(const RetOrArg &RA);
/llvm-project-15.0.7/mlir/include/mlir/Analysis/DataFlow/
H A DDeadCodeAnalysis.h51 bool isLive() const { return live; } in isLive() function

123