发明名称 Compiler optimisation like idiom recognition through pattern matching using value numbering
摘要 A compiler and method for compiling source code comprising: a library of code patterns and control flow information for each code pattern, wherein each code pattern comprises one or more variable; and a processor arranged to: evaluate the control flow of an expression in the source code, wherein the expression comprises one or more variable, match the expression to one of the code patterns in the library based on the evaluated control flow information, assign value numbers to the one or more variable within the expression, determine if the expression and the matched code pattern are equivalent based on the assigned value numbers, and replace the expression in the source code with a replacement expression if the expression and the matched code pattern are equivalent.
申请公布号 US8739144(B2) 申请公布日期 2014.05.27
申请号 US200813129845 申请日期 2008.12.17
申请人 STOICESCU MIHAI EMANUEL;DITU BOGDAN FLORIN;POPA MIHAIL;FREESCALE SEMICONDUCTOR, INC. 发明人 STOICESCU MIHAI EMANUEL;DITU BOGDAN FLORIN;POPA MIHAIL
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址