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-4.5.1 lib/rouge/demos/llvm
rouge-4.5.0 lib/rouge/demos/llvm
rouge-4.4.0 lib/rouge/demos/llvm
rouge-4.3.0 lib/rouge/demos/llvm
rouge-4.2.1 lib/rouge/demos/llvm
rouge-4.2.0 lib/rouge/demos/llvm
rouge-4.1.3 lib/rouge/demos/llvm
rouge-4.1.2 lib/rouge/demos/llvm
rouge-4.1.1 lib/rouge/demos/llvm
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/llvm
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/llvm
rouge-4.1.0 lib/rouge/demos/llvm
rouge-4.0.1 lib/rouge/demos/llvm
rouge-4.0.0 lib/rouge/demos/llvm
rouge-3.30.0 lib/rouge/demos/llvm
rouge-3.29.0 lib/rouge/demos/llvm
rouge-3.28.0 lib/rouge/demos/llvm
rouge-3.27.0 lib/rouge/demos/llvm
rouge-3.26.1 lib/rouge/demos/llvm
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/llvm