| /llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/ |
| H A D | VPlanTest.cpp | 970 EXPECT_FALSE(Recipe.mayReadFromMemory()); in TEST() 989 EXPECT_FALSE(Recipe.mayReadFromMemory()); in TEST() 1005 EXPECT_FALSE(Recipe.mayReadFromMemory()); in TEST() 1015 EXPECT_FALSE(Recipe.mayReadFromMemory()); in TEST() 1027 EXPECT_FALSE(Recipe.mayReadFromMemory()); in TEST() 1039 EXPECT_TRUE(Recipe.mayReadFromMemory()); in TEST() 1054 EXPECT_FALSE(Recipe.mayReadFromMemory()); in TEST() 1070 EXPECT_TRUE(Recipe.mayReadFromMemory()); in TEST() 1083 EXPECT_TRUE(Recipe.mayReadFromMemory()); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | FlattenCFG.cpp | 356 if (iter1->mayReadFromMemory()) in CompareIfRegionBlock() 361 if (BI->mayReadFromMemory() || BI->mayWriteToMemory()) { in CompareIfRegionBlock()
|
| H A D | LoopRotationUtils.cpp | 422 if (L->hasLoopInvariantOperands(Inst) && !Inst->mayReadFromMemory() && in rotateLoop()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopVersioningLICM.cpp | 363 if (I->mayReadFromMemory()) { in instructionSafeForVersioning() 561 if (!Inst.mayReadFromMemory() && !Inst.mayWriteToMemory()) in setNoAliasToLoop()
|
| H A D | EarlyCSE.cpp | 794 bool mayReadFromMemory() const { in mayReadFromMemory() function in __anon5cb5eb3b0311::EarlyCSE::ParseMemoryInst 797 return Inst->mayReadFromMemory(); in mayReadFromMemory() 1470 if ((Inst.mayReadFromMemory() || Inst.mayThrow()) && in processNode() 1471 !(MemInst.isValid() && !MemInst.mayReadFromMemory())) in processNode() 1510 assert(Inst.mayReadFromMemory() && "relied on to prevent DSE above"); in processNode()
|
| H A D | Sink.cpp | 82 if (Inst->mayReadFromMemory()) in IsAcceptableTarget()
|
| H A D | GuardWidening.cpp | 472 Inst->mayReadFromMemory()) in isAvailableAt() 492 !Inst->mayReadFromMemory() && "Should've checked with isAvailableAt!"); in makeAvailableAt()
|
| H A D | IndVarSimplify.cpp | 823 if(I->mayReadFromMemory() || isa<CallInst>(I) || isa<InvokeInst>(I)) in hasConcreteDefImpl() 1227 if (I->mayHaveSideEffects() || I->mayReadFromMemory()) in sinkUnusedInvariants()
|
| H A D | DeadStoreElimination.cpp | 1163 if (!UseInst->mayReadFromMemory()) in isReadClobber() 1236 !KillingI->mayReadFromMemory(); in getDomMemoryDef()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MemDepPrinter.cpp | 100 if (!Inst->mayReadFromMemory() && !Inst->mayWriteToMemory()) in runOnFunction()
|
| H A D | VectorUtils.cpp | 1285 (A->mayReadFromMemory() != B->mayReadFromMemory()) || in analyzeInterleaving() 1332 if (A->mayReadFromMemory()) in analyzeInterleaving()
|
| H A D | DependenceAnalysis.cpp | 224 return Src->mayReadFromMemory() && Dst->mayReadFromMemory(); in isInput() 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 | GlobalsModRef.cpp | 601 if (I.mayReadFromMemory()) in AnalyzeCallGraph()
|
| H A D | LoopInfo.cpp | 85 if (I->mayReadFromMemory()) in makeLoopInvariant()
|
| H A D | IVDescriptors.cpp | 985 SinkCandidate->mayReadFromMemory() || SinkCandidate->isTerminator()) in isFirstOrderRecurrence()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 581 bool mayReadFromMemory() const; 585 return mayReadFromMemory() || mayWriteToMemory();
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanRecipes.cpp | 73 bool VPRecipeBase::mayReadFromMemory() const { in mayReadFromMemory() function in VPRecipeBase 81 ->mayReadFromMemory(); in mayReadFromMemory() 95 assert((!I || !I->mayReadFromMemory()) && in mayReadFromMemory()
|
| H A D | VectorCombine.cpp | 639 if ((IsConst0 && I1 && I1->mayReadFromMemory()) || in scalarizeBinopOrCmp() 640 (IsConst1 && I0 && I0->mayReadFromMemory())) in scalarizeBinopOrCmp()
|
| H A D | LoopVectorizationLegality.cpp | 1100 if (I.mayReadFromMemory()) { in blockCanBePredicated()
|
| H A D | VPlan.h | 742 bool mayReadFromMemory() const; 749 return mayReadFromMemory() || mayWriteToMemory(); in mayReadOrWriteMemory()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 1425 if (BBI->mayWriteToMemory() || BBI->mayReadFromMemory() || BBI->mayThrow()) in visitStoreInst() 1516 if (BBI->mayReadFromMemory() || BBI->mayThrow() || in mergeStoreIntoSuccessor() 1525 if (I->mayReadFromMemory() || I->mayThrow() || I->mayWriteToMemory()) in mergeStoreIntoSuccessor()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTagging.cpp | 376 if (BI->mayWriteToMemory() || BI->mayReadFromMemory()) in collectInitializers()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 580 if (I->mayReadFromMemory() || I->isCast()) in getUserBonus()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | Analysis.cpp | 558 if (BBI->mayHaveSideEffects() || BBI->mayReadFromMemory() || in isInTailCallPosition()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instruction.cpp | 576 bool Instruction::mayReadFromMemory() const { in mayReadFromMemory() function in Instruction
|