Home
last modified time | relevance | path

Searched refs:Body (Results 1 – 25 of 90) sorted by relevance

1234

/freebsd-12.1/sys/contrib/dev/acpica/compiler/
H A Dprmacros.c390 char *Body; in PrAddMacro() local
535 if (strcmp (DefineInfo->Body, BodyInSource) || in PrAddMacro()
554 Body = UtLocalCalloc (strlen (BodyInSource) + 1); in PrAddMacro()
555 strcpy (Body, BodyInSource); in PrAddMacro()
557 DefineInfo->Body = Body; in PrAddMacro()
603 strcpy (AslGbl_MacroTokenBuffer, DefineInfo->Body); in PrDoMacroInvocation()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmtObjC.h30 ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, Stmt *Body,
77 Stmt *Body; variable
85 Body(atCatchStmt), AtCatchLoc(atCatchLoc), RParenLoc(rparenloc) { } in ObjCAtCatchStmt()
90 const Stmt *getCatchBody() const { return Body; } in getCatchBody()
91 Stmt *getCatchBody() { return Body; } in getCatchBody()
92 void setCatchBody(Stmt *S) { Body = S; } in setCatchBody()
108 SourceLocation getEndLoc() const LLVM_READONLY { return Body->getEndLoc(); } in getEndLoc()
116 child_range children() { return child_range(&Body, &Body + 1); } in children()
H A DStmtCXX.h141 Stmt *Body, SourceLocation FL, SourceLocation CAL,
306 Body, ///< The body of the coroutine. enumerator
333 Stmt *Body = nullptr; member
364 return getStoredStmts()[SubStmt::Body]; in getBody()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransUnusedInitDelegate.cpp35 Stmt *Body; member in __anona4d921c20111::UnusedInitRewriter
42 : Body(nullptr), Pass(pass) { } in UnusedInitRewriter()
45 Body = body; in transformBody()
H A DTransUnbridgedCasts.cpp65 Stmt *Body; member in __anon0e864ab10111::UnbridgedCastRewriter
70 : Pass(pass), ParentD(nullptr), Body(nullptr) { in UnbridgedCastRewriter()
76 Body = body; in transformBody()
325 collectRemovables(Body, *Removables); in tryRemoving()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp95 Stmt *Body = FD->getBody(); in getBody() local
96 if (auto *CoroBody = dyn_cast_or_null<CoroutineBodyStmt>(Body)) in getBody()
97 Body = CoroBody->getBody(); in getBody()
101 Body = SynthesizedBody; in getBody()
105 return Body; in getBody()
108 Stmt *Body = MD->getBody(); in getBody() local
112 Body = SynthesizedBody; in getBody()
116 return Body; in getBody()
138 Stmt *Body = getBody(Tmp); in isBodyAutosynthesizedFromModelFile() local
139 return Tmp && Body->getBeginLoc().isValid(); in isBodyAutosynthesizedFromModelFile()
H A DCallGraph.cpp152 if (Stmt *Body = D->getBody()) in addNodeForDecl() local
153 builder.Visit(Body); in addNodeForDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h680 SExpr *body() { return Body; } in body()
708 SExpr* Body; variable
735 SExpr *body() { return Body; } in body()
760 SExpr* Body; variable
775 SExpr *body() { return Body; } in body()
795 SExpr* Body; variable
803 : SExpr(C), Range(R), Body(B) {} in Field()
810 SExpr *body() { return Body; } in body()
830 SExpr* Body; variable
1871 SExpr *body() { return Body; } in body()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DStmtCXX.cpp51 Stmt *Body, SourceLocation FL, in CXXForRangeStmt() argument
63 SubExprs[BODY] = Body; in CXXForRangeStmt()
113 SubStmts[CoroutineBodyStmt::Body] = Args.Body; in CoroutineBodyStmt()
H A DStmtObjC.cpp22 Stmt *Body, SourceLocation FCL, in ObjCForCollectionStmt() argument
27 SubExprs[BODY] = Body; in ObjCForCollectionStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDirectIvarAssignment.cpp147 const Stmt *Body = M->getBody(); in checkASTDecl() local
148 assert(Body); in checkASTDecl()
152 MC.VisitStmt(Body); in checkASTDecl()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp199 bool ASTResultSynthesizer::SynthesizeBodyResult(CompoundStmt *Body, in SynthesizeBodyResult() argument
205 if (!Body) in SynthesizeBodyResult()
208 if (Body->body_empty()) in SynthesizeBodyResult()
211 Stmt **last_stmt_ptr = Body->body_end() - 1; in SynthesizeBodyResult()
215 if (last_stmt_ptr != Body->body_begin()) { in SynthesizeBodyResult()
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2360 while (!Body.empty()) { in expandMacro()
2382 OS << Body.slice(0, Pos); in expandMacro()
2389 switch (Body[Pos + 1]) { in expandMacro()
2437 if (Body[Pos + 1] == '(' && Body[Pos + 2] == ')') in expandMacro()
2475 Body = Body.substr(Pos); in expandMacro()
2745 StringRef Body = M->Body; in handleMacroEntry() local
4375 while (!Body.empty()) { in checkForBadMacro()
4397 if (Body[Pos] == '$') { in checkForBadMacro()
4398 switch (Body[Pos + 1]) { in checkForBadMacro()
4428 if (Body[Pos + 1] == '(' && Body[Pos + 2] == ')') in checkForBadMacro()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1642 BasicBlock *Body = *(CurLoop->block_begin()); in transformLoopToCountable() local
1643 auto *LbBr = cast<BranchInst>(Body->getTerminator()); in transformLoopToCountable()
1647 PHINode *TcPhi = PHINode::Create(Ty, 2, "tcphi", &Body->front()); in transformLoopToCountable()
1655 TcPhi->addIncoming(TcDec, Body); in transformLoopToCountable()
1666 CntPhi->replaceUsesOutsideBlock(NewCount, Body); in transformLoopToCountable()
1668 CntInst->replaceUsesOutsideBlock(NewCount, Body); in transformLoopToCountable()
1748 BasicBlock *Body = *(CurLoop->block_begin()); in transformLoopToPopcount() local
1750 auto *LbBr = cast<BranchInst>(Body->getTerminator()); in transformLoopToPopcount()
1754 PHINode *TcPhi = PHINode::Create(Ty, 2, "tcphi", &Body->front()); in transformLoopToPopcount()
1762 TcPhi->addIncoming(TcDec, Body); in transformLoopToPopcount()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCAsmMacro.h146 StringRef Body; member
151 : Name(N), Body(B), Parameters(std::move(P)) {} in MCAsmMacro()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DVarBypassDetector.cpp21 void VarBypassDetector::Init(const Stmt *Body) { in Init() argument
27 AlwaysBypassed = !BuildScopeInformation(Body, ParentScope); in Init()
H A DCGObjCRuntime.cpp122 const Stmt *Body; member
175 Handler.Body = CatchStmt->getCatchBody(); in EmitTryCatchStmt()
247 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange()); in EmitTryCatchStmt()
270 CGF.EmitStmt(Handler.Body); in EmitTryCatchStmt()
H A DCGClass.cpp843 bool IsTryBody = (Body && isa<CXXTryStmt>(Body)); in EmitConstructorBody()
847 incrementProfileCounter(Body); in EmitConstructorBody()
861 else if (Body) in EmitConstructorBody()
862 EmitStmt(Body); in EmitConstructorBody()
1424 Stmt *Body = Dtor->getBody(); in EmitDestructorBody() local
1425 if (Body) in EmitDestructorBody()
1426 incrementProfileCounter(Body); in EmitDestructorBody()
1443 bool isTryBody = (Body && isa<CXXTryStmt>(Body)); in EmitDestructorBody()
1477 assert(Body); in EmitDestructorBody()
1494 else if (Body) in EmitDestructorBody()
[all …]
H A DCoverageMappingGen.cpp393 auto Body = D->getBody(); in VisitDecl() local
394 SourceLocation Start = getStart(Body); in VisitDecl()
395 SourceLocation End = getEnd(Body); in VisitDecl()
874 Stmt *Body = D->getBody(); in VisitDecl() local
877 if (Body && SM.isInSystemHeader(SM.getSpellingLoc(getStart(Body)))) in VisitDecl()
888 propagateCounts(getRegionCounter(Body), Body, in VisitDecl()
1111 const Stmt *Body = S->getBody(); in VisitSwitchStmt() local
1112 extendRegion(Body); in VisitSwitchStmt()
1113 if (const auto *CS = dyn_cast<CompoundStmt>(Body)) { in VisitSwitchStmt()
1132 propagateCounts(Counter::getZero(), Body); in VisitSwitchStmt()
H A DCGOpenMPRuntimeNVPTX.cpp754 return Body; in getSingleCompoundChild()
760 return Body; in getSingleCompoundChild()
786 const auto *Body = in hasNestedSPMDDirective() local
800 if (!Body) in hasNestedSPMDDirective()
959 const auto *Body = in hasNestedLightweightDirective() local
974 if (!Body) in hasNestedLightweightDirective()
986 if (!Body) in hasNestedLightweightDirective()
998 if (!Body) in hasNestedLightweightDirective()
1019 if (!Body) in hasNestedLightweightDirective()
4202 Body = FD->getBody(); in emitFunctionProlog()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp130 const Stmt *Body = PickTrueBranch ? Node->getThen() : Node->getElse(); in run() local
131 if (Body) { in run()
133 Replace.add(replaceStmtWithStmt(*Result.SourceManager, *Node, *Body)); in run()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp1370 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseSwitchStatement() local
1436 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseWhileStatement() local
1442 if (Cond.isInvalid() || Body.isInvalid()) in ParseWhileStatement()
1445 return Actions.ActOnWhileStmt(WhileLoc, Cond, Body.get()); in ParseWhileStatement()
1478 StmtResult Body(ParseStatement()); in ParseDoStatement() local
1484 if (!Body.isInvalid()) { in ParseDoStatement()
1513 if (Cond.isInvalid() || Body.isInvalid()) in ParseDoStatement()
1862 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseForStatement() local
1870 if (Body.isInvalid()) in ParseForStatement()
1875 Body.get()); in ParseForStatement()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp1304 DiagnoseUnusedExprResult(Body); in ActOnWhileStmt()
1306 if (isa<NullStmt>(Body)) in ActOnWhileStmt()
1335 DiagnoseUnusedExprResult(Body); in ActOnDoStmt()
1609 Visit(Body); in BreakContinueFinder()
1633 if (const Stmt *Body = S->getBody()) in VisitSwitchStmt() local
1634 Visit(Body); in VisitSwitchStmt()
1691 if (!Body || !Third) return; in CheckForRedundantIteration()
1746 Stmt *Body) { in ActOnForStmt() argument
1784 DiagnoseUnusedExprResult(Body); in ActOnForStmt()
1786 if (isa<NullStmt>(Body)) in ActOnForStmt()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTConsumers.cpp185 if (Stmt *Body = D->getBody()) { in HandleTopLevelSingleDecl() local
187 Body->viewAST(); in HandleTopLevelSingleDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexDecl.cpp177 const Stmt *Body = D->getBody(); in handleObjCMethod() local
178 if (Body) { in handleObjCMethod()
179 IndexCtx.indexBody(Body, D, D); in handleObjCMethod()
282 const Stmt *Body = D->getBody(); in VisitFunctionDecl() local
283 if (Body) { in VisitFunctionDecl()
284 IndexCtx.indexBody(Body, D, D); in VisitFunctionDecl()

1234