Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/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);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp438 return isLive(SR->getSymbol()); in isLiveRegion()
441 return isLive(VR, true); in isLiveRegion()
459 bool SymbolReaper::isLive(SymbolRef sym) { in isLive() function in SymbolReaper
475 KnownLive = isLive(cast<SymbolDerived>(sym)->getParentSymbol()); in isLive()
487 KnownLive = isLive(cast<SymIntExpr>(sym)->getLHS()); in isLive()
490 KnownLive = isLive(cast<IntSymExpr>(sym)->getRHS()); in isLive()
493 KnownLive = isLive(cast<SymSymExpr>(sym)->getLHS()) && in isLive()
494 isLive(cast<SymSymExpr>(sym)->getRHS()); in isLive()
497 KnownLive = isLive(cast<SymbolCast>(sym)->getOperand()); in isLive()
500 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp131 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive() function in __anonf15092a00111::AggressiveDeadCodeElimination
135 bool isLive(Instruction *I) { return InstInfo[I].Live; } in isLive() function in __anonf15092a00111::AggressiveDeadCodeElimination
287 if (isLive(Term)) in initialize()
519 if (isLive(&I)) in removeDeadInstructions()
532 if (isLive(II)) { in removeDeadInstructions()
564 if (isLive(&I)) in removeDeadInstructions()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp67 bool LiveVariables::LivenessValues::isLive(const Expr *E) const { in isLive() function in LiveVariables::LivenessValues
71 bool LiveVariables::LivenessValues::isLive(const VarDecl *D) const { in isLive() function in LiveVariables::LivenessValues
141 bool LiveVariables::isLive(const CFGBlock *B, const VarDecl *D) { in isLive() function in LiveVariables
142 return isAlwaysAlive(D) || getImpl(impl).blocksEndToLiveness[B].isLive(D); in isLive()
145 bool LiveVariables::isLive(const Stmt *S, const VarDecl *D) { in isLive() function in LiveVariables
146 return isAlwaysAlive(D) || getImpl(impl).stmtsToLiveness[S].isLive(D); in isLive()
149 bool LiveVariables::isLive(const Stmt *Loc, const Expr *Val) { in isLive() function in LiveVariables
150 return getImpl(impl).stmtsToLiveness[Loc].isLive(Val); in isLive()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkGeneric.cpp286 if (Sym->isLive()) in prune()
305 if (E.getTarget().isDefined() && !E.getTarget().isLive()) in prune()
318 if (!Sym->isLive()) in prune()
344 if (!Sym->isLive())
/freebsd/contrib/llvm-project/lld/MachO/
H A DInputSection.h61 virtual bool isLive(uint64_t off) const = 0;
114 bool isLive(uint64_t off) const override { return live; } in isLive() function
206 bool isLive(uint64_t off) const override { return getStringPiece(off).live; } in isLive() function
252 bool isLive(uint64_t off) const override { in isLive() function
H A DMarkLive.cpp78 if (isec->isLive(off)) in enqueue()
179 if (s->isLive()) { in markTransitively()
187 if (referentIsec->isLive(r.addend)) in markTransitively()
H A DMapFile.cpp83 if (!d->isLive()) in gatherMapInfo()
264 assert(!sym->isLive()); in writeMapFile()
H A DSymbols.cpp89 assert(isLive() && "this should only be called for live symbols"); in getVA()
H A DSyntheticSections.cpp1050 if (defined->privateExtern || !defined->isLive()) in finalizeContents()
1141 !defined->isLive()) in finalizeContents()
1223 assert(sym->isLive() && in emitStabs()
1330 if (defined->isExternal() || !defined->isLive() || in finalizeContents()
1346 if (!sym->isLive()) in finalizeContents()
1802 if (!isec->isLive(off)) in finalizeContents()
1811 if (!isec->isLive(off)) in finalizeContents()
1820 if (!isec->isLive(off)) in finalizeContents()
H A DWriter.cpp642 if (!sym->isLive()) { in prepareSymbolRelocation()
735 if (!defined->isLive()) in scanSymbols()
753 if (!sym->isLive()) in scanSymbols()
765 if (!defined->isLive()) in scanSymbols()
/freebsd/contrib/llvm-project/lld/ELF/
H A DMarkLive.cpp347 d->section->isLive()) in moveToMain()
351 if (!sec->isLive() || !isValidCIdentifier(sec->name)) in moveToMain()
392 if (!sec->isLive()) in markLive()
H A DICF.cpp162 if (!s->isLive() || s->keepUnique || !(s->flags & SHF_ALLOC)) in isEligible()
585 [](InputSection *isec) { return !isec->isLive(); }); in run()
H A DOutputSections.cpp216 if (!ms->isLive()) in finalizeInputSections()
279 assert(isLive()); in sort()
628 assert(section->isLive()); in encodeOneCrel()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DTrustNonnullChecker.cpp149 if (!SymReaper.isLive(P.first) || !SymReaper.isLive(P.second)) in dropDeadFromGDM()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSymbolManager.h614 bool isLive(SymbolRef sym);
616 bool isLive(const Expr *ExprVal, const LocationContext *LCtx) const;
617 bool isLive(const VarRegion *VR, bool includeStoreBindings = false) const;
644 return !isLive(sym); in isDead()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvaluationResult.cpp158 if (!Ptr.isLive()) in checkFullyInitialized()
180 return P.isLive() && !P.isZero() && !P.isDummy() && in collectBlocks()
H A DInterp.cpp284 if (!Ptr.isLive()) { in CheckLive()
404 assert(Ptr.isLive() && "Pointer is not live"); in CheckConst()
432 assert(Ptr.isLive() && "Pointer is not live"); in CheckMutable()
451 assert(Ptr.isLive()); in CheckVolatile()
472 assert(Ptr.isLive()); in CheckInitialized()
H A DPointer.h254 bool isLive() const { in isLive() function
587 assert(isLive() && "Invalid pointer"); in deref()
H A DPointer.cpp396 if (Ptr.isDummy() || !Ptr.isLive() || !Ptr.isBlockPointer() || in toRValue()
532 if (isDummy() || !isLive() || isPastEnd()) in toRValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp369 if (isLive(Use)) in markIfNotLive()
667 assert(!isLive(RA) && "Use is already live!"); in markValue()
669 if (isLive(MaybeLiveUse)) { in markValue()
701 if (isLive(RA)) in markLive()
711 bool DeadArgumentEliminationPass::isLive(const RetOrArg &RA) { in isLive() function in DeadArgumentEliminationPass
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DDeadArgumentElimination.h130 bool isLive(const RetOrArg &RA);
/freebsd/contrib/llvm-project/lld/COFF/
H A DSymbols.cpp81 bool Symbol::isLive() const { in isLive() function in lld::coff::Symbol
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp730 if (!GVS->isLive()) in findCalleeFunctionSummary()
764 if (!S->isLive() || !S->isDSOLocal()) in findCalleeFunctionSummary()
796 assert(FS.isLive()); in findParamAccess()
1160 if (FS->isLive() && FS->isDSOLocal()) { in generateParamAccessSummary()

123