Home
last modified time | relevance | path

Searched refs:mayWriteToMemory (Results 1 – 25 of 54) sorted by relevance

123

/llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/
H A DVPlanTest.cpp971 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 DInstructionPrecedenceTracking.h131 bool mayWriteToMemory(const BasicBlock *BB) { in mayWriteToMemory() function
H A DVectorUtils.h936 if (!Src->mayWriteToMemory()) in canReorderMemAccessesForInterleavedGroups()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DValueHandleTest.cpp133 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 DInstructionPrecedenceTracking.cpp152 return Insn->mayWriteToMemory(); in isSpecialInstruction()
H A DLoads.cpp362 if (isa<CallInst>(BBI) && BBI->mayWriteToMemory() && in isSafeToLoadUnconditionally()
587 if (Inst->mayWriteToMemory()) { in findAvailablePtrLoadStore()
633 if (Inst.mayWriteToMemory()) in FindAvailableLoadedValue()
H A DMemDepPrinter.cpp100 if (!Inst->mayReadFromMemory() && !Inst->mayWriteToMemory()) in runOnFunction()
H A DVectorUtils.cpp1220 if (B->mayWriteToMemory()) in analyzeInterleaving()
1286 (A->mayWriteToMemory() != B->mayWriteToMemory())) in analyzeInterleaving()
H A DDependenceAnalysis.cpp230 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 DAliasSetTracker.cpp173 bool MayWriteMemory = I->mayWriteToMemory() && !isGuard(I) && in addUnknownInst()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp359 if (iter1->mayWriteToMemory()) { in CompareIfRegionBlock()
361 if (BI->mayReadFromMemory() || BI->mayWriteToMemory()) { in CompareIfRegionBlock()
H A DLoopRotationUtils.cpp423 !Inst->mayWriteToMemory() && !Inst->isTerminator() && in rotateLoop()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp377 else if (I->mayWriteToMemory()) { in instructionSafeForVersioning()
561 if (!Inst.mayReadFromMemory() && !Inst.mayWriteToMemory()) in setNoAliasToLoop()
H A DSink.cpp33 if (Inst->mayWriteToMemory()) { in isSafeToMove()
H A DEarlyCSE.cpp800 bool mayWriteToMemory() const { in mayWriteToMemory() function in __anon5cb5eb3b0311::EarlyCSE::ParseMemoryInst
803 return Inst->mayWriteToMemory(); in mayWriteToMemory()
1551 if (Inst.mayWriteToMemory()) { in processNode()
H A DDeadStoreElimination.cpp443 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 DInstruction.h578 bool mayWriteToMemory() const;
585 return mayReadFromMemory() || mayWriteToMemory();
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp42 bool VPRecipeBase::mayWriteToMemory() const { in mayWriteToMemory() function in VPRecipeBase
50 ->mayWriteToMemory(); in mayWriteToMemory()
64 assert((!I || !I->mayWriteToMemory()) && in mayWriteToMemory()
H A DVPlanSLP.cpp125 if (LoadsSeen > 0 && VPI->mayWriteToMemory()) { in areVectorizable()
H A DVPlan.h745 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 DInstruction.cpp596 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 DVirtualInstruction.cpp184 if (Inst->mayWriteToMemory()) in isRoot()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1425 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 DHexagonVectorCombine.cpp647 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 DAArch64StackTagging.cpp376 if (BI->mayWriteToMemory() || BI->mayReadFromMemory()) in collectInitializers()

123