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

Declarations

include/llvm/IR/Instruction.h
  539   bool mayReadFromMemory() const;

References

include/llvm/IR/Instruction.h
  543     return mayReadFromMemory() || mayWriteToMemory();
lib/Analysis/DependenceAnalysis.cpp
  216   return Src->mayReadFromMemory() && Dst->mayReadFromMemory();
  216   return Src->mayReadFromMemory() && Dst->mayReadFromMemory();
  228   return Src->mayWriteToMemory() && Dst->mayReadFromMemory();
  234   return Src->mayReadFromMemory() && Dst->mayWriteToMemory();
 3410   if ((!Src->mayReadFromMemory() && !Src->mayWriteToMemory()) ||
 3411       (!Dst->mayReadFromMemory() && !Dst->mayWriteToMemory()))
 3838   assert(Src->mayReadFromMemory() || Src->mayWriteToMemory());
 3839   assert(Dst->mayReadFromMemory() || Dst->mayWriteToMemory());
lib/Analysis/GlobalsModRef.cpp
  602         if (I.mayReadFromMemory())
lib/Analysis/LoopAccessAnalysis.cpp
 1836       if (I.mayReadFromMemory()) {
lib/Analysis/LoopInfo.cpp
   86   if (I->mayReadFromMemory())
lib/Analysis/MemDepPrinter.cpp
  100     if (!Inst->mayReadFromMemory() && !Inst->mayWriteToMemory())
lib/Analysis/MemoryDependenceAnalysis.cpp
  177   if (Inst->mayReadFromMemory())
lib/Analysis/MemorySSA.cpp
 1746   if (!I->mayReadFromMemory() && !I->mayWriteToMemory())
lib/Analysis/VectorUtils.cpp
  997           (A->mayReadFromMemory() != B->mayReadFromMemory()) ||
  997           (A->mayReadFromMemory() != B->mayReadFromMemory()) ||
 1044         if (A->mayReadFromMemory())
lib/CodeGen/Analysis.cpp
  533   if (I->mayHaveSideEffects() || I->mayReadFromMemory() ||
  547       if (BBI->mayHaveSideEffects() || BBI->mayReadFromMemory() ||
lib/Target/AArch64/AArch64StackTagging.cpp
  352       if (BI->mayWriteToMemory() || BI->mayReadFromMemory())
lib/Transforms/IPO/Attributor.cpp
 3797       if (!I->mayReadFromMemory())
 4059     if (I.mayReadFromMemory())
 4209   if (UserI->mayReadFromMemory())
lib/Transforms/IPO/FunctionAttrs.cpp
  213     ReadsMemory |= I->mayReadFromMemory();
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
 1448     if (BBI->mayWriteToMemory() || BBI->mayReadFromMemory() || BBI->mayThrow())
 1553       if (BBI->mayReadFromMemory() || BBI->mayThrow() ||
 1562       if (I->mayReadFromMemory() || I->mayThrow() || I->mayWriteToMemory())
lib/Transforms/InstCombine/InstructionCombining.cpp
 3145   if (I->mayReadFromMemory()) {
lib/Transforms/Scalar/DeadStoreElimination.cpp
  882     } else if (!BBI->mayReadFromMemory()) {
lib/Transforms/Scalar/EarlyCSE.cpp
  682       return Inst->mayReadFromMemory();
 1119     if ((Inst->mayReadFromMemory() || Inst->mayThrow()) &&
 1159         assert(Inst->mayReadFromMemory() && "relied on to prevent DSE above");
lib/Transforms/Scalar/GVN.cpp
 2246       CurInst->mayReadFromMemory() || CurInst->mayHaveSideEffects() ||
lib/Transforms/Scalar/GuardWidening.cpp
  505       Inst->mayReadFromMemory())
  525          !Inst->mayReadFromMemory() && "Should've checked with isAvailableAt!");
lib/Transforms/Scalar/IndVarSimplify.cpp
 2178   if(I->mayReadFromMemory() || isa<CallInst>(I) || isa<InvokeInst>(I))
 2588     if (I->mayHaveSideEffects() || I->mayReadFromMemory())
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  320            ConstantInt::get(I32, MemI->mayReadFromMemory() ? 0 : 1),
lib/Transforms/Scalar/LoopFuse.cpp
  208         if (I.mayReadFromMemory())
lib/Transforms/Scalar/LoopInterchange.cpp
  590     return I.mayHaveSideEffects() || I.mayReadFromMemory();
lib/Transforms/Scalar/LoopRerollPass.cpp
 1310       if (RootInst->mayReadFromMemory())
lib/Transforms/Scalar/LoopVersioningLICM.cpp
  351   if (I->mayReadFromMemory()) {
  549       if (!Inst.mayReadFromMemory() && !Inst.mayWriteToMemory())
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  321       if (BI->mayWriteToMemory() || BI->mayReadFromMemory())
lib/Transforms/Scalar/Sink.cpp
  116     if (Inst->mayReadFromMemory())
lib/Transforms/Utils/FlattenCFG.cpp
  365     if (iter1->mayReadFromMemory())
  370         if (BI->mayReadFromMemory() || BI->mayWriteToMemory()) {
lib/Transforms/Utils/LoopRotationUtils.cpp
  333     if (L->hasLoopInvariantOperands(Inst) && !Inst->mayReadFromMemory() &&
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  889     if (I.mayReadFromMemory()) {