Flang
Joe_yaoxiao
这个作者很懒,什么都没留下…
展开
-
关于Flang
目标Flang是设计用于与LLVM集成的Fortran前端,具有与Clang C ++和LLVM一致的开源许可,并且适合在各种系统中与Clang / LLVM进行部署和互操作。Flang的目标是:确保Flang成为一个自我维持的开源项目 吸引(广泛)社区的其他开发人员来创建大量的贡献者 提供与gfortran相当或更好的单核CPU性能' 通过强大且高性能的OpenMP实现来实现多核CPU和GPU编程 创建一个可以轻松重新托管并重新定位到未来系统的源库,就像Clang和LLVM一样容易翻译 2020-08-13 10:11:38 · 2195 阅读 · 0 评论 -
Flang 和F18
Flang and F18Flang是一种Fortran语言前端,旨在与LLVM和LLVM优化器集成。Flang + LLVM是设计用于共同安装的,具有生产质量的Fortran解决方案,并且可以与Clang C ++完全互操作。Flang单核和OpenMP性能现在与GNU Fortran相当。 Flang已实现了Fortran 2003,并通过OpenMP4.5版 的实现了针对多核CPU全部实现。目前,在Flang框架下有两个与Fortran和LLVM相关的活动项目当前发布https..翻译 2020-08-13 09:46:43 · 725 阅读 · 0 评论 -
Walk-through flang – Part 1
Flangis an open source project to create a Fortran compiler for LLVM. It is based onNVIDIA/PGI Fortranand it has been released under Apache License 2.0. In this series we will do a walk-through the code of this compiler and how it has been integrated i...转载 2020-08-12 11:32:58 · 221 阅读 · 0 评论 -
Walk-through flang – Part 2
In the previous installment of this series we saw basically how to install flang and we ran a simple smoke test. In this post we will see a high level overview of what happens when we compile a Fortran program using flang. We will also compare it with what转载 2020-08-12 11:45:44 · 390 阅读 · 0 评论 -
Walk-through flang – Part 3
In the last chapter we saw how the driver handles the compilation and how it invokesflang1andflang2. In this chapter we are going to start withflang1.DocumentationFlang comes with some decent documentation that is worth reading it. It is not built ...转载 2020-08-12 11:56:57 · 475 阅读 · 0 评论 -
Walk-through flang – Part 4
原网页偶尔无法打开。在此做个备份。In the last installment we saw how flang splits the input in tokens. Once we have the tokens identified we need to parse them.Top level parser routinesThe top-level parser routine in flang1 is called, not unexpectedly,parser. It is .转载 2020-08-12 11:20:12 · 304 阅读 · 0 评论 -
Walk-through flang – Part 5
In the previous installment of this series we saw how flang parses the statements using an LR(1) algorithm. As the parser recognized the parts of the statements it invokes semantic actions. Today we’re going to talk more about them.What is not being "par转载 2020-08-12 13:12:11 · 3251 阅读 · 0 评论 -
Walk-through flang – Part 6
At this point we should have a reasonable picture of how flang parses and generates semantic information. So now it is time to explore with more detail what is actually synthesized and how it can be used later in the compiler. In this chapter we are going转载 2020-08-12 13:15:11 · 329 阅读 · 0 评论 -
Walk-through flang – Part 7
In previous chapters we saw how the input source was lexed, parsed and semantically analysed and we looked at how the symbols and data types are represented. But we haven't looked at what happens once the semantic analysis finishes. In this installment we'转载 2020-08-12 13:19:26 · 388 阅读 · 0 评论 -
Walk-through flang – Part 8
In the last installment of this series we started to look at the AST and the symbol table by examining the compiler dumps of these two data structures. In this chapter we are going to explore a bit more the AST for the control flow statements.Statement d转载 2020-08-12 13:34:09 · 259 阅读 · 0 评论