[profiling] Move option declarations into headers
commite7247f1010b546ca4d98a6ee40414d2d1cae0381
authorTom Stellard <tstellar@redhat.com>
Sat, 30 Sep 2023 23:59:37 +0000 (30 16:59 -0700)
committerTom Stellard <tstellar@redhat.com>
Sun, 1 Oct 2023 01:51:28 +0000 (30 18:51 -0700)
treeb1fc99425d0de574ae12b9694a9bc1433cf6a459
parentb225f2d5d737d262c49fece286bba2d3126609e1
[profiling] Move option declarations into headers

This will make it possible to add visibility attributes to these
variables.  This also fixes some type mismatches between the
declaration and the definition.

Reviewed By: bogner, huangjd

Differential Revision: https://reviews.llvm.org/D156599
clang/lib/CodeGen/BackendUtil.cpp
llvm/include/llvm/ProfileData/ProfileCommon.h
llvm/include/llvm/Transforms/IPO/SampleProfile.h
llvm/include/llvm/Transforms/Instrumentation/PGOInstrumentation.h
llvm/lib/Analysis/ProfileSummaryInfo.cpp
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
llvm/tools/llvm-profgen/CSPreInliner.cpp