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

  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonOptimizeSZextends.cpp 102 // %conv52 = ashr exact i32 %sext233, 16
106 BinaryOperator *Ashr = dyn_cast<BinaryOperator>(&I);
107 if (!(Ashr && Ashr->getOpcode() == Instruction::AShr))
109 Value *AshrOp1 = Ashr->getOperand(1);
115 // The first operand of Ashr comes from logical shift left.
116 Instruction *Shl = dyn_cast<Instruction>(Ashr->getOperand(0));
130 // All is well. Replace all uses of AShr with I.
131 for (auto UI = Ashr->user_begin(), UE = Ashr->user_end()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp 256 case Instruction::AShr:
544 /// (select (icmp sgt x, C), lshr (X, Y), ashr (X, Y)); iff C s>= -1
545 /// (select (icmp slt x, C), ashr (X, Y), lshr (X, Y)); iff C s>= 0
547 /// ashr (X, Y)
567 // Canonicalize so that ashr is in FalseVal.
574 const auto *Ashr = cast<Instruction>(FalseVal);
575 // if lshr is not exact and ashr is, this new ashr must not be exact.
576 bool IsExact = Ashr->isExact() && cast<Instruction>(TrueVal)->isExact();

Completed in 24 milliseconds