Beyond being implemented as a language, LLVM IR is actually defined in three isomorphic forms: the textual format above, an in-memory data structure inspected and modified by optimizations themselves, and an efficient and dense on-disk binary "bitcode" format. The LLVM Project also provides tools to convert the on-disk format from text to binary: llvm-as
assembles the textual .ll
file into a .bc
file containing the bitcode goop and llvm-dis
turns a .bc
file into a .ll
file.
댓글 0
.