HomeSort by relevance Sort by last modified time
    Searched refs:Shl (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/llvm/lib/Transforms/Scalar/
Reassociate.cpp 520 static Instruction *ConvertShiftToMul(Instruction *Shl,
524 if (isReassociableOp(Shl->getOperand(0), Instruction::Mul) ||
525 (Shl->hasOneUse() &&
526 (isReassociableOp(Shl->use_back(), Instruction::Mul) ||
527 isReassociableOp(Shl->use_back(), Instruction::Add)))) {
528 Constant *MulCst = ConstantInt::get(Shl->getType(), 1);
529 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1)));
532 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl);
533 ValueRankMap.erase(Shl);
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineShifts.cpp 60 /// %C = shl i128 %A, 64
61 /// %D = shl i128 %B, 96
114 case Instruction::Shl: {
119 // We can always fold shl(c1)+shl(c2) -> shl(c1+c2).
122 // We can always turn shl(c)+shr(c) -> and(c2).
127 // We can turn shl(c1)+shr(c2) -> shl(c3)+and(c4), but it isn't
146 // We can always turn lshr(c)+shl(c) -> and(c2)
    [all...]
InstCombineMulDivRem.cpp 62 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) {
116 if (SI->getOpcode() == Instruction::Shl)
124 BinaryOperator *Shl = BinaryOperator::CreateShl(Op0, NewCst);
125 if (I.hasNoSignedWrap()) Shl->setHasNoSignedWrap();
126 if (I.hasNoUnsignedWrap()) Shl->setHasNoUnsignedWrap();
127 return Shl;
InstCombineCasts.cpp 42 if (I->getOpcode() == Instruction::Shl) {
177 case Instruction::Shl:
374 case Instruction::Shl:
375 // If we are truncating the result of this SHL, and if it's a shift of a
376 // constant amount, we can always perform a SHL in a smaller type.
678 case Instruction::Shl:
    [all...]
InstCombineSelect.cpp 92 case Instruction::Shl: // Can only fold on the shift amount.
110 case Instruction::Shl:
    [all...]
InstCombineAndOrXor.cpp 268 case Instruction::Shl: {
    [all...]
  /external/llvm/include/llvm/
Operator.h 110 I->getOpcode() == Instruction::Shl;
116 CE->getOpcode() == Instruction::Shl;
201 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
Instruction.h 102 return Opcode >= Shl && Opcode <= AShr;
108 return getOpcode() == Shl || getOpcode() == LShr;
InstrTypes.h 273 DEFINE_HELPERS(Shl, NSW) // CreateNSWShl
274 DEFINE_HELPERS(Shl, NUW) // CreateNUWShl
    [all...]
  /external/llvm/lib/Transforms/Utils/
AddrModeMatcher.cpp 139 case Instruction::Shl:
205 case Instruction::Shl: {
210 if (Opcode == Instruction::Shl)
  /external/llvm/include/llvm/MC/
MCExpr.h 303 Shl, ///< Shift left.
380 return Create(Shl, LHS, RHS, Ctx);
  /external/llvm/unittests/ADT/
APIntTest.cpp 22 APInt Shl = One.shl(0);
23 EXPECT_TRUE(Shl[0]);
24 EXPECT_FALSE(Shl[1]);
142 EXPECT_EQ(zero, one.shl(1));
143 EXPECT_EQ(one, one.shl(0));
  /external/clang/include/clang/AST/
StmtVisitor.h 124 BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl)
RecursiveASTVisitor.h 51 OPERATOR(Add) OPERATOR(Sub) OPERATOR(Shl) \
65 OPERATOR(Shl) OPERATOR(Shr) OPERATOR(And) OPERATOR(Or) OPERATOR(Xor)
    [all...]
  /external/llvm/include/llvm/Support/
PatternMatch.h 381 inline BinaryOp_match<LHS, RHS, Instruction::Shl>
383 return BinaryOp_match<LHS, RHS, Instruction::Shl>(L, R);
429 /// m_LogicalShift - Matches LShr or Shl.
431 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>
433 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::Shl>(L, R);
  /external/llvm/lib/MC/
MCExpr.cpp 120 case MCBinaryExpr::Shl: OS << "<<"; break;
550 case MCBinaryExpr::Shl: Result = LHS << RHS; break;
  /external/llvm/lib/Analysis/
LoopInfo.cpp 239 case BinaryOperator::Shl:
ValueTracking.cpp 326 case Instruction::Shl:
327 // (shl X, C1) & C2 == 0 iff (X & C2 >>u C1) == 0
347 APInt Mask2(Mask.shl(ShiftAmt));
365 APInt Mask2(Mask.shl(ShiftAmt));
784 // shl X, Y != 0 if X is odd. Note that the value of the shift is undefined
787 // shl nuw can't remove any non-zero bits.
    [all...]
  /external/llvm/lib/VMCore/
Instruction.cpp 152 case Shl: return "shl";
ConstantFold.cpp 272 case Instruction::Shl: {
    [all...]
  /external/llvm/lib/Target/X86/
X86ISelDAGToDAG.cpp 779 case ISD::SHL:
    [all...]
X86FastISel.cpp     [all...]
  /external/llvm/lib/Target/CppBackend/
CPPBackend.cpp 852 case Instruction::Shl: Out << "getShl("; break;
    [all...]
  /external/v8/src/
hydrogen-instructions.h 146 V(Shl) \
241 void Shl(int32_t value);
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
AsmPrinter.cpp     [all...]

Completed in 341 milliseconds

1 2 3