Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/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);
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp448 return isLive(SR->getSymbol()); in isLiveRegion()
451 return isLive(VR, true); in isLiveRegion()
469 bool SymbolReaper::isLive(SymbolRef sym) { in isLive() function in SymbolReaper
485 KnownLive = isLive(cast<SymbolDerived>(sym)->getParentSymbol()); in isLive()
497 KnownLive = isLive(cast<SymIntExpr>(sym)->getLHS()); in isLive()
500 KnownLive = isLive(cast<IntSymExpr>(sym)->getRHS()); in isLive()
503 KnownLive = isLive(cast<SymSymExpr>(sym)->getLHS()) && in isLive()
504 isLive(cast<SymSymExpr>(sym)->getRHS()); in isLive()
507 KnownLive = isLive(cast<SymbolCast>(sym)->getOperand()); in isLive()
510 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()
/openbsd/gnu/llvm/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.cpp620 if (!sym->isLive()) in shouldImport()
686 if (!sym->isLive()) in calculateExports()
728 if (sym->isUsedInRegularObj && sym->isLive()) in populateSymtab()
734 if (sym->isLocal() && !isa<SectionSymbol>(sym) && sym->isLive()) in populateSymtab()
1381 if (!WasmSym::callCtors->isLive() && initFunctions.empty()) in createCallCtorsFunction()
1417 if (WasmSym::callCtors->isLive()) { in createCommandExportWrapper()
1494 if (!config->relocatable && !WasmSym::callCtors->isLive()) in calculateInitFunctions()
1502 if (sym->isDiscarded() || !sym->isLive()) in calculateInitFunctions()
1643 if (WasmSym::initTLS && WasmSym::initTLS->isLive()) { in run()
H A DSymbols.cpp146 bool Symbol::isLive() const { in isLive() function in lld::wasm::Symbol
234 if (config->shared && isLive() && isWeak() && !isHidden()) in isExported()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DADCE.cpp127 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive() function in __anon4809516d0111::AggressiveDeadCodeElimination
131 bool isLive(Instruction *I) { return InstInfo[I].Live; } in isLive() function in __anon4809516d0111::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()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkGeneric.cpp273 if (Sym->isLive()) in prune()
292 if (E.getTarget().isDefined() && !E.getTarget().isLive()) in prune()
305 if (!Sym->isLive()) in prune()
331 if (!Sym->isLive()) in prune()
/openbsd/gnu/llvm/lld/MachO/
H A DInputSection.h59 virtual bool isLive(uint64_t off) const = 0;
112 bool isLive(uint64_t off) const override { return live; } in isLive() function
203 bool isLive(uint64_t off) const override { return getStringPiece(off).live; } in isLive() function
242 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()
237 assert(!sym->isLive()); in writeMapFile()
H A DSymbols.cpp89 assert(isLive() && "this should only be called for live symbols"); in getVA()
H A DSyntheticSections.cpp977 if (defined->privateExtern || !defined->isLive()) in finalizeContents()
1062 !defined->isLive()) in finalizeContents()
1146 assert(sym->isLive() && in emitStabs()
1248 if (defined->isExternal() || !defined->isLive() || in finalizeContents()
1264 if (!sym->isLive()) in finalizeContents()
1772 if (!isec->isLive(off)) in finalizeContents()
1781 if (!isec->isLive(off)) in finalizeContents()
1790 if (!isec->isLive(off)) in finalizeContents()
/openbsd/gnu/llvm/lld/ELF/
H A DMarkLive.cpp335 d->section->isLive()) in moveToMain()
339 if (!sec->isLive() || !isValidCIdentifier(sec->name)) in moveToMain()
380 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()
H A DICF.cpp162 if (!s->isLive() || s->keepUnique || !(s->flags & SHF_ALLOC)) in isEligible()
577 [](InputSection *isec) { return !isec->isLive(); }); in run()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp155 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) { in isLive() function in __anone65385fe0211::DeadStoreObs
156 if (Live.isLive(D)) in isLive()
276 if (!isLive(Live, VD) && in CheckVarDecl()
402 if (!isLive(Live, V) && in observeStmt()
H A DTrustNonnullChecker.cpp150 if (!SymReaper.isLive(P.first) || !SymReaper.isLive(P.second)) in dropDeadFromGDM()
/openbsd/gnu/llvm/clang/lib/AST/Interp/
H A DPointer.h165 bool isLive() const { return Pointee && !Pointee->IsDead; } in isLive() function
308 assert(isLive() && "Invalid pointer"); in deref()
H A DInterp.cpp215 if (!Ptr.isLive()) { in CheckLive()
260 assert(Ptr.isLive() && "Pointer is not live"); in CheckConst()
272 assert(Ptr.isLive() && "Pointer is not live"); in CheckMutable()
/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSymbolManager.h613 bool isLive(SymbolRef sym);
615 bool isLive(const Expr *ExprVal, const LocationContext *LCtx) const;
616 bool isLive(const VarRegion *VR, bool includeStoreBindings = false) const;
644 return !isLive(sym); in isDead()
/openbsd/gnu/llvm/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
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DDeadArgumentElimination.h130 bool isLive(const RetOrArg &RA);
/openbsd/gnu/llvm/lld/COFF/
H A DSymbols.cpp81 bool Symbol::isLive() const { in isLive() function in lld::coff::Symbol

123