1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib/Transforms/Instrumentation
Vedant Kumar bbc3a67102 [ProfileSummary] Standardize methods and fix comment
Every Analysis pass has a get method that returns a reference of the Result of
the Analysis, for example, BlockFrequencyInfo
&BlockFrequencyInfoWrapperPass::getBFI().  I believe that
ProfileSummaryInfo::getPSI() is the only exception to that, as it was returning
a pointer.

Another change is renaming isHotBB and isColdBB to isHotBlock and isColdBlock,
respectively.  Most methods use BB as the argument of variable names while
methods usually refer to Basic Blocks as Blocks, instead of BB.  For example,
Function::getEntryBlock, Loop:getExitBlock, etc.

I also fixed one of the comments.

Patch by Rodrigo Caetano Rocha!

Differential Revision: https://reviews.llvm.org/D54669

llvm-svn: 347182
2018-11-19 05:23:16 +00:00
..
AddressSanitizer.cpp Revert "[PassManager/Sanitizer] Enable usage of ported AddressSanitizer passes with -fsanitize=address" 2018-10-26 22:51:51 +00:00
BoundsChecking.cpp
CFGMST.h [TI removal] Make variables declared as TerminatorInst and initialized 2018-10-15 10:04:59 +00:00
CGProfile.cpp [CGProfile] Turn constant-size SmallVector into array 2018-10-22 10:51:34 +00:00
CMakeLists.txt
ControlHeightReduction.cpp [ProfileSummary] Standardize methods and fix comment 2018-11-19 05:23:16 +00:00
DataFlowSanitizer.cpp [cxx2a] Fix warning triggered by r343285 2018-09-29 02:17:12 +00:00
EfficiencySanitizer.cpp [TI removal] Remove TerminatorInst from BasicBlockUtils.h 2018-10-15 09:34:05 +00:00
GCOVProfiling.cpp [GCOV] Add options to filter files which must be instrumented. 2018-11-12 09:01:43 +00:00
HWAddressSanitizer.cpp [sancov] Put .SCOV* sections into the right comdat groups on COFF 2018-11-08 00:57:33 +00:00
IndirectCallPromotion.cpp [ProfileSummary] Standardize methods and fix comment 2018-11-19 05:23:16 +00:00
InstrProfiling.cpp
Instrumentation.cpp [sancov] Put .SCOV* sections into the right comdat groups on COFF 2018-11-08 00:57:33 +00:00
LLVMBuild.txt
MaximumSpanningTree.h
MemorySanitizer.cpp [MSan] another take at instrumenting inline assembly - now with calls 2018-10-31 09:32:47 +00:00
PGOInstrumentation.cpp [PGO] Exit early if all count values are zero 2018-11-07 23:51:20 +00:00
PGOMemOPSizeOpt.cpp
SanitizerCoverage.cpp [sancov] Put .SCOV* sections into the right comdat groups on COFF 2018-11-08 00:57:33 +00:00
ThreadSanitizer.cpp