Home
last modified time | relevance | path

Searched refs:comesBefore (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDominators.cpp169 return Def->comesBefore(User); in dominates()
318 return Def->comesBefore(UserInst); in dominates()
349 return I1->comesBefore(I2) ? I1 : I2; in findNearestCommonDominator()
H A DBasicBlock.cpp1175 assert((!Prev || Prev->comesBefore(&I)) && in validateInstrOrdering()
H A DInstruction.cpp282 bool Instruction::comesBefore(const Instruction *Other) const { in comesBefore() function in Instruction
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp367 return LHS->comesBefore(RHS); in buildMapping()
489 (InsertPt->comesBefore(I) || InsertPt == I)) in mergeRange()
496 if (InsertPt->comesBefore(*Begin)) in mergeRange()
529 for (; (*LastSplit)->comesBefore(&*It); ++LastSplit) in mergeAssumes()
H A DCodeMoverUtils.cpp100 return InstA->comesBefore(InstB); in domTreeLevelBefore()
H A DPredicateInfo.cpp108 return cast<Instruction>(A)->comesBefore(cast<Instruction>(B)); in valueComesBefore()
H A DSimplifyCFG.cpp1146 assert(UI->getParent() == BB && BonusInst.comesBefore(UI) && in CloneInstructionsIntoPredecessorBlockAndUpdateSSAUses()
3915 return UI->getParent() == BB && I.comesBefore(UI); in FoldBranchToCommonDest()
7385 if (Use->getParent() != I->getParent() || Use == I || Use->comesBefore(I)) in passingValueIsAlwaysUndefined()
H A DScalarEvolutionExpander.cpp76 (&*IP == CI || CI->comesBefore(&*IP))) { in ReuseOrCreateCast()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp164 sort(C, [](auto &A, auto &B) { return A.Inst->comesBefore(B.Inst); }); in sortChainInBBOrder()
171 return A.Inst->comesBefore(B.Inst); // stable tiebreaker in sortChainInOffsetOrder()
219 if (!IM->comesBefore(I)) { in reorder()
896 return A.Inst->comesBefore(B.Inst); in vectorizeChain()
949 return A.Inst->comesBefore(B.Inst); in vectorizeChain()
1390 assert(Instrs[I - 1]->comesBefore(Instrs[I])); in gatherChains()
1440 (ChainIter->first->comesBefore(I) ? I : ChainIter->first)); in gatherChains()
H A DVectorCombine.cpp1298 if (LastCheckedInst->comesBefore(UI)) { in scalarizeLoadExtract()
H A DSLPVectorizer.cpp3392 ScheduleStart->comesBefore(ScheduleEnd) && in verify()
8686 return B->comesBefore(A); in getSpillCost()
9392 TEInsertPt->comesBefore(InsertPt)) in isGatherShuffledSingleRegisterEntry()
9839 if (LastInst->comesBefore(I)) in getLastInstructionInBundle()
9875 if (I->comesBefore(FirstInst)) in getLastInstructionInBundle()
11875 if (UI->comesBefore(InsertPt)) in vectorizeTree()
11941 Builder.GetInsertPoint()->comesBefore(I)) in vectorizeTree()
12223 if (II->getParent() == NewI->getParent() && II->comesBefore(NewI)) in vectorizeTree()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp372 if (Write->comesBefore(Read)) in RecordMemoryOps()
380 bool BaseFirst = Base->comesBefore(Offset); in RecordMemoryOps()
390 if (Dominator->comesBefore(Before)) in RecordMemoryOps()
706 return A->comesBefore(B); in InsertParallelMACs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionPrecedenceTracking.cpp66 return MaybeFirstSpecial && MaybeFirstSpecial->comesBefore(Insn); in isPreceededBySpecialInstruction()
H A DCFG.cpp252 if (A == B || A->comesBefore(B)) in isPotentiallyReachable()
H A DStackLifetime.cpp55 return L->comesBefore(R); in isAliveAfter()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp99 User->comesBefore(ReplInst)) in runLowerConstExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp1133 return LHS.second->comesBefore(RHS.second); in updateDefMap()
1134 return LHS.first->comesBefore(RHS.first); in updateDefMap()
H A DMemCpyOptimizer.cpp927 C->comesBefore(LifetimeArg)) in performCallSlotOptzn()
1560 if (UI->comesBefore(Store)) in performStackMoveOptzn()
H A DMergeICmps.cpp251 return (Inst->getParent() != LI->getParent() || !Inst->comesBefore(LI)) && in canSinkBCECmpInst()
H A DConstraintElimination.cpp1377 UserI->comesBefore(ContextInst)) in checkAndReplaceCondition()
1646 return InstA->comesBefore(InstB); in eliminateConstraints()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h225 bool comesBefore(const Instruction *Other) const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp228 return A->comesBefore(B); in operator ()()
850 assert(Base->comesBefore(In) && "Base should come before In"); in getUpwardDeps()
861 if (I->getParent() == Parent && Base->comesBefore(I)) in getUpwardDeps()
1154 return A->comesBefore(B); in realignLoadGroup()
2883 bool MoveUp = (To != Block.end() && To->comesBefore(&In)); in isSafeToMoveBeforeInBB()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackColoring.cpp930 if (From->comesBefore(To)) in remapInstructions()
H A DComplexDeinterleavingPass.cpp1436 auto *ReplacementAnchor = R->comesBefore(I) ? I : R; in identifyNodes()
1961 Instruction *InsertPoint = (I->comesBefore(R) ? R : I)->getNextNode(); in replaceNode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp697 if (!Start->comesBefore(End)) { in foldLoadsRecursive()

12