| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| ValueTracking.cpp | 304 static bool isKnownNonZero(const Value *V, const APInt &DemandedElts, 307 static bool isKnownNonZero(const Value *V, unsigned Depth, const Query &Q); 309 bool llvm::isKnownNonZero(const Value *V, const DataLayout &DL, unsigned Depth, 312 return ::isKnownNonZero(V, Depth, 334 isKnownNonZero(V, DL, Depth, AC, CxtI, DT, UseInstrInfo); 690 // isKnownNonZero which calls computeKnownBitsFromAssume (this function) 1010 isKnownNonZero(I->getOperand(1), DemandedElts, Depth + 1, Q); 1026 // call to isKnownNonZero if the cheaper checks above fail. 1030 isKnownNonZero(I->getOperand(1), DemandedElts, Depth + 1, Q); 2048 if (isKnownNonZero(GEP->getPointerOperand(), Depth, Q) [all...] |
| Loads.cpp | 86 if (!CheckForNonNull || isKnownNonZero(V, DL, 0, nullptr, CtxI, DT)) { 177 isKnownNonZero(V, DL, 0, nullptr, CtxI, DT) && !V->canBeFreed()) {
|
| InstructionSimplify.cpp | 1478 isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) 1482 isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) 1500 isKnownNonZero(X, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) 1506 isKnownNonZero(X, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) 2435 llvm::isKnownNonZero(LHS, DL, 0, nullptr, nullptr, nullptr, 2594 llvm::isKnownNonZero(RHS, DL, 0, nullptr, CxtI, DT)) 2597 llvm::isKnownNonZero(LHS, DL, 0, nullptr, CxtI, DT)) 2700 if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) 2705 if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) 2721 isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT) [all...] |
| LazyValueInfo.cpp | 604 // isKnownNonZero gets most of the profitable cases at much less expense. 609 if (PT && isKnownNonZero(BBI, DL)) 1722 // isKnownNonZero can tell us the result of the predicate, we can 1728 isKnownNonZero(V->stripPointerCastsSameRepresentation(), DL)) {
|
| DependenceAnalysis.cpp | 996 return SE->isKnownNonZero(Delta); 1228 bool DeltaMaybeZero = !SE->isKnownNonZero(Delta); 1234 // It helps to read !SE->isKnownNonZero(Delta) 3210 if (!SE->isKnownNonZero(Level.Distance)) // if may be zero
|
| BasicAliasAnalysis.cpp | 1206 if (isKnownNonZero(Var.V, DL, 0, &AC, Var.CxtI, DT))
|
| ScalarEvolution.cpp | 9564 bool ScalarEvolution::isKnownNonZero(const SCEV *S) { 9886 isKnownNonZero(getMinusSCEV(LHS, RHS));
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| PromoteMemoryToRegister.cpp | 408 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) 505 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) 962 !isKnownNonZero(V, SQ.DL, 0, AC, LI, &DT))
|
| SimplifyLibCalls.cpp | 187 } else if (isKnownNonZero(Size, DL)) { 251 if (isKnownNonZero(Size, DL)) 422 if (isKnownNonZero(Size, DL)) 555 if (isKnownNonZero(Size, DL)) 859 if (isKnownNonZero(CI->getOperand(2), DL)) 2666 if (isKnownNonZero(CI->getOperand(1), DL))
|
| ScalarEvolutionExpander.cpp | 913 /*IsSafeToHoist*/ SE.isKnownNonZero(S->getRHS())); 2663 // ValueTracking to check isKnownNonZero().
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| ValueTracking.h | 133 bool isKnownNonZero(const Value *V, const DataLayout &DL, unsigned Depth = 0,
|
| ScalarEvolution.h | 894 bool isKnownNonZero(const SCEV *S);
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| InstCombineCalls.cpp | 501 isKnownNonZero(Op0, IC.getDataLayout(), 0, &IC.getAssumptionCache(), &II, 2163 isKnownNonZero(Call.getOperand(1), DL, 0, &AC, &Call, &DT)) { 2218 isKnownNonZero(V, DL, 0, &AC, &Call, &DT)) 2395 isKnownNonZero(DerivedPtr, DL, 0, &AC, &Call, &DT)) {
|
| InstCombinePHI.cpp | 1380 if (isKnownNonZero(VA, DL, 0, &AC, CtxI, &DT)) {
|
| InstCombineCompares.cpp | 3981 isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) 3985 isKnownNonZero(D, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT))
|
| InstCombineAndOrXor.cpp | 1003 auto IsKnownNonZero = [&](Value *V) { 1004 return isKnownNonZero(V, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT); 1015 if (!IsKnownNonZero(NonZero)) 1017 return IsKnownNonZero(NonZero);
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| FunctionAttrs.cpp | 998 if (isKnownNonZero(RetVal, DL))
|
| AttributorAttributes.cpp | 1759 if (!isKnownNonZero(&V, DL, 0, AC, CtxI, DT))
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGCall.cpp | 3744 bool provablyNonNull = llvm::isKnownNonZero(srcAddr.getPointer(), 3884 bool provablyNonNull = llvm::isKnownNonZero(srcAddr.getPointer(),
|