Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp353 if (iter1->mayReadFromMemory()) in CompareIfRegionBlock()
358 if (BI->mayReadFromMemory() || BI->mayWriteToMemory()) { in CompareIfRegionBlock()
H A DLoopRotationUtils.cpp610 if (L->hasLoopInvariantOperands(Inst) && !Inst->mayReadFromMemory() && in rotateLoop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DDependencyGraph.cpp147 if (ToI->mayReadFromMemory()) in getRoughDepType()
151 } else if (FromI->mayReadFromMemory()) { in getRoughDepType()
188 assert((SrcI->mayReadFromMemory() || SrcI->mayWriteToMemory()) && in alias()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp916 bool mayReadFromMemory() const { in mayReadFromMemory() function in __anon2439b80b0411::EarlyCSE::ParseMemoryInst
919 return Inst->mayReadFromMemory(); in mayReadFromMemory()
1628 if (Inst.mayReadFromMemory() && in processNode()
1629 !(MemInst.isValid() && !MemInst.mayReadFromMemory())) in processNode()
1644 InVal.first->mayReadFromMemory() == Inst.mayReadFromMemory()) { in processNode()
1704 assert(Inst.mayReadFromMemory() && "relied on to prevent DSE above"); in processNode()
H A DSink.cpp87 if (Inst->mayReadFromMemory() && in IsAcceptableTarget()
H A DLoopVersioningLICM.cpp324 if (I->mayReadFromMemory()) { in instructionSafeForVersioning()
H A DGuardWidening.cpp571 Inst->mayReadFromMemory()) in canBeHoistedTo()
592 !Inst->mayReadFromMemory() && in makeAvailableAt()
H A DIndVarSimplify.cpp775 if(I->mayReadFromMemory() || isa<CallInst>(I) || isa<InvokeInst>(I)) in hasConcreteDefImpl()
1109 if (I.mayHaveSideEffects() || I.mayReadFromMemory()) in sinkUnusedInvariants()
H A DDeadStoreElimination.cpp1422 if (!UseInst->mayReadFromMemory()) in isReadClobber()
1498 !KillingI->mayReadFromMemory(); in getDomMemoryDef()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h804 LLVM_ABI bool mayReadFromMemory() const LLVM_READONLY;
808 return mayReadFromMemory() || mayWriteToMemory();
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1477 if (BBI->mayWriteToMemory() || BBI->mayReadFromMemory() || BBI->mayThrow()) in visitStoreInst()
1593 if (BBI->mayReadFromMemory() || BBI->mayThrow() || in mergeStoreIntoSuccessor()
1602 if (I->mayReadFromMemory() || I->mayThrow() || I->mayWriteToMemory()) in mergeStoreIntoSuccessor()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp1593 (A->mayReadFromMemory() != B->mayReadFromMemory()) || in analyzeInterleaving()
1640 if (A->mayReadFromMemory()) in analyzeInterleaving()
H A DDependenceAnalysis.cpp249 return Src->mayReadFromMemory() && Dst->mayReadFromMemory(); in isInput()
261 return Src->mayWriteToMemory() && Dst->mayReadFromMemory(); in isFlow()
267 return Src->mayReadFromMemory() && Dst->mayWriteToMemory(); in isAnti()
4111 assert(Src->mayReadFromMemory() || Src->mayWriteToMemory()); in getSplitIteration()
4112 assert(Dst->mayReadFromMemory() || Dst->mayWriteToMemory()); in getSplitIteration()
H A DLoads.cpp862 } else if (I.mayReadFromMemory() || I.mayWriteToMemory() || I.mayThrow()) in isDereferenceableReadOnlyLoop()
H A DGlobalsModRef.cpp608 if (I.mayReadFromMemory()) in AnalyzeCallGraph()
H A DLoopInfo.cpp87 if (I->mayReadFromMemory()) in makeLoopInvariant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp573 if (BBI->mayHaveSideEffects() || BBI->mayReadFromMemory() || in isInTailCallPosition()
H A DSelectOptimize.cpp1178 if (ForSinking && II->mayReadFromMemory() && !isSafeToSinkLoad(II, SI)) in getExclBackwardsSlice()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp381 if (BI->mayWriteToMemory() || BI->mayReadFromMemory()) in collectInitializers()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h468 bool mayReadFromMemory() const;
475 return mayReadFromMemory() || mayWriteToMemory(); in mayReadOrWriteMemory()
1474 MayReadFromMemory(CI.mayReadFromMemory()), in VPRecipeWithIRFlags()
1522 bool mayReadFromMemory() const { return MayReadFromMemory; } in mayReadFromMemory() function
H A DVPlanRecipes.cpp102 bool VPRecipeBase::mayReadFromMemory() const { in mayReadFromMemory() function in VPRecipeBase
113 ->mayReadFromMemory(); in mayReadFromMemory()
119 return cast<VPWidenIntrinsicRecipe>(this)->mayReadFromMemory(); in mayReadFromMemory()
141 assert((!I || !I->mayReadFromMemory()) && in mayReadFromMemory()
2696 return R->mayReadFromMemory() || R->mayWriteToMemory(); in mayReadOrWriteMemory()
H A DLoopVectorizationLegality.cpp1453 if (I.mayReadFromMemory() || I.mayWriteToMemory() || I.mayThrow()) in blockCanBePredicated()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp267 if (I->mayReadFromMemory()) { in tryToSinkInstruction()
H A DTypeSanitizer.cpp552 MLoc.Size.getValue(), I->mayReadFromMemory(), I->mayWriteToMemory(), in sanitizeFunction()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp1004 bool Instruction::mayReadFromMemory() const { in mayReadFromMemory() function in Instruction

12