Searched refs:AddOne (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 202 static Constant *AddOne(Constant *C) { in AddOne() function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 876 return SelectInst::Create(X, InstCombiner::AddOne(Op1C), Op1); in foldAddWithConstant() 1946 return SelectInst::Create(X, InstCombiner::AddOne(C), C); in visitSub() 1950 return BinaryOperator::CreateAdd(X, InstCombiner::AddOne(C)); in visitSub()
|
| H A D | InstCombineSelect.cpp | 1313 C0 = InstCombiner::AddOne(C0); in canonicalizeClampLike() 1373 C2 = InstCombiner::AddOne(C2); in canonicalizeClampLike()
|
| /llvm-project-15.0.7/llvm/unittests/Frontend/ |
| H A D | OpenMPIRBuilderTest.cpp | 1984 auto *AddOne = dyn_cast<Instruction>(TripCount); in TEST_F() local 1985 ASSERT_NE(AddOne, nullptr); in TEST_F() 1986 ASSERT_TRUE(AddOne->isBinaryOp()); in TEST_F() 1987 auto *One = dyn_cast<ConstantInt>(AddOne->getOperand(1)); in TEST_F() 1990 auto *Difference = dyn_cast<Instruction>(AddOne->getOperand(0)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 2756 const SCEV *AddOne = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() local 2757 const SCEV *OuterMul = getMulExpr(AddOne, MulOpSCEV, in getAddExpr()
|