From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10166 invoked by alias); 12 May 2007 19:00:11 -0000 Received: (qmail 10155 invoked by uid 22791); 12 May 2007 19:00:10 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 12 May 2007 19:00:05 +0000 Received: from zps38.corp.google.com (zps38.corp.google.com [172.25.146.38]) by smtp-out.google.com with ESMTP id l4CIxqJd001075; Sat, 12 May 2007 11:59:52 -0700 Received: from smtp.corp.google.com (spacemonkey1.corp.google.com [192.168.120.115]) by zps38.corp.google.com with ESMTP id l4CIxo0V022936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 12 May 2007 11:59:50 -0700 Received: from localhost.localdomain.google.com (adsl-71-133-8-30.dsl.pltn13.pacbell.net [71.133.8.30]) (authenticated bits=0) by smtp.corp.google.com (8.13.8/8.13.8) with ESMTP id l4CIxoO1010474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 12 May 2007 11:59:50 -0700 To: ranjith kumar Cc: gcc-help@gcc.gnu.org Subject: Re: internals of gcc References: <402154.24287.qm@web27402.mail.ukl.yahoo.com> From: Ian Lance Taylor Date: Sat, 12 May 2007 19:00:00 -0000 In-Reply-To: <402154.24287.qm@web27402.mail.ukl.yahoo.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg00120.txt.bz2 ranjith kumar writes: > 1) I know that internal passes are > C->GENERIC->GIMPLE->RTL->ASSEMBLY. > > what are the internal functions(in what files) in > which above internal representation of a program is > passed as an argument?? There are lots of internal functions in lots of internal files. GENERIC and GIMPLE both have type "tree". RTL has type "rtx". > Actually I wnat to write a GIMPLE code and pass it as > an argument to that internal function. Which internal function? You might find some helpful information at http://gcc.gnu.org/wiki/. Ian