ΒΆbool isSafeToExpandAt(
    const llvm::SCEV* S,
    const llvm::Instruction* InsertionPoint,
    llvm::ScalarEvolution& SE)

Description

Return true if the given expression is safe to expand in the sense that all materialized values are defined and safe to speculate at the specified location and their operands are defined at this location.

Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpander.h:36

Parameters

const llvm::SCEV* S
const llvm::Instruction* InsertionPoint
llvm::ScalarEvolution& SE