Compiler apparatus, compiler method, and compiler program
A compiler and source program technology, applied in the field of compiler devices, can solve problems such as inability to expand basic blocks, and achieve the effect of improving execution speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0286] (acceptable exception generation: see Figure 14-17)
[0287] In the above-described embodiment, the intermediate code dependency analysis section 2f generates the dependencies from the judgment intermediate code S203 to the abnormality generation intermediate code S102 in FIG. 12 so that the abnormality is not generated abnormally. However, in the modified example 1, such a dependency is not generated. That is, the execution path intermediate code generating section 2b regenerates the intermediate code S401 shown in the program in Fig. 14, and after that, generates the dependency from the intermediate code S401 to the exception generating intermediate code S102 shown in Fig. 15.
[0288] That is, the execution path intermediate code generation section 2b inserts variables and codes into the head of the execution path intermediate code string generated as follows.
[0289] - Generate a return point hold variable, which is a special variable used to hold the return addr...
example 2
[0300] (Constant value propagation improvement 1)
[0301] In the above-described embodiment, as the hot path information F2 (see FIG. 1 ), in addition to those showing the execution path predetermined by the user, the user can input variable holding information, which is the variable referenced by the hot path HP information held. The value of the variable in the variable holding information is a value most likely to be held by the variable.
[0302] By using the variable holding information in the hot path F2, the branch intermediate code generation section 2e replaces the reference point of the variable in the high-speed block H3 with the value held by the variable holding information. Further, when the value held by the variable becomes different from the value held in the variable holding information, the branch intermediate code generation section 2e may generate a conditional branch at the head of the execution path intermediate code string to be started from the part...
example 3
[0308] (Constant value propagation improvement 2)
[0309] In the above-described modified example 2, the branch intermediate code generation section 2e has performed the constant value replacement processing and the generation processing of the constant value judgment condition branch intermediate code on the high-speed block H1. However, the branch intermediate code generation section 2e may first copy the high-speed block H1, and then perform the constant value replacement processing and generation processing of the constant value judgment condition branch intermediate code on the high-speed block H1. Further, the branch intermediate code generation section 2e can generate a pseudo intermediate code consisting only of a label located before the start point of the high-speed block H1 before copying, and the branch target setting of the constant value judgment condition branch intermediate code can be set to this. Pseudo intermediate code. Further, a branch intermediate cod...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com