diff options
Diffstat (limited to 'include/llvm/Transforms/Utils/BypassSlowDivision.h')
-rw-r--r-- | include/llvm/Transforms/Utils/BypassSlowDivision.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/llvm/Transforms/Utils/BypassSlowDivision.h b/include/llvm/Transforms/Utils/BypassSlowDivision.h index 3646d736ab..c262434b66 100644 --- a/include/llvm/Transforms/Utils/BypassSlowDivision.h +++ b/include/llvm/Transforms/Utils/BypassSlowDivision.h @@ -20,10 +20,14 @@ #include "llvm/Function.h" +namespace llvm { + /// This optimization identifies DIV instructions that can be /// profitably bypassed and carried out with a shorter, faster divide. -bool bypassSlowDivision(llvm::Function &F, - llvm::Function::iterator &I, - const llvm::DenseMap<llvm::Type *, llvm::Type *> &BypassTypeMap); +bool bypassSlowDivision(Function &F, + Function::iterator &I, + const DenseMap<Type *, Type *> &BypassTypeMap); + +} // End llvm namespace #endif |