aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-07-12 21:13:44 +0000
committerTeresa Johnson <tejohnson@google.com>2016-07-12 21:13:44 +0000
commit1e44b5d3abc7b8180d2479c39faadf507693401d (patch)
tree22cac8a6c9e99273cb852288ffa9547138ac49cf /llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
parentb43bb6141e6826888620204ea579738bd9b02539 (diff)
downloadllvm-1e44b5d3abc7b8180d2479c39faadf507693401d.zip
llvm-1e44b5d3abc7b8180d2479c39faadf507693401d.tar.gz
llvm-1e44b5d3abc7b8180d2479c39faadf507693401d.tar.bz2
Refactor indirect call promotion profitability analysis (NFC)
Summary: Refactored the profitability analysis out of the IC promotion pass and into lib/Analysis so that it can be accessed by the summary index builder in a follow-on patch to enable IC promotion in ThinLTO (D21932). Reviewers: davidxl, xur Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D22182 llvm-svn: 275216
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
index 27f32b3..f54d8ad4 100644
--- a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
+++ b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
@@ -50,13 +50,13 @@
#include "llvm/Transforms/PGOInstrumentation.h"
#include "CFGMST.h"
-#include "IndirectCallSiteVisitor.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Analysis/BlockFrequencyInfo.h"
#include "llvm/Analysis/BranchProbabilityInfo.h"
#include "llvm/Analysis/CFG.h"
+#include "llvm/Analysis/IndirectCallSiteVisitor.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/IRBuilder.h"