Searched refs:mayHaveSideEffects (Results 1 – 18 of 18) sorted by relevance
65 I->mayHaveSideEffects()) { in runOnFunction()
119 if (BI->mayHaveSideEffects()) in isLoopDead()
443 if (I->mayHaveSideEffects()) // This also handles volatile loads. in CanMoveAboveCall()448 if (CI->mayHaveSideEffects()) { in CanMoveAboveCall()
527 if (I->mayHaveSideEffects()) in isTrivialLoopExitBlockHelper()623 if (I->mayHaveSideEffects()) in IsTrivialUnswitchCondition()
1734 if (I->mayHaveSideEffects() || I->mayReadFromMemory()) in SinkUnusedInvariants()
2457 CurInst->mayReadFromMemory() || CurInst->mayHaveSideEffects() || in performPRE()
1215 if (Pred->getTerminator()->mayHaveSideEffects()) in isSafePHIToSpeculate()
1122 if (TI == InVal || TI->mayHaveSideEffects()) in isSafePHIToSpeculate()
345 if (iter1->mayHaveSideEffects()) { in CompareIfRegionBlock()429 if (isa<PHINode>(CI) || CI->mayHaveSideEffects() || in MergeIfRegion()
291 if (!I->mayHaveSideEffects()) return true; in isInstructionTriviallyDead()380 for (Instruction *I = PN; areAllUsesEqual(I) && !I->mayHaveSideEffects(); in RecursivelyDeleteDeadPHINode()
1204 I1->mayHaveSideEffects() || I2->mayHaveSideEffects() || in SinkThenElseCodeToEnd()1342 if (CurI->mayHaveSideEffects() && !isa<StoreInst>(CurI)) in isSafeToSpeculateStore()1458 OpI->mayHaveSideEffects()) in SpeculativelyExecuteBB()2994 if (BBI->mayHaveSideEffects()) { in SimplifyUnreachable()4128 if (i == I->getParent()->end() || i->mayHaveSideEffects()) in passingValueIsAlwaysUndefined()
499 if (I->mayHaveSideEffects() || I->mayReadFromMemory() || in isInTailCallPosition()507 if (BBI->mayHaveSideEffects() || BBI->mayReadFromMemory() || in isInTailCallPosition()
265 return !I->mayHaveSideEffects() && !I->mayReadFromMemory() && in InstructionWillNotHaveChain()
342 bool mayHaveSideEffects() const { in mayHaveSideEffects() function
606 std::prev(BasicBlock::iterator(&I))->mayHaveSideEffects(), in visitUnreachableInst()
874 if (IncV->mayHaveSideEffects()) in isNormalAddRecExprPHI()
166 if (I->mayHaveSideEffects()) in IsSafeComputationToRemove()2973 else if (I->mayHaveSideEffects()) in cxxDtorIsEmpty()
2502 if (isa<PHINode>(I) || isa<LandingPadInst>(I) || I->mayHaveSideEffects() || in TryToSinkInstruction()