Sha256: 7b81fda06687613a15660d05a48dab49580aad03eb57086dbd3a16b4cc25bb56

Contents?: true

Size: 594 Bytes

Versions: 116

Compression:

Stored size: 594 Bytes

Contents

; copied from http://llvm.org/docs/LangRef.html#module-structure
; Declare the string constant as a global constant.
@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00"

; External declaration of the puts function
declare i32 @puts(i8* nocapture) nounwind

; Definition of main function
define i32 @main() {   ; i32()*
  ; Convert [13 x i8]* to i8  *...
  %cast210 = getelementptr [13 x i8]* @.str, i64 0, i64 0

  ; Call puts function to write out the string to stdout.
  call i32 @puts(i8* %cast210)
  ret i32 0
}

; Named metadata
!1 = metadata !{i32 42}
!foo = !{!1, null}

Version data entries

116 entries across 114 versions & 9 rubygems

Version Path
rouge-3.26.0 lib/rouge/demos/llvm
rouge-3.25.0 lib/rouge/demos/llvm
rouge-3.24.0 lib/rouge/demos/llvm
rouge-3.23.0 lib/rouge/demos/llvm
rouge-3.22.0 lib/rouge/demos/llvm
rouge-3.21.0 lib/rouge/demos/llvm
rouge-3.20.0 lib/rouge/demos/llvm
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/rouge-2.2.1/lib/rouge/demos/llvm
rouge-3.19.0 lib/rouge/demos/llvm
rouge-3.18.0 lib/rouge/demos/llvm
rouge-3.17.0 lib/rouge/demos/llvm
rouge-3.16.0 lib/rouge/demos/llvm
rouge-3.15.0 lib/rouge/demos/llvm
rouge-3.14.0 lib/rouge/demos/llvm
rouge-3.13.0 lib/rouge/demos/llvm
rouge-3.12.0 lib/rouge/demos/llvm
rouge-3.11.1 lib/rouge/demos/llvm
rouge-3.11.0 lib/rouge/demos/llvm
rouge-3.10.0 lib/rouge/demos/llvm
rouge-3.9.0 lib/rouge/demos/llvm