| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | BasicBlockTest.cpp | 217 EXPECT_TRUE(I1->comesBefore(I2)); in TEST_F() 219 EXPECT_TRUE(I2->comesBefore(I3)); in TEST_F() 230 EXPECT_TRUE(I2->comesBefore(I3)); in TEST_F() 236 EXPECT_TRUE(I1->comesBefore(I2)); in TEST_F() 237 EXPECT_TRUE(I2->comesBefore(I3)); in TEST_F() 245 EXPECT_TRUE(I2->comesBefore(I1)); in TEST_F() 246 EXPECT_TRUE(I1->comesBefore(I3)); in TEST_F() 254 EXPECT_TRUE(I1->comesBefore(I2)); in TEST_F() 262 EXPECT_TRUE(I1->comesBefore(I3)); in TEST_F() 269 EXPECT_TRUE(I1->comesBefore(I2)); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | AssumeBundleBuilder.cpp | 365 return LHS->comesBefore(RHS); in buildMapping() 487 (InsertPt->comesBefore(I) || InsertPt == I)) in mergeRange() 494 if (InsertPt->comesBefore(*Begin)) in mergeRange() 527 for (; (*LastSplit)->comesBefore(&*It); ++LastSplit) in mergeAssumes()
|
| H A D | CodeMoverUtils.cpp | 101 return InstA->comesBefore(InstB); in domTreeLevelBefore()
|
| H A D | PredicateInfo.cpp | 115 return cast<Instruction>(A)->comesBefore(cast<Instruction>(B)); in valueComesBefore()
|
| H A D | SimplifyCFG.cpp | 1142 assert(UI->getParent() == BB && BonusInst.comesBefore(UI) && in CloneInstructionsIntoPredecessorBlockAndUpdateSSAUses() 3649 return UI->getParent() == BB && I.comesBefore(UI); in FoldBranchToCommonDest() 6944 if (Use->getParent() != I->getParent() || Use == I || Use->comesBefore(I)) in passingValueIsAlwaysUndefined()
|
| H A D | ScalarEvolutionExpander.cpp | 75 (&*IP == CI || CI->comesBefore(&*IP))) { in ReuseOrCreateCast()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 378 if (Write->comesBefore(Read)) in RecordMemoryOps() 386 bool BaseFirst = Base->comesBefore(Offset); in RecordMemoryOps() 396 if (Dominator->comesBefore(Before)) in RecordMemoryOps() 712 return A->comesBefore(B); in InsertParallelMACs()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InstructionPrecedenceTracking.cpp | 66 return MaybeFirstSpecial && MaybeFirstSpecial->comesBefore(Insn); in isPreceededBySpecialInstruction()
|
| H A D | CFG.cpp | 253 if (A == B || A->comesBefore(B)) in isPotentiallyReachable()
|
| H A D | CaptureTracking.cpp | 185 if (I->comesBefore(EarliestCapture)) in captured()
|
| H A D | StackLifetime.cpp | 55 return L->comesBefore(R); in isAliveAfter()
|
| H A D | IVDescriptors.cpp | 962 return A->comesBefore(B); in isFirstOrderRecurrence()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Dominators.cpp | 169 return Def->comesBefore(User); in dominates() 332 return Def->comesBefore(UserInst); in dominates()
|
| H A D | BasicBlock.cpp | 517 assert((!Prev || Prev->comesBefore(&I)) && in validateInstrOrdering()
|
| H A D | Instruction.cpp | 110 bool Instruction::comesBefore(const Instruction *Other) const { in comesBefore() function in Instruction
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 600 if (!IM->comesBefore(I)) { in reorder() 718 if (BarrierMemoryInstr && BarrierMemoryInstr->comesBefore(ChainInstr)) in getVectorizablePrefix() 725 if (BarrierMemoryInstr && BarrierMemoryInstr->comesBefore(MemInstr)) in getVectorizablePrefix() 744 if (ChainInstr->comesBefore(MemInstr) || in getVectorizablePrefix() 749 if (MemInstr->comesBefore(ChainInstr) || in getVectorizablePrefix() 777 assert(BarrierMemoryInstr->comesBefore(ChainInstr)); in getVectorizablePrefix()
|
| H A D | VectorCombine.cpp | 1017 if (LastCheckedInst->comesBefore(UI)) { in scalarizeLoadExtract()
|
| H A D | SLPVectorizer.cpp | 3050 ScheduleStart->comesBefore(ScheduleEnd) && in verify() 6785 return B->comesBefore(A); in getSpillCost() 7463 if (LastInst->comesBefore(I)) in setInsertPointAfterBundle() 7496 if (I->comesBefore(FirstInst)) in setInsertPointAfterBundle() 8843 if (II->getParent() == NewI->getParent() && II->comesBefore(NewI)) in vectorizeTree()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 167 return A->comesBefore(B); in operator ()() 557 assert(Base->comesBefore(In) && "Base should come before In"); in createLoadGroups() 567 if (I->getParent() == Parent && Base->comesBefore(I)) in createLoadGroups() 1417 bool MoveUp = (To != Block.end() && To->comesBefore(&In)); in isSafeToMoveBeforeInBB()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 150 bool comesBefore(const Instruction *Other) const;
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | DFAJumpThreading.cpp | 1165 return LHS.second->comesBefore(RHS.second); in updateDefMap() 1166 return LHS.first->comesBefore(RHS.first); in updateDefMap()
|
| H A D | MergeICmps.cpp | 249 return (Inst->getParent() != LI->getParent() || !Inst->comesBefore(LI)) && in canSinkBCECmpInst()
|
| H A D | GVN.cpp | 1125 Instruction *EarlierLoad = L1->comesBefore(L2) ? L1 : L2; in tryToConvertLoadOfPtrSelect() 1905 if (!Current->getMemoryInst()->comesBefore(NewS)) { in processAssumeIntrinsic()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | StackColoring.cpp | 962 if (From->comesBefore(To)) in remapInstructions()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 4102 [](auto *A, auto *B) { return B->comesBefore(A); }); in TryToSinkInstruction()
|