Lines Matching refs:Body
720 static const Stmt *getSingleCompoundChild(ASTContext &Ctx, const Stmt *Body) { in getSingleCompoundChild() argument
721 if (const auto *C = dyn_cast<CompoundStmt>(Body)) { in getSingleCompoundChild()
754 return Body; in getSingleCompoundChild()
760 return Body; in getSingleCompoundChild()
786 const auto *Body = in hasNestedSPMDDirective() local
788 const Stmt *ChildStmt = getSingleCompoundChild(Ctx, Body); in hasNestedSPMDDirective()
798 Body = NestedDir->getInnermostCapturedStmt()->IgnoreContainers( in hasNestedSPMDDirective()
800 if (!Body) in hasNestedSPMDDirective()
802 ChildStmt = getSingleCompoundChild(Ctx, Body); in hasNestedSPMDDirective()
959 const auto *Body = in hasNestedLightweightDirective() local
961 const Stmt *ChildStmt = getSingleCompoundChild(Ctx, Body); in hasNestedLightweightDirective()
972 Body = NestedDir->getInnermostCapturedStmt()->IgnoreContainers( in hasNestedLightweightDirective()
974 if (!Body) in hasNestedLightweightDirective()
976 ChildStmt = getSingleCompoundChild(Ctx, Body); in hasNestedLightweightDirective()
984 Body = NestedDir->getInnermostCapturedStmt()->IgnoreContainers( in hasNestedLightweightDirective()
986 if (!Body) in hasNestedLightweightDirective()
988 ChildStmt = getSingleCompoundChild(Ctx, Body); in hasNestedLightweightDirective()
996 Body = NND->getInnermostCapturedStmt()->IgnoreContainers( in hasNestedLightweightDirective()
998 if (!Body) in hasNestedLightweightDirective()
1000 ChildStmt = getSingleCompoundChild(Ctx, Body); in hasNestedLightweightDirective()
1017 Body = NestedDir->getInnermostCapturedStmt()->IgnoreContainers( in hasNestedLightweightDirective()
1019 if (!Body) in hasNestedLightweightDirective()
1021 ChildStmt = getSingleCompoundChild(Ctx, Body); in hasNestedLightweightDirective()
4199 const Stmt *Body = nullptr; in emitFunctionProlog() local
4202 Body = FD->getBody(); in emitFunctionProlog()
4204 Body = BD->getBody(); in emitFunctionProlog()
4206 Body = CD->getBody(); in emitFunctionProlog()
4212 if (!Body) in emitFunctionProlog()
4215 VarChecker.Visit(Body); in emitFunctionProlog()
4241 VarChecker.Visit(Body); in emitFunctionProlog()