reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/Function.h
  574     return onlyReadsMemory() || hasFnAttribute(Attribute::NoFree);
lib/Analysis/BasicAliasAnalysis.cpp
  755   if (F->onlyReadsMemory())
lib/Analysis/GlobalsModRef.cpp
  521         } else if (F->onlyReadsMemory()) {
lib/Analysis/InlineCost.cpp
 1331   if (!F->onlyReadsMemory())
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 4767   bool OnlyLoad = HasChain && F->onlyReadsMemory();
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
  155       if (F->onlyReadsMemory()) {
lib/Transforms/IPO/Attributor.cpp
 2962     if (F.onlyReadsMemory() && F.doesNotThrow() &&
 2971     if (F.onlyReadsMemory())
 2986           else if (F.onlyReadsMemory())
lib/Transforms/IPO/FunctionAttrs.cpp
  275     if (F->onlyReadsMemory() && ReadsMemory)
  702     if (F->onlyReadsMemory() && F->doesNotThrow() &&
lib/Transforms/IPO/IPConstantPropagation.cpp
  131         AI->hasInAllocaAttr() || (AI->hasByValAttr() && !F.onlyReadsMemory()))
lib/Transforms/Scalar/SCCP.cpp
 1318       if (AI->hasByValAttr() && !F->onlyReadsMemory()) {
lib/Transforms/Utils/BuildLibCalls.cpp
   52   if (F.onlyReadsMemory())
lib/Transforms/Utils/InlineFunction.cpp
 1275   if (CalledFunc->onlyReadsMemory()) {