HomeSort by: relevance | last modified time | path
    Searched defs:AShr (Results 1 - 3 of 3) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineMulDivRem.cpp 353 // (lshr X, 31) * Y --> (ashr X, 31) & Y
354 // Y * (lshr X, 31) --> (ashr X, 31) & Y
365 // ((ashr X, 31) | 1) * X --> abs(X)
366 // X * ((ashr X, 31) | 1) --> abs(X)
1120 // sdiv exact X, 1<<C --> ashr exact X, C iff 1<<C is non-negative
1121 // sdiv exact X, -1<<C --> -(ashr exact X, C)
1127 auto *AShr = BinaryOperator::CreateExactAShr(
1130 return AShr;
1131 Builder.Insert(AShr);
1132 AShr->setName(I.getName() + ".neg")
    [all...]
InstCombineShifts.cpp 305 // The original "masking" instruction must not have been`ashr`.
672 if (I.getOpcode() != Instruction::AShr &&
695 // If 'shift2' is an ashr, we would have to get the sign bit into a funny
1131 // lshr (sext iM X to iN), N-M --> zext (ashr X, min(N-M, M-1)) to iN
1135 Value *AShr = Builder.CreateAShr(X, NewShAmt);
1136 return new ZExtInst(AShr, Ty);
1194 assert(OldAShr.getOpcode() == Instruction::AShr &&
1280 // ashr (shl (zext X), C), C --> sext X
1319 // ashr (sext X), C --> sext (ashr X, C'
    [all...]
  /src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
ir.go 157 AShr Opcode = C.LLVMAShr

Completed in 24 milliseconds