isGuaranteedNotToBePoison overloads
Synopses
Declared in <llvm/Analysis/ValueTracking.h>
Returns true if Reg cannot be poison, but may be undef.
bool
isGuaranteedNotToBePoison(
Register Reg,
MachineRegisterInfo const& MRI,
unsigned int Depth = 0);
Iterator‐context overload of isGuaranteedNotToBePoison.
bool
isGuaranteedNotToBePoison(
Value const* V,
AssumptionCache* AC,
BasicBlock::iterator CtxI,
DominatorTree const* DT = nullptr,
unsigned int Depth = 0);
Returns true if V cannot be poison, but may be undef.
bool
isGuaranteedNotToBePoison(
Value const* V,
AssumptionCache* AC = nullptr,
Instruction const* CtxI = nullptr,
DominatorTree const* DT = nullptr,
unsigned int Depth = 0);
Return Value
-
True if
Regcannot be poison. -
True if
Vis guaranteed not poison.
Parameters
Name |
Description |
Reg |
Virtual register to analyze. |
MRI |
Register information for the function. |
Depth |
Recursion depth limit for the analysis. |
V |
Value to test for freedom from poison. |
AC |
Optional assumption cache for context‐sensitive facts. |
CtxI |
Context position expressed as a basic‐block iterator. |
DT |
Optional dominator tree for flow‐sensitive analysis. |
Created with MrDocs