Searched refs:getShl (Results 1 – 13 of 13) sorted by relevance
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 58 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/ |
D | InstCombineShifts.cpp | 359 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()
|
D | InstCombineCompares.cpp | 1392 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()
|
D | InstCombineMulDivRem.cpp | 205 Constant *Shl = ConstantExpr::getShl(C1, C2); in visitMul()
|
D | InstructionCombining.cpp | 442 RHS = ConstantExpr::getShl(ConstantInt::get(Op->getType(), 1), CST); in getBinOpsForFactorization()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 938 static Constant *getShl(Constant *C1, Constant *C2, 983 return getShl(C1, C2, false, true); 986 return getShl(C1, C2, true, false);
|
D | ConstantFolder.h | 77 return 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/Analysis/ |
D | ConstantFolding.cpp | 186 Src = ConstantExpr::getShl(Src, in FoldBitCast()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 1032 MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1))); in ConvertShiftToMul()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 2264 Constant *ConstantExpr::getShl(Constant *C1, Constant *C2, in getShl() function in ConstantExpr
|
D | Core.cpp | 1154 return wrap(ConstantExpr::getShl(unwrap<Constant>(LHSConstant), in LLVMConstShl()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 1080 See the method [llvm::ConstantExpr::getShl]. *)
|