reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Analysis/ValueTracking.h
  104   bool isKnownNonZero(const Value *V, const DataLayout &DL, unsigned Depth = 0,

References

lib/Analysis/InstructionSimplify.cpp
 1428           isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT))
 1432           isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT))
 1455       isKnownNonZero(X, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT))
 1466       isKnownNonZero(X, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT))
 2309   if (llvm::isKnownNonZero(LHS, DL, 0, nullptr, nullptr, nullptr,
 2470         llvm::isKnownNonZero(RHS, DL, 0, nullptr, CxtI, DT))
 2473              llvm::isKnownNonZero(LHS, DL, 0, nullptr, CxtI, DT))
 2576     if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo))
 2581     if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo))
 2597         isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT))
 2614         isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT))
lib/Analysis/LazyValueInfo.cpp
  643   if (PT && isKnownNonZero(BBI, DL)) {
  728         (isKnownNonZero(Val, DL) ||
 1858       isKnownNonZero(V->stripPointerCastsSameRepresentation(), DL)) {
lib/Analysis/Loads.cpp
   72     if (!CheckForNonNull || isKnownNonZero(V, DL, 0, nullptr, CtxI, DT)) {
lib/Analysis/ValueTracking.cpp
  263          isKnownNonZero(V, DL, Depth, AC, CxtI, DT, UseInstrInfo);
lib/Transforms/IPO/Attributor.cpp
 1632     if (isKnownNonZero(&V, DL, 0, /* TODO: AC */ nullptr, IRP.getCtxI(),
 1655         if (!isKnownNonZero(&V, DL, 0, /* TODO: AC */ nullptr,
lib/Transforms/IPO/FunctionAttrs.cpp
  986     if (isKnownNonZero(RetVal, DL))
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1065     return isKnownNonZero(V, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 1235       isKnownNonZero(Op0, IC.getDataLayout(), 0, &IC.getAssumptionCache(), &II,
 4018           isKnownNonZero(DerivedPtr, DL, 0, &AC, II, &DT)) {
 4281         isKnownNonZero(V, DL, 0, &AC, &Call, &DT))
lib/Transforms/InstCombine/InstCombineCompares.cpp
 3872       isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT))
 3876       isKnownNonZero(D, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT))
lib/Transforms/InstCombine/InstCombinePHI.cpp
 1188         if (isKnownNonZero(VA, DL, 0, &AC, CtxI, &DT)) {
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  401         !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT))
  494           !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT))
  950           !isKnownNonZero(V, SQ.DL, 0, AC, LI, &DT))
lib/Transforms/Utils/SimplifyLibCalls.cpp
  240   } else if (isKnownNonZero(Size, DL)) {
  303   if (isKnownNonZero(Size, DL))
  474   if (isKnownNonZero(Size, DL))
  603   if (isKnownNonZero(Size, DL))
  894   if (isKnownNonZero(CI->getOperand(2), DL))
 2593   if (isKnownNonZero(CI->getOperand(1), DL))
tools/clang/lib/CodeGen/CGCall.cpp
 3123   bool provablyNonNull = llvm::isKnownNonZero(srcAddr.getPointer(),
 3263   bool provablyNonNull = llvm::isKnownNonZero(srcAddr.getPointer(),