hasAssumption overloads
Synopses
Declared in <llvm/IR/Assumptions.h>
Return true if CB or the callee has the assumption AssumptionStr attached.
bool
hasAssumption(
CallBase const& CB,
KnownAssumptionString const& AssumptionStr);
Return true if F has the assumption AssumptionStr attached.
bool
hasAssumption(
Function const& F,
KnownAssumptionString const& AssumptionStr);
Return Value
-
true if
CBor its callee has the assumption attached. -
true if
Fhas the assumption attached.
Parameters
Name |
Description |
CB |
Call site to inspect for the assumption. |
AssumptionStr |
Known assumption string to look for. |
F |
Function to inspect for the assumption. |
Created with MrDocs