ΒΆbool recursivelySimplifyInstruction(
    llvm::Instruction* I,
    const llvm::TargetLibraryInfo* TLI = nullptr,
    const llvm::DominatorTree* DT = nullptr,
    llvm::AssumptionCache* AC = nullptr)

Description

Recursively attempt to simplify an instruction. This routine uses SimplifyInstruction to simplify 'I', and if successful replaces uses of 'I' with the simplified value. It then recurses on each of the users impacted. It returns true if any simplifications were performed.

Declared at: llvm/include/llvm/Analysis/InstructionSimplify.h:291

Parameters

llvm::Instruction* I
const llvm::TargetLibraryInfo* TLI = nullptr
const llvm::DominatorTree* DT = nullptr
llvm::AssumptionCache* AC = nullptr