TOOLS AND TECHNIQUES FOR COMPILER DESIGN
LLVM
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Interpreter
|
|
Frontend
|
|
Optimizer
|
|
Backend
|
Detailed explanation-1: -In computing, an optimizing compiler is a compiler that tries to minimize or maximize some attributes of an executable computer program. Common requirements are to minimize a program’s execution time, memory footprint, storage size, and power consumption (the last three being popular for portable computers).
Detailed explanation-2: -Optimization can be categorized broadly into two types : machine independent and machine dependent.
Detailed explanation-3: -Edit online. The degree to which the compiler will optimize the code it generates is controlled by the-O flag. No optimization. In the absence of any version of the-O flag, the compiler generates straightforward code with no instruction reordering or other attempt at performance improvement.