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. Implements both 32bit and 64bit scalar division.
Declared in <llvm/Transforms/Utils/IntegerDivision.h>
bool
expandDivision(BinaryOperator* Div);
Replace Div with generated code.