diff options
author | Michael Ilseman <milseman@apple.com> | 2012-09-19 16:03:57 +0000 |
---|---|---|
committer | Michael Ilseman <milseman@apple.com> | 2012-09-19 16:03:57 +0000 |
commit | 16514de50a7936950845a3851cae8ce571e0c2c2 (patch) | |
tree | 8abc652e9d2ac9aae069a82f49228f21ad1ad583 /include/llvm/Transforms/Utils/IntegerDivision.h | |
parent | 4c8f2dd6ab5b877de63568b56d542f845a8a3ca8 (diff) | |
download | external_llvm-16514de50a7936950845a3851cae8ce571e0c2c2.zip external_llvm-16514de50a7936950845a3851cae8ce571e0c2c2.tar.gz external_llvm-16514de50a7936950845a3851cae8ce571e0c2c2.tar.bz2 |
Document the interface for integer expansion, using doxygen-style comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/IntegerDivision.h')
-rw-r--r-- | include/llvm/Transforms/Utils/IntegerDivision.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Utils/IntegerDivision.h b/include/llvm/Transforms/Utils/IntegerDivision.h index a8008ee..8d3f53e 100644 --- a/include/llvm/Transforms/Utils/IntegerDivision.h +++ b/include/llvm/Transforms/Utils/IntegerDivision.h @@ -23,6 +23,14 @@ namespace llvm { namespace llvm { + /// Generate code to divide two integers, replacing Div with the generated + /// code. This currently generates code similarly to compiler-rt's + /// implementations, but future work includes generating more specialized code + /// when more information about the operands are known. Currently only + /// implements 32bit scalar division, but future work is removing this + /// limitation. + /// + /// @brief Replace Div with generated code. bool expandDivision(BinaryOperator* Div); } // End llvm namespace |