| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ConstructionContext.cpp | 74 ElidedCE = cast<CXXConstructExpr>(ElidedItem.getStmt()); in createMaterializedTemporaryFromLayers() 110 const auto *DS = cast<DeclStmt>(ParentItem.getStmt()); in createBoundTemporaryFromLayers() 120 const auto *RS = cast<ReturnStmt>(ParentItem.getStmt()); in createBoundTemporaryFromLayers() 145 const auto *E = cast<Expr>(ParentItem.getStmt()); in createBoundTemporaryFromLayers() 161 const auto *E = cast<LambdaExpr>(ParentItem.getStmt()); in createBoundTemporaryFromLayers() 179 const auto *DS = cast<DeclStmt>(TopItem.getStmt()); in createFromLayers() 184 const auto *NE = cast<CXXNewExpr>(TopItem.getStmt()); in createFromLayers() 189 const auto *RS = cast<ReturnStmt>(TopItem.getStmt()); in createFromLayers() 198 const auto *BTE = cast<CXXBindTemporaryExpr>(TopItem.getStmt()); in createFromLayers() 211 const auto *E = cast<LambdaExpr>(TopItem.getStmt()); in createFromLayers() [all …]
|
| H A D | ProgramPoint.cpp | 72 if (const ReturnStmt *RS = FEP->getStmt()) { in printJson() 187 const Stmt *S = castAs<StmtPoint>().getStmt(); in printJson()
|
| H A D | ReachableCode.cpp | 77 if (const auto *CE = dyn_cast<CallExpr>(CS->getStmt())) { in isBuiltinAssumeFalse() 92 if (const ReturnStmt *RS = dyn_cast<ReturnStmt>(CS->getStmt())) { in isDeadReturn() 459 const Stmt *S = CS->getStmt(); in findDeadCode() 466 const Stmt *S = T.getStmt(); in findDeadCode()
|
| H A D | CFGStmtMap.cpp | 56 CFGBlock *&Entry = SM[CS->getStmt()]; in Accumulate()
|
| H A D | UninitializedValues.cpp | 597 if (const auto *as = dyn_cast_or_null<GCCAsmStmt>(term.getStmt())) { in getUninitUse() 604 return label->getLabel()->getStmt() == B->Label && in getUninitUse() 865 tf.Visit(const_cast<Stmt *>(cs->getStmt())); in runOnBlock() 868 if (auto *as = dyn_cast_or_null<GCCAsmStmt>(terminator.getStmt())) in runOnBlock()
|
| H A D | Consumed.cpp | 66 return CS->getStmt()->getBeginLoc(); in getFirstStmtLoc() 85 return CS->getStmt()->getBeginLoc(); in getLastStmtLoc() 1235 dyn_cast_or_null<IfStmt>(CurrBlock->getTerminator().getStmt())) { in splitState() 1255 dyn_cast_or_null<BinaryOperator>(CurrBlock->getTerminator().getStmt())) { in splitState() 1345 Visitor.Visit(B.castAs<CFGStmt>().getStmt()); in run()
|
| /llvm-project-15.0.7/polly/include/polly/Support/ |
| H A D | VirtualInstruction.h | 271 ScopStmt *getStmt() const { return Stmt; } 293 return LHS.getStmt() == RHS.getStmt() && 319 return DenseMapInfo<polly::ScopStmt *>::isEqual(LHS.getStmt(), 320 RHS.getStmt()) && 341 getHashValue(std::make_pair(Val.getStmt(), Val.getInstruction()));
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | Environment.cpp | 88 const Stmt *S = Entry.getStmt(); in getSVal() 198 const Expr *E = dyn_cast<Expr>(BlkExpr.getStmt()); in removeDeadBindings() 263 const Stmt *S = I->first.getStmt(); in printJson() 275 const Stmt *S = I->first.getStmt(); in printJson()
|
| H A D | ExplodedGraph.cpp | 122 const Expr *Ex = dyn_cast<Expr>(progPoint.castAs<PostStmt>().getStmt()); in shouldCollect() 143 if (CallEvent::isCallStmt(SP->getStmt())) in shouldCollect() 334 return SP->getStmt(); in getStmtForDiagnostics() 346 return FEP->getStmt(); in getStmtForDiagnostics()
|
| H A D | BugReporterVisitors.cpp | 896 SourceLocation BugLoc = BugPoint->getStmt()->getBeginLoc(); in VisitNode() 1008 const auto *Ret = dyn_cast<ReturnStmt>(SP->getStmt()); in visitNodeInitial() 1319 cast<DeclStmt>(SI.StoreSite->getLocationAs<PostStmt>()->getStmt()); in showBRDiagnostics() 1594 const Stmt *S = PS->getStmt(); in VisitNode() 1771 CurTerminatorStmt = BE->getSrc()->getTerminator().getStmt(); in VisitNode() 1773 const Stmt *CurStmt = SP->getStmt(); in VisitNode() 1788 SourceLocation BugLoc = BugPoint->getStmt()->getBeginLoc(); in VisitNode() 2275 if (SP->getStmt() == E && CurrentSFC == PredSFC) in handle() 2531 const Stmt *S = P->getStmt(); in VisitNode() 2614 return VisitTrueTest(cast<Expr>(PS->getStmt()), BRC, BR, N, TookTrue); in VisitNodeImpl()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | Environment.h | 40 const Stmt *getStmt() const { return first; } in getStmt() function 46 ID.AddPointer(E.getStmt()); in Profile()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UnreachableCodeChecker.cpp | 133 if (const CallExpr *CE = dyn_cast<CallExpr>(S->getStmt())) { in checkEndAnalysis() 203 if (!isa<DeclStmt>(S->getStmt())) in getUnreachableStmt() 204 return S->getStmt(); in getUnreachableStmt()
|
| H A D | UndefBranchChecker.cpp | 97 if (PS->getStmt() == Ex) in checkBranchCondition()
|
| H A D | DivZeroChecker.cpp | 37 const Stmt *S = N->getLocationAs<PreStmt>()->getStmt(); in getDenomExpr()
|
| H A D | AnalyzerStatsChecker.cpp | 133 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC)); in checkEndAnalysis()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 659 if (GS->getLabel()->getStmt()) { in VerifyJumps() 660 CheckJump(GS, GS->getLabel()->getStmt(), GS->getGotoLoc(), in VerifyJumps() 672 CheckJump(IGS, Target->getStmt(), IGS->getGotoLoc(), in VerifyJumps() 761 if (CHECK_PERMISSIVE(!LabelAndGotoScopes.count(TheLabel->getStmt()))) in VerifyIndirectOrAsmJumps() 763 unsigned LabelScope = LabelAndGotoScopes[TheLabel->getStmt()]; in VerifyIndirectOrAsmJumps() 863 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target) in DiagnoseIndirectOrAsmJumpStmt() 911 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target) in DiagnoseIndirectOrAsmJump()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | UseAfterMoveCheck.cpp | 285 AddDeclRefs(match(traverse(TK_AsIs, findAll(DeclRefMatcher)), *S->getStmt(), in getDeclRefs() 291 *S->getStmt(), *Context)); in getDeclRefs() 363 match(findAll(ReinitMatcher), *S->getStmt(), *Context); in getReinits()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | ControlFlowContext.cpp | 39 StmtToBlock[Stmt.value().getStmt()] = Block; in buildStmtToBasicBlockMap()
|
| H A D | TypeErasedDataflowAnalysis.cpp | 255 const Stmt *S = CfgStmt.getStmt(); in transferCFGStmt() 405 PostVisitStmt(Stmt.getStmt(), State); in runTypeErasedDataflowAnalysis()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | CFG.h | 138 const Stmt *getStmt() const { in getStmt() function 536 Stmt *getStmt() { return Data.getPointer(); } in getStmt() function 537 const Stmt *getStmt() const { return Data.getPointer(); } in getStmt() function 1051 Stmt *getTerminatorStmt() { return Terminator.getStmt(); } in getTerminatorStmt() 1052 const Stmt *getTerminatorStmt() const { return Terminator.getStmt(); } in getTerminatorStmt() 1403 O(const_cast<Stmt *>(stmt->getStmt())); in VisitBlockStmts() 1483 return Val.getStmt();
|
| H A D | ProgramPoint.h | 278 const Stmt *getStmt() const { return (const Stmt*) getData1(); } in getStmt() function 281 const T* getStmtAs() const { return dyn_cast<T>(getStmt()); } in getStmtAs() 345 const ReturnStmt *getStmt() const { in getStmt() function
|
| H A D | ConstructionContext.h | 146 const Stmt *getStmt() const { in getStmt() function 152 return hasStatement() ? getStmt() : nullptr; in getStmtOrNull()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | VarBypassDetector.cpp | 141 if (const LabelStmt *LS = GS->getLabel()->getStmt()) in Detect()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | ExprSequence.cpp | 192 Map[S->getStmt()] = B; in StmtToBlockMap()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.cpp | 502 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt(); in VisitNode() 554 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt(); in VisitNode() 588 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt(); in VisitNode()
|