Expand a remainder after promoting operands to at most 64 bits.

Synopsis

Declared in <llvm/Transforms/Utils/IntegerDivision.h>

bool
expandRemainderUpTo64Bits(BinaryOperator* Rem);

Description

Generate code to calculate the remainder of two integers, replacing Rem with the generated code. Uses ExpandReminder with a 64bit Rem.

Return Value

True if the remainder was successfully expanded.

Parameters

Name

Description

Rem

The remainder instruction to replace with expanded code.

Created with MrDocs