2019.10.21
http://releases.llvm.org/1.0/docs/LangRef.html
Q:怎么处理内联汇编?
A:新版本里有了High-level structure来处理
在看了新版本的LangRef后,
Q:metadata是干什么的?
A:目前主要是用来传递debug信息,参考What is LLVM metadata和LangRef#metadata。
Instruction Reference
- Terminator Intructions
- ret
- br
- switch
- invoke
- unwind
- Binary Operations
- add
- sub
- mul
- div
- rem
- setcc
- Bitwise Binary Operations
- and
- or
- xor
- shl
- shr
- Memory Access Operations
- malloc
- free
- alloca
- load
- store
- getelementptr
- Other Operations
- phi
- cast ... to
- call
- vanext
- vaarg