Searched refs:mayHaveSideEffects (Results 1 – 25 of 39) sorted by relevance
12
356 if (iter1->mayHaveSideEffects()) { in CompareIfRegionBlock()438 if (isa<PHINode>(CI) || CI->mayHaveSideEffects() || in MergeIfRegion()
370 if (!C->mayHaveSideEffects()) { in rotateLoop()
803 if (I->mayHaveSideEffects() || I->mayReadOrWriteMemory()) in isSafeToUnrollAndJam()
1911 if (CurI.mayHaveSideEffects() && !isa<StoreInst>(CurI)) in isSafeToSpeculateStore()2029 if (!OpI || OpI->getParent() != BB || OpI->mayHaveSideEffects()) in SpeculativelyExecuteBB()2264 if (!N->mayHaveSideEffects()) { in FoldCondBranchOnPHI()3248 return I.mayWriteToMemory() || I.mayHaveSideEffects(); in tryWidenCondBranchToCondBranch()4237 if (BBI->mayHaveSideEffects()) { in SimplifyUnreachable()6041 if (i == I->getParent()->end() || i->mayHaveSideEffects()) in passingValueIsAlwaysUndefined()
355 if (!NewInst->mayHaveSideEffects()) { in CloneBlock()
38 if (Insn.mayHaveSideEffects()) in isGuardAsWidenableBranch()
83 I->mayHaveSideEffects(); in isAlwaysLive()
644 std::prev(I.getIterator())->mayHaveSideEffects(), in visitUnreachableInst()
735 if (I->getParent() == Phi->getParent() && !I->mayHaveSideEffects() && in isFirstOrderRecurrence()
96 if (I.mayHaveSideEffects() && I.use_empty()) in bitTrackingDCE()
86 if (any_of(*I, [](Instruction &I) { return I.mayHaveSideEffects(); })) in isLoopDead()
332 if (I->mayHaveSideEffects()) // This also handles volatile loads. in canMoveAboveCall()337 if (CI->mayHaveSideEffects()) { in canMoveAboveCall()
860 if (I.mayHaveSideEffects()) in isTrivialLoopExitBlockHelper()1091 if (I.mayHaveSideEffects()) in TryTrivialLoopUnswitch()1432 if (!I->mayHaveSideEffects()) { in ReplaceUsesOfWith()
328 if (I.isEHPad() || I.mayHaveSideEffects()) { in isAlwaysLive()
563 if (Curr->mayHaveSideEffects()) in hasHardUserWithinLoop()864 return I.mayHaveSideEffects(); in canLoopBeDeleted()2589 if (I->mayHaveSideEffects() || I->mayReadFromMemory()) in sinkUnusedInvariants()2932 if (I.mayHaveSideEffects() || I.mayThrow()) in predicateLoopExits()
591 return I.mayHaveSideEffects() || I.mayReadFromMemory(); in containsUnsafeInstructions()1263 assert(!NewI->mayHaveSideEffects() && in transform()
469 if (Cond->use_empty() && !Cond->mayHaveSideEffects()) in ReplaceFoldableUses()1660 if (CondInst->use_empty() && !CondInst->mayHaveSideEffects()) in ProcessThreadableEdges()2384 if (!New->mayHaveSideEffects()) { in DuplicateCondBranchOnPHIIntoPred()
253 if (Inst->mayHaveSideEffects()) { in canSinkBCECmpInst()
1119 if (Call->mayHaveSideEffects()) in hoistExpressions()
551 if (I.mayHaveSideEffects()) in analyzeLoopUnrollCost()
450 bool mayHaveSideEffects() const { return mayWriteToMemory() || mayThrow(); } in mayHaveSideEffects() function
533 if (I->mayHaveSideEffects() || I->mayReadFromMemory() || in isInTailCallPosition()547 if (BBI->mayHaveSideEffects() || BBI->mayReadFromMemory() || in isInTailCallPosition()
582 bool mayHaveSideEffects() const { return mayWriteToMemory() || mayThrow(); }
481 if (User->mayHaveSideEffects()) in findValueToReuse()
604 return (!isa<CallInst>(this) || !this->mayHaveSideEffects()) && in isSafeToRemove()