From patchwork Wed Feb 2 23:35:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Sebor X-Patchwork-Id: 50686 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E98C63857832 for ; Wed, 2 Feb 2022 23:36:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E98C63857832 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1643844966; bh=gJhO1pY7ttrvwI9o+7bxyNYIFHQEo7M7xEOOnh9ydW4=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Or1XfiE3RK1U4lGOWSvZeJeH6ESReDf0YsoNNX+xMxsM/3x1awl3/FRxhjqlxhD7y m0J1JepZXuHcDbZSm0qSPB3mxx1BtdPSNFRYnXeHPGLTtO43DxyE4/KMkHxNUwM+Uj kavyfSca4ouH3aggivphi2wFBOPTny93+2ujxFtQ= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by sourceware.org (Postfix) with ESMTPS id 26E663858D37 for ; Wed, 2 Feb 2022 23:35:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 26E663858D37 Received: by mail-io1-xd2a.google.com with SMTP id d188so1095704iof.7 for ; Wed, 02 Feb 2022 15:35:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gJhO1pY7ttrvwI9o+7bxyNYIFHQEo7M7xEOOnh9ydW4=; b=PxnArhAbViqpHaWLzxiE/ylnvZQ4jvtKhoEIsBHLSUj59l0D2gSQyBQan/duARQDEY GDiuvMOhKfdlyMhdbaHolFfQyDf1frmSBSNdDBeFRk1IKEuJQUt3Lns3fQareW0TXbbx ql4+rMvhLTJgZcOKYbqCLe0gk0LaOvFuayVSZM9E2Rcp8tMPMgaAuFJ3Y3SBFlvxExGW WYiZ0RVIR/qow+0vVC778E9p07P0HdEsuM/XHJQd/mTaDWcyTtFscdYjHGWE7xjJOczg 6DEp1NP+rJbx046K7E7qZ0cP5+O/dnCP2Mk99ipxZSqF7nq61AhUeN5GWJzpEracDF0n KWvQ== X-Gm-Message-State: AOAM530HeTWDP6wh4V2Xmc9pSqEWaB/QOYkuxm59Ol9S+ZMvsIAkF5QI 1xZDTta9gQAJAG/8umUkWQ1kEW22j1kjiA== X-Google-Smtp-Source: ABdhPJyfk0CJ8dB2DBg2RBW0m1YsOwWCOUifHNd6vMBoLVNVGSGbIIeM2Cg6QvHLvOQtQFcBOTlA8Q== X-Received: by 2002:a02:3f42:: with SMTP id c2mr16428887jaf.161.1643844936487; Wed, 02 Feb 2022 15:35:36 -0800 (PST) Received: from bigbox.redhat.com (97-118-100-142.hlrn.qwest.net. [97.118.100.142]) by smtp.googlemail.com with ESMTPSA id l1sm7481267iln.29.2022.02.02.15.35.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 15:35:36 -0800 (PST) X-Google-Original-From: Martin Sebor To: gcc-patches@gcc.gnu.org Subject: [PATCH 0/3] Enable pointer_query caching throughout. Date: Wed, 2 Feb 2022 16:35:27 -0700 Message-Id: <20220202233530.2568647-1-msebor@redhat.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_LINKBAIT3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: , X-Patchwork-Original-From: Martin Sebor via Gcc-patches From: Martin Sebor Reply-To: Martin Sebor Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Richard, as we discussed(*), this patch series enables the pointer_query cache in the remaining two passes where it's currently disabled. Since not using the cache is not an option anymore, the first patch in the series makes it a private member of the pointer_query class and its use unconditional. It also simplifies the two passes that use it to avoid having to install it. Tested on x86_64-linux. Martin [*] For reference: https://gcc.gnu.org/pipermail/gcc-patches/2022-January/589243.html