Home
last modified time | relevance | path

Searched refs:getShl (Results 1 – 24 of 24) sorted by relevance

/external/llvm/unittests/IR/
DConstantsTest.cpp59 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/
DInstCombineShifts.cpp246 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()
DInstCombineMulDivRem.cpp203 Constant *Shl = ConstantExpr::getShl(C1, C2); in visitMul()
DInstCombineVectorOps.cpp1437 Constant *ShlOne = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C); in getAlternateBinop()
DInstructionCombining.cpp546 RHS = ConstantExpr::getShl(ConstantInt::get(Op->getType(), 1), C); in getBinOpsForFactorization()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp360 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()
DInstCombineCompares.cpp1717 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()
DInstCombineMulDivRem.cpp205 Constant *Shl = ConstantExpr::getShl(C1, C2); in visitMul()
DInstructionCombining.cpp438 RHS = ConstantExpr::getShl(ConstantInt::get(Op->getType(), 1), CST); in getBinOpsForFactorization()
/external/llvm/include/llvm/IR/
DConstants.h896 static Constant *getShl(Constant *C1, Constant *C2,
941 return getShl(C1, C2, false, true);
944 return getShl(C1, C2, true, false);
DConstantFolder.h77 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h950 static Constant *getShl(Constant *C1, Constant *C2,
1002 return getShl(C1, C2, false, true);
1006 return getShl(C1, C2, true, false);
DConstantFolder.h90 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h89 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
/external/llvm/include/llvm/Analysis/
DTargetFolder.h91 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp931 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul()
/external/llvm/lib/Analysis/
DConstantFolding.cpp191 Src = ConstantExpr::getShl(Src, in FoldBitCast()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp978 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp228 Src = ConstantExpr::getShl(Src, in FoldBitCast()
/external/llvm/lib/IR/
DConstants.cpp2203 Constant *ConstantExpr::getShl(Constant *C1, Constant *C2, in getShl() function in ConstantExpr
DCore.cpp1241 return wrap(ConstantExpr::getShl(unwrap<Constant>(LHSConstant), in LLVMConstShl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp2389 Constant *ConstantExpr::getShl(Constant *C1, Constant *C2, in getShl() function in ConstantExpr
DCore.cpp1626 return wrap(ConstantExpr::getShl(unwrap<Constant>(LHSConstant), in LLVMConstShl()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli1110 See the method [llvm::ConstantExpr::getShl]. *)