Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DSSAContext.cpp72 bool SSAContext::comesBefore(const Instruction *lhs, const Instruction *rhs) { comesBefore() function in SSAContext
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.cpp1150 assert((!Prev || Prev->comesBefore(&I)) && in validateInstrOrdering()
H A DInstruction.cpp318 bool Instruction::comesBefore(const Instruction *Other) const { in comesBefore() function in Instruction
/freebsd/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()
/freebsd/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()
948 return A.Inst->comesBefore(B.Inst); in vectorizeChain()
1389 assert(Instrs[I - 1]->comesBefore(Instrs[I])); in gatherChains()
1439 (ChainIter->first->comesBefore(I) ? I : ChainIter->first)); in gatherChains()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DSSAContext.h
H A DInstruction.h260 bool comesBefore(const Instruction *Other) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp374 if (Write->comesBefore(Read)) in RecordMemoryOps()
382 bool BaseFirst = Base->comesBefore(Offset); in RecordMemoryOps()
392 if (Dominator->comesBefore(Before)) in RecordMemoryOps()
708 return A->comesBefore(B); in InsertParallelMACs()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionPrecedenceTracking.cpp66 return MaybeFirstSpecial && MaybeFirstSpecial->comesBefore(Insn); in isPreceededBySpecialInstruction()
H A DCFG.cpp302 if (A == B || A->comesBefore(B)) in isPotentiallyReachable()
H A DStackLifetime.cpp55 return L->comesBefore(R); in isAliveAfter()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DTracker.cpp59 return D0.LLVMI->comesBefore(D1.LLVMI); in EraseFromParent()
H A DSandboxIR.cpp389 [](auto *I1, auto *I2) { return I1->comesBefore(I2); }) && in moveBefore()
400 [](auto *I1, auto *I2) { return I1->comesBefore(I2); }) && in insertBefore()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp99 User->comesBefore(ReplInst)) in runLowerConstExpr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp1178 return LHS.second->comesBefore(RHS.second); in updateDefMap()
1179 return LHS.first->comesBefore(RHS.first); in updateDefMap()
H A DMemCpyOptimizer.cpp931 C->comesBefore(LifetimeArg)) in performCallSlotOptzn()
1629 if (UI->comesBefore(Store)) in performStackMoveOptzn()
H A DMergeICmps.cpp251 return (Inst->getParent() != LI->getParent() || !Inst->comesBefore(LI)) && in canSinkBCECmpInst()
H A DConstraintElimination.cpp1415 UserI->comesBefore(ContextInst)) in checkAndReplaceCondition()
1726 return InstA->comesBefore(InstB); in eliminateConstraints()
/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackColoring.cpp934 if (From->comesBefore(To)) in remapInstructions()
H A DComplexDeinterleavingPass.cpp1436 auto *ReplacementAnchor = R->comesBefore(I) ? I : R; in identifyNodes()
1960 Instruction *InsertPoint = (I->comesBefore(R) ? R : I)->getNextNode(); in replaceNode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp700 if (!Start->comesBefore(End)) { in foldLoadsRecursive()

12