brintos

brintos / llvm-project-archived public Read only

0
0
Text · 475 B · e81b3d8 Raw
17 lines · plain
1target triple = "x86_64-unknown-linux-gnu"2target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"3 4!llvm.module.flags = !{!0, !1}5 6!0 = !{i32 1, !"wchar_size", i32 4}7!1 = !{i32 1, !"Code Model", i32 1}8 9%struct.rtx_def = type { i16, i16 }10 11define void @bar(ptr %a, i8 %b, i32 %c) {12  call void  @llvm.memset.p0.rtx_def.i32(ptr align 4 %a, i8 %b, i32 %c, i1 true)13  ret void14}15 16declare void @llvm.memset.p0.rtx_def.i32(ptr, i8, i32, i1)17