Home
last modified time | relevance | path

Searched refs:AddOne (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h202 static Constant *AddOne(Constant *C) { in AddOne() function
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp876 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 DInstCombineSelect.cpp1313 C0 = InstCombiner::AddOne(C0); in canonicalizeClampLike()
1373 C2 = InstCombiner::AddOne(C2); in canonicalizeClampLike()
/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp1984 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 DScalarEvolution.cpp2756 const SCEV *AddOne = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() local
2757 const SCEV *OuterMul = getMulExpr(AddOne, MulOpSCEV, in getAddExpr()