Expand a division after promoting operands to at most 64 bits.
Synopsis
Declared in <llvm/Transforms/Utils/IntegerDivision.h>
bool
expandDivisionUpTo64Bits(BinaryOperator* Div);
Description
Generate code to divide two integers, replacing Div with the generated code. Uses ExpandDivision with a 64bit Div.
Return Value
True if the division was successfully expanded.
Parameters
Name |
Description |
Div |
The division instruction to replace with expanded code. |
Created with MrDocs