Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DConstantsTest.cpp58 EXPECT_EQ(Undef, ConstantExpr::getShl(One, One)); in TEST()
62 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero)); in TEST()
229 CHECK(ConstantExpr::getShl(P0, P0), "shl i32 " P0STR ", " P0STR); in TEST()
230 CHECK(ConstantExpr::getShl(P0, P0, true), "shl nuw i32 " P0STR ", " P0STR); in TEST()
231 CHECK(ConstantExpr::getShl(P0, P0, false, true), "shl nsw i32 " P0STR ", " in TEST()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp359 ConstantExpr::getShl(BOOp, Op1)); in FoldShiftByConstant()
453 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant()
487 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant()
732 return BinaryOperator::CreateShl(ConstantExpr::getShl(C1, C2), A); in visitShl()
DInstCombineCompares.cpp1392 cast<ConstantInt>(ConstantExpr::getShl(AndCst, ShAmt)); in visitICmpInstWithInstAndIntCst()
1394 cast<ConstantInt>(ConstantExpr::getShl(RHS, ShAmt)); in visitICmpInstWithInstAndIntCst()
1406 NewCst = ConstantExpr::getShl(RHS, ShAmt); in visitICmpInstWithInstAndIntCst()
1424 NewAndCst = ConstantExpr::getShl(AndCst, ShAmt); in visitICmpInstWithInstAndIntCst()
1672 ConstantExpr::getShl(ConstantExpr::getLShr(RHS, ShAmt), in visitICmpInstWithInstAndIntCst()
DInstCombineMulDivRem.cpp205 Constant *Shl = ConstantExpr::getShl(C1, C2); in visitMul()
DInstructionCombining.cpp442 RHS = ConstantExpr::getShl(ConstantInt::get(Op->getType(), 1), CST); in getBinOpsForFactorization()
/external/llvm/include/llvm/IR/
DConstants.h938 static Constant *getShl(Constant *C1, Constant *C2,
983 return getShl(C1, C2, false, true);
986 return getShl(C1, C2, true, false);
DConstantFolder.h77 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW);
/external/llvm/include/llvm/Analysis/
DTargetFolder.h91 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
/external/llvm/lib/Analysis/
DConstantFolding.cpp186 Src = ConstantExpr::getShl(Src, in FoldBitCast()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp1032 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul()
/external/llvm/lib/IR/
DConstants.cpp2264 Constant *ConstantExpr::getShl(Constant *C1, Constant *C2, in getShl() function in ConstantExpr
DCore.cpp1154 return wrap(ConstantExpr::getShl(unwrap<Constant>(LHSConstant), in LLVMConstShl()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli1080 See the method [llvm::ConstantExpr::getShl]. *)