ΒΆbool mayHaveNonDefUseDependency(
const llvm::Instruction& I)
bool mayHaveNonDefUseDependency(
const llvm::Instruction& I)
Description
Returns true if the result or effects of the given instructions \p I depend values not reachable through the def use graph. * Memory dependence arises for example if the instruction reads from memory or may produce effects or undefined behaviour. Memory dependent instructions generally cannot be reorderd with respect to other memory dependent instructions. * Control dependence arises for example if the instruction may fault if lifted above a throwing call or infinite loop.
Declared at: llvm/include/llvm/Analysis/ValueTracking.h:496
Parameters
- const llvm::Instruction& I