Searched refs:isLive (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h48 bool isLive(const Stmt *S) 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 Stmt *StmtVal);
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp438 return isLive(SR->getSymbol());
441 return isLive(VR, true);
462 bool SymbolReaper::isLive(SymbolRef sym) { function in class:SymbolReaper
478 KnownLive = isLive(cast<SymbolDerived>(sym)->getParentSymbol());
490 KnownLive = isLive(cast<SymIntExpr>(sym)->getLHS());
493 KnownLive = isLive(cast<IntSymExpr>(sym)->getRHS());
496 KnownLive = isLive(cast<SymSymExpr>(sym)->getLHS()) &&
497 isLive(cast<SymSymExpr>(sym)->getRHS());
500 KnownLive = isLive(cast<SymbolCast>(sym)->getOperand());
511 SymbolReaper::isLive(cons function in class:SymbolReaper
530 bool SymbolReaper::isLive(const VarRegion *VR, bool includeStoreBindings) const{ function in class:SymbolReaper
[all...]
H A DEnvironment.cpp191 if (SymReaper.isLive(BlkExpr.getStmt(), BlkExpr.getLocationContext())) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp126 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } function in class:__anon5618::AggressiveDeadCodeElimination
130 bool isLive(Instruction *I) { return InstInfo[I].Live; } function in class:__anon5618::AggressiveDeadCodeElimination
282 if (isLive(Term))
513 if (isLive(&I))
526 if (isLive(II))
538 if (isLive(&I))
/freebsd-12-stable/contrib/llvm-project/lld/COFF/
H A DMinGW.cpp113 if (!sym || !sym->isLive() || !sym->getChunk())
H A DSymbols.cpp84 bool Symbol::isLive() const { function in class:lld::coff::Symbol
H A DSymbols.h81 bool isLive() const;
/freebsd-12-stable/contrib/llvm-project/lld/ELF/
H A DMarkLive.cpp308 d->section->isLive())
312 if (!sec->isLive() || !isValidCIdentifier(sec->name))
389 if (!sec->isLive())
H A DMapFile.cpp59 if (!dr->isSection() && dr->section && dr->section->isLive() &&
241 if (!d->isLocal() && (!d->section || d->section->isLive()))
H A DICF.cpp162 if (!s->isLive() || s->keepUnique || !(s->flags & SHF_ALLOC))
524 [](InputSection *isec) { return !isec->isLive(); });
H A DOutputSections.cpp177 if (!ms->isLive())
239 assert(isLive());
H A DInputSection.h90 bool isLive() const { return partition != 0; } function in class:lld::elf::SectionBase
H A DLinkerScript.cpp417 if (!sec->isLive() || sec->parent)
678 if (s->isLive() && !s->parent) {
H A DSyntheticSections.cpp430 if (!sec->isLive())
1444 if (part.verDef && part.verDef->isLive()) {
2691 if (!s || s == &InputSection::discarded || !s->isLive())
2960 return isLive() && getPartition().ehFrame->isNeeded();
3050 return isLive() &&
3139 return isLive() && SharedFile::vernauxNum != 0;
3361 auto isDiscarded = [](const InputSection *isec) { return !isec->isLive(); };
3455 return isec->isLive();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkGeneric.cpp322 if (Sym->isLive())
339 if (E.getTarget().isDefined() && !E.getTarget().isLive()) {
351 if (!Sym->isLive())
H A DJITLink.cpp127 OS << (Sym.isLive() ? '+' : '-')
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp157 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) { function in class:__anon3319::DeadStoreObs
158 if (Live.isLive(D))
278 if (!isLive(Live, VD) &&
405 if (!isLive(Live, V) &&
H A DTrustNonnullChecker.cpp150 if (!SymReaper.isLive(P.first) || !SymReaper.isLive(P.second))
H A DInnerPointerChecker.cpp248 if (!SymReaper.isLive(Symbol))
H A DExprInspectionChecker.cpp279 if (!SymReaper.isLive(Sym))
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.h142 bool isLive() const { return Pointee && !Pointee->IsDead; } function in class:clang::interp::Pointer
281 assert(isLive() && "Invalid pointer");
H A DInterp.cpp215 if (!Ptr.isLive()) {
259 assert(Ptr.isLive() && "Pointer is not live");
271 assert(Ptr.isLive() && "Pointer is not live");
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp114 bool LiveVariables::LivenessValues::isLive(const Stmt *S) const { function in class:LiveVariables::LivenessValues
118 bool LiveVariables::LivenessValues::isLive(const VarDecl *D) const { function in class:LiveVariables::LivenessValues
183 bool LiveVariables::isLive(const CFGBlock *B, const VarDecl *D) { function in class:LiveVariables
184 return isAlwaysAlive(D) || getImpl(impl).blocksEndToLiveness[B].isLive(D);
187 bool LiveVariables::isLive(const Stmt *S, const VarDecl *D) { function in class:LiveVariables
188 return isAlwaysAlive(D) || getImpl(impl).stmtsToLiveness[S].isLive(D);
191 bool LiveVariables::isLive(const Stmt *Loc, const Stmt *S) { function in class:LiveVariables
192 return getImpl(impl).stmtsToLiveness[Loc].isLive(S);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSymbolManager.h583 bool isLive(SymbolRef sym);
585 bool isLive(const Stmt *ExprVal, const LocationContext *LCtx) const;
586 bool isLive(const VarRegion *VR, bool includeStoreBindings = false) const;
614 return !isLive(sym);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp64 // The logic in isLive() is too much for it.
189 /// isLive - Is RegNo currently live in the stack?
190 bool isLive(unsigned RegNo) const {
473 if (Reg >= X86::FP0 && Reg <= X86::FP6 && isLive(Reg-X86::FP0)) {
1467 assert(isLive(SrcFP) && "Cannot copy dead register");
1667 if (isLive(FPReg))

Completed in 301 milliseconds

12