A Use represents the edge between a Value definition and its users.
Synopsis
Declared in <llvm/IR/Use.h>
class Use;
Description
This is notionally a two‐dimensional linked list. It supports traversing all of the uses for a particular value definition. It also supports jumping directly to the used value when we arrive from the User's operands, and jumping directly to the User when we arrive from the Value's uses.
Member Functions
Name |
Description |
|
Copy construction is deleted; Use is non‐copyable. |
Assignment operators |
|
Return the value this use refers to. |
|
Return the next use in this value's use list. |
|
Return the operand # of this use in its User. |
|
Returns the User that contains this Use. |
|
Access members of the referenced value. |
|
Set this use to refer to |
|
Provide a fast substitute to std::swap<Use> that also works with less standard‐compliant compilers |
|
Implicitly convert this use to the referenced value. |
Static Member Functions
Name |
Description |
Destroys Use operands when the number of operands of a User changes. |
Friends
Name |
Description |
A Value that uses other Values as operands. |
|
LLVM Value Representation |
Non-Member Functions
Name |
Description |
Determine what kind of capture behaviour |
|
Return true if the sign bit of the FP value can be ignored by the user when the value is NaN. |
|
Return true if the sign bit of the FP value can be ignored by the user when the value is zero. |
|
Returns true if use |
|
Return a valid Knowledge associated to the Use U if its Attribute kind is in AttrKinds. |
|
Return true if |
|
Convert an opaque |
|
Convert a |
Created with MrDocs