struct SimplifyCFGOptions

Declaration

struct SimplifyCFGOptions { /* full declaration omitted */ };

Declared at: llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h:23

Member Variables

public int BonusInstThreshold = 1
public bool ForwardSwitchCondToPhi = false
public bool ConvertSwitchRangeToICmp = false
public bool ConvertSwitchToLookupTable = false
public bool NeedCanonicalLoop = true
public bool HoistCommonInsts = false
public bool SinkCommonInsts = false
public bool SimplifyCondBranch = true
public bool FoldTwoEntryPHINode = true
public llvm::AssumptionCache* AC = nullptr

Method Overview

Methods

llvm::SimplifyCFGOptions& bonusInstThreshold(
    int I)

Declared at: llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h:37

Parameters

int I

llvm::SimplifyCFGOptions&
convertSwitchRangeToICmp(bool B)

Declared at: llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h:45

Parameters

bool B

llvm::SimplifyCFGOptions&
convertSwitchToLookupTable(bool B)

Declared at: llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h:49

Parameters

bool B

llvm::SimplifyCFGOptions& forwardSwitchCondToPhi(
    bool B)

Declared at: llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h:41

Parameters

bool B

llvm::SimplifyCFGOptions& hoistCommonInsts(bool B)

Declared at: llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h:57

Parameters

bool B

llvm::SimplifyCFGOptions& needCanonicalLoops(
    bool B)

Declared at: llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h:53

Parameters

bool B

llvm::SimplifyCFGOptions& setAssumptionCache(
    llvm::AssumptionCache* Cache)

Declared at: llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h:65

Parameters

llvm::AssumptionCache* Cache

llvm::SimplifyCFGOptions& setFoldTwoEntryPHINode(
    bool B)

Declared at: llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h:74

Parameters

bool B

llvm::SimplifyCFGOptions& setSimplifyCondBranch(
    bool B)

Declared at: llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h:69

Parameters

bool B

llvm::SimplifyCFGOptions& sinkCommonInsts(bool B)

Declared at: llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h:61

Parameters

bool B