Displaying 1 result from an estimated 1 matches for "ofconstdelta".
Did you mean:
constdelta
2012 Apr 17
0
[LLVMdev] arithmetic with SCEVs, SCEVConsts, ConstInts, and APInts
...er;
APInt::sdivrem(constDelta->getValue()->getValue(),
constCoeff->getValue()->getValue(),
distance, remainder);
*
Generally, this makes sense. But reading the documentation for APInt, it
sounds like I must somehow ensure that the representations ofconstDelta and
constCoeff are the same length. Are they going to be automatically, or do I
need to do something to check?
How do we set the lengths of distance and remainder? Or are they set by the
sdivrem operations?
If I want to divide distance by 2, how do I create an APInt with the value
of 2 and the co...