HomeSort by: relevance | last modified time | path
    Searched refs:Descale (Results 1 - 2 of 2) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineInternal.h 741 Value *Descale(Value *Val, APInt Scale, bool &NoSignedWrap);
InstructionCombining.cpp 1300 Value *InstCombinerImpl::Descale(Value *Val, APInt Scale, bool &NoSignedWrap) {
1301 assert(isa<IntegerType>(Val->getType()) && "Can only descale integers!");
1350 // If Op is a constant divisible by Scale then descale to the quotient.
1435 // Op is sign-extended from a smaller type, descale in the smaller type.
1438 // Suppose Op = sext X, and we descale X as Y * SmallScale. We want to
1439 // descale Op as (sext Y) * Scale. In order to have
1457 // Op is truncated from a larger type, descale in the larger type.
1458 // Suppose Op = trunc X, and we descale X as Y * sext Scale. Then
1487 // We know that we can successfully descale, so from here on we can safely
2305 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW))
    [all...]

Completed in 55 milliseconds