Home
last modified time | relevance | path

Searched refs:isKnownNonZero (Results 1 – 21 of 21) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp305 static bool isKnownNonZero(const Value *V, const APInt &DemandedElts,
308 static bool isKnownNonZero(const Value *V, unsigned Depth, const Query &Q);
310 bool llvm::isKnownNonZero(const Value *V, const DataLayout &DL, unsigned Depth, in isKnownNonZero() function in llvm
313 return ::isKnownNonZero(V, Depth, in isKnownNonZero()
335 isKnownNonZero(V, DL, Depth, AC, CxtI, DT, UseInstrInfo); in isKnownPositive()
1011 isKnownNonZero(I->getOperand(1), DemandedElts, Depth + 1, Q); in computeKnownBitsFromShiftOperator()
1031 isKnownNonZero(I->getOperand(1), DemandedElts, Depth + 1, Q); in computeKnownBitsFromShiftOperator()
2090 if (isKnownNonZero(GEP->getPointerOperand(), Depth, Q)) in isGEPKnownNonNull()
2129 if (isKnownNonZero(GTI.getOperand(), Depth, Q)) in isGEPKnownNonNull()
2280 bool isKnownNonZero(const Value *V, const APInt &DemandedElts, unsigned Depth, in isKnownNonZero() function
[all …]
DLoads.cpp86 if (!CheckForNonNull || isKnownNonZero(V, DL, 0, nullptr, CtxI, DT)) { in isDereferenceableAndAlignedPointer()
177 isKnownNonZero(V, DL, 0, nullptr, CtxI, DT) && !V->canBeFreed()) { in isDereferenceableAndAlignedPointer()
DInstructionSimplify.cpp1506 isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck()
1510 isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck()
1528 isKnownNonZero(X, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck()
1534 isKnownNonZero(X, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck()
2471 llvm::isKnownNonZero(LHS, DL, 0, nullptr, nullptr, nullptr, in computePointerICmp()
2630 llvm::isKnownNonZero(RHS, DL, 0, nullptr, CxtI, DT)) in computePointerICmp()
2633 llvm::isKnownNonZero(LHS, DL, 0, nullptr, CxtI, DT)) in computePointerICmp()
2736 if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) in simplifyICmpWithZero()
2741 if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) in simplifyICmpWithZero()
2757 isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in simplifyICmpWithZero()
[all …]
DLazyValueInfo.cpp609 if (PT && isKnownNonZero(BBI, DL)) in solveBlockValueImpl()
1747 isKnownNonZero(V->stripPointerCastsSameRepresentation(), DL)) { in getPredicateAt()
DDependenceAnalysis.cpp996 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()
DBasicAliasAnalysis.cpp1220 if (isKnownNonZero(Var.V, DL, 0, &AC, Var.CxtI, DT)) in aliasGEP()
DScalarEvolution.cpp9820 bool ScalarEvolution::isKnownNonZero(const SCEV *S) { in isKnownNonZero() function in ScalarEvolution
10144 return !isa<SCEVCouldNotCompute>(Diff) && isKnownNonZero(Diff); in isKnownPredicateViaConstantRanges()
11657 if (!isKnownNonZero(Stride)) { in howManyLessThans()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp408 !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()
DSimplifyLibCalls.cpp187 } 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()
2670 if (isKnownNonZero(CI->getOperand(1), DL)) in optimizeSnPrintF()
DScalarEvolutionExpander.cpp923 /*IsSafeToHoist*/ SE.isKnownNonZero(S->getRHS())); in visitUDivExpr()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DLoopDeletion.cpp397 if (!isa<SCEVCouldNotCompute>(BTC) && SE.isKnownNonZero(BTC)) in breakBackedgeIfNotTaken()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DValueTracking.h133 bool isKnownNonZero(const Value *V, const DataLayout &DL, unsigned Depth = 0,
DScalarEvolution.h935 bool isKnownNonZero(const SCEV *S);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp517 isKnownNonZero(Op0, IC.getDataLayout(), 0, &IC.getAssumptionCache(), &II, in foldCttzCtlz()
2256 isKnownNonZero(Call.getOperand(1), DL, 0, &AC, &Call, &DT)) { in annotateAnyAllocSite()
2311 isKnownNonZero(V, DL, 0, &AC, &Call, &DT)) in visitCallBase()
2491 isKnownNonZero(DerivedPtr, DL, 0, &AC, &Call, &DT)) { in visitCallBase()
DInstCombinePHI.cpp1381 if (isKnownNonZero(VA, DL, 0, &AC, CtxI, &DT)) { in visitPHINode()
DInstCombineCompares.cpp4049 isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in foldICmpBinOp()
4053 isKnownNonZero(D, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in foldICmpBinOp()
DInstCombineAndOrXor.cpp1004 return isKnownNonZero(V, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT); in foldUnsignedUnderflowCheck()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp998 if (isKnownNonZero(RetVal, DL)) in isReturnNonNull()
DAttributorAttributes.cpp2255 if (!isKnownNonZero(&V, DL, 0, AC, CtxI, DT)) in updateImpl()
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGCall.cpp3761 bool provablyNonNull = llvm::isKnownNonZero(srcAddr.getPointer(), in emitWriteback()
3901 bool provablyNonNull = llvm::isKnownNonZero(srcAddr.getPointer(), in emitWritebackArg()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2045 if (llvm::isKnownNonZero(CountZeros->getOperand(0), *DL)) in despeculateCountZeros()