Representation Analysis for Coercion Placement
نویسنده
چکیده
This paper presents a global approach to representation analysis based on program-wide data and control ow information. Boxing and unboxing coercions can be placed around any variable occurrence, not only where values are produced and consumed. The analysis rst constructs a graph representing all legal coercion placements , then selects one of them. Assigning unboxed representations to as many variables as possible does not necessarily minimize execution time (or the number of executed coercions); we present and measure several heuristics. When combined with function cloning, the analysis is powerful enough to eliminate almost all coercions from several nonstrict programs, including a simple polymorphic type checker.
منابع مشابه
A MULTISTAGE EXPANSION PLANNING METHOD FOR OPTIMAL SUBSTATION PLACEMENT
Optimal distribution substation placement is one of the major components of optimal distribution system planning projects. In this paper optimal substation placement problem is solved using Imperialist Competitive Algorithm (ICA) as a new developed heuristic optimization algorithm. This procedure gives the optimal size, site and installation time of medium voltage substation, using their relate...
متن کاملCoercion and Exchange: How did Markets Evolve?
What causes distinct trajectories of market development? Why did the modern market economy, characterized by impersonal exchange, first emerge in the West? This paper presents a theory of market development and evaluates it based on the histories of England, China, and Japan. The analysis focuses on how distinct coercion-constraining institutions that secure property rights differentially inter...
متن کاملModelling the Progressive and Coercion using the Event Calculus Bachelor Thesis
This bachelor thesis summarises Hamm and van Lambalgen’s book ”The proper treatment of events”. The main points are addressed to provide an overview of the Event Calculus and its usage in natural language semantics. The Event Calculus is a formal system derived from the Situation Calculus that allows for the representation of overlapping events and partial changing objects. Its ontology compris...
متن کاملFlexible Representation Analysis Flexible Representation Analysis
Statically typed languages with Hindley-Milner polymorphism have long been compiled using ine cient and fully boxed data representations. Recently, several new compilation methods have been proposed to support more e cient and unboxed multi-word representations. Unfortunately, none of these techniques is fully satisfactory. For example, Leroy's coercion-based approach does not handle recursive ...
متن کاملProcessing events: Aspectual coercion in self-paced reading and magnetoencephalography
Introduction. That semantic type-mismatch can have measurable effects on processing has been robustly demonstrated for complement coercion, where an event-selecting verb coerces an entity-denoting object into an event predicate (1) (e.g., McElree et al., 2001). A similar shift has been proposed for aspect when a punctual verb combines with a durative modifier, yielding an iterative interpretati...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002