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.8.0 lib/rouge/demos/llvm
rouge-3.7.0 lib/rouge/demos/llvm
rouge-3.6.0 lib/rouge/demos/llvm
rouge-3.5.1 lib/rouge/demos/llvm
rouge-3.5.0 lib/rouge/demos/llvm
rouge-3.4.1 lib/rouge/demos/llvm
rouge-3.4.0 lib/rouge/demos/llvm
rouge-alda-3.3.0 lib/rouge/demos/llvm
rouge-3.3.0 lib/rouge/demos/llvm
rouge-3.2.1 lib/rouge/demos/llvm
rouge-3.2.0 lib/rouge/demos/llvm
rouge-lines-3.2.3 lib/rouge-lines/demos/llvm
rouge_ecl-1.0.0 lib/rouge/demos/llvm
rouge_ecl-0.0.1 lib/rouge/demos/llvm
rouge-3.1.1 lib/rouge/demos/llvm
rouge-3.1.0 lib/rouge/demos/llvm
rouge-3.0.0 lib/rouge/demos/llvm
rouge-2.2.1 lib/rouge/demos/llvm
rouge-2.2.0 lib/rouge/demos/llvm
rougegal-2.1.2 lib/rouge/demos/llvm