brintos

brintos / llvm-project-archived public Read only

0
0
Text · 562 B · b6d85ed Raw
15 lines · plain
1; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN2target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"3target triple = "x86_64-unknown-linux-gnu"4 5; GEN: $__llvm_profile_raw_version = comdat any6; GEN: @__llvm_profile_raw_version = hidden constant i64 {{[0-9]+}}, comdat7; GEN: @__profn_single_bb = private constant [9 x i8] c"single_bb"8 9define i32 @single_bb() {10entry:11; GEN: entry:12; GEN: call void @llvm.instrprof.increment(ptr @__profn_single_bb, i64 {{[0-9]+}}, i32 1, i32 0)13  ret i32 014}15