Home
last modified time | relevance | path

Searched refs:mayHaveSideEffects (Results 1 – 18 of 18) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DADCE.cpp65 I->mayHaveSideEffects()) { in runOnFunction()
DLoopDeletion.cpp119 if (BI->mayHaveSideEffects()) in isLoopDead()
DTailRecursionElimination.cpp443 if (I->mayHaveSideEffects()) // This also handles volatile loads. in CanMoveAboveCall()
448 if (CI->mayHaveSideEffects()) { in CanMoveAboveCall()
DLoopUnswitch.cpp527 if (I->mayHaveSideEffects()) in isTrivialLoopExitBlockHelper()
623 if (I->mayHaveSideEffects()) in IsTrivialUnswitchCondition()
DIndVarSimplify.cpp1734 if (I->mayHaveSideEffects() || I->mayReadFromMemory()) in SinkUnusedInvariants()
DGVN.cpp2457 CurInst->mayReadFromMemory() || CurInst->mayHaveSideEffects() || in performPRE()
DScalarReplAggregates.cpp1215 if (Pred->getTerminator()->mayHaveSideEffects()) in isSafePHIToSpeculate()
DSROA.cpp1122 if (TI == InVal || TI->mayHaveSideEffects()) in isSafePHIToSpeculate()
/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp345 if (iter1->mayHaveSideEffects()) { in CompareIfRegionBlock()
429 if (isa<PHINode>(CI) || CI->mayHaveSideEffects() || in MergeIfRegion()
DLocal.cpp291 if (!I->mayHaveSideEffects()) return true; in isInstructionTriviallyDead()
380 for (Instruction *I = PN; areAllUsesEqual(I) && !I->mayHaveSideEffects(); in RecursivelyDeleteDeadPHINode()
DSimplifyCFG.cpp1204 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()
/external/llvm/lib/CodeGen/
DAnalysis.cpp499 if (I->mayHaveSideEffects() || I->mayReadFromMemory() || in isInTailCallPosition()
507 if (BBI->mayHaveSideEffects() || BBI->mayReadFromMemory() || in isInTailCallPosition()
DStackProtector.cpp265 return !I->mayHaveSideEffects() && !I->mayReadFromMemory() && in InstructionWillNotHaveChain()
/external/llvm/include/llvm/IR/
DInstruction.h342 bool mayHaveSideEffects() const { in mayHaveSideEffects() function
/external/llvm/lib/Analysis/
DLint.cpp606 std::prev(BasicBlock::iterator(&I))->mayHaveSideEffects(), in visitUnreachableInst()
DScalarEvolutionExpander.cpp874 if (IncV->mayHaveSideEffects()) in isNormalAddRecExprPHI()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp166 if (I->mayHaveSideEffects()) in IsSafeComputationToRemove()
2973 else if (I->mayHaveSideEffects()) in cxxDtorIsEmpty()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2502 if (isa<PHINode>(I) || isa<LandingPadInst>(I) || I->mayHaveSideEffects() || in TryToSinkInstruction()