search for: _simplefunction

Displaying 1 result from an estimated 1 matches for "_simplefunction".

2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
...t;\09.type\09foo, at function" module asm "foo:" module asm "\09movq %rdi, %rax" module asm "\09rorw $8, %ax" module asm "\09ret " module asm "\09.size\09foo, .-foo" module asm "" declare zeroext i16 @foo(i16 zeroext) #0 define i32 @_simplefunction() #1 { ret i32 1 } ``` Another module MAIN contains a function that calls ASM's `simplefunction()`. ``` define i32 @_Dmain({ i64, { i64, i8* }* } %unnamed) #0 { %1 = call i32 @_simplefunction() #1 ret i32 %1 } declare i32 @_simplefunction() #1 ``` Then these two modules are passed to th...