ΒΆllvm::Value* FindAvailableLoadedValue(
    llvm::LoadInst* Load,
    llvm::AAResults& AA,
    bool* IsLoadCSE,
    unsigned int MaxInstsToScan =
        DefMaxInstsToScan)

Description

This overload provides a more efficient implementation of FindAvailableLoadedValue() for the case where we are not interested in finding the closest clobbering instruction if no available load is found. This overload cannot be used to scan across multiple blocks.

Declared at: llvm/include/llvm/Analysis/Loads.h:139

Parameters

llvm::LoadInst* Load
llvm::AAResults& AA
bool* IsLoadCSE
unsigned int MaxInstsToScan = DefMaxInstsToScan