/external/llvm-project/llvm/unittests/Frontend/ |
D | OpenMPIRBuilderTest.cpp | 1140 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/ |
D | InstCombineAndOrXor.cpp | 1004 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()
|
D | InstCombineInternal.h | 65 static inline Constant *AddOne(Constant *C) { in AddOne() function
|
D | InstCombineAddSub.cpp | 1059 return SelectInst::Create(ZI->getOperand(0), AddOne(CI), CI); in visitAdd() 1514 return BinaryOperator::CreateAdd(X, AddOne(C)); in visitSub()
|
D | InstCombineCompares.cpp | 1262 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/ |
D | InstCombiner.h | 200 static Constant *AddOne(Constant *C) { in AddOne() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 892 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()
|
D | InstCombineInternal.h | 171 static inline Constant *AddOne(Constant *C) { in AddOne() function
|
D | InstCombineSelect.cpp | 1224 C0 = AddOne(C0); in canonicalizeClampLike() 1284 C2 = AddOne(C2); in canonicalizeClampLike()
|
D | InstCombineAndOrXor.cpp | 3071 return BinaryOperator::CreateSub(ConstantExpr::getNeg(AddOne(C)), X); in visitXor()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 889 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()
|
D | InstCombineSelect.cpp | 1275 C0 = InstCombiner::AddOne(C0); in canonicalizeClampLike() 1335 C2 = InstCombiner::AddOne(C2); in canonicalizeClampLike()
|
D | InstCombineAndOrXor.cpp | 3196 return BinaryOperator::CreateSub(ConstantExpr::getNeg(AddOne(C)), X); in visitXor()
|
/external/tensorflow/tensorflow/python/framework/ |
D | function_test.py | 1075 def AddOne(x): function 1079 f_0 = AddOne(41.0) 1082 f_1 = AddOne(43.0)
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 2226 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/ |
D | ScalarEvolution.cpp | 2638 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/ |
D | ScalarEvolution.cpp | 2513 const SCEV *AddOne = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() local 2514 const SCEV *OuterMul = getMulExpr(AddOne, MulOpSCEV, in getAddExpr()
|