llvm::AAResults::onlyReadsMemory

onlyReadsMemory overloads

Synopses

Declared in <llvm/Analysis/AliasAnalysis.h>

Checks if the specified call is known to only read from non-volatile memory (or not access memory at all).

bool
onlyReadsMemory(CallBase const* Call);
» more...

Checks if the specified function is known to only read from non-volatile memory (or not access memory at all).

bool
onlyReadsMemory(Function const* F);
» more...

Return Value

  • True if the call only reads non-volatile memory or does not access memory.
  • True if the function only reads non-volatile memory or does not access memory.

Parameters

NameDescription
CallCall site to test.
FFunction to test.