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

Declarations

include/llvm/IR/Constants.h
  951   static Constant *getLShr(Constant *C1, Constant *C2, bool isExact = false);

References

include/llvm/Analysis/TargetFolder.h
   92     return Fold(ConstantExpr::getLShr(LHS, RHS, isExact));
include/llvm/IR/ConstantFolder.h
   95     return ConstantExpr::getLShr(LHS, RHS, isExact);
include/llvm/IR/Constants.h
 1021     return getLShr(C1, C2, true);
lib/Analysis/ConstantFolding.cpp
  263       Constant *Elt = ConstantExpr::getLShr(Src,
lib/IR/ConstantFold.cpp
  337         Res = ConstantExpr::getLShr(Res,
 1210           return ConstantExpr::getLShr(C1, C2);
lib/IR/Core.cpp
 1631   return wrap(ConstantExpr::getLShr(unwrap<Constant>(LHSConstant),
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1947       Constant *Piece = ConstantExpr::getLShr(C, ConstantInt::get(C->getType(),
lib/Transforms/InstCombine/InstCombineShifts.cpp
  256         ConstantExpr::getLShr(ExtendedAllOnes, ExtendedNumHighBitsToClear);
unittests/IR/ConstantsTest.cpp
   66   EXPECT_EQ(Undef, ConstantExpr::getLShr(One, One));
  257   CHECK(ConstantExpr::getLShr(P0, P0, false), "lshr i32 " P0STR ", " P0STR);
  258   CHECK(ConstantExpr::getLShr(P0, P0, true), "lshr exact i32 " P0STR ", " P0STR);