]> granicus.if.org Git - clang/commitdiff
PGO: rename profile data files from .pgodata to .profdata.
authorBob Wilson <bob.wilson@apple.com>
Thu, 6 Mar 2014 21:36:04 +0000 (21:36 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 6 Mar 2014 21:36:04 +0000 (21:36 +0000)
These tests were added before we had settled on using a .profdata extension
for the profile data files. Renaming them now for consistency.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203166 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Inputs/instr-attribute.profdata [moved from test/CodeGen/Inputs/instr-attribute.pgodata with 100% similarity]
test/CodeGen/Inputs/instr-profile.profdata [moved from test/CodeGen/Inputs/instr-profile.pgodata with 100% similarity]
test/CodeGen/instr-attribute.c
test/CodeGen/instr-profile.c
test/CodeGenCXX/Inputs/instr-profile-class.profdata [moved from test/CodeGenCXX/Inputs/instr-profile-class.pgodata with 100% similarity]
test/CodeGenCXX/Inputs/instr-profile-throws.profdata [moved from test/CodeGenCXX/Inputs/instr-profile-throws.pgodata with 100% similarity]
test/CodeGenCXX/instr-profile-class.cpp
test/CodeGenCXX/instr-profile-throws.cpp

index 0005c5a62e892278c7cc5e62aa17e0e9fc445692..b2399807543e4c57128908b0cc711dada90c100d 100644 (file)
@@ -1,6 +1,6 @@
 // Test that instrumentation based profiling sets function attributes correctly.
 
-// RUN: %clang %s -o - -mllvm -disable-llvm-optzns -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-attribute.pgodata | FileCheck %s
+// RUN: %clang %s -o - -mllvm -disable-llvm-optzns -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-attribute.profdata | FileCheck %s
 
 extern int atoi(const char *);
 
index 3428520278bbcbc78b4d376271b18e795adc47a3..05656ab508e67dc0edda576295b62b9970fd4ea8 100644 (file)
@@ -6,7 +6,7 @@
 // this test.
 
 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name instr-profile.c %s -o - -emit-llvm -fprofile-instr-generate | FileCheck -check-prefix=PGOGEN %s
-// RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name instr-profile.c %s -o - -emit-llvm -fprofile-instr-use=%S/Inputs/instr-profile.pgodata | FileCheck -check-prefix=PGOUSE %s
+// RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name instr-profile.c %s -o - -emit-llvm -fprofile-instr-use=%S/Inputs/instr-profile.profdata | FileCheck -check-prefix=PGOUSE %s
 
 // PGOGEN: @[[SLC:__llvm_pgo_ctr[0-9]*]] = private global [4 x i64] zeroinitializer
 // PGOGEN: @[[IFC:__llvm_pgo_ctr[0-9]*]] = private global [11 x i64] zeroinitializer
index d7b4499d26dc5d4d2d32e62cc7421c00de2eca83..f23aac6f7cb3209ec4564e8cf604e3ae96bfef8a 100644 (file)
@@ -11,7 +11,7 @@
 // RUN: FileCheck --input-file=%tgen -check-prefix=MTHGEN %s
 // RUN: FileCheck --input-file=%tgen -check-prefix=WRPGEN %s
 
-// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-class.pgodata -fno-exceptions -target %itanium_abi_triple > %tuse
+// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-class.profdata -fno-exceptions -target %itanium_abi_triple > %tuse
 // RUN: FileCheck --input-file=%tuse -check-prefix=CTRUSE %s
 // RUN: FileCheck --input-file=%tuse -check-prefix=DTRUSE %s
 // RUN: FileCheck --input-file=%tuse -check-prefix=MTHUSE %s
index 33e02514e4e39b70ab4bdace1e0fee02e04c944c..d25827c5e00aab71fe8602b48e269a6c2290185d 100644 (file)
@@ -10,8 +10,8 @@
 // RUN: %clangxx %s -o - -emit-llvm -S -fprofile-instr-generate -target %itanium_abi_triple | FileCheck -check-prefix=PGOGEN %s
 // RUN: %clangxx %s -o - -emit-llvm -S -fprofile-instr-generate -target %itanium_abi_triple | FileCheck -check-prefix=PGOGEN-EXC %s
 
-// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-throws.pgodata -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE %s
-// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-throws.pgodata -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE-EXC %s
+// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-throws.profdata -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE %s
+// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile-throws.profdata -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE-EXC %s
 
 // PGOGEN: @[[THC:__llvm_pgo_ctr[0-9]*]] = private global [9 x i64] zeroinitializer
 // PGOGEN-EXC: @[[THC:__llvm_pgo_ctr[0-9]*]] = private global [9 x i64] zeroinitializer