|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/Analysis/LoopInfo.h 531 bool isLoopInvariant(const Value *V) const;
References
lib/Analysis/IVDescriptors.cpp 937 if (L->isLoopInvariant(Op0))
939 else if (L->isLoopInvariant(Op1))
lib/Analysis/Loads.cpp 212 if (L->isLoopInvariant(Ptr))
lib/Analysis/LoopInfo.cpp 68 return all_of(I->operands(), [this](Value *V) { return isLoopInvariant(V); });
82 if (isLoopInvariant(I))
lib/Analysis/ScalarEvolution.cpp 4974 if (BO->LHS == PN && L->isLoopInvariant(BO->RHS))
4976 else if (BO->RHS == PN && L->isLoopInvariant(BO->LHS))
lib/Analysis/ScalarEvolutionExpander.cpp 218 if (!L->isLoopInvariant(LHS) || !L->isLoopInvariant(RHS)) break;
218 if (!L->isLoopInvariant(LHS) || !L->isLoopInvariant(RHS)) break;
547 if (!L->isLoopInvariant(V) || !L->isLoopInvariant(Idx)) break;
547 if (!L->isLoopInvariant(V) || !L->isLoopInvariant(Idx)) break;
567 if (!L->isLoopInvariant(V)) break;
570 GepIndices, [L](Value *Op) { return !L->isLoopInvariant(Op); });
lib/Analysis/ValueTracking.cpp 3709 if (!L->isLoopInvariant(Load->getPointerOperand()))
lib/Analysis/VectorUtils.cpp 247 if (!Lp->isLoopInvariant(Stride))
lib/Target/AArch64/AArch64FalkorHWPFFix.cpp 160 if (L.isLoopInvariant(PtrValue))
lib/Target/AArch64/AArch64TargetTransformInfo.cpp 735 if (L->isLoopInvariant(PtrValue))
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp 180 if (!Inst || L->isLoopInvariant(Op))
lib/Target/ARM/MVETailPredication.cpp 211 Pred != ICmpInst::ICMP_ULE || !L->isLoopInvariant(Shuffle))
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 912 if (CurLoop->isLoopInvariant(PV.X)) {
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp 266 if (L->isLoopInvariant(PtrValue))
lib/Transforms/InstCombine/InstructionCombining.cpp 1809 if (L->isLoopInvariant(GO1) && !L->isLoopInvariant(SO1)) {
1809 if (L->isLoopInvariant(GO1) && !L->isLoopInvariant(SO1)) {
lib/Transforms/Scalar/IndVarSimplify.cpp 787 if (!L->isLoopInvariant(Cond))
1076 L && L->getLoopPreheader() && L->isLoopInvariant(NarrowOper);
2040 if (L->isLoopInvariant(IncI->getOperand(1)))
2050 if (L->isLoopInvariant(IncI->getOperand(0)))
2079 if (L->isLoopInvariant(BI->getCondition()))
2095 if (!L->isLoopInvariant(RHS)) {
2096 if (!L->isLoopInvariant(LHS))
lib/Transforms/Scalar/LICM.cpp 440 !L->isLoopInvariant(AS.begin()->getValue()))
867 CurLoop->isLoopInvariant(I.getOperand(1)) &&
1122 if (ORE && Invalidated && CurLoop->isLoopInvariant(LI->getPointerOperand()))
1720 if (LI && CurLoop->isLoopInvariant(LI->getPointerOperand()))
lib/Transforms/Scalar/LoopDataPrefetch.cpp 269 if (L->isLoopInvariant(PtrValue))
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 526 CurLoop->isLoopInvariant(SplatValue)) {
843 if (!SplatValue || !CurLoop->isLoopInvariant(SplatValue))
lib/Transforms/Scalar/LoopInterchange.cpp 643 !OuterLoop->isLoopInvariant(I)) {
lib/Transforms/Scalar/LoopPredication.cpp 497 if (!L->isLoopInvariant(Op))
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 824 L && L->isLoopInvariant(ResultPtr) &&
1245 if (CurLoop->isLoopInvariant(FirstOffset))
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 105 assert(!L.isLoopInvariant(&Root) &&
122 if (L.isLoopInvariant(OpV)) {
169 if (!L.isLoopInvariant(PN->getIncomingValueForBlock(&ExitingBB)))
362 if (L.isLoopInvariant(BI.getCondition())) {
579 if (!L.isLoopInvariant(LoopCond))
2551 if (!isa<Constant>(Cond) && L.isLoopInvariant(Cond))
2559 L.isLoopInvariant(SI->getCondition()) && !BB->getUniqueSuccessor())
2569 if (L.isLoopInvariant(BI->getCondition())) {
lib/Transforms/Utils/LoopUnrollPeel.cpp 143 if (L->isLoopInvariant(Input))
lib/Transforms/Utils/SimplifyIndVar.cpp 547 if (!(ICI->getOperand(0) == TI && L->isLoopInvariant(ICI->getOperand(1))) &&
548 !(ICI->getOperand(1) == TI && L->isLoopInvariant(ICI->getOperand(0))))
579 bool IsSwapped = L->isLoopInvariant(ICI->getOperand(0));
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp 332 if (!(CondOp0 == IVUpdate && OuterLp->isLoopInvariant(CondOp1)) &&
333 !(CondOp1 == IVUpdate && OuterLp->isLoopInvariant(CondOp0))) {
451 !TheLoop->isLoopInvariant(Br->getCondition()) &&
lib/Transforms/Vectorize/LoopVectorize.cpp 1446 if (VF == 1 || !I || !TheLoop->contains(I) || TheLoop->isLoopInvariant(I))
1660 bool SafeToHoist = OrigLoop->isLoopInvariant(V) &&
2066 if (OrigLoop->isLoopInvariant(V))
3559 if (LI->getLoopFor(LoopVectorBody)->isLoopInvariant(PreviousLastPart) ||
4106 OrigLoop->isLoopInvariant(GEP->getPointerOperand())
4114 if (OrigLoop->isLoopInvariant(U.get()))
4394 !TheLoop->isLoopInvariant(V);