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

Declarations

include/llvm/IR/Constants.h
  949   static Constant *getShl(Constant *C1, Constant *C2,

References

include/llvm/Analysis/TargetFolder.h
   89     return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
include/llvm/IR/ConstantFolder.h
   90     return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW);
include/llvm/IR/Constants.h
 1001     return getShl(C1, C2, false, true);
 1005     return getShl(C1, C2, true, false);
lib/Analysis/ConstantFolding.cpp
  226         Src = ConstantExpr::getShl(Src,
lib/IR/Core.cpp
 1626   return wrap(ConstantExpr::getShl(unwrap<Constant>(LHSConstant),
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  203       Constant *Shl = ConstantExpr::getShl(C1, C2);
lib/Transforms/InstCombine/InstCombineShifts.cpp
  226         ConstantExpr::getShl(ExtendedAllOnes, ExtendedSumOfShAmts);
  717           Value *XM = Builder.CreateAnd(V1, ConstantExpr::getShl(CC, Op1),
  751           Value *XM = Builder.CreateAnd(V1, ConstantExpr::getShl(CC, Op1),
  945       return BinaryOperator::CreateShl(ConstantExpr::getShl(C2, C1), X);
  949       return BinaryOperator::CreateMul(X, ConstantExpr::getShl(C2, C1));
  953       auto *NewC = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C1);
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1451         Constant *ShlOne = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C);
lib/Transforms/InstCombine/InstructionCombining.cpp
  531       RHS = ConstantExpr::getShl(ConstantInt::get(Op->getType(), 1), C);
lib/Transforms/Scalar/Reassociate.cpp
  977   MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1)));
unittests/IR/ConstantsTest.cpp
   58   EXPECT_EQ(Undef, ConstantExpr::getShl(One, One));
   62   EXPECT_EQ(One, ConstantExpr::getShl(One, Zero));
  253   CHECK(ConstantExpr::getShl(P0, P0), "shl i32 " P0STR ", " P0STR);
  254   CHECK(ConstantExpr::getShl(P0, P0, true), "shl nuw i32 " P0STR ", " P0STR);
  255   CHECK(ConstantExpr::getShl(P0, P0, false, true), "shl nsw i32 " P0STR ", "