Home
last modified time | relevance | path

Searched refs:mayReadFromMemory (Results 1 – 25 of 41) sorted by relevance

12

/llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/
H A DVPlanTest.cpp970 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 DFlattenCFG.cpp356 if (iter1->mayReadFromMemory()) in CompareIfRegionBlock()
361 if (BI->mayReadFromMemory() || BI->mayWriteToMemory()) { in CompareIfRegionBlock()
H A DLoopRotationUtils.cpp422 if (L->hasLoopInvariantOperands(Inst) && !Inst->mayReadFromMemory() && in rotateLoop()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp363 if (I->mayReadFromMemory()) { in instructionSafeForVersioning()
561 if (!Inst.mayReadFromMemory() && !Inst.mayWriteToMemory()) in setNoAliasToLoop()
H A DEarlyCSE.cpp794 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 DSink.cpp82 if (Inst->mayReadFromMemory()) in IsAcceptableTarget()
H A DGuardWidening.cpp472 Inst->mayReadFromMemory()) in isAvailableAt()
492 !Inst->mayReadFromMemory() && "Should've checked with isAvailableAt!"); in makeAvailableAt()
H A DIndVarSimplify.cpp823 if(I->mayReadFromMemory() || isa<CallInst>(I) || isa<InvokeInst>(I)) in hasConcreteDefImpl()
1227 if (I->mayHaveSideEffects() || I->mayReadFromMemory()) in sinkUnusedInvariants()
H A DDeadStoreElimination.cpp1163 if (!UseInst->mayReadFromMemory()) in isReadClobber()
1236 !KillingI->mayReadFromMemory(); in getDomMemoryDef()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemDepPrinter.cpp100 if (!Inst->mayReadFromMemory() && !Inst->mayWriteToMemory()) in runOnFunction()
H A DVectorUtils.cpp1285 (A->mayReadFromMemory() != B->mayReadFromMemory()) || in analyzeInterleaving()
1332 if (A->mayReadFromMemory()) in analyzeInterleaving()
H A DDependenceAnalysis.cpp224 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 DGlobalsModRef.cpp601 if (I.mayReadFromMemory()) in AnalyzeCallGraph()
H A DLoopInfo.cpp85 if (I->mayReadFromMemory()) in makeLoopInvariant()
H A DIVDescriptors.cpp985 SinkCandidate->mayReadFromMemory() || SinkCandidate->isTerminator()) in isFirstOrderRecurrence()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstruction.h581 bool mayReadFromMemory() const;
585 return mayReadFromMemory() || mayWriteToMemory();
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp73 bool VPRecipeBase::mayReadFromMemory() const { in mayReadFromMemory() function in VPRecipeBase
81 ->mayReadFromMemory(); in mayReadFromMemory()
95 assert((!I || !I->mayReadFromMemory()) && in mayReadFromMemory()
H A DVectorCombine.cpp639 if ((IsConst0 && I1 && I1->mayReadFromMemory()) || in scalarizeBinopOrCmp()
640 (IsConst1 && I0 && I0->mayReadFromMemory())) in scalarizeBinopOrCmp()
H A DLoopVectorizationLegality.cpp1100 if (I.mayReadFromMemory()) { in blockCanBePredicated()
H A DVPlan.h742 bool mayReadFromMemory() const;
749 return mayReadFromMemory() || mayWriteToMemory(); in mayReadOrWriteMemory()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1425 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 DAArch64StackTagging.cpp376 if (BI->mayWriteToMemory() || BI->mayReadFromMemory()) in collectInitializers()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp580 if (I->mayReadFromMemory() || I->isCast()) in getUserBonus()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DAnalysis.cpp558 if (BBI->mayHaveSideEffects() || BBI->mayReadFromMemory() || in isInTailCallPosition()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstruction.cpp576 bool Instruction::mayReadFromMemory() const { in mayReadFromMemory() function in Instruction

12