Go to the documentation of this file.
9 #ifndef HH_INNER_LOOP_FINDER
10 #define HH_INNER_LOOP_FINDER
17 #include <llvm/IR/LegacyPassManager.h>
18 #include <llvm/Analysis/LoopPass.h>
19 #include <llvm/Support/CommandLine.h>
21 #include "tce_config.h"
22 #include <llvm/IR/Module.h>
52 std::ostream&
out(llvm::Loop* l);
55 virtual bool runOnLoop(llvm::Loop* l, llvm::LPPassManager &LPM);
InnerLoopInfoIndex loopInfos_
bool isTripCountKnown() const
InnerLoopInfoIndex innerLoopInfo()
void initializeInnerLoopFinderPass(llvm::PassRegistry &)
unsigned getSmallConstantTripCount(llvm::Loop *loop)
virtual bool runOnLoop(llvm::Loop *l, llvm::LPPassManager &LPM)
std::map< const llvm::BasicBlock *, InnerLoopInfo > InnerLoopInfoIndex
virtual void getAnalysisUsage(llvm::AnalysisUsage &AU) const
virtual std::string loopDescription(llvm::Loop *l)
std::ostream & out(llvm::Loop *l)
InnerLoopInfo(int tripCount)
std::map< std::string, std::ostream * > DumpFileIndex