LLVM 18.0.0git
|
#include "llvm/Transforms/Utils/SimplifyCFGOptions.h"
Public Member Functions | |
SimplifyCFGOptions & | bonusInstThreshold (int I) |
SimplifyCFGOptions & | forwardSwitchCondToPhi (bool B) |
SimplifyCFGOptions & | convertSwitchRangeToICmp (bool B) |
SimplifyCFGOptions & | convertSwitchToLookupTable (bool B) |
SimplifyCFGOptions & | needCanonicalLoops (bool B) |
SimplifyCFGOptions & | hoistCommonInsts (bool B) |
SimplifyCFGOptions & | sinkCommonInsts (bool B) |
SimplifyCFGOptions & | setAssumptionCache (AssumptionCache *Cache) |
SimplifyCFGOptions & | setSimplifyCondBranch (bool B) |
SimplifyCFGOptions & | speculateBlocks (bool B) |
Public Attributes | |
int | BonusInstThreshold = 1 |
bool | ForwardSwitchCondToPhi = false |
bool | ConvertSwitchRangeToICmp = false |
bool | ConvertSwitchToLookupTable = false |
bool | NeedCanonicalLoop = true |
bool | HoistCommonInsts = false |
bool | SinkCommonInsts = false |
bool | SimplifyCondBranch = true |
bool | SpeculateBlocks = true |
AssumptionCache * | AC = nullptr |
Definition at line 23 of file SimplifyCFGOptions.h.
|
inline |
Definition at line 37 of file SimplifyCFGOptions.h.
References BonusInstThreshold, and I.
|
inline |
Definition at line 45 of file SimplifyCFGOptions.h.
References B, and ConvertSwitchRangeToICmp.
|
inline |
Definition at line 49 of file SimplifyCFGOptions.h.
References B, and ConvertSwitchToLookupTable.
|
inline |
Definition at line 41 of file SimplifyCFGOptions.h.
References B, and ForwardSwitchCondToPhi.
|
inline |
Definition at line 57 of file SimplifyCFGOptions.h.
References B, and HoistCommonInsts.
|
inline |
Definition at line 53 of file SimplifyCFGOptions.h.
References B, and NeedCanonicalLoop.
|
inline |
Definition at line 65 of file SimplifyCFGOptions.h.
References AC.
|
inline |
Definition at line 69 of file SimplifyCFGOptions.h.
References B, and SimplifyCondBranch.
|
inline |
Definition at line 61 of file SimplifyCFGOptions.h.
References B, and SinkCommonInsts.
|
inline |
Definition at line 74 of file SimplifyCFGOptions.h.
References B, and SpeculateBlocks.
AssumptionCache* llvm::SimplifyCFGOptions::AC = nullptr |
Definition at line 34 of file SimplifyCFGOptions.h.
Referenced by llvm::SimplifyCFGPass::run(), and setAssumptionCache().
int llvm::SimplifyCFGOptions::BonusInstThreshold = 1 |
Definition at line 24 of file SimplifyCFGOptions.h.
Referenced by bonusInstThreshold(), and llvm::SimplifyCFGPass::printPipeline().
bool llvm::SimplifyCFGOptions::ConvertSwitchRangeToICmp = false |
Definition at line 26 of file SimplifyCFGOptions.h.
Referenced by convertSwitchRangeToICmp(), and llvm::SimplifyCFGPass::printPipeline().
bool llvm::SimplifyCFGOptions::ConvertSwitchToLookupTable = false |
Definition at line 27 of file SimplifyCFGOptions.h.
Referenced by convertSwitchToLookupTable(), and llvm::SimplifyCFGPass::printPipeline().
bool llvm::SimplifyCFGOptions::ForwardSwitchCondToPhi = false |
Definition at line 25 of file SimplifyCFGOptions.h.
Referenced by forwardSwitchCondToPhi(), and llvm::SimplifyCFGPass::printPipeline().
bool llvm::SimplifyCFGOptions::HoistCommonInsts = false |
Definition at line 29 of file SimplifyCFGOptions.h.
Referenced by hoistCommonInsts(), and llvm::SimplifyCFGPass::printPipeline().
Definition at line 28 of file SimplifyCFGOptions.h.
Referenced by needCanonicalLoops(), and llvm::SimplifyCFGPass::printPipeline().
Definition at line 31 of file SimplifyCFGOptions.h.
Referenced by llvm::SimplifyCFGPass::printPipeline(), and setSimplifyCondBranch().
bool llvm::SimplifyCFGOptions::SinkCommonInsts = false |
Definition at line 30 of file SimplifyCFGOptions.h.
Referenced by llvm::SimplifyCFGPass::printPipeline(), and sinkCommonInsts().
Definition at line 32 of file SimplifyCFGOptions.h.
Referenced by llvm::SimplifyCFGPass::printPipeline(), and speculateBlocks().