Please enable JavaScript.
Coggle requires JavaScript to display documents.
IIVM-IR module - Coggle Diagram
IIVM-IR module
其他
标识符
全局标识符: 用"@"标记, declare i32 @puts(i8* nocapture)
局部标识符: 用"%"标记, %result = shl i32 %X, 3
有名标识符: 字符串, 规则类似c语言, %foo, @DivisionByZero, %a.really.long.identifier
不具名标识符: 只包含数字, %12, @2, %44
-
链接属性linkage
-
类型
private: 当前模块直接访问, 不在符号表中
internal: 记录在局部符号表中, 其他模块不可见 e.g, static a = 10;
-
-
-
-
调用约定
-
-
具体类型: ccc, fastcc, cc 10, cc 11, ..., tailcc, switfcc
指令
Terminator Instructions: ret, br, switch, invoke, ...
-
Binary Operations: add, sub, mul, udiv, urem, ...
Bitwise Binary Operations: and, or, xor, shl, lshr, ashr
Memory Access and Addressing Operations: load, store, fence, ...
-
-
-