1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 14:33:02 +02:00
llvm-mirror/lib/Transforms/Instrumentation
Rong Xu 846b326ad9 [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles
This patch uses one bit in profile version to differentiate Clang
instrumentation and IR level instrumentation profiles.

PGOInstrumenation generates a COMDAT variable __llvm_profile_raw_version so
that the compiler runtime can set the right profile kind.
For Maco-O platform, we generate the variable as linkonce_odr linkage as
COMDAT is not supported.

PGOInstrumenation now checks this bit to make sure it's an IR level
instrumentation profile.

The patch was submitted as r260164 but reverted due to a Darwin test breakage.
Original Differential Revision: http://reviews.llvm.org/D15540

Differential Revision: http://reviews.llvm.org/D17020

llvm-svn: 260385
2016-02-10 17:18:30 +00:00
..
AddressSanitizer.cpp [asan] Introduce new hidden -asan-use-private-alias option. 2016-02-08 08:30:57 +00:00
BoundsChecking.cpp Instrumentation: Remove ilist iterator implicit conversions, NFC 2015-10-13 17:39:10 +00:00
CFGMST.h [PGO] Resubmit "MST based PGO instrumentation infrastructure" (r254021) 2015-12-09 18:08:16 +00:00
CMakeLists.txt Move SafeStack to CodeGen. 2016-01-27 16:53:42 +00:00
DataFlowSanitizer.cpp GlobalValue: use getValueType() instead of getType()->getPointerElementType(). 2016-01-16 20:30:46 +00:00
GCOVProfiling.cpp [GCOV] Avoid emitting profile arcs for module and skeleton CUs 2016-01-21 17:04:42 +00:00
InstrProfiling.cpp [PGO] Enable compression in pgo instrumentation 2016-02-08 18:13:49 +00:00
Instrumentation.cpp Move SafeStack to CodeGen. 2016-01-27 16:53:42 +00:00
LLVMBuild.txt [PGO] Resubmit "MST based PGO instrumentation infrastructure" (r254021) 2015-12-09 18:08:16 +00:00
MaximumSpanningTree.h
MemorySanitizer.cpp [X86][AVX512] add intrinsics of Scalar FP to integer conversion with rounding mode 2016-02-07 14:59:13 +00:00
PGOInstrumentation.cpp [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles 2016-02-10 17:18:30 +00:00
SanitizerCoverage.cpp Update to use new name alignTo(). 2016-01-14 21:06:47 +00:00
ThreadSanitizer.cpp Try to appease VS 2015 warnings from http://reviews.llvm.org/D11890 2015-08-15 19:06:14 +00:00