reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/tools/clang/include/clang/Basic/arm_mve_builtin_cg.inc
  172   Value *Val5 = Builder.CreateShl(Val3, Val4);
  219   Value *Val6 = Builder.CreateShl(Val4, Val5);
  344   Value *Val10 = Builder.CreateShl(Val8, Val9);
include/llvm/IR/IRBuilder.h
 1239     return CreateShl(LHS, ConstantInt::get(LHS->getType(), RHS), Name,
lib/CodeGen/AtomicExpandPass.cpp
  676   Ret.Mask = Builder.CreateShl(
  724     Value *NewVal_Shiftup = Builder.CreateShl(
  755       Builder.CreateShl(Builder.CreateZExt(AI->getValOperand(), PMV.WordType),
  788       Builder.CreateShl(Builder.CreateZExt(AI->getValOperand(), PMV.WordType),
  872       Builder.CreateShl(Builder.CreateZExt(NewVal, PMV.WordType), PMV.ShiftAmt);
  874       Builder.CreateShl(Builder.CreateZExt(Cmp, PMV.WordType), PMV.ShiftAmt);
  961   Value *ValOperand_Shifted = Builder.CreateShl(
  980   Value *CmpVal_Shifted = Builder.CreateShl(
  983   Value *NewVal_Shifted = Builder.CreateShl(
lib/CodeGen/IntrinsicLowering.cpp
   72     Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8),
   80     Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24),
   82     Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8),
  100     Value *Tmp8 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 56),
  102     Value *Tmp7 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 40),
  104     Value *Tmp6 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24),
  106     Value *Tmp5 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8),
lib/IR/AutoUpgrade.cpp
 1289     LHS = Builder.CreateShl(LHS, ShiftAmt);
 1291     RHS = Builder.CreateShl(RHS, ShiftAmt);
lib/IR/Core.cpp
 3361   return wrap(unwrap(B)->CreateShl(unwrap(LHS), unwrap(RHS), Name));
lib/Target/AArch64/AArch64ISelLowering.cpp
12191         Lo, Builder.CreateShl(Hi, ConstantInt::get(ValTy, 64)), "val64");
lib/Target/ARM/ARMISelLowering.cpp
16630         Lo, Builder.CreateShl(Hi, ConstantInt::get(ValTy, 32)), "val64");
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1426           ShVal = IRB.CreateShl(Op, ConstantInt::get(VTy, 1));
 1436         W = IRB.CreateShl(ShVal, ShAmt);
lib/Transforms/IPO/LowerTypeTests.cpp
  584   Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex);
  761   Value *OffsetSHL = B.CreateShl(
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1067   Value *NotMask = Builder.CreateShl(MinusOne, NBits, "notmask");
 1250         Value *NewShl = Builder.CreateShl(XorLHS, ShAmt, "sext");
lib/Transforms/InstCombine/InstCombineCalls.cpp
  409     return Builder.CreateShl(Vec, ShiftVec);
  536     return Builder.CreateShl(Vec, ShiftVec);
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1287             In = Builder.CreateShl(In,
 1398     return BinaryOperator::CreateAShr(Builder.CreateShl(Res, ShAmt, "sext"),
 1410     return BinaryOperator::CreateAShr(Builder.CreateShl(X, ShAmt), ShAmt);
 1439     A = Builder.CreateShl(A, ShAmtV, CI.getName());
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1704               : Builder.CreateShl(And->getOperand(1), Shift->getOperand(1));
 1809           NewOr = Builder.CreateOr(Builder.CreateShl(One, B, LShr->getName(),
 3590                   : Builder.CreateShl(X, NewShAmt);
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
   64     return IC.Builder.CreateShl(One, A);
lib/Transforms/InstCombine/InstCombineSelect.cpp
  527   Value *MaskB = HasShift ? Builder.CreateShl(One, Z) : One;
lib/Transforms/InstCombine/InstCombineShifts.cpp
  695             Builder.CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName());
  715             Builder.CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName());
  730             Builder.CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName());
  749             Builder.CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName());
  787         Value *NewShift = Builder.CreateShl(Op0BO->getOperand(1), Op1);
  935     Value *Mask = Builder.CreateShl(AllOnes, Op1);
 1025         Value *NewShl = Builder.CreateShl(X, ShiftDiff);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1715           Builder.CreateShl(InitX, ConstantInt::get(InitX->getType(), 1));
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  847           Idx = Builder.CreateShl(
  908           Idx = Builder.CreateShl(
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  609     return Builder.CreateShl(ExtendedStride, Exponent);
  615     return Builder.CreateNeg(Builder.CreateShl(ExtendedStride, Exponent));
lib/Transforms/Utils/IntegerDivision.cpp
  273   Value *Q        = Builder.CreateShl(Dividend, Tmp2);
  309   Value *Tmp5  = Builder.CreateShl(R_1, One);
  312   Value *Tmp8  = Builder.CreateShl(Q_2, One);
  332   Value *Tmp13 = Builder.CreateShl(Q_3, One);
lib/Transforms/Utils/SimplifyLibCalls.cpp
  966     Value *Shl = B.CreateShl(B.getIntN(Width, 1ULL), C);
lib/Transforms/Utils/VNCoercion.cpp
  484         T *ShVal = Helper.CreateShl(
  492       T *ShVal = Helper.CreateShl(Val, ConstantInt::get(Val->getType(), 1 * 8));
tools/clang/lib/CodeGen/CGBuiltin.cpp
  773     Mask = CGF.Builder.CreateShl(llvm::ConstantInt::get(CGF.Int8Ty, 1), PosLow,
 5621     return Builder.CreateShl(Builder.CreateBitCast(Ops[0],Ty), Ops[1],
 5631     return Builder.CreateShl(Ops[0], Ops[1], "vshll_n");
 6142     RtAndRt2 = Builder.CreateShl(Rt, ShiftCast, "shl", true);
 6177     Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */);
 7170     Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */);
 8065     return Builder.CreateShl(
 9941     LHS = CGF.Builder.CreateShl(LHS, ShiftAmt);
 9943     RHS = CGF.Builder.CreateShl(RHS, ShiftAmt);
12228       Res = Builder.CreateLShr(Builder.CreateShl(Val, Amt), 64);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 3655   return Builder.CreateShl(Ops.LHS, RHS, "shl");
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 8946   llvm::Value *ShiftedPreviousSize = MapperCGF.Builder.CreateShl(
unittests/IR/IRBuilderTest.cpp
  598                   Builder.CreateShl(V, V, "", /* NUW */ false, /* NSW */ true))
  608                   Builder.CreateShl(V, V, "", /* NUW */ true, /* NSW */ false))
  620                   Builder.CreateShl(C, C, "", /* NUW */ false, /* NSW */ true))
  630                   Builder.CreateShl(C, C, "", /* NUW */ true, /* NSW */ false))
unittests/IR/InstructionsTest.cpp
  640         B.CreateShl(Arg0, Arg0, "", /*HasNUW*/ true, /*HasNSW*/ true));
unittests/IR/PatternMatch.cpp
  802       IRB.CreateShl(L, R, "", /* NUW */ false, /* NSW */ true)));
  822       IRB.CreateShl(L, R, "", /* NUW */ true, /* NSW */ false)));
  835   EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateShl(L, R)));
  837       IRB.CreateShl(L, R, "", /* NUW */ true, /* NSW */ false)));
  849   EXPECT_FALSE(m_NUWShl(m_Value(), m_Value()).match(IRB.CreateShl(L, R)));
  851       IRB.CreateShl(L, R, "", /* NUW */ false, /* NSW */ true)));