| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 37 return isSemicolonRequiredAfter(While->getBody()); in isSemicolonRequiredAfter() 39 return isSemicolonRequiredAfter(For->getBody()); in isSemicolonRequiredAfter() 41 return isSemicolonRequiredAfter(CXXFor->getBody()); in isSemicolonRequiredAfter() 43 return isSemicolonRequiredAfter(ObjCFor->getBody()); in isSemicolonRequiredAfter() 45 return isSemicolonRequiredAfter(Switch->getBody()); in isSemicolonRequiredAfter()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 91 Stmt *AnalysisDeclContext::getBody(bool &IsAutosynthesized) const { in getBody() function in AnalysisDeclContext 94 Stmt *Body = FD->getBody(); in getBody() 96 Body = CoroBody->getBody(); in getBody() 98 Stmt *SynthesizedBody = ADCMgr->getBodyFarm().getBody(FD); in getBody() 107 Stmt *Body = MD->getBody(); in getBody() 109 Stmt *SynthesizedBody = ADCMgr->getBodyFarm().getBody(MD); in getBody() 117 return BD->getBody(); in getBody() 119 return FunTmpl->getTemplatedDecl()->getBody(); in getBody() 124 Stmt *AnalysisDeclContext::getBody() const { in getBody() function in AnalysisDeclContext 126 return getBody(Tmp); in getBody() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 208 CounterMap[D->getBody()] = NextCounter++; in VisitDecl() 406 else if (CS == While->getBody()) in TraverseWhileStmt() 407 CounterMap[While->getBody()] = NextCounter++; in TraverseWhileStmt() 425 else if (CS == Do->getBody()) in TraverseDoStmt() 426 CounterMap[Do->getBody()] = NextCounter++; in TraverseDoStmt() 446 else if (CS == For->getBody()) in TraverseForStmt() 447 CounterMap[For->getBody()] = NextCounter++; in TraverseForStmt() 462 if (CS == ForRange->getBody()) in TraverseCXXForRangeStmt() 463 CounterMap[ForRange->getBody()] = NextCounter++; in TraverseCXXForRangeStmt() 627 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitFunctionDecl() [all …]
|
| H A D | CodeGenSYCL.cpp | 42 cast<SYCLKernelCallStmt>(KernelEntryPointFn->getBody()); in EmitSYCLKernelCaller() 68 CGF.EmitFunctionBody(OutlinedFnDecl->getBody()); in EmitSYCLKernelCaller()
|
| H A D | CoverageMappingGen.cpp | 617 auto Body = D->getBody(); in VisitDecl() 1518 Stmt *Body = D->getBody(); in VisitDecl() 1558 Visit(S->getBody()); in VisitCoroutineBodyStmt() 1623 ? getRegionCounter(S->getBody()) in VisitWhileStmt() 1628 extendRegion(S->getBody()); in VisitWhileStmt() 1629 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitWhileStmt() 1648 auto Gap = findGapAreaBetween(S->getRParenLoc(), getStart(S->getBody())); in VisitWhileStmt() 1673 ? getRegionCounter(S->getBody()) in VisitDoStmt() 1677 extendRegion(S->getBody()); in VisitDoStmt() 1681 propagateCounts(BodyCount, S->getBody()); in VisitDoStmt() [all …]
|
| H A D | CGStmt.cpp | 1067 const Stmt *Body = S.getBody(); in hasEmptyLoopBody() 1133 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitWhileStmt() 1136 BoolCondVal, Stmt::getLikelihood(S.getBody())); in EmitWhileStmt() 1151 } else if (const Attr *A = Stmt::getLikelihoodAttr(S.getBody())) { in EmitWhileStmt() 1168 incrementProfileCounter(S.getBody()); in EmitWhileStmt() 1171 EmitStmt(S.getBody()); in EmitWhileStmt() 1216 EmitBlockWithFallThrough(LoopBody, S.getBody()); in EmitDoStmt() 1225 EmitStmt(S.getBody()); in EmitDoStmt() 1256 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt() 1366 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitForStmt() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Interfaces/ |
| H A D | CIRLoopOpInterface.cpp | 31 regions.emplace_back(&op.getBody(), op.getBody().getArguments()); in getLoopOpSuccessorRegions() 36 if (&op.getBody() == point.getRegionOrNull()) { in getLoopOpSuccessorRegions()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CodeInjector.h | 40 virtual Stmt *getBody(const FunctionDecl *D) = 0; 41 virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
|
| H A D | BodyFarm.h | 35 Stmt *getBody(const FunctionDecl *D); 38 Stmt *getBody(const ObjCMethodDecl *D);
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | ModelInjector.h | 38 Stmt *getBody(const FunctionDecl *D) override; 39 Stmt *getBody(const ObjCMethodDecl *D) override;
|
| H A D | ModelInjector.cpp | 29 Stmt *ModelInjector::getBody(const FunctionDecl *D) { in getBody() function in ModelInjector 34 Stmt *ModelInjector::getBody(const ObjCMethodDecl *D) { in getBody() function in ModelInjector
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 170 Stmt *getBody() { return SubExprs[BODY]; } in getBody() function 190 const Stmt *getBody() const { return SubExprs[BODY]; } in getBody() function 380 CompoundStmt *getBody() const { in getBody() function 428 return getBody() ? getBody()->getBeginLoc() in getBeginLoc() 432 return getBody() ? getBody()->getEndLoc() : getPromiseDecl()->getEndLoc(); in getEndLoc()
|
| H A D | ASTNodeTraverser.h | 570 Visit(D->getBody()); in VisitFunctionDecl() 616 Visit(D->getBody()); in VisitOutlinedFunctionDecl() 619 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); } in VisitCapturedDecl() 799 Visit(D->getBody()); in VisitObjCMethodDecl() 821 Visit(D->getBody()); in VisitBlockDecl() 939 Visit(Node->getBody()); in VisitLambdaExpr() 970 Visit(Node->getBody()); in VisitCXXForRangeStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCUnusedIVarsChecker.cpp | 46 Scan(M, BE->getBody()); in Scan() 78 Scan(M, I->getBody()); in Scan() 100 Scan(M, FD->getBody()); in Scan()
|
| H A D | ObjCMissingSuperCallChecker.cpp | 186 if (MD->getBody()) in checkASTDecl() 194 PathDiagnosticLocation::createEnd(MD->getBody(), in checkASTDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
| H A D | Nodes.h | 243 Statement *getBody(); 253 Statement *getBody(); 262 Statement *getBody(); 283 Statement *getBody(); 292 Statement *getBody(); 327 Statement *getBody();
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenStmt.cpp | 611 if (emitStmt(s.getBody(), useCurrentScope).failed()) in emitCXXForRangeStmt() 641 terminateBody(builder, forOp.getBody(), getLoc(s.getEndLoc())); in emitCXXForRangeStmt() 687 if (emitStmt(s.getBody(), /*useCurrentScope=*/false).failed()) in emitForStmt() 713 terminateBody(builder, forOp.getBody(), getLoc(s.getEndLoc())); in emitForStmt() 745 if (emitStmt(s.getBody(), /*useCurrentScope=*/false).failed()) in emitDoStmt() 764 terminateBody(builder, doWhileOp.getBody(), getLoc(s.getEndLoc())); in emitDoStmt() 801 if (emitStmt(s.getBody(), /*useCurrentScope=*/false).failed()) in emitWhileStmt() 820 terminateBody(builder, whileOp.getBody(), getLoc(s.getEndLoc())); in emitWhileStmt() 894 res = emitSwitchBody(s.getBody()); in emitSwitchStmt() 916 terminateBody(builder, swop.getBody(), swop.getLoc()); in emitSwitchStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | Nodes.cpp | 226 syntax::Statement *syntax::SwitchStatement::getBody() { in getBody() function in syntax::SwitchStatement 241 syntax::Statement *syntax::CaseStatement::getBody() { in getBody() function in syntax::CaseStatement 251 syntax::Statement *syntax::DefaultStatement::getBody() { in getBody() function in syntax::DefaultStatement 280 syntax::Statement *syntax::ForStatement::getBody() { in getBody() function in syntax::ForStatement 290 syntax::Statement *syntax::WhileStatement::getBody() { in getBody() function in syntax::WhileStatement 320 syntax::Statement *syntax::RangeBasedForStatement::getBody() { in getBody() function in syntax::RangeBasedForStatement
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/Transforms/ |
| H A D | CIRCanonicalize.cpp | 92 if (!(op.getBody().empty() || isa<YieldOp>(op.getBody().front().front()))) in matchAndRewrite()
|
| H A D | FlattenCFG.cpp | 251 llvm::make_early_inc_range(op.getBody().getBlocks())) in matchAndRewrite() 255 assert(!op.getBody().empty()); in matchAndRewrite() 259 rewriter.inlineRegionBefore(op.getBody(), exitBlock); in matchAndRewrite() 424 mlir::Block *body = &op.getBody().front(); in matchAndRewrite() 453 op.getBody(), [&](mlir::Operation *op) { in matchAndRewrite() 462 for (mlir::Block &blk : op.getBody().getBlocks()) { in matchAndRewrite() 475 rewriter.inlineRegionBefore(op.getBody(), exit); in matchAndRewrite()
|
| /freebsd/contrib/llvm-project/lldb/tools/lldb-instr/ |
| H A D | Instrument.cpp | 57 Stmt *Body = Decl->getBody(); in VisitCXXMethodDecl() 98 Stmt *Body = Decl->getBody(); in ShouldSkip()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | UsedDeclVisitor.h | 111 if (auto *S = CD->getBody()) { in visitUsedDecl() 115 if (auto *S = CD->getBody()) { in visitUsedDecl()
|
| H A D | SemaAvailability.cpp | 745 return cast<WhileStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt() 747 return cast<DoStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt() 749 return cast<ForStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt() 751 return cast<CXXForRangeStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt() 753 return cast<ObjCForCollectionStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt() 1085 Body = FD->getBody(); in DiagnoseUnguardedAvailabilityViolations() 1092 Body = MD->getBody(); in DiagnoseUnguardedAvailabilityViolations() 1094 Body = BD->getBody(); in DiagnoseUnguardedAvailabilityViolations()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Interfaces/ |
| H A D | CIRLoopOpInterface.td | 37 /*methodName=*/"getBody" 77 return $_op.getBody().template walk<mlir::WalkOrder::PreOrder>([&](mlir::Operation *op) {
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RefCntblBaseVirtualDtorChecker.cpp | 59 if (auto *Body = Decl->getBody()) in HasSpecializedDelete() 69 return VisitBody(D->getBody()); in VisitCallExpr() 94 if (VisitBody(Lambda->getBody())) in VisitLambdaArgument()
|