Document the interface for integer expansion, using doxygen-style comments
authorMichael Ilseman <milseman@apple.com>
Wed, 19 Sep 2012 16:03:57 +0000 (16:03 +0000)
committerMichael Ilseman <milseman@apple.com>
Wed, 19 Sep 2012 16:03:57 +0000 (16:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164231 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Utils/IntegerDivision.h

index a8008ee066d745dfe2f037acdd0665ef24458a57..8d3f53e6f9040b40c15db56eaead96f8228e24ae 100644 (file)
@@ -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