Displaying 1 result from an estimated 1 matches for "constcoeff".
2012 Apr 17
0
[LLVMdev] arithmetic with SCEVs, SCEVConsts, ConstInts, and APInts
...i,
Pondering the code for StrongSIV and trying to write my own, I find I have
many questions.
In this code, for example,
* if (isa<SCEVConstant>(delta) && isa<SCEVConstant>(srcCoeff)) {
const SCEVConstant *constDelta = cast<SCEVConstant>(delta);
const SCEVConstant *constCoeff = cast<SCEVConstant>(srcCoeff);
APInt distance, remainder;
APInt::sdivrem(constDelta->getValue()->getValue(),
constCoeff->getValue()->getValue(),
distance, remainder);
*
Generally, this makes sense. But reading the documentation for APIn...