From patchwork Mon Jul 25 09:51:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 159 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6a10:b5d6:b0:2b9:3548:2db5 with SMTP id v22csp1646838pxt; Mon, 25 Jul 2022 06:20:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u06bXa8sg2OonQwfQ8tX1h2ElJw6qTbC6BCoQVTCdlLNCM+ynFmNb8WhQKMyKqefESZlPE X-Received: by 2002:a17:907:2cd3:b0:72b:5cc2:bc1f with SMTP id hg19-20020a1709072cd300b0072b5cc2bc1fmr9894360ejc.574.1658755206313; Mon, 25 Jul 2022 06:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658755206; cv=none; d=google.com; s=arc-20160816; b=tlF4l0m/USSbc4djIL+4V8tr0axuGMREIJC6VXr/aknFy8DnGDkS+5OK2AAAnSjGU6 epxbu17p6w1tohxiZztoDX5lPoE5yn9lEBhPDzxD6MBaWX/pwDIg+yXFrZqz7z0fKmvG +R8zWpRt0de3wg+B+UJn6qPMX+9fqFH811m7lJIJ071FJjAPYesYVNy4DxzHbXnfIT/T WU717OjNJJFwUGpYGBBsJ3J0zg4JHNes7uG33iSSPOnJSQlONgKV+SoZof0xh5/Ijup+ DbHGeR5wRtuGv3vSXx5Fl+ZbgTS1PVRmP8STxoFiLXG+c9zdiAQ+r00bjuLlmDAagSdz 3s/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:to:subject:date:from:references :in-reply-to:message-id:resent-message-id:resent-date:resent-cc :resent-to:resent-from:dkim-signature:dkim-signature:dmarc-filter :delivered-to; bh=H65VJGWh/FegxXPEkeCXglt/xrwJWhv4VgXQ9DgDwpk=; b=0rB0dwo5sSFXRz0pV0Wh9Mptzrgq4syxh2ZFb0QbbzC4Jl9pOu+c+LfSbgGAq8z8L3 b98M+TNwcnBdqQKAxQ/39Rh/eRQ7WlzHz81TY4cgzd8TQaEjJFRjVgpwZK+1syc7jzOM JP5MnYcaa9IvXSsf5yAwpKZW1O8Ft61e6eF/272wbidWd/9PS1mnHzJC77dlgee2Y1/D ySj84vY0UxFo9s0A8kWWMgW2v9oBR/cJGuGFVoVc5VQYngceEh5Bof3cH940I7z6QZhW feUFtyS+fHXekjUmR9WbK0D+UZ1CtTASgraRCG4nBTTqaLZ7YIPP6sL+Wcd1z+xLN9Lg eNqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@suse.cz header.s=susede2_rsa header.b="TcDtI/ey"; dkim=neutral (no key) header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ji17-20020a170907981100b00726297021a3si15308838ejc.606.2022.07.25.06.20.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 06:20:06 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=fail header.i=@suse.cz header.s=susede2_rsa header.b="TcDtI/ey"; dkim=neutral (no key) header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3EBB1383664E for ; Mon, 25 Jul 2022 13:16:45 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id A8E7B3838214 for ; Mon, 25 Jul 2022 13:15:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A8E7B3838214 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id E111634C66; Mon, 25 Jul 2022 13:15:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1658754918; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: resent-to:resent-cc:resent-from:resent-message-id: in-reply-to:in-reply-to:references:references; bh=H65VJGWh/FegxXPEkeCXglt/xrwJWhv4VgXQ9DgDwpk=; b=TcDtI/eyoLcnSSRlkPPC18rDS+WaJ5jvuAK93yDqb4KY83wvdkcuFLK0wvV4Zmuq6I13Cr 037BD4v/bJzCd/ijAj4loPc3jM4lvF2w6Xem3PdgiqDvt3iMeU6Cbv7XDa9nLuTDqTXPtT AlDsKnA7OELrqiYQERebgosk3C9R0/4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1658754918; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: resent-to:resent-cc:resent-from:resent-message-id: in-reply-to:in-reply-to:references:references; bh=H65VJGWh/FegxXPEkeCXglt/xrwJWhv4VgXQ9DgDwpk=; b=FOCYmkG9CHmfpwxSbSrxC2OgwsTPL8DCyHZeodYsfVIV8b22BBRguaWGk4TKTrsmjTzKN4 xal2g5nhOcf/i1CA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id CD69013B37; Mon, 25 Jul 2022 13:15:18 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Gqy0L2aX3mIVdgAAMHmgww (envelope-from ); Mon, 25 Jul 2022 13:15:18 +0000 Resent-From: =?utf-8?q?Martin_Li=C5=A1ka?= Resent-To: GCC Patches Resent-Cc: David Malcolm Resent-Date: Mon, 25 Jul 2022 15:15:18 +0200 Resent-Message-ID: <0b1e7603-680b-8035-7772-4e2550b3c373@suse.cz> Message-Id: <9ecda6da904b98dabd2b3b74e803b97993c9316b.1658754788.git.mliska@suse.cz> In-Reply-To: References: From: Martin Liska Date: Mon, 25 Jul 2022 11:51:51 +0200 Subject: [PATCH 4/7] jit,docs: compact function declarations To: gcc-patches@gcc.gnu.org X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-LABELS: =?utf-8?b?IlxcSW1wb3J0YW50Ig==?= X-GMAIL-THRID: =?utf-8?q?1739330899567049475?= X-GMAIL-MSGID: =?utf-8?q?1739330899567049475?= gcc/jit/ChangeLog: * docs/cp/topics/expressions.rst: Compact so that the generated output is also more compact. --- gcc/jit/docs/cp/topics/expressions.rst | 42 +++++++++----------------- 1 file changed, 14 insertions(+), 28 deletions(-) diff --git a/gcc/jit/docs/cp/topics/expressions.rst b/gcc/jit/docs/cp/topics/expressions.rst index 003dbce8991..dec5b477811 100644 --- a/gcc/jit/docs/cp/topics/expressions.rst +++ b/gcc/jit/docs/cp/topics/expressions.rst @@ -236,48 +236,39 @@ operation: gccjit::context::new_plus (gccjit::type result_type, \ gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_minus (gccjit::type result_type, \ gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_mult (gccjit::type result_type, \ gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_divide (gccjit::type result_type, \ gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_modulo (gccjit::type result_type, \ gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_bitwise_and (gccjit::type result_type, \ gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_bitwise_xor (gccjit::type result_type, \ gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_bitwise_or (gccjit::type result_type, \ gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_logical_and (gccjit::type result_type, \ gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_logical_or (gccjit::type result_type, \ gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) @@ -375,24 +366,19 @@ operation: .. function:: gccjit::rvalue \ gccjit::context::new_eq (gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_ne (gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_lt (gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_le (gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_gt (gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc) - -.. function:: gccjit::rvalue \ + gccjit::rvalue \ gccjit::context::new_ge (gccjit::rvalue a, gccjit::rvalue b, \ gccjit::location loc)