/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 59 EXPECT_EQ(Undef, ConstantExpr::getShl(One, One)); in TEST() 63 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero)); in TEST() 253 CHECK(ConstantExpr::getShl(P0, P0), "shl i32 " P0STR ", " P0STR); in TEST() 254 CHECK(ConstantExpr::getShl(P0, P0, true), "shl nuw i32 " P0STR ", " P0STR); in TEST() 255 CHECK(ConstantExpr::getShl(P0, P0, false, true), "shl nsw i32 " P0STR ", " in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 246 ConstantExpr::getShl(ExtendedAllOnes, ExtendedSumOfShAmts); in dropRedundantMaskingOfLeftShiftInput() 797 Value *XM = Builder.CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant() 831 Value *XM = Builder.CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant() 1025 return BinaryOperator::CreateShl(ConstantExpr::getShl(C2, C1), X); in visitShl() 1029 return BinaryOperator::CreateMul(X, ConstantExpr::getShl(C2, C1)); in visitShl() 1033 auto *NewC = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C1); in visitShl()
|
D | InstCombineMulDivRem.cpp | 203 Constant *Shl = ConstantExpr::getShl(C1, C2); in visitMul()
|
D | InstCombineVectorOps.cpp | 1437 Constant *ShlOne = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C); in getAlternateBinop()
|
D | InstructionCombining.cpp | 546 RHS = ConstantExpr::getShl(ConstantInt::get(Op->getType(), 1), C); in getBinOpsForFactorization()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 360 ConstantExpr::getShl(BOOp, Op1)); in FoldShiftByConstant() 454 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant() 488 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant() 733 return BinaryOperator::CreateShl(ConstantExpr::getShl(C1, C2), A); in visitShl()
|
D | InstCombineCompares.cpp | 1717 cast<ConstantInt>(ConstantExpr::getShl(AndCst, ShAmt)); in visitICmpInstWithInstAndIntCst() 1719 cast<ConstantInt>(ConstantExpr::getShl(RHS, ShAmt)); in visitICmpInstWithInstAndIntCst() 1731 NewCst = ConstantExpr::getShl(RHS, ShAmt); in visitICmpInstWithInstAndIntCst() 1749 NewAndCst = ConstantExpr::getShl(AndCst, ShAmt); in visitICmpInstWithInstAndIntCst() 1997 ConstantExpr::getShl(ConstantExpr::getLShr(RHS, ShAmt), in visitICmpInstWithInstAndIntCst()
|
D | InstCombineMulDivRem.cpp | 205 Constant *Shl = ConstantExpr::getShl(C1, C2); in visitMul()
|
D | InstructionCombining.cpp | 438 RHS = ConstantExpr::getShl(ConstantInt::get(Op->getType(), 1), CST); in getBinOpsForFactorization()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 896 static Constant *getShl(Constant *C1, Constant *C2, 941 return getShl(C1, C2, false, true); 944 return getShl(C1, C2, true, false);
|
D | ConstantFolder.h | 77 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Constants.h | 950 static Constant *getShl(Constant *C1, Constant *C2, 1002 return getShl(C1, C2, false, true); 1006 return getShl(C1, C2, true, false);
|
D | ConstantFolder.h | 90 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 89 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 91 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 931 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 191 Src = ConstantExpr::getShl(Src, in FoldBitCast()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 978 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 228 Src = ConstantExpr::getShl(Src, in FoldBitCast()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 2203 Constant *ConstantExpr::getShl(Constant *C1, Constant *C2, in getShl() function in ConstantExpr
|
D | Core.cpp | 1241 return wrap(ConstantExpr::getShl(unwrap<Constant>(LHSConstant), in LLVMConstShl()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Constants.cpp | 2389 Constant *ConstantExpr::getShl(Constant *C1, Constant *C2, in getShl() function in ConstantExpr
|
D | Core.cpp | 1626 return wrap(ConstantExpr::getShl(unwrap<Constant>(LHSConstant), in LLVMConstShl()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 1110 See the method [llvm::ConstantExpr::getShl]. *)
|