/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 312 return ::isKnownNonZero(V, Depth, in isKnownNonZero() 2332 return isKnownNonZero(RP, Depth, Q); in isKnownNonZero() 2385 return isKnownNonZero(X, Depth, Q); in isKnownNonZero() 2398 return isKnownNonZero(X, Depth, Q); in isKnownNonZero() 2462 isKnownNonZero(Y, DemandedElts, Depth, Q)) in isKnownNonZero() 2502 if (isKnownNonZero(Op, Depth, Q) && in isKnownNonZero() 2644 return isKnownNonZero(Op, Depth + 1, Q); in isAddOfNonZero() 2656 isKnownNonZero(V1, Depth + 1, Q); in isNonEqualMul() 5490 static bool isKnownNonZero(const Value *V) { in isKnownNonZero() function 5857 !isKnownNonZero(CmpRHS)) in matchSelectPattern() [all …]
|
H A D | Loads.cpp | 86 if (!CheckForNonNull || isKnownNonZero(V, DL, 0, nullptr, CtxI, DT)) { in isDereferenceableAndAlignedPointer() 177 isKnownNonZero(V, DL, 0, nullptr, CtxI, DT) && !V->canBeFreed()) { in isDereferenceableAndAlignedPointer()
|
H A D | InstructionSimplify.cpp | 1478 isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck() 1482 isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck() 1500 isKnownNonZero(X, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck() 1506 isKnownNonZero(X, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck() 2435 llvm::isKnownNonZero(LHS, DL, 0, nullptr, nullptr, nullptr, in computePointerICmp() 2594 llvm::isKnownNonZero(RHS, DL, 0, nullptr, CxtI, DT)) in computePointerICmp() 2597 llvm::isKnownNonZero(LHS, DL, 0, nullptr, CxtI, DT)) in computePointerICmp() 2700 if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) in simplifyICmpWithZero() 2705 if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) in simplifyICmpWithZero() 2721 isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in simplifyICmpWithZero() [all …]
|
H A D | LazyValueInfo.cpp | 609 if (PT && isKnownNonZero(BBI, DL)) in solveBlockValueImpl() 1728 isKnownNonZero(V->stripPointerCastsSameRepresentation(), DL)) { in getPredicateAt()
|
H A D | DependenceAnalysis.cpp | 996 return SE->isKnownNonZero(Delta); in isKnownPredicate() 1228 bool DeltaMaybeZero = !SE->isKnownNonZero(Delta); in strongSIVtest() 3210 if (!SE->isKnownNonZero(Level.Distance)) // if may be zero in updateDirection()
|
H A D | BasicAliasAnalysis.cpp | 1206 if (isKnownNonZero(Var.V, DL, 0, &AC, Var.CxtI, DT)) in aliasGEP()
|
H A D | ScalarEvolution.cpp | 9564 bool ScalarEvolution::isKnownNonZero(const SCEV *S) { in isKnownNonZero() function in ScalarEvolution 9886 isKnownNonZero(getMinusSCEV(LHS, RHS)); in isKnownPredicateViaConstantRanges()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | PromoteMemoryToRegister.cpp | 408 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in rewriteSingleStoreAlloca() 505 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in promoteSingleBlockAlloca() 962 !isKnownNonZero(V, SQ.DL, 0, AC, LI, &DT)) in RenamePass()
|
H A D | SimplifyLibCalls.cpp | 187 } else if (isKnownNonZero(Size, DL)) { in annotateNonNullAndDereferenceable() 251 if (isKnownNonZero(Size, DL)) in optimizeStrNCat() 422 if (isKnownNonZero(Size, DL)) in optimizeStrNCmp() 555 if (isKnownNonZero(Size, DL)) in optimizeStrNCpy() 859 if (isKnownNonZero(CI->getOperand(2), DL)) in optimizeMemRChr() 2666 if (isKnownNonZero(CI->getOperand(1), DL)) in optimizeSnPrintF()
|
H A D | ScalarEvolutionExpander.cpp | 913 /*IsSafeToHoist*/ SE.isKnownNonZero(S->getRHS())); in visitUDivExpr()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 133 bool isKnownNonZero(const Value *V, const DataLayout &DL, unsigned Depth = 0,
|
H A D | ScalarEvolution.h | 894 bool isKnownNonZero(const SCEV *S);
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 501 isKnownNonZero(Op0, IC.getDataLayout(), 0, &IC.getAssumptionCache(), &II, in foldCttzCtlz() 2163 isKnownNonZero(Call.getOperand(1), DL, 0, &AC, &Call, &DT)) { in annotateAnyAllocSite() 2218 isKnownNonZero(V, DL, 0, &AC, &Call, &DT)) in visitCallBase() 2395 isKnownNonZero(DerivedPtr, DL, 0, &AC, &Call, &DT)) { in visitCallBase()
|
H A D | InstCombinePHI.cpp | 1380 if (isKnownNonZero(VA, DL, 0, &AC, CtxI, &DT)) { in visitPHINode()
|
H A D | InstCombineCompares.cpp | 3981 isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in foldICmpBinOp() 3985 isKnownNonZero(D, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in foldICmpBinOp()
|
H A D | InstCombineAndOrXor.cpp | 1004 return isKnownNonZero(V, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT); in foldUnsignedUnderflowCheck()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | FunctionAttrs.cpp | 998 if (isKnownNonZero(RetVal, DL)) in isReturnNonNull()
|
H A D | AttributorAttributes.cpp | 1759 if (!isKnownNonZero(&V, DL, 0, AC, CtxI, DT)) in updateImpl()
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 3744 bool provablyNonNull = llvm::isKnownNonZero(srcAddr.getPointer(), in emitWriteback() 3884 bool provablyNonNull = llvm::isKnownNonZero(srcAddr.getPointer(), in emitWritebackArg()
|