Mercurial > hg > CbC > CbC_llvm
comparison include/llvm/Analysis/CodeMetrics.h @ 83:60c9769439b8 LLVM3.7
LLVM 3.7
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Feb 2015 14:55:36 +0900 |
parents | 54457678186b |
children | 1172e4bd9c6f |
comparison
equal
deleted
inserted
replaced
78:af83660cff7b | 83:60c9769439b8 |
---|---|
18 #include "llvm/ADT/DenseMap.h" | 18 #include "llvm/ADT/DenseMap.h" |
19 #include "llvm/ADT/SmallPtrSet.h" | 19 #include "llvm/ADT/SmallPtrSet.h" |
20 #include "llvm/IR/CallSite.h" | 20 #include "llvm/IR/CallSite.h" |
21 | 21 |
22 namespace llvm { | 22 namespace llvm { |
23 class AssumptionTracker; | 23 class AssumptionCache; |
24 class BasicBlock; | 24 class BasicBlock; |
25 class Loop; | 25 class Loop; |
26 class Function; | 26 class Function; |
27 class Instruction; | 27 class Instruction; |
28 class DataLayout; | 28 class DataLayout; |
91 void analyzeBasicBlock(const BasicBlock *BB, const TargetTransformInfo &TTI, | 91 void analyzeBasicBlock(const BasicBlock *BB, const TargetTransformInfo &TTI, |
92 SmallPtrSetImpl<const Value*> &EphValues); | 92 SmallPtrSetImpl<const Value*> &EphValues); |
93 | 93 |
94 /// \brief Collect a loop's ephemeral values (those used only by an assume | 94 /// \brief Collect a loop's ephemeral values (those used only by an assume |
95 /// or similar intrinsics in the loop). | 95 /// or similar intrinsics in the loop). |
96 static void collectEphemeralValues(const Loop *L, AssumptionTracker *AT, | 96 static void collectEphemeralValues(const Loop *L, AssumptionCache *AC, |
97 SmallPtrSetImpl<const Value*> &EphValues); | 97 SmallPtrSetImpl<const Value *> &EphValues); |
98 | 98 |
99 /// \brief Collect a functions's ephemeral values (those used only by an | 99 /// \brief Collect a functions's ephemeral values (those used only by an |
100 /// assume or similar intrinsics in the function). | 100 /// assume or similar intrinsics in the function). |
101 static void collectEphemeralValues(const Function *L, AssumptionTracker *AT, | 101 static void collectEphemeralValues(const Function *L, AssumptionCache *AC, |
102 SmallPtrSetImpl<const Value*> &EphValues); | 102 SmallPtrSetImpl<const Value *> &EphValues); |
103 }; | 103 }; |
104 | 104 |
105 } | 105 } |
106 | 106 |
107 #endif | 107 #endif |