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

Declarations

include/llvm/IR/Instruction.h
  536   bool mayWriteToMemory() const;

References

include/llvm/Analysis/VectorUtils.h
  487     assert(!getMember(0)->mayWriteToMemory() &&
  707     if (!Src->mayWriteToMemory())
include/llvm/IR/Instruction.h
  543     return mayReadFromMemory() || mayWriteToMemory();
  582   bool mayHaveSideEffects() const { return mayWriteToMemory() || mayThrow(); }
lib/Analysis/AliasSetTracker.cpp
  181   bool MayWriteMemory = I->mayWriteToMemory() && !isGuard(I) &&
lib/Analysis/DependenceAnalysis.cpp
  222   return Src->mayWriteToMemory() && Dst->mayWriteToMemory();
  222   return Src->mayWriteToMemory() && Dst->mayWriteToMemory();
  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
  604         if (I.mayWriteToMemory())
lib/Analysis/InstructionPrecedenceTracking.cpp
  159   return Insn->mayWriteToMemory();
lib/Analysis/Loads.cpp
  299     if (isa<CallInst>(BBI) && BBI->mayWriteToMemory() &&
  466     if (Inst->mayWriteToMemory()) {
lib/Analysis/LoopAccessAnalysis.cpp
 1873       if (I.mayWriteToMemory()) {
lib/Analysis/MemDepPrinter.cpp
  100     if (!Inst->mayReadFromMemory() && !Inst->mayWriteToMemory())
lib/Analysis/MemoryDependenceAnalysis.cpp
  175   if (Inst->mayWriteToMemory())
lib/Analysis/MemorySSA.cpp
 1746   if (!I->mayReadFromMemory() && !I->mayWriteToMemory())
lib/Analysis/VectorUtils.cpp
  932       if (B->mayWriteToMemory())
  998           (A->mayWriteToMemory() != B->mayWriteToMemory()))
  998           (A->mayWriteToMemory() != B->mayWriteToMemory()))
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1284   return !I->mayWriteToMemory() && // Side-effecting instructions aren't folded.
lib/Target/AArch64/AArch64StackTagging.cpp
  352       if (BI->mayWriteToMemory() || BI->mayReadFromMemory())
lib/Target/ARM/ARMParallelDSP.cpp
  360     if (I.mayWriteToMemory())
lib/Transforms/IPO/Attributor.cpp
 3799       if (!I->mayWriteToMemory())
 4061     if (I.mayWriteToMemory())
 4211   if (UserI->mayWriteToMemory())
lib/Transforms/IPO/FunctionAttrs.cpp
  210     WritesMemory |= I->mayWriteToMemory();
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4192     if (Inst->mayWriteToMemory())
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
 1448     if (BBI->mayWriteToMemory() || BBI->mayReadFromMemory() || BBI->mayThrow())
 1554           BBI->mayWriteToMemory() || BBI == OtherBB->begin())
 1562       if (I->mayReadFromMemory() || I->mayThrow() || I->mayWriteToMemory())
lib/Transforms/InstCombine/InstCombinePHI.cpp
  497     if (BBI->mayWriteToMemory())
lib/Transforms/InstCombine/InstructionCombining.cpp
 3149       if (Scan->mayWriteToMemory())
lib/Transforms/Scalar/DeadStoreElimination.cpp
  621       if (I->mayWriteToMemory() && I != SecondI)
lib/Transforms/Scalar/EarlyCSE.cpp
  687       return Inst->mayWriteToMemory();
 1205     if (Inst->mayWriteToMemory()) {
lib/Transforms/Scalar/LoopFuse.cpp
  206         if (I.mayWriteToMemory())
lib/Transforms/Scalar/LoopRerollPass.cpp
 1286         if (I->mayWriteToMemory())
lib/Transforms/Scalar/LoopVersioningLICM.cpp
  365   else if (I->mayWriteToMemory()) {
  549       if (!Inst.mayReadFromMemory() && !Inst.mayWriteToMemory())
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  321       if (BI->mayWriteToMemory() || BI->mayReadFromMemory())
lib/Transforms/Scalar/SROA.cpp
 1220       if (BBI->mayWriteToMemory())
lib/Transforms/Scalar/Sink.cpp
   62   if (Inst->mayWriteToMemory()) {
lib/Transforms/Utils/FlattenCFG.cpp
  368     if (iter1->mayWriteToMemory()) {
  370         if (BI->mayReadFromMemory() || BI->mayWriteToMemory()) {
lib/Transforms/Utils/LoopRotationUtils.cpp
  334         !Inst->mayWriteToMemory() && !Inst->isTerminator() &&
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  628     } else if (IsLoadChain && (I.mayWriteToMemory() || I.mayThrow())) {
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  903     if (I.mayWriteToMemory()) {
lib/Transforms/Vectorize/SLPVectorizer.cpp
 4777           bool SrcMayWrite = BundleMember->Inst->mayWriteToMemory();
 4792                     ((SrcMayWrite || DepDest->Inst->mayWriteToMemory()) &&
tools/polly/lib/Support/ScopHelper.cpp
  583     if (!UserI->mayWriteToMemory())
tools/polly/lib/Support/VirtualInstruction.cpp
  183   if (Inst->mayWriteToMemory())
unittests/IR/ValueHandleTest.cpp
  133   EXPECT_FALSE(AVH->mayWriteToMemory());
  134   EXPECT_FALSE((*AVH).mayWriteToMemory());
  444   EXPECT_FALSE(VH->mayWriteToMemory());
  445   EXPECT_FALSE((*VH).mayWriteToMemory());