Home
last modified time | relevance | path

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

123

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
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-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
DSymbolManager.cpp419 return isLive(SR->getSymbol()); in isLiveRegion()
422 return isLive(VR, true); in isLiveRegion()
443 bool SymbolReaper::isLive(SymbolRef sym) { in isLive() function in SymbolReaper
459 KnownLive = isLive(cast<SymbolDerived>(sym)->getParentSymbol()); in isLive()
471 KnownLive = isLive(cast<SymIntExpr>(sym)->getLHS()); in isLive()
474 KnownLive = isLive(cast<IntSymExpr>(sym)->getRHS()); in isLive()
477 KnownLive = isLive(cast<SymSymExpr>(sym)->getLHS()) && in isLive()
478 isLive(cast<SymSymExpr>(sym)->getRHS()); in isLive()
481 KnownLive = isLive(cast<SymbolCast>(sym)->getOperand()); in isLive()
492 SymbolReaper::isLive(const Expr *ExprVal, const LocationContext *ELCtx) const { in isLive() function in SymbolReaper
[all …]
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()
DEnvironment.cpp202 if (SymReaper.isLive(E, BlkExpr.getLocationContext())) { in removeDeadBindings()
/freebsd-12-stable/contrib/llvm-project/lld/MachO/
DSymbols.cpp34 bool Symbol::isLive() const { in isLive() function in Symbol
45 return d->isec->canonical()->isLive(d->value); in isLive()
57 assert(isLive() && "this should only be called for live symbols"); in getVA()
DMarkLive.cpp38 if (isec->isLive(off)) in markLive()
172 referentLive = s->isLive(); in markLive()
174 referentLive = r.referent.get<InputSection *>()->isLive(r.addend); in markLive()
DInputSection.h51 virtual bool isLive(uint64_t off) const = 0;
110 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
235 bool isLive(uint64_t off) const override { in isLive() function
DSyntheticSections.cpp718 if (defined->privateExtern || !defined->isLive()) in finalizeContents()
800 if (!defined->isec || !isCodeSection(defined->isec) || !defined->isLive()) in finalizeContents()
884 assert(sym->isLive() && in emitStabs()
949 if (!defined->isExternal() && defined->isLive()) { in finalizeContents()
965 if (!sym->isLive()) in finalizeContents()
1412 if (!isec->isLive(off)) in finalizeContents()
1421 if (!isec->isLive(off)) in finalizeContents()
1430 if (!isec->isLive(off)) in finalizeContents()
DMapFile.cpp70 if (d->isLive() && d->isec && d->getFile() == file) { in getSymbols()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
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
135 bool LiveVariables::isLive(const CFGBlock *B, const VarDecl *D) { in isLive() function in LiveVariables
136 return isAlwaysAlive(D) || getImpl(impl).blocksEndToLiveness[B].isLive(D); in isLive()
139 bool LiveVariables::isLive(const Stmt *S, const VarDecl *D) { in isLive() function in LiveVariables
140 return isAlwaysAlive(D) || getImpl(impl).stmtsToLiveness[S].isLive(D); in isLive()
143 bool LiveVariables::isLive(const Stmt *Loc, const Expr *Val) { in isLive() function in LiveVariables
144 return getImpl(impl).stmtsToLiveness[Loc].isLive(Val); in isLive()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DADCE.cpp127 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive() function in __anonef1234b80111::AggressiveDeadCodeElimination
131 bool isLive(Instruction *I) { return InstInfo[I].Live; } in isLive() function in __anonef1234b80111::AggressiveDeadCodeElimination
283 if (isLive(Term)) in initialize()
514 if (isLive(&I)) in removeDeadInstructions()
527 if (isLive(II)) { in removeDeadInstructions()
543 if (isLive(&I)) in removeDeadInstructions()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DJITLinkGeneric.cpp437 if (Sym->isLive()) in prune()
456 if (E.getTarget().isDefined() && !E.getTarget().isLive()) in prune()
469 if (!Sym->isLive()) in prune()
495 if (!Sym->isLive()) in prune()
/freebsd-12-stable/contrib/llvm-project/lld/ELF/
DMarkLive.cpp322 d->section->isLive()) in moveToMain()
326 if (!sec->isLive() || !isValidCIdentifier(sec->name)) in moveToMain()
407 if (!sec->isLive()) in markLive()
DMapFile.cpp60 if (!dr->isSection() && dr->section && dr->section->isLive() && in getSymbols()
244 if (!d->isLocal() && (!d->section || d->section->isLive())) in writeCrossReferenceTable()
DICF.cpp164 if (!s->isLive() || s->keepUnique || !(s->flags & SHF_ALLOC)) in isEligible()
557 [](InputSection *isec) { return !isec->isLive(); }); in run()
DSyntheticSections.cpp432 if (!sec->isLive()) in addSectionAux()
1506 if (part.verDef && part.verDef->isLive()) { in finalizeContents()
2792 if (s && s != &InputSection::discarded && s->isLive()) in readAddressAreas()
2937 return !rel->isLive(); in create()
2938 return !s->isLive(); in create()
3080 return isLive() && getPartition().ehFrame->isNeeded(); in isNeeded()
3173 return isLive() && in isNeeded()
3262 return isLive() && SharedFile::vernauxNum != 0; in isNeeded()
3391 if (d->type == SHT_ARM_EXIDX && d->isLive()) in findExidxSection()
3490 auto isDiscarded = [](const InputSection *isec) { return !isec->isLive(); }; in finalizeContents()
[all …]
DOutputSections.cpp183 if (!ms->isLive()) in finalizeInputSections()
245 assert(isLive()); in sort()
DLinkerScript.cpp457 if (!sec->isLive() || sec->parent || seen.contains(i)) in computeInputSections()
527 if (!part.armExidx || !part.armExidx->isLive()) in discardSynthetic()
782 if (s->isLive() && !s->parent) { in addOrphanSections()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp158 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) { in isLive() function in __anon22494cc90211::DeadStoreObs
159 if (Live.isLive(D)) in isLive()
279 if (!isLive(Live, VD) && in CheckVarDecl()
406 if (!isLive(Live, V) && in observeStmt()
DTrustNonnullChecker.cpp150 if (!SymReaper.isLive(P.first) || !SymReaper.isLive(P.second)) in dropDeadFromGDM()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSymbolManager.h540 bool isLive(SymbolRef sym);
542 bool isLive(const Expr *ExprVal, const LocationContext *LCtx) const;
543 bool isLive(const VarRegion *VR, bool includeStoreBindings = false) const;
571 return !isLive(sym); in isDead()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/
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()
DPointer.h142 bool isLive() const { return Pointee && !Pointee->IsDead; } in isLive() function
281 assert(isLive() && "Invalid pointer"); in deref()
/freebsd-12-stable/contrib/llvm-project/lld/COFF/
DSymbols.cpp78 bool Symbol::isLive() const { in isLive() function in lld::coff::Symbol
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DStackSafetyAnalysis.cpp620 if (!GVS->isLive()) in findCalleeFunctionSummary()
654 if (!S->isLive() || !S->isDSOLocal()) in findCalleeFunctionSummary()
686 assert(FS.isLive()); in findParamAccess()
1030 if (FS->isLive() && FS->isDSOLocal()) { in generateParamAccessSummary()

123