Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dstats_unittest.cc39 TEST_F(StatsTest, AddOne) { in TEST_F() argument
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp23 static Constant *AddOne(Constant *C) { in AddOne() function
112 return SelectInst::Create(ZI->getOperand(0), AddOne(CI), CI); in visitAdd()
178 return BinaryOperator::CreateMul(RHS, AddOne(C2)); in visitAdd()
188 return BinaryOperator::CreateMul(LHS, AddOne(C2)); in visitAdd()
559 return BinaryOperator::CreateAdd(X, AddOne(C)); in visitSub()
DInstCombineAndOrXor.cpp24 static Constant *AddOne(Constant *C) { in AddOne() function
927 if (RHSCst == AddOne(LHSCst)) // (X u> 13 & X != 14) -> X u> 14 in FoldAndOfICmps()
931 return InsertRangeTest(Val, AddOne(LHSCst), RHSCst, false, true); in FoldAndOfICmps()
945 if (RHSCst == AddOne(LHSCst)) // (X s> 13 & X != 14) -> X s> 14 in FoldAndOfICmps()
949 return InsertRangeTest(Val, AddOne(LHSCst), RHSCst, true, true); in FoldAndOfICmps()
1564 AddCST = ConstantExpr::getSub(AddOne(RHSCst), LHSCst); in FoldOrOfICmps()
1600 return InsertRangeTest(Val, LHSCst, AddOne(RHSCst), false, false); in FoldOrOfICmps()
1620 return InsertRangeTest(Val, LHSCst, AddOne(RHSCst), true, false); in FoldOrOfICmps()
DInstCombineCompares.cpp31 static Constant *AddOne(Constant *C) { in AddOne() function
822 HiBound = AddOne(Prod); in FoldICmpDivCst()
834 LoBound = AddOne(RangeSize); in FoldICmpDivCst()
842 HiBound = AddOne(Prod); in FoldICmpDivCst()
1046 AddOne(RHS)); in visitICmpInstWithInstAndIntCst()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp939 return SelectInst::Create(X, AddOne(Op1C), Op1); in foldAddWithConstant()
1640 return SelectInst::Create(X, AddOne(C), C); in visitSub()
1645 return BinaryOperator::CreateAdd(X, AddOne(C)); in visitSub()
DInstCombineInternal.h126 static inline Constant *AddOne(Constant *C) { in AddOne() function
DInstCombineAndOrXor.cpp1060 if (RHSC == AddOne(LHSC)) // (X u> 13 & X != 14) -> X u> 14 in foldAndOfICmps()
1073 if (RHSC == AddOne(LHSC)) // (X s> 13 & X != 14) -> X s> 14 in foldAndOfICmps()
/external/tensorflow/tensorflow/python/framework/
Dfunction_test.py1084 def AddOne(x): function
1088 f_0 = AddOne(41.0)
1091 f_1 = AddOne(43.0)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAutoUpgrade.cpp2770 Value *AddOne = Builder.CreateAdd(Sum, ConstantInt::get(ZextType, 1)); in UpgradeIntrinsicCall() local
2771 Value *ShiftR = Builder.CreateLShr(AddOne, ConstantInt::get(ZextType, 1)); in UpgradeIntrinsicCall()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp1661 const SCEV *AddOne = getAddExpr(One, InnerMul); in getAddExpr() local
1662 const SCEV *OuterMul = getMulExpr(AddOne, MulOpSCEV); in getAddExpr()
/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-7.0/llvm/lib/Analysis/
DScalarEvolution.cpp2593 const SCEV *AddOne = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() local
2594 const SCEV *OuterMul = getMulExpr(AddOne, MulOpSCEV, in getAddExpr()