From patchwork Sat Nov 14 10:23:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luc Van Oostenryck X-Patchwork-Id: 11905533 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 981BB697 for ; Sat, 14 Nov 2020 10:24:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6F95922254 for ; Sat, 14 Nov 2020 10:24:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="V8nf22Rn" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726810AbgKNKYH (ORCPT ); Sat, 14 Nov 2020 05:24:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726584AbgKNKYG (ORCPT ); Sat, 14 Nov 2020 05:24:06 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 198C1C0613D2 for ; Sat, 14 Nov 2020 02:24:06 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id me8so17464720ejb.10 for ; Sat, 14 Nov 2020 02:24:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=A3O5CGIyCcpntQkS/rsqSkD1kwG/brAXPlkeN83bRY4=; b=V8nf22RnjivmSS6OaXEg+s+8Uq7j6aUJMLIfWbyGq0UA8lu/zWAjOXWCWqvfOxywmg P0WiO9nQFjgUHAeOmgIoUzPsNRKWOOU3Ib1Jm3YG2qm7Bu8cRxvweNnOSOI/5urQOWU5 4kgs1uWPGV+hocy7qnrqfyXZU8z7ma/5FZ/onESCOPeBvnbnQ9Cbapig3fRiNODa+yj6 wMcrCB/AMDmdReznRZx7+PKk/9e25LCtfc2wmKaqQY/IMJITS5V99BcZQ2bg1Z2gHzCN sb0z9sv5uXguTAaaFiC55QOkwByzPmjlA2T5ABNlrOWPIxNk7k5EPMy2Yo2cN5MG+4OZ B4tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=A3O5CGIyCcpntQkS/rsqSkD1kwG/brAXPlkeN83bRY4=; b=Tq66215ganWtRdAuM3Khg+RgkQSaZEPpSabpKa1I1LsVmCNr8kZ+GciBMf2yohS5it F9xwWhd1lmpXSLG0UcOJwiEIG5dD2lqNT6Yz2x12wyGkyM3d8aXy7sksHlOp93MzgogC fQLiBfmDI5ub/+nJkzZPxSdB7hdW98VPIX0+TLfJXrIA/UBALq5xeFaEPVkx0NoBrtmz 89jMpDaQToMhVfIhnrgvcwnoDGYYioW0LPqz7LthlxKr01K0lUGYZRwYbNdCSNddGDIj l0syziMnALjEIGU2bNCiETcjZTD9G4MyCO8tnnv6RQW3NoCDtyCP/UK5JT5NzEqiMhrt SomQ== X-Gm-Message-State: AOAM531Uy7E5VKtypOQzoKX9Hlf0q1OUkZGOIBVRK+sMssqXkhZeI8H6 WoSm7KS7MptYsfU5r8Skgndq3Hc4al4= X-Google-Smtp-Source: ABdhPJwu2UYc2yzMJoZB4i3l+PYZNM0ds2d57d2F0YMal0ktkfIyCWwDIgT97nqagb1vIEsUU8I1Ow== X-Received: by 2002:a17:906:1317:: with SMTP id w23mr5927779ejb.120.1605349441948; Sat, 14 Nov 2020 02:24:01 -0800 (PST) Received: from localhost.localdomain ([2a02:a03f:b7fe:f700:e8ee:663e:d7a3:b425]) by smtp.gmail.com with ESMTPSA id f19sm6479758edy.13.2020.11.14.02.24.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Nov 2020 02:24:01 -0800 (PST) From: Luc Van Oostenryck To: linux-sparse@vger.kernel.org Cc: Luc Van Oostenryck Subject: [PATCH 1/4] doc: fix extracted autodoc when short description ends with a ? Date: Sat, 14 Nov 2020 11:23:53 +0100 Message-Id: <20201114102356.61234-2-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201114102356.61234-1-luc.vanoostenryck@gmail.com> References: <20201114102356.61234-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org Signed-off-by: Luc Van Oostenryck --- Documentation/sphinx/cdoc.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/sphinx/cdoc.py b/Documentation/sphinx/cdoc.py index 73c128cb7b35..cca5ad2822de 100755 --- a/Documentation/sphinx/cdoc.py +++ b/Documentation/sphinx/cdoc.py @@ -228,8 +228,9 @@ def convert_to_rst(info): if 'short' in info: (n, l) = info['short'] l = l[0].capitalize() + l[1:].strip('.') - l = '\t' + l + '.' - lst.append((n, l + '\n')) + if l[-1] != '?': + l = l + '.' + lst.append((n, '\t' + l + '\n')) if 'tags' in info: for (n, name, l) in info.get('tags', []): if name != 'return': From patchwork Sat Nov 14 10:23:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luc Van Oostenryck X-Patchwork-Id: 11905535 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D878A16C0 for ; Sat, 14 Nov 2020 10:24:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AD4492225E for ; Sat, 14 Nov 2020 10:24:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="u6Y3hs82" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726584AbgKNKYH (ORCPT ); Sat, 14 Nov 2020 05:24:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726807AbgKNKYG (ORCPT ); Sat, 14 Nov 2020 05:24:06 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10C5AC0613D1 for ; Sat, 14 Nov 2020 02:24:06 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id o20so13723034eds.3 for ; Sat, 14 Nov 2020 02:24:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UHTS0l0QsVj7JigVh+eY7YTBu2wf6WIyvZVq9ETO6Es=; b=u6Y3hs82Arxv4XlJelk1lsRscsR34aIsnT6+DTEDsS8j1zEOxrkG8YOLI9TzwYWpE3 G2l/erAOiMQbYmvTp1qJSlpVl7JeZyNgjemVoeIijOe/0PntxmrqT9r92UuBUTZBIFi9 QN/fAw8USDGeKbrCKQ5y3yXNYpDTCIgZGLshck5vnvvYOnCnOqtcOjqIou7tACAsNbr0 3o27oZus1FiJ0APn4erWf9qUo0/APTque4jrzjC9FBYJ3fYVve1R22zO0x5i03SSa1nq 7OsZg8PEbpo5kkyDEpOWc6T9E7AZShdyAEMeZJNSiPDhtxk0jNz8folou3Huc+tB4vAQ zvUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UHTS0l0QsVj7JigVh+eY7YTBu2wf6WIyvZVq9ETO6Es=; b=djiSs4L60pf/3I+OSQskJ8YcrFvSI2vJN6KtolgKnJD6FUrNO7Rn+X+nkqTIuLGzoK pf0TWXZp6BjV2i5U8W9oVBtWVal05esNdIkjoWjXmlfx3klGRHmO2R8jF1WYilOdyead lg+6KQj0XHFTrUHzo6W2KtbsbLhglnKCpvMxPUEnVd1daOYA+x070OC9SvNC8HyPSlQE z7W4Kk11oup2IrHAeYjF32G5+GszeK3waQmVFI0NDupM+edXg2nH096t2fHQWUhOH8Rj lxD3eZHX5Bw+spAoa7nSB2bI9W1zoB2bAM9mVOPuW63Hsix95jhgl0uYr6OFTputTCNM UHwA== X-Gm-Message-State: AOAM530MENiGOKKaMmihSBU2hjRh603tv0sZTcK2odr1HFgK735yY7lJ RBaRn4ktqWJ5L+k4el97mMsXVbN9qqg= X-Google-Smtp-Source: ABdhPJzxW/L+N5f/r88iHUqcvn8jNqw6r38oXffY/fW8mJjFAJn7sbfoxqw7ViDfiTpOF8Ni1hqkeQ== X-Received: by 2002:a05:6402:1456:: with SMTP id d22mr6721576edx.77.1605349442824; Sat, 14 Nov 2020 02:24:02 -0800 (PST) Received: from localhost.localdomain ([2a02:a03f:b7fe:f700:e8ee:663e:d7a3:b425]) by smtp.gmail.com with ESMTPSA id f19sm6479758edy.13.2020.11.14.02.24.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Nov 2020 02:24:02 -0800 (PST) From: Luc Van Oostenryck To: linux-sparse@vger.kernel.org Cc: Luc Van Oostenryck Subject: [PATCH 2/4] doc: add some doc to flowgraph.h Date: Sat, 14 Nov 2020 11:23:54 +0100 Message-Id: <20201114102356.61234-3-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201114102356.61234-1-luc.vanoostenryck@gmail.com> References: <20201114102356.61234-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org Signed-off-by: Luc Van Oostenryck --- Documentation/api.rst | 1 + flowgraph.h | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/Documentation/api.rst b/Documentation/api.rst index cb8a0982011d..09ed0c4d7f9b 100644 --- a/Documentation/api.rst +++ b/Documentation/api.rst @@ -10,6 +10,7 @@ Utilities .. c:autodoc:: ptrlist.c .. c:autodoc:: utils.h +.. c:autodoc:: flowgraph.h Parsing ~~~~~~~ diff --git a/flowgraph.h b/flowgraph.h index 7226c55f0805..5a9c26073554 100644 --- a/flowgraph.h +++ b/flowgraph.h @@ -1,13 +1,33 @@ #ifndef FLOWGRAPH_H #define FLOWGRAPH_H +/// +// Utilities for flowgraphs +// ------------------------ + #include struct entrypoint; struct basic_block; +/// +// Set the BB's reverse postorder links +// Each BB will also have its 'order number' set. int cfg_postorder(struct entrypoint *ep); + +/// +// Build the dominance tree. +// Each BB will then have: +// - a link to its immediate dominator (::idom) +// - the list of BB it immediately dominates (::doms) +// - its level in the dominance tree (::dom_level) void domtree_build(struct entrypoint *ep); + +/// +// Test the dominance between two basic blocks. +// @a: the basic block expected to dominate +// @b: the basic block expected to be dominated +// @return: ``true`` if @a dominates @b, ``false`` otherwise. bool domtree_dominates(struct basic_block *a, struct basic_block *b); #endif From patchwork Sat Nov 14 10:23:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luc Van Oostenryck X-Patchwork-Id: 11905531 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 74F82697 for ; Sat, 14 Nov 2020 10:24:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4EF2F22254 for ; Sat, 14 Nov 2020 10:24:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Y/ci7DP8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726805AbgKNKYG (ORCPT ); Sat, 14 Nov 2020 05:24:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726584AbgKNKYF (ORCPT ); Sat, 14 Nov 2020 05:24:05 -0500 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D6D1C0613D1 for ; Sat, 14 Nov 2020 02:24:05 -0800 (PST) Received: by mail-ed1-x542.google.com with SMTP id o20so13723049eds.3 for ; Sat, 14 Nov 2020 02:24:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CeXqGjT552cCK121/9+kr5jFkrhjhkwTnYcgf2xOzmg=; b=Y/ci7DP8KbeZMls0Mmxd3L60DlZHcAED/YG25j5Md44Dv8MmsKXZzLL5p6NFq/w87X 6CN51PIG6dRbRtA/wXCsf7fJvYKvAnR+7f8HEyzzTynGR8BLCJDX7GPIGcNlHwozonS9 MELiIIbxep6ZT/ByROM6gAI4eLqC1ExGCXrEir8B5fNBvJ41sTzBtB0SmC/JoXVrKANt sadSRVgoJY1IMArMW3lFf+RL+/dYCWRw/vOkbis9es7BP1hA75KZHl0K4SvRO6vYzeuz upF6bdTObrRdCy+DPFikk9RYX//OnOehkpTlxBpX9EALaOef3wcFk2xDtjoCIL6VRQBa t1FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CeXqGjT552cCK121/9+kr5jFkrhjhkwTnYcgf2xOzmg=; b=MZhqKJXL4sDlAVrFnQTAQDMi4N5IYczQs7LDTsK2+feIR9WaTcZkKbKeiAKwYoKYUf hA752PoOezHJivF/wwdKgia/nps+kytlwuNJiw3ioIHvklbMsAWk1+zVwNc2FurgNllM QnUEleo3tQ2jrs19798og0KaV1SB52Zhwd7K1VtMmwpEX7d/kNcPCPTZlIHRyVcHgmqi /y31HplTql8YXf73XpEEwYVK1ereFHk7qZE7hq8S0iCs/aJ+p4EFsC3NWz9CS7tsLCof 9P/z2Hru6H0QgSWRlvIw77VgPKiJ+wAKMWzniu44XOp1+wTFtHfIsJyGqzs/XghnQY33 x10Q== X-Gm-Message-State: AOAM530BOhSE49PrA6m3mk0agfUTtkiH2lMlZkow0pYaFzjlz7WdX4+Y ZwOnrtkoF+4HPUr3NZ4B3bBWCgWB4Kk= X-Google-Smtp-Source: ABdhPJzKGxCwGw2elr2QMkO+aNgx/N/iHTvxY5cAQU+/K8w6YFzOotDU1bQ9crPd2TP2XY0oacwD0A== X-Received: by 2002:a50:f40a:: with SMTP id r10mr6811635edm.229.1605349443772; Sat, 14 Nov 2020 02:24:03 -0800 (PST) Received: from localhost.localdomain ([2a02:a03f:b7fe:f700:e8ee:663e:d7a3:b425]) by smtp.gmail.com with ESMTPSA id f19sm6479758edy.13.2020.11.14.02.24.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Nov 2020 02:24:03 -0800 (PST) From: Luc Van Oostenryck To: linux-sparse@vger.kernel.org Cc: Luc Van Oostenryck Subject: [PATCH 3/4] doc: add header for optimization related documentation Date: Sat, 14 Nov 2020 11:23:55 +0100 Message-Id: <20201114102356.61234-4-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201114102356.61234-1-luc.vanoostenryck@gmail.com> References: <20201114102356.61234-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org Signed-off-by: Luc Van Oostenryck --- Documentation/api.rst | 1 + optimize.c | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/api.rst b/Documentation/api.rst index 09ed0c4d7f9b..0cc830165e70 100644 --- a/Documentation/api.rst +++ b/Documentation/api.rst @@ -25,4 +25,5 @@ Typing Optimization ~~~~~~~~~~~~ +.. c:autodoc:: optimize.c .. c:autodoc:: simplify.c diff --git a/optimize.c b/optimize.c index bfab74c01b62..fd4ecb990fe9 100644 --- a/optimize.c +++ b/optimize.c @@ -1,10 +1,12 @@ // SPDX-License-Identifier: MIT // -// optimize.c - main optimization loop -// // Copyright (C) 2004 Linus Torvalds // Copyright (C) 2004 Christopher Li +/// +// Optimization main loop +// ---------------------- + #include #include "optimize.h" #include "flowgraph.h" @@ -45,6 +47,8 @@ static void clean_up_insns(struct entrypoint *ep) } END_FOR_EACH_PTR(bb); } +/// +// optimization main loop void optimize(struct entrypoint *ep) { if (fdump_ir & PASS_LINEARIZE) From patchwork Sat Nov 14 10:23:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luc Van Oostenryck X-Patchwork-Id: 11905537 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 207DB921 for ; Sat, 14 Nov 2020 10:24:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EDBAB2225E for ; Sat, 14 Nov 2020 10:24:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WkucwRj6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726807AbgKNKYH (ORCPT ); Sat, 14 Nov 2020 05:24:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726808AbgKNKYG (ORCPT ); Sat, 14 Nov 2020 05:24:06 -0500 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28158C0617A6 for ; Sat, 14 Nov 2020 02:24:06 -0800 (PST) Received: by mail-ed1-x543.google.com with SMTP id l5so13666382edq.11 for ; Sat, 14 Nov 2020 02:24:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+1+A41RWxMyxTg/Q5ogVThtp0pYpuCB5oOnWGpcw80k=; b=WkucwRj6FLY+AcGQaqc6M+HYESrDZ3IwQtECGKJ/gctkQ+vzIHjMhpD8sIPfZvPl5y RKZfnDKtc0IQxQUpwH776k9n1SnRgTqGLtCvw0GnOZL+SKX1GBkk/iBANgIuqnGdUIUN 7Bydb5gj4Vss/m//KsIF6dPCxzu0VXw1k/OT4g0yY3dXtf3+ha8WA5Z5NU2kIBdRNAR7 w4+qLPZa6XxajCx9Yyr3tYAgiDff0rlF3h8asmBUhn8Lr9tX7IJSBQUAo8oQrfZet7U1 /I1RsQZTlabRay2zBSGUofgHcwZfbjzFuPmqdzdMJROzkvZ7m8/bFHa95mYTTNR94rzN q5sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+1+A41RWxMyxTg/Q5ogVThtp0pYpuCB5oOnWGpcw80k=; b=UhByKsUsH25svuKzLsaEG1uD/CUee/kWODf9DQUBj2lWRq5pzOcbHSQ6hVGBOK60q7 aQ5OPPmkmIujpcpjQWpGphsyQ3PMhkGW75uLsmBy/8hZ067RIeW45wH1prZ3m3A4CMjC ZRgzIm+V24pXwRY6GGXe3fU65uoR7/jY2KpZMCmGyNsI64dthm7SST6BjjkIpxEMkBMf kn41lABau4uiUo605ZJMCoP0vZT/wY0cll8pLek9+GAseruAfNmlyYETnpIHV0n62yWz t5ohLps2bMi6MA9LE3Rnmz4iGtYw9oj0yVbyL9ZfrKQZfuGJjMIQTs9P5y/1m3R02Zqk dM5g== X-Gm-Message-State: AOAM5311WRyGY76ZFThu8yN8C1R+ua1gaytBZrKZTatxEp/nJGYLaiy+ yAom/rhZ63kUskLm8HYfDDAqmqDrBV4= X-Google-Smtp-Source: ABdhPJyMtQ6tD+v+dNwOr3slvECUgTTUMFb44tuN6GK3FDb5FxMiDJ8ON4Pu28zmd8ksNMt5ZxzZeQ== X-Received: by 2002:a05:6402:17ac:: with SMTP id j12mr6764207edy.31.1605349444659; Sat, 14 Nov 2020 02:24:04 -0800 (PST) Received: from localhost.localdomain ([2a02:a03f:b7fe:f700:e8ee:663e:d7a3:b425]) by smtp.gmail.com with ESMTPSA id f19sm6479758edy.13.2020.11.14.02.24.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Nov 2020 02:24:04 -0800 (PST) From: Luc Van Oostenryck To: linux-sparse@vger.kernel.org Cc: Luc Van Oostenryck Subject: [PATCH 4/4] doc: add header for flow simplification related documentation Date: Sat, 14 Nov 2020 11:23:56 +0100 Message-Id: <20201114102356.61234-5-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201114102356.61234-1-luc.vanoostenryck@gmail.com> References: <20201114102356.61234-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org Signed-off-by: Luc Van Oostenryck --- Documentation/api.rst | 1 + flow.c | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/api.rst b/Documentation/api.rst index 0cc830165e70..22b7dfd221fd 100644 --- a/Documentation/api.rst +++ b/Documentation/api.rst @@ -26,4 +26,5 @@ Optimization ~~~~~~~~~~~~ .. c:autodoc:: optimize.c +.. c:autodoc:: flow.c .. c:autodoc:: simplify.c diff --git a/flow.c b/flow.c index a74769c37659..f55ab1deae0c 100644 --- a/flow.c +++ b/flow.c @@ -1,10 +1,11 @@ /* - * Flow - walk the linearized flowgraph, simplifying it as we - * go along. - * * Copyright (C) 2004 Linus Torvalds */ +/// +// Flow simplification +// ------------------- + #include #include #include