Represents a value which can be a Register or a constant.
Synopsis
Declared in <llvm/CodeGen/GlobalISel/Utils.h>
class RegOrConstant;
Description
This is useful in situations where an instruction may have an interesting register operand or interesting constant operand. For a concrete example,
Member Functions
Name |
Description |
|
Constructors |
Return the held constant; asserts if this holds a register. |
|
Return the held register; asserts if this holds a constant. |
|
Return true if this holds a constant. |
|
Return true if this holds a register. |
Non-Member Functions
Name |
Description |
Examples: |
See Also
getVectorSplat.
Created with MrDocs