Global Information Lookup Global Information

Intermediate representation information


An intermediate representation (IR) is the data structure or code used internally by a compiler or virtual machine to represent source code. An IR is designed to be conducive to further processing, such as optimization and translation.[1] A "good" IR must be accurate – capable of representing the source code without loss of information[2] – and independent of any particular source or target language.[1] An IR may take one of several forms: an in-memory data structure, or a special tuple- or stack-based code readable by the program.[3] In the latter case it is also called an intermediate language.

A canonical example is found in most modern compilers. For example, the CPython interpreter transforms the linear human-readable text representing a program into an intermediate graph structure that allows flow analysis and re-arrangement before execution. Use of an intermediate representation such as this allows compiler systems like the GNU Compiler Collection and LLVM to be used by many different source languages to generate code for many different target architectures.

  1. ^ a b Walker, David. "CS320: Compilers: Intermediate Representation" (Lecture slides). Retrieved 12 February 2016.
  2. ^ Chow, Fred (22 November 2013). "The Challenge of Cross-language Interoperability". ACM Queue. 11 (10). Retrieved 12 February 2016.
  3. ^ Toal, Ray. "Intermediate Representations". Retrieved 12 February 2016.

and 20 Related for: Intermediate representation information

Request time (Page generated in 1.0602 seconds.)

Intermediate representation

Last Update:

An intermediate representation (IR) is the data structure or code used internally by a compiler or virtual machine to represent source code. An IR is...

Word Count : 961

LLVM

Last Update:

architecture. LLVM is designed around a language-independent intermediate representation (IR) that serves as a portable, high-level assembly language...

Word Count : 3171

Standard Portable Intermediate Representation

Last Update:

Standard Portable Intermediate Representation (SPIR) is an intermediate language for parallel computing and graphics by Khronos Group. It is used in multiple...

Word Count : 1364

Parrot intermediate representation

Last Update:

The Parrot intermediate representation (PIR), previously called Intermediate code (IMC), is one of the two assembly languages for the Parrot virtual machine...

Word Count : 240

Abstract syntax tree

Last Update:

generation. The AST is often used to generate an intermediate representation (IR), sometimes called an intermediate language, for the code generation. AST differencing...

Word Count : 1214

Compiler

Last Update:

(syntax-directed translation), conversion of input programs to an intermediate representation, code optimization and machine specific code generation. Compilers...

Word Count : 7724

Bytecode

Last Update:

syntax tree representation derived from the source code. More recently, the authors of V8 and Dart have challenged the notion that intermediate bytecode...

Word Count : 1891

Open64

Last Update:

including MIPS, x86, IA-64, ARM, and others. A hierarchical intermediate representation (IR) with five main levels is used in this compiler to serve...

Word Count : 674

Common Intermediate Language

Last Update:

Common Intermediate Language (CIL), formerly called Microsoft Intermediate Language (MSIL) or Intermediate Language (IL), is the intermediate language...

Word Count : 1873

Frontend and backend

Last Update:

programming source code into an intermediate representation, and the backend works with the intermediate representation to produce code in a computer output...

Word Count : 934

GNU Compiler Collection

Last Update:

GENERIC is more complex, based on the GCC 3.x Java front end's intermediate representation. GIMPLE is a simplified GENERIC, in which various constructs...

Word Count : 4911

Runtime system

Last Update:

which are meant to be compiled into some machine-independent intermediate representation code (such as bytecode). This arrangement simplifies the task...

Word Count : 2650

Register transfer language

Last Update:

computer science, register transfer language (RTL) is a kind of intermediate representation (IR) that is very close to assembly language, such as that which...

Word Count : 372

QBasic

Last Update:

based on QuickBASIC. Code entered into the IDE is compiled to an intermediate representation (IR), and this IR is immediately executed on demand within the...

Word Count : 625

Virtual machine

Last Update:

arose originally as abstract platforms for an intermediate language used as the intermediate representation of a program by a compiler; early examples date...

Word Count : 2738

Programming language implementation

Last Update:

intermediate representation, a data structure used by the compiler to represent the program. The optimizer improves the intermediate representation to...

Word Count : 723

OpenVINO

Last Update:

level pipeline of OpenVINO consists of two parts: generate IR (Intermediate Representation) files via Model Optimizer using your trained model or public...

Word Count : 471

Internal representation

Last Update:

Internal representation may refer to: Mental representation, in man Knowledge representation, in artificial intelligence Intermediate representation, the...

Word Count : 65

History of compiler construction

Last Update:

have a lexer and parser that produce an intermediate representation of the program. The intermediate representation is a simple sequence of operations which...

Word Count : 6380

Parrot virtual machine

Last Update:

possible to compile Parrot assembly language and Parrot intermediate representation (PIR, an intermediate language) to Parrot bytecode and execute it. Parrot...

Word Count : 1252

PDF Search Engine © AllGlobal.net