Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp1140 auto *AddOne = dyn_cast<Instruction>(CLI->getTripCount()); in TEST_F() local
1141 ASSERT_NE(AddOne, nullptr); in TEST_F()
1142 ASSERT_TRUE(AddOne->isBinaryOp()); in TEST_F()
1143 auto *One = dyn_cast<ConstantInt>(AddOne->getOperand(1)); in TEST_F()
1146 auto *Difference = dyn_cast<Instruction>(AddOne->getOperand(0)); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1004 return InsertRangeTest(Val, AddOne(LHSCst), RHSCst, false, true); in FoldAndOfICmps()
1064 if (RHSCst == AddOne(LHSCst)) // (X u> 13 & X != 14) -> X u> 14 in FoldAndOfICmps()
1068 return InsertRangeTest(Val, AddOne(LHSCst), RHSCst, false, true); in FoldAndOfICmps()
1082 if (RHSCst == AddOne(LHSCst)) // (X s> 13 & X != 14) -> X s> 14 in FoldAndOfICmps()
1086 return InsertRangeTest(Val, AddOne(LHSCst), RHSCst, true, true); in FoldAndOfICmps()
1910 AddCST = ConstantExpr::getSub(AddOne(RHSCst), LHSCst); in FoldOrOfICmps()
1946 return InsertRangeTest(Val, LHSCst, AddOne(RHSCst), false, false); in FoldOrOfICmps()
1966 return InsertRangeTest(Val, LHSCst, AddOne(RHSCst), true, false); in FoldOrOfICmps()
DInstCombineInternal.h65 static inline Constant *AddOne(Constant *C) { in AddOne() function
DInstCombineAddSub.cpp1059 return SelectInst::Create(ZI->getOperand(0), AddOne(CI), CI); in visitAdd()
1514 return BinaryOperator::CreateAdd(X, AddOne(C)); in visitSub()
DInstCombineCompares.cpp1262 HiBound = AddOne(Prod); in FoldICmpDivCst()
1274 LoBound = AddOne(RangeSize); in FoldICmpDivCst()
1282 HiBound = AddOne(Prod); in FoldICmpDivCst()
1599 AddOne(RHS)); in visitICmpInstWithInstAndIntCst()
/external/llvm-project/llvm/include/llvm/Transforms/InstCombine/
DInstCombiner.h200 static Constant *AddOne(Constant *C) { in AddOne() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp892 return SelectInst::Create(X, AddOne(Op1C), Op1); in foldAddWithConstant()
1751 return SelectInst::Create(X, AddOne(C), C); in visitSub()
1756 return BinaryOperator::CreateAdd(X, AddOne(C)); in visitSub()
DInstCombineInternal.h171 static inline Constant *AddOne(Constant *C) { in AddOne() function
DInstCombineSelect.cpp1224 C0 = AddOne(C0); in canonicalizeClampLike()
1284 C2 = AddOne(C2); in canonicalizeClampLike()
DInstCombineAndOrXor.cpp3071 return BinaryOperator::CreateSub(ConstantExpr::getNeg(AddOne(C)), X); in visitXor()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp889 return SelectInst::Create(X, InstCombiner::AddOne(Op1C), Op1); in foldAddWithConstant()
1824 return SelectInst::Create(X, InstCombiner::AddOne(C), C); in visitSub()
1828 return BinaryOperator::CreateAdd(X, InstCombiner::AddOne(C)); in visitSub()
DInstCombineSelect.cpp1275 C0 = InstCombiner::AddOne(C0); in canonicalizeClampLike()
1335 C2 = InstCombiner::AddOne(C2); in canonicalizeClampLike()
DInstCombineAndOrXor.cpp3196 return BinaryOperator::CreateSub(ConstantExpr::getNeg(AddOne(C)), X); in visitXor()
/external/tensorflow/tensorflow/python/framework/
Dfunction_test.py1075 def AddOne(x): function
1079 f_0 = AddOne(41.0)
1082 f_1 = AddOne(43.0)
/external/llvm/lib/Analysis/
DScalarEvolution.cpp2226 const SCEV *AddOne = getAddExpr(One, InnerMul); in getAddExpr() local
2227 const SCEV *OuterMul = getMulExpr(AddOne, MulOpSCEV); in getAddExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp2638 const SCEV *AddOne = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() local
2639 const SCEV *OuterMul = getMulExpr(AddOne, MulOpSCEV, in getAddExpr()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp2513 const SCEV *AddOne = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() local
2514 const SCEV *OuterMul = getMulExpr(AddOne, MulOpSCEV, in getAddExpr()