Searched defs:Shl (Results 1 - 12 of 12) sorted by relevance

/external/llvm/unittests/ADT/
H A DAPIntTest.cpp22 APInt Shl = One.shl(0); local
23 EXPECT_TRUE(Shl[0]);
24 EXPECT_FALSE(Shl[1]);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp596 case Instruction::Shl:
846 Instruction *Shl, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne) {
848 const APInt &ShlOp1 = cast<ConstantInt>(Shl->getOperand(1))->getValue();
892 BinaryOperator *Orig = cast<BinaryOperator>(Shl);
903 return InsertNewInstWith(New, *Shl);
845 SimplifyShrShlDemandedBits(Instruction *Shr, Instruction *Shl, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne) argument
H A DInstCombineMulDivRem.cpp63 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) {
157 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); local
158 if (I.hasNoSignedWrap()) Shl->setHasNoSignedWrap();
159 if (I.hasNoUnsignedWrap()) Shl->setHasNoUnsignedWrap();
160 return Shl;
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp951 static BinaryOperator *ConvertShiftToMul(Instruction *Shl) { argument
952 Constant *MulCst = ConstantInt::get(Shl->getType(), 1);
953 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1)));
956 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl);
957 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op.
958 Mul->takeName(Shl);
959 Shl->replaceAllUsesWith(Mul);
960 Mul->setDebugLoc(Shl
[all...]
/external/llvm/include/llvm/MC/
H A DMCExpr.h401 Shl, ///< Shift left. enumerator in enum:llvm::MCBinaryExpr::Opcode
478 return Create(Shl, LHS, RHS, Ctx);
/external/llvm/lib/Target/R600/
H A DR600ISelLowering.cpp1589 SDValue Shl = DAG.getNode(ISD::SHL, DL, VT, NewLoad, ShiftAmount); local
1590 SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, Shl, ShiftAmount);
H A DAMDGPUISelLowering.cpp1825 SDValue Shl = DAG.getNode(ISD::SHL, DL, VT, Op.getOperand(0), Shift); local
1827 return DAG.getNode(ISD::SRA, DL, VT, Shl, Shift);
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.ml166 | Shl Constructor in type:Opcode/t
/external/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp802 SDValue Shl = DAG.getNode(ISD::SHL, DL, VT, And, ShlCount); local
814 InsertDAGNode(DAG, N, Shl);
815 DAG.ReplaceAllUsesWith(N, Shl);
/external/chromium_org/v8/src/
H A Dhydrogen-instructions.cc247 void Range::Shl(int32_t value) { function in class:v8::internal::Range
3140 result->Shl(c->Integer32Value());
/external/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp1778 SDValue Shl = DAG.getNode(ISD::SHL, DL, VT, Result, ShAmt); local
1779 return DAG.getNode(ISD::SRA, DL, VT, Shl, ShAmt);
2553 SDValue Shl = DAG.getNode(ISD::SHL, SDLoc(Inner), VT, Ext, local
2555 return DAG.getNode(ISD::SRA, SDLoc(N0), VT, Shl,
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp11263 SDValue Shl = DAG.getNode(ISD::SHL, SDLoc(N0), VT, AndLHS, ShlAmt); local
11269 getShiftAmountTy(Shl.getValueType()));
11270 SDValue Shr = DAG.getNode(ISD::SRA, SDLoc(N0), VT, Shl, ShrAmt);

Completed in 310 milliseconds