| /llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/ |
| H A D | VPlanTest.cpp | 971 EXPECT_FALSE(Recipe.mayWriteToMemory()); in TEST() 990 EXPECT_FALSE(Recipe.mayWriteToMemory()); in TEST() 1006 EXPECT_FALSE(Recipe.mayWriteToMemory()); in TEST() 1016 EXPECT_FALSE(Recipe.mayWriteToMemory()); in TEST() 1028 EXPECT_FALSE(Recipe.mayWriteToMemory()); in TEST() 1040 EXPECT_FALSE(Recipe.mayWriteToMemory()); in TEST() 1055 EXPECT_TRUE(Recipe.mayWriteToMemory()); in TEST() 1071 EXPECT_TRUE(Recipe.mayWriteToMemory()); in TEST() 1084 EXPECT_TRUE(Recipe.mayWriteToMemory()); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | InstructionPrecedenceTracking.h | 131 bool mayWriteToMemory(const BasicBlock *BB) { in mayWriteToMemory() function
|
| H A D | VectorUtils.h | 936 if (!Src->mayWriteToMemory()) in canReorderMemAccessesForInterleavedGroups()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ValueHandleTest.cpp | 133 EXPECT_FALSE(AVH->mayWriteToMemory()); in TEST_F() 134 EXPECT_FALSE((*AVH).mayWriteToMemory()); in TEST_F() 444 EXPECT_FALSE(VH->mayWriteToMemory()); in TEST_F() 445 EXPECT_FALSE((*VH).mayWriteToMemory()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InstructionPrecedenceTracking.cpp | 152 return Insn->mayWriteToMemory(); in isSpecialInstruction()
|
| H A D | Loads.cpp | 362 if (isa<CallInst>(BBI) && BBI->mayWriteToMemory() && in isSafeToLoadUnconditionally() 587 if (Inst->mayWriteToMemory()) { in findAvailablePtrLoadStore() 633 if (Inst.mayWriteToMemory()) in FindAvailableLoadedValue()
|
| H A D | MemDepPrinter.cpp | 100 if (!Inst->mayReadFromMemory() && !Inst->mayWriteToMemory()) in runOnFunction()
|
| H A D | VectorUtils.cpp | 1220 if (B->mayWriteToMemory()) in analyzeInterleaving() 1286 (A->mayWriteToMemory() != B->mayWriteToMemory())) in analyzeInterleaving()
|
| H A D | DependenceAnalysis.cpp | 230 return Src->mayWriteToMemory() && Dst->mayWriteToMemory(); in isOutput() 236 return Src->mayWriteToMemory() && Dst->mayReadFromMemory(); in isFlow() 242 return Src->mayReadFromMemory() && Dst->mayWriteToMemory(); in isAnti() 3967 assert(Src->mayReadFromMemory() || Src->mayWriteToMemory()); in getSplitIteration() 3968 assert(Dst->mayReadFromMemory() || Dst->mayWriteToMemory()); in getSplitIteration()
|
| H A D | AliasSetTracker.cpp | 173 bool MayWriteMemory = I->mayWriteToMemory() && !isGuard(I) && in addUnknownInst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | FlattenCFG.cpp | 359 if (iter1->mayWriteToMemory()) { in CompareIfRegionBlock() 361 if (BI->mayReadFromMemory() || BI->mayWriteToMemory()) { in CompareIfRegionBlock()
|
| H A D | LoopRotationUtils.cpp | 423 !Inst->mayWriteToMemory() && !Inst->isTerminator() && in rotateLoop()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopVersioningLICM.cpp | 377 else if (I->mayWriteToMemory()) { in instructionSafeForVersioning() 561 if (!Inst.mayReadFromMemory() && !Inst.mayWriteToMemory()) in setNoAliasToLoop()
|
| H A D | Sink.cpp | 33 if (Inst->mayWriteToMemory()) { in isSafeToMove()
|
| H A D | EarlyCSE.cpp | 800 bool mayWriteToMemory() const { in mayWriteToMemory() function in __anon5cb5eb3b0311::EarlyCSE::ParseMemoryInst 803 return Inst->mayWriteToMemory(); in mayWriteToMemory() 1551 if (Inst.mayWriteToMemory()) { in processNode()
|
| H A D | DeadStoreElimination.cpp | 443 if (I->mayWriteToMemory() && I != SecondI) in memoryIsNotModifiedBetween() 994 if (!I->mayWriteToMemory()) in getLocForWrite() 1036 if (!UseInst->mayWriteToMemory()) in isCompleteOverwrite()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 578 bool mayWriteToMemory() const; 585 return mayReadFromMemory() || mayWriteToMemory();
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanRecipes.cpp | 42 bool VPRecipeBase::mayWriteToMemory() const { in mayWriteToMemory() function in VPRecipeBase 50 ->mayWriteToMemory(); in mayWriteToMemory() 64 assert((!I || !I->mayWriteToMemory()) && in mayWriteToMemory()
|
| H A D | VPlanSLP.cpp | 125 if (LoadsSeen > 0 && VPI->mayWriteToMemory()) { in areVectorizable()
|
| H A D | VPlan.h | 745 bool mayWriteToMemory() const; 749 return mayReadFromMemory() || mayWriteToMemory(); in mayReadOrWriteMemory() 864 bool mayWriteToMemory() const { in mayWriteToMemory() function
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instruction.cpp | 596 bool Instruction::mayWriteToMemory() const { in mayWriteToMemory() function in Instruction 696 return mayWriteToMemory() || mayThrow() || !willReturn(); in mayHaveSideEffects()
|
| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | VirtualInstruction.cpp | 184 if (Inst->mayWriteToMemory()) in isRoot()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 1425 if (BBI->mayWriteToMemory() || BBI->mayReadFromMemory() || BBI->mayThrow()) in visitStoreInst() 1517 BBI->mayWriteToMemory() || BBI == OtherBB->begin()) in mergeStoreIntoSuccessor() 1525 if (I->mayReadFromMemory() || I->mayThrow() || I->mayWriteToMemory()) in mergeStoreIntoSuccessor()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 647 if (!Info.Inst->mayWriteToMemory()) in createStoreGroups() 1411 bool MayWrite = In.mayWriteToMemory(); in isSafeToMoveBeforeInBB() 1440 if (MayWrite || I.mayWriteToMemory()) { in isSafeToMoveBeforeInBB()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTagging.cpp | 376 if (BI->mayWriteToMemory() || BI->mayReadFromMemory()) in collectInitializers()
|