1 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-temporal-instrumentation -S | FileCheck %s
2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-temporal-instrumentation -pgo-block-coverage -S | FileCheck %s
3 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-unknown-linux-gnu"
6 ; CHECK-LABEL: define void @foo(
9 ; CHECK: call void @llvm.instrprof.timestamp({{.*}})
13 ; CHECK-LABEL: define void @bar(
14 define void @bar() #0 {
16 ; CHECK-NOT: call void @llvm.instrprof.timestamp({{.*}})
17 call void asm sideeffect "retq;", "~{dirflag},~{fpsr},~{flags}"()
21 ; CHECK-LABEL: declare void @llvm.instrprof.timestamp(
23 attributes #0 = { naked }