Eliminating Redundant Function Calls

نویسندگان

  • Indrayana Rustandi
  • Jeffrey Stylos
چکیده

Multiple calls to the same function using the same argument values are often redundant, and the result of the earlier call can be reused. This is similar to the reuse of redundant arithmetic expressions in redundancy elimination. However, only calls that will return the same results and not produce side effects can be reused. In this paper we present a static analysis that determines whether calls to a function can be reused. The results from this analysis are then used to create annotations that the GCC compiler can use to optimize the redundant calls. Using our analysis and compiling with GCC significantly speeds up microbenchmarks, and in many cases allows code to be written in a cleaner style without lost of performance.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A New Hybrid Framework for Filter based Feature Selection using Information Gain and Symmetric Uncertainty (TECHNICAL NOTE)

Feature selection is a pre-processing technique used for eliminating the irrelevant and redundant features which results in enhancing the performance of the classifiers. When a dataset contains more irrelevant and redundant features, it fails to increase the accuracy and also reduces the performance of the classifiers. To avoid them, this paper presents a new hybrid feature selection method usi...

متن کامل

Elimination of Redundant Emails

Source code and Test data – 1 CD ii Abstract Email is using by hundred of millions of people worldwide. Unfortunately, the widespread use of email has given rise to several problems. Redundant email is one of them. In this project we are exploring a solution to that problem by examining the applicability of duplicate detection method in eliminating redundant emails. Following fingerprint techni...

متن کامل

MTBF evaluation for 2-out-of-3 redundant repairable systems with common cause and cascade failures considering fuzzy rates for failures and repair: a case study of a centrifugal water pumping system

In many cases, redundant systems are beset by both independent and dependent failures. Ignoring dependent variables in MTBF evaluation of redundant systems hastens the occurrence of failure, causing it to take place before the expected time, hence decreasing safety and creating irreversible damages. Common cause failure (CCF) and cascading failure are two varieties of dependent failures, both l...

متن کامل

Construction of A Non-Redundant Human SH2 Domain Database

Domain database is essential for domain property research. Eliminating redundant information in database query is very important for database quality. Here we report the manual construction of a non-redundant human SH2 domain database. There are 119 human SH2 domains in 110 SH2-containing proteins. Human SH2s were aligned with ClustalX, and a homologous tree was generated. In this tree, protein...

متن کامل

Redundant Components in the 3α Faddeev Equation Using 2α Rgm Kernel

The 3α Faddeev equation using 2α RGM kernel involves redundant components whose contribution to the total wave function completely cancels out. We propose a practical method to solve this Faddeev equation, by eliminating the admixture of such redundant components. A complete equivalence between the present Faddeev approach and a variational approach using the translationally invariant harmonic-...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003