ΒΆbool FlattenCFG(llvm::BasicBlock* BB,
                llvm::AAResults* AA = nullptr)

Description

This function is used to flatten a CFG. For example, it uses parallel-and and parallel-or mode to collapse if-conditions and merge if-regions with identical statements.

Declared at: llvm/include/llvm/Transforms/Utils/Local.h:182

Parameters

llvm::BasicBlock* BB
llvm::AAResults* AA = nullptr