LLVM: llvm::OverflowTracking Struct Reference (original) (raw)
#include "[llvm/Transforms/Utils/Local.h](Transforms%5F2Utils%5F2Local%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| OverflowTracking ()=default | |
| LLVM_ABI void | mergeFlags (Instruction &I) |
| Merge in the no-wrap flags from I. | |
| LLVM_ABI void | applyFlags (Instruction &I) |
| Apply the no-wrap flags to I if applicable. |
| Public Attributes | |
|---|---|
| bool | HasNUW = true |
| bool | HasNSW = true |
| bool | IsDisjoint = true |
| std::optional< unsigned > | Opcode |
| Opcode of merged instructions. | |
| bool | AllKnownNonNegative = true |
| bool | AllKnownNonZero = true |
Definition at line 583 of file Local.h.
| llvm::OverflowTracking::OverflowTracking ( ) | default |
|---|
◆ applyFlags()
◆ mergeFlags()
◆ AllKnownNonNegative
bool llvm::OverflowTracking::AllKnownNonNegative = true
◆ AllKnownNonZero
bool llvm::OverflowTracking::AllKnownNonZero = true
◆ HasNSW
bool llvm::OverflowTracking::HasNSW = true
◆ HasNUW
bool llvm::OverflowTracking::HasNUW = true
◆ IsDisjoint
bool llvm::OverflowTracking::IsDisjoint = true
◆ Opcode
std::optional<unsigned> llvm::OverflowTracking::Opcode
Opcode of merged instructions.
All instructions passed to mergeFlags must have the same opcode.
Definition at line 591 of file Local.h.
Referenced by mergeFlags().
The documentation for this struct was generated from the following files: