mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Add an internal convenience method for division that urem and udiv use.
llvm-svn: 34448
This commit is contained in:
parent
b6ddd260ec
commit
2e50b9ed5b
@ -128,6 +128,11 @@ public:
|
||||
void fromString(uint32_t numBits, const char *StrStart, uint32_t slen,
|
||||
uint8_t radix);
|
||||
|
||||
/// @brief An internal division function for dividing APInts.
|
||||
static void divide(const APInt LHS, uint32_t lhsWords,
|
||||
const APInt &RHS, uint32_t rhsWords,
|
||||
APInt *Quotient, APInt *Remainder);
|
||||
|
||||
public:
|
||||
/// @brief Create a new APInt of numBits bit-width, and initialized as val.
|
||||
APInt(uint32_t numBits, uint64_t val);
|
||||
|
Loading…
Reference in New Issue
Block a user