From patchwork Sun Jul 16 11:22:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Hubicka X-Patchwork-Id: 789081 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x9PDC5YN5z9s3T for ; Sun, 16 Jul 2017 21:22:50 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="Feoo3Gwt"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=ISbnyCrKxH9VCXjeM8ArNvZipfclGcgrGao8kksn1/fxMSAeQmm91 cFexwm+dhCQcujOToeGFu5KuHC0ABeSWfIxb56BxnN/JYpeK61IX2itxJ5//WlUF OXYEsdKVuo6QtsoYcmwAywrnPbYbxlt1fNEXl57IQnMh1Gz4qaYHf0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=5A+0Grtpc6IqxfvMO5svMMhR/SY=; b=Feoo3GwtPQ71gBrDTKLi 5LHTK3/JIQs+6h1s1ZmBkPKnpVz4HqhJVi2v61S2CUipD/l8uKeehSGuT3ssq8qN VF18hzrShM47Puwj/imKWTYQn4wli8/J7Pzn5zgEzatKQP3LIOkRRk2c3KSf0TLE zbuQmRAM8G8rS+jtpkCN73A= Received: (qmail 3821 invoked by alias); 16 Jul 2017 11:22:21 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 3085 invoked by uid 89); 16 Jul 2017 11:22:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-9.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: nikam.ms.mff.cuni.cz Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 16 Jul 2017 11:22:16 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 999C454341C; Sun, 16 Jul 2017 13:22:14 +0200 (CEST) Date: Sun, 16 Jul 2017 13:22:14 +0200 From: Jan Hubicka To: gcc-patches@gcc.gnu.org Subject: Add timervar for fnsummary pass Message-ID: <20170716112214.GC45686@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Hi, bootstrapped/regtested & comitted. Honza * ipa-fnsummary.c (pass_data_ipa_fn_summary): Use TV_IPA_FNSUMMARY. * timevar.def (TV_IPA_FNSUMMARY): Define. Index: ipa-fnsummary.c =================================================================== --- ipa-fnsummary.c (revision 250226) +++ ipa-fnsummary.c (working copy) @@ -3572,7 +3572,7 @@ const pass_data pass_data_ipa_fn_summary IPA_PASS, /* type */ "fnsummary", /* name */ OPTGROUP_INLINE, /* optinfo_flags */ - TV_IPA_INLINING, /* tv_id */ + TV_IPA_FNSUMMARY, /* tv_id */ 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ Index: timevar.def =================================================================== --- timevar.def (revision 250226) +++ timevar.def (working copy) @@ -68,6 +68,7 @@ DEFTIMEVAR (TV_PCH_CPP_RESTORE , " DEFTIMEVAR (TV_CGRAPH , "callgraph construction") DEFTIMEVAR (TV_CGRAPHOPT , "callgraph optimization") +DEFTIMEVAR (TV_IPA_FNSUMMARY , "ipa function summary") DEFTIMEVAR (TV_IPA_UNREACHABLE , "ipa dead code removal") DEFTIMEVAR (TV_IPA_INHERITANCE , "ipa inheritance graph") DEFTIMEVAR (TV_IPA_VIRTUAL_CALL , "ipa virtual call target")