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-1.8.0 lib/rouge/demos/llvm
rouge-1.7.7 lib/rouge/demos/llvm
rouge-1.7.4 lib/rouge/demos/llvm
rouge-1.7.3 lib/rouge/demos/llvm
rouge-1.7.2 lib/rouge/demos/llvm
rouge-1.7.1 lib/rouge/demos/llvm
rouge-1.7.0 lib/rouge/demos/llvm
rouge-1.6.2 lib/rouge/demos/llvm
rouge-1.6.1 lib/rouge/demos/llvm
rouge-1.5.1 lib/rouge/demos/llvm
rouge-1.5.0 lib/rouge/demos/llvm
rouge-1.4.0 lib/rouge/demos/llvm
rouge-1.3.4 lib/rouge/demos/llvm
rouge-1.3.3 lib/rouge/demos/llvm
rouge-1.3.2 lib/rouge/demos/llvm
rouge-1.3.1 lib/rouge/demos/llvm
rouge-1.3.0 lib/rouge/demos/llvm
rouge-1.2.0 lib/rouge/demos/llvm
rouge-1.1.0 lib/rouge/demos/llvm
rouge-0.5.4 lib/rouge/demos/llvm