{"title":"Debuggers for Programming Languages","authors":"S. K. Aggarwal, M. S. Kumar","doi":"10.1201/9781420040579.ch9","DOIUrl":"https://doi.org/10.1201/9781420040579.ch9","url":null,"abstract":"","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"31 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122015514","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Data Flow Testing","authors":"Rajiv Gupta, Neelam Gupta","doi":"10.1201/9781420040579.ch7","DOIUrl":"https://doi.org/10.1201/9781420040579.ch7","url":null,"abstract":"This document discusses data flow testing: a form of structural (white box) testing that is a variant on path testing, focussing on the definition and usage of variables, rather than the structure of the program. Two different topics relating to data flow testing are discussed: define/use testing, along with a set of test coverage metrics; and the concept of splitting a program into slices, according to its variables, to ease the testing of large software systems.","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117282692","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Scalar Compiler Optimizations on the Static Single Assignment Form and the Flow Graph","authors":"Y. Srikant","doi":"10.1201/9781420040579.ch3","DOIUrl":"https://doi.org/10.1201/9781420040579.ch3","url":null,"abstract":"","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"22 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122073000","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Dependence Analysis and Parallelizing Transformations","authors":"S. Rajopadhye","doi":"10.1201/9781420040579.ch10","DOIUrl":"https://doi.org/10.1201/9781420040579.ch10","url":null,"abstract":"The first impression one gets when phrases like dependence analysis and automatic parallelization are mentioned, is that of loop programs and array variables. This is not surprising, since loops is the classic repetitive structure in any programming language, and clearly, this is where programs spend a significant amount of their time. Second, because of the early impetus on high performance computing for large numerical applications (eg. FORTRAN programs) on supercomputers, there has been a long research effort on parallelizing such programs. The area has been active for over a quarter century, and a number of well known texts on this topic are readily available. Any approach to automatic parallelization must be based on the following fundamental notions: (i) detection of which statements in which iterations of a (possibly multiply nested and possibly imperfect) loop depend on each other, in the precise sense that one of them produces a value that is consumed by the other; (ii) hence determining which operations can be executed in parallel; and (iii) transforming the program so that this choice of parallelization rendered explicit. The first problem is called dependence analysis, the second constitutes the additional analysis necessary to choose the parallelization, and the third is called program or restructuring. In all generality, these are extremely difficult problems. Nevertheless, for certain classes of programs elegant and powerful methods are available. Therefore, rather than giving “yet another survey” of a vast field, we present in this chapter, a somewhat less known approach,","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"66 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125688895","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Data Flow Analysis","authors":"Uday P. Khedker","doi":"10.1201/9781420040579.ch1","DOIUrl":"https://doi.org/10.1201/9781420040579.ch1","url":null,"abstract":"In this chapter we introduce techniques for Data Flow Analysis. Data Flow Analysis is the traditional form of program analysis which is described in many textbooks on compiler writing. We will present analyses for the simple imperative language While that was introduced in Chapter 1. This includes a number of classical Data Flow Analyses: Available Expressions, Reaching Definitions, Very Busy Expressions and Live Variables. We introduce an operational semantics for While and demonstrate the correctness of the Live Variables Analysis. We then present the notion of Monotone Frameworks and show how the examples may be recast as such frameworks. We continue by presenting a worklist algorithm for solving flow equations and we study its termination and correctness properties. The chapter concludes with a presentation of some advanced topics, including Interprocedural Data Flow Analysis and Shape Analysis.","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"135 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122913553","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Automatic Generation of Code Optimizers from Formal Specifications","authors":"V. Paleri","doi":"10.1201/9781420040579.ch2","DOIUrl":"https://doi.org/10.1201/9781420040579.ch2","url":null,"abstract":"Profile-Guided Compiler Optimizations p. 143 Shape Analysis and Applications p. 175 Optimizations for Object-Oriented Languages p. 219 Data Flow Testing p. 247 Program Slicing p. 269 Debuggers for Programming Languages p. 295 Dependence Analysis and Parallelizing Transformations p. 329 Compilation for Distributed Memory Architectures p. 373 Automatic Data Distribution p. 409 Register Allocation p. 461 Architecture Description Languages for Retargetable Compilation p. 535 Instruction Selection Using Tree Parsing p. 565 Retargetable Very Long Instruction Word Compiler Framework for Digital Signal Processors p. 603","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"56 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125309908","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}