• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN
2target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
3target triple = "x86_64-unknown-linux-gnu"
4
5; GEN: @__profn_single_bb = private constant [9 x i8] c"single_bb"
6
7define i32 @single_bb() {
8entry:
9; GEN: entry:
10; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @__profn_single_bb, i32 0, i32 0), i64 12884901887, i32 1, i32 0)
11  ret i32 0
12}
13