ΒΆbool isSafeToMoveBefore(
    llvm::Instruction& I,
    llvm::Instruction& InsertPoint,
    const llvm::DominatorTree& DT,
    const llvm::PostDominatorTree& PDT,
    llvm::DependenceInfo& DI)

Description

Return true if \p I can be safely moved before \p InsertPoint.

Declared at: llvm/include/llvm/Transforms/Utils/CodeMoverUtils.h:44

Parameters

llvm::Instruction& I
llvm::Instruction& InsertPoint
const llvm::DominatorTree& DT
const llvm::PostDominatorTree& PDT
llvm::DependenceInfo& DI