LLVM: llvm::IVConditionInfo Struct Reference (original) (raw)
Struct to hold information about a partially invariant condition. More...
#include "[llvm/Transforms/Utils/LoopUtils.h](LoopUtils%5F8h%5Fsource.html)"
| Public Attributes | |
|---|---|
| SmallVector< Instruction * > | InstToDuplicate |
| Instructions that need to be duplicated and checked for the unswitching condition. | |
| Constant * | KnownValue = nullptr |
| Constant to indicate for which value the condition is invariant. | |
| bool | PathIsNoop = true |
| True if the partially invariant path is no-op (=does not have any side-effects and no loop value is used outside the loop). | |
| BasicBlock * | ExitForPath = nullptr |
| If the partially invariant path reaches a single exit block, ExitForPath is set to that block. |
Struct to hold information about a partially invariant condition.
Definition at line 626 of file LoopUtils.h.
◆ ExitForPath
BasicBlock* llvm::IVConditionInfo::ExitForPath = nullptr
If the partially invariant path reaches a single exit block, ExitForPath is set to that block.
Otherwise it is nullptr.
Definition at line 640 of file LoopUtils.h.
◆ InstToDuplicate
◆ KnownValue
Constant* llvm::IVConditionInfo::KnownValue = nullptr
◆ PathIsNoop
bool llvm::IVConditionInfo::PathIsNoop = true
True if the partially invariant path is no-op (=does not have any side-effects and no loop value is used outside the loop).
Definition at line 636 of file LoopUtils.h.
The documentation for this struct was generated from the following file:
- include/llvm/Transforms/Utils/LoopUtils.h