| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantsTest.cpp | 59 EXPECT_EQ(Poison, ConstantExpr::getShl(One, One)); in TEST() 63 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero)); in TEST() 256 CHECK(ConstantExpr::getShl(P0, P0), "shl i32 " P0STR ", " P0STR); in TEST() 257 CHECK(ConstantExpr::getShl(P0, P0, true), "shl nuw i32 " P0STR ", " P0STR); in TEST() 258 CHECK(ConstantExpr::getShl(P0, P0, false, true), in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Constants.h | 1028 static Constant *getShl(Constant *C1, Constant *C2, bool HasNUW = false, 1080 return getShl(C1, C2, false, true); 1084 return getShl(C1, C2, true, false);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 252 ConstantExpr::getShl(ExtendedAllOnes, ExtendedSumOfShAmts); in dropRedundantMaskingOfLeftShiftInput() 1040 return BinaryOperator::CreateMul(X, ConstantExpr::getShl(C2, C1)); in visitShl() 1044 auto *NewC = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C1); in visitShl()
|
| H A D | InstCombineNegator.cpp | 389 ConstantExpr::getShl(Constant::getAllOnesValue(Op1C->getType()), Op1C), in visitImpl()
|
| H A D | InstCombineSimplifyDemanded.cpp | 576 Constant *NewC = ConstantExpr::getShl(C, LeftShiftAmtC); in SimplifyDemandedUseBits() 656 if (ConstantExpr::getShl(NewC, RightShiftAmtC) == C) { in SimplifyDemandedUseBits()
|
| H A D | InstCombineCasts.cpp | 851 Constant *MaskC = ConstantExpr::getShl(One, C); in visitTrunc() 859 Constant *MaskC = ConstantExpr::getShl(One, C); in visitTrunc()
|
| H A D | InstCombineMulDivRem.cpp | 179 Constant *Shl = ConstantExpr::getShl(C1, C2); in visitMul()
|
| H A D | InstCombineVectorOps.cpp | 1937 Constant *ShlOne = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C); in getAlternateBinop()
|
| H A D | InstructionCombining.cpp | 625 RHS = ConstantExpr::getShl(ConstantInt::get(Op->getType(), 1), C); in getBinOpsForFactorization()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 1092 MulCst = ConstantExpr::getShl(MulCst, SA); in ConvertShiftToMul()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 233 Src = ConstantExpr::getShl(Src, in FoldBitCast()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Constants.cpp | 2702 Constant *ConstantExpr::getShl(Constant *C1, Constant *C2, in getShl() function in ConstantExpr
|
| H A D | Core.cpp | 1641 return wrap(ConstantExpr::getShl(unwrap<Constant>(LHSConstant), in LLVMConstShl()
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/llvm/ |
| H A D | llvm.mli | 1157 See the method [llvm::ConstantExpr::getShl]. *)
|