/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ReachingDefAnalysis.cpp | 545 static bool mayHaveSideEffects(MachineInstr &MI) { in mayHaveSideEffects() function 575 if (mayHaveSideEffects(*I)) in isSafeToMove() 623 else if (mayHaveSideEffects(*MI)) { in isSafeToRemove() 652 if (mayHaveSideEffects(*Def)) in collectKilledOperands()
|
H A D | Analysis.cpp | 572 if (BBI->mayHaveSideEffects() || BBI->mayReadFromMemory() || in isInTailCallPosition()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | GuardUtils.cpp | 43 if (Insn.mayHaveSideEffects()) in isGuardAsWidenableBranch()
|
H A D | CodeMetrics.cpp | 38 if (!I->mayHaveSideEffects() && !I->isTerminator()) in appendSpeculatableOperands()
|
H A D | DemandedBits.cpp | 51 I->mayHaveSideEffects(); in isAlwaysLive()
|
H A D | Lint.cpp | 611 std::prev(I.getIterator())->mayHaveSideEffects(), in visitUnreachableInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | FlattenCFG.cpp | 344 if (iter1->mayHaveSideEffects()) { in CompareIfRegionBlock() 480 if (isa<PHINode>(CI) || CI->mayHaveSideEffects() || in MergeIfRegion()
|
H A D | LoopUtils.cpp | 508 assert(!OldTerm->mayHaveSideEffects() && in deleteDeadLoop() 1394 if (Curr->mayHaveSideEffects()) in hasHardUserWithinLoop() 1468 return I.mayHaveSideEffects(); in canLoopBeDeleted() 2070 all_of(*Header, [](Instruction &I) { return !I.mayHaveSideEffects(); }); in hasPartialIVCondition() 2081 *Current, [](Instruction &I) { return !I.mayHaveSideEffects(); }); in hasPartialIVCondition()
|
H A D | LoopRotationUtils.cpp | 697 if (!C->mayHaveSideEffects()) { in rotateLoop()
|
H A D | LoopUnrollAndJam.cpp | 977 if (I->mayHaveSideEffects() || I->mayReadOrWriteMemory()) in isSafeToUnrollAndJam()
|
H A D | SimplifyCFG.cpp | 1453 if (I->mayHaveSideEffects() || isa<AllocaInst>(I)) in skippedInstrFlags() 1470 (I->mayReadFromMemory() || I->mayHaveSideEffects() || isa<AllocaInst>(I))) in isSafeToHoistInstr() 2804 return !I->mayHaveSideEffects() && !I->isTerminator() && in isEphemeral() 3100 if (!OpI || OpI->getParent() != BB || OpI->mayHaveSideEffects()) in SpeculativelyExecuteBB() 3407 if (!N->mayHaveSideEffects()) { in FoldCondBranchOnValueKnownInPredecessorImpl() 4355 return I.mayWriteToMemory() || I.mayHaveSideEffects(); in tryWidenCondBranchToCondBranch()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | BDCE.cpp | 103 if (I.mayHaveSideEffects() && I.use_empty()) in bitTrackingDCE()
|
H A D | TailRecursionElimination.cpp | 342 if (I->mayHaveSideEffects()) // This also handles volatile loads. in canMoveAboveCall() 347 if (CI->mayHaveSideEffects()) { in canMoveAboveCall()
|
H A D | LoopDeletion.cpp | 108 return I.mayHaveSideEffects() && !I.isDroppable(); in isLoopDead()
|
H A D | ADCE.cpp | 333 if (I.isEHPad() || I.mayHaveSideEffects()) { in isAlwaysLive()
|
H A D | LoopInterchange.cpp | 543 return I.mayHaveSideEffects() || I.mayReadFromMemory(); in containsUnsafeInstructions() 1323 assert(!NewI->mayHaveSideEffects() && in transform()
|
H A D | IndVarSimplify.cpp | 1116 if (I->mayHaveSideEffects() || I->mayReadFromMemory()) in sinkUnusedInvariants() 1844 if (I.mayHaveSideEffects()) in predicateLoopExits()
|
H A D | JumpThreading.cpp | 417 if (Cond->use_empty() && !Cond->mayHaveSideEffects()) { in replaceFoldableUses() 1657 if (CondInst->use_empty() && !CondInst->mayHaveSideEffects()) in processThreadableEdges() 2702 if (!New->mayHaveSideEffects()) { in duplicateCondBranchOnPHIIntoPred()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUImageIntrinsicOptimizer.cpp | 148 if (I->mayHaveSideEffects()) { in collectMergeableInsts()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanAnalysis.cpp | 310 if (!OpR || OpR->mayHaveSideEffects() || EphRecipes.contains(OpR)) in collectEphemeralRecipesForVPlan()
|
H A D | VPlanTransforms.cpp | 132 SinkCandidate->mayHaveSideEffects() || in sinkScalarOperands() 500 if (R.mayHaveSideEffects()) in isDeadRecipe() 781 if (SinkCandidate->mayHaveSideEffects()) in sinkRecurrenceUsersAfterPrevious()
|
H A D | VPlanRecipes.cpp | 129 bool VPRecipeBase::mayHaveSideEffects() const { in mayHaveSideEffects() function in VPRecipeBase 170 assert((!I || !I->mayHaveSideEffects()) && in mayHaveSideEffects() 181 cast<VPWidenMemoryRecipe>(this)->getIngredient().mayHaveSideEffects() == in mayHaveSideEffects() 188 return R->getUnderlyingInstr()->mayHaveSideEffects(); in mayHaveSideEffects()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instruction.cpp | 1123 bool Instruction::mayHaveSideEffects() const { in mayHaveSideEffects() function in Instruction 1128 return (!isa<CallInst>(this) || !this->mayHaveSideEffects()) && in isSafeToRemove()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonVectorLoopCarriedReuse.cpp | 401 if (User->mayHaveSideEffects()) in findValueToReuse()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instruction.h | 809 bool mayHaveSideEffects() const LLVM_READONLY;
|