Home
last modified time | relevance | path

Searched refs:getShl (Results 1 – 25 of 27) 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/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()
DInstructionCombining.cpp438 RHS = ConstantExpr::getShl(ConstantInt::get(Op->getType(), 1), CST); in getBinOpsForFactorization()
/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/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/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()
/external/llvm/lib/Analysis/
DConstantFolding.cpp191 Src = ConstantExpr::getShl(Src, in FoldBitCast()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp1851 Constant *ConstantExpr::getShl(Constant *C1, Constant *C2, in getShl() function in ConstantExpr
DCore.cpp849 return wrap(ConstantExpr::getShl(unwrap<Constant>(LHSConstant), in LLVMConstShl()
DConstantFold.cpp1406 Res.push_back(ConstantExpr::getShl(C1, C2)); in ConstantFoldBinaryInstruction()
/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()

12