Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/unittests/VMCore/
DConstantsTest.cpp52 EXPECT_EQ(Undef, ConstantExpr::getShl(One, One)); in TEST()
56 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantsTest.cpp59 EXPECT_EQ(Undef, ConstantExpr::getShl(One, One)); in TEST()
63 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero)); in TEST()
254 CHECK(ConstantExpr::getShl(P0, P0), "shl i32 " P0STR ", " P0STR); in TEST()
255 CHECK(ConstantExpr::getShl(P0, P0, true), "shl nuw i32 " P0STR ", " P0STR); in TEST()
256 CHECK(ConstantExpr::getShl(P0, P0, false, true), "shl nsw i32 " P0STR ", " in TEST()
/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/lib/Transforms/InstCombine/
DInstCombineShifts.cpp348 ConstantExpr::getShl(BOOp, Op1)); in FoldShiftByConstant()
439 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant()
471 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant()
662 return BinaryOperator::CreateShl(ConstantExpr::getShl(C1, C2), A); in visitShl()
DInstCombineMulDivRem.cpp119 ConstantExpr::getShl(CI, ShOp)); in visitMul()
DInstCombineAddSub.cpp640 C = ConstantExpr::getSub(One, ConstantExpr::getShl(One, CI)); in visitSub()
DInstCombineCompares.cpp1150 NewCst = ConstantExpr::getShl(RHS, ShAmt); in visitICmpInstWithInstAndIntCst()
1171 NewAndCST = ConstantExpr::getShl(AndCST, ShAmt); in visitICmpInstWithInstAndIntCst()
1255 ConstantExpr::getShl(ConstantExpr::getLShr(RHS, ShAmt), in visitICmpInstWithInstAndIntCst()
/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()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstants.h647 static Constant *getShl(Constant *C1, Constant *C2,
685 return getShl(C1, C2, false, true);
688 return getShl(C1, C2, true, false);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp462 Value *XM = Builder.CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant()
496 Value *XM = Builder.CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant()
685 return BinaryOperator::CreateShl(ConstantExpr::getShl(C2, C1), X); in visitShl()
689 return BinaryOperator::CreateMul(X, ConstantExpr::getShl(C2, C1)); in visitShl()
DInstCombineVectorOps.cpp1167 Constant *ShlOne = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C); in getAlternateBinop()
DInstCombineMulDivRem.cpp160 Constant *Shl = ConstantExpr::getShl(C1, C2); in visitMul()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstants.h946 static Constant *getShl(Constant *C1, Constant *C2,
998 return getShl(C1, C2, false, true);
1002 return getShl(C1, C2, true, false);
DConstantFolder.h91 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW);
/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/include/llvm/Support/
DConstantFolder.h77 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW);
DTargetFolder.h91 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h90 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
/external/llvm/include/llvm/Analysis/
DTargetFolder.h91 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DReassociate.cpp529 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp142 Src = ConstantExpr::getShl(Src, in FoldBitCast()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp931 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul()

12