Home
last modified time | relevance | path

Searched refs:getNextNode (Results 1 – 25 of 113) sorted by relevance

12345

/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DCodeMoverUtilsTest.cpp489 Instruction *CI_safecall = Entry->front().getNextNode(); in TEST()
492 Instruction *CI_unsafecall = CI_safecall->getNextNode()->getNextNode(); in TEST()
499 getInstructionByName(F, "arrayidx_A5")->getNextNode(); in TEST()
504 getInstructionByName(F, "arrayidx_A6")->getNextNode(); in TEST()
509 *CI_safecall->getNextNode(), DT, &PDT, in TEST()
513 EXPECT_FALSE(isSafeToMoveBefore(*CI_unsafecall->getNextNode(), in TEST()
522 EXPECT_FALSE(isSafeToMoveBefore(PN, *PN.getNextNode()->getNextNode(), in TEST()
530 *PN.getNextNode(), DT, &PDT, &DI)); in TEST()
542 isSafeToMoveBefore(*LI2, *SI_A6->getNextNode(), DT, &PDT, &DI)); in TEST()
546 isSafeToMoveBefore(*SI, *LI1->getNextNode(), DT, &PDT, &DI)); in TEST()
[all …]
H A DScalarEvolutionExpanderTest.cpp520 auto *InsertAt = I.getNextNode(); in TEST_F()
571 auto *InsertAt = I.getNextNode(); in TEST_F()
653 auto *InsertAt = I.getNextNode(); in TEST_F()
763 auto *InsertAt = I.getNextNode(); in TEST_F()
812 auto *InsertAt = I.getNextNode(); in TEST_F()
867 auto *InsertAt = I.getNextNode(); in TEST_F()
H A DLocalTest.cpp153 Inst = Inst->getNextNode()->getNextNode(); in TEST()
576 Inst = Inst->getNextNode(); // Get %y = add ... in TEST_F()
780 auto *ADbgVal = cast<DbgValueInst>(A.getNextNode()); in TEST()
787 auto *FDbgVal = cast<DbgValueInst>(F_.getNextNode()); in TEST()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DLoopNestTest.cpp306 Instruction *SI = getInstructionByName(F, "varr")->getNextNode(); in TEST()
307 Instruction *CI = SI->getNextNode(); in TEST()
309 getInstructionByName(F, "i")->getNextNode()->getNextNode(); in TEST()
310 Instruction *OLL = getInstructionByName(F, "inc13")->getNextNode(); in TEST()
311 Instruction *IE = getInstructionByName(F, "varr1")->getNextNode(); in TEST()
H A DCaptureTrackingTest.cpp107 Instruction *CmpXChg = Call->getNextNode(); in TEST()
108 Instruction *ICmp = CmpXChg->getNextNode(); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A Dilist_node.h289 NodeTy *getNextNode() { in getNextNode() function
294 return List.getNextNode(*static_cast<NodeTy *>(this)); in getNextNode()
298 const NodeTy *getNextNode() const { in getNextNode() function
299 return const_cast<ilist_node_with_parent *>(this)->getNextNode(); in getNextNode()
H A Dilist.h373 pointer getNextNode(reference N) const {
380 const_pointer getNextNode(const_reference N) const {
381 return getNextNode(const_cast<reference >(N));
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLiveRangeShrink.cpp90 for (MachineInstr *I = Old->getNextNode(); M.find(I)->second == OrderNew; in FindDominatedInstruction()
91 I = I->getNextNode()) in FindDominatedInstruction()
212 I = I->getNextNode()) in runOnMachineFunction()
H A DSafeStack.cpp456 IRB.SetInsertPoint(I->getNextNode()); in createStackRestorePoints()
551 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
559 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
591 IRB.SetInsertPoint(cast<Instruction>(NewArg)->getNextNode()); in moveStaticAllocasToUnsafeStack()
645 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp392 CallInst *Cancel = dyn_cast<CallInst>(GTID->getNextNode()); in TEST_F()
1119 ASSERT_TRUE(isa<BranchInst>(CI->getNextNode())); in TEST_F()
1120 ASSERT_EQ(CI->getNextNode()->getNumSuccessors(), 1U); in TEST_F()
1124 ExitBB = CI->getNextNode()->getSuccessor(0); in TEST_F()
3637 dyn_cast<AtomicCmpXchgInst>(Init->getNextNode()); in TEST_F()
3648 dyn_cast<ExtractValueInst>(ExtVal1->getNextNode()); in TEST_F()
3663 dyn_cast<AtomicCmpXchgInst>(Store1->getNextNode()); in TEST_F()
3679 dyn_cast<AtomicCmpXchgInst>(Store2->getNextNode()); in TEST_F()
3690 dyn_cast<ExtractValueInst>(ExtVal4->getNextNode()); in TEST_F()
3729 dyn_cast<AtomicCmpXchgInst>(Store4->getNextNode()); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DPartiallyInlineLibCalls.cpp57 IRBuilder<> Builder(Call->getNextNode()); in optimizeSQRT()
62 Builder.getTrue(), Call->getNextNode(), /*Unreachable=*/false, in optimizeSQRT()
H A DMergedLoadStoreMotion.cpp195 !isStoreSinkBarrierInRange(*Store1->getNextNode(), BB1->back(), Loc1) && in canSinkFromBlock()
196 !isStoreSinkBarrierInRange(*Store0->getNextNode(), BB0->back(), Loc0)) { in canSinkFromBlock()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DIListTest.cpp33 EXPECT_EQ(nullptr, List.getNextNode(List.back())); in TEST()
37 EXPECT_EQ(2, List.getNextNode(List.front())->Value); in TEST()
42 EXPECT_EQ(2, ConstList.getNextNode(ConstList.front())->Value); in TEST()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp201 (Def->getNextNode() ? Def->getNextNode()->getIterator() in insertAssignInstr()
335 (MI.getNextNode() ? MI.getNextNode()->getIterator() in processInstr()
437 MachineInstr *NextMI = CBr->getNextNode(); in processSwitches()
H A DSPIRVEmitIntrinsics.cpp355 setInsertPointSkippingPhis(*IRB, I->getNextNode()); in insertAssignTypeIntrs()
385 IRB->SetInsertPoint(I->getNextNode()); in processInstrAfterVisit()
410 setInsertPointSkippingPhis(*IRB, I->getNextNode()); in processInstrAfterVisit()
453 IRB->SetInsertPoint(I->getNextNode()); in runOnFunction()
H A DSPIRVDuplicatesTracker.cpp64 MachineInstr *Next = MI->getNextNode(); in buildDepsGraph()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMBlockPlacement.cpp101 assert(WLS->getNextNode() == &Preheader->back()); in revertWhileToDoLoop()
252 MachineBasicBlock *BBNext = BB->getNextNode(); in moveBasicBlock()
/llvm-project-15.0.7/mlir/lib/Transforms/
H A DCSE.cpp152 Operation *nextOp = fromOp->getNextNode(); in hasOtherSideEffectingOpInBetween()
179 nextOp = nextOp->getNextNode(); in hasOtherSideEffectingOpInBetween()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86AvoidTrailingCall.cpp99 MachineBasicBlock *NextMBB = MBB.getNextNode(); in runOnMachineFunction()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DRegBankSelect.h217 return Instr.getNextNode() ? *Instr.getNextNode() in getPointImpl()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZLDCleanup.cpp138 MachineInstr *Next = I->getNextNode(); in SetRegister()
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/IR/
H A DBufferizationOps.cpp490 for (Operation *pos = cloneOp->getNextNode(); pos != redundantDealloc; in matchAndRewrite()
491 pos = pos->getNextNode()) { in matchAndRewrite()
537 toMemref->getNextNode() == this->getOperation()) in fold()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp476 InsertPt = InsertPt->getNextNode(); in mergeRange()
488 InsertPt = I->getNextNode(); in mergeRange()
498 InsertPt = It->getNextNode(); in mergeRange()
H A DCallPromotionUtils.cpp307 auto Next = OrigInst->getNextNode(); in versionCallSite()
315 Next = BitCast->getNextNode(); in versionCallSite()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp434 S->getNextNode(), ResumeBB->getName() + Twine(".landing")); in createResumeEntryBlock()
757 auto Branch = cast<BranchInst>(MappedCS->getNextNode()); in replaceEntryBlock()
1230 I = I->getNextNode(); in simplifyTerminatorLeadingToRet()
1287 GetFirstValidInstruction(CondCmp->getNextNode())); in simplifyTerminatorLeadingToRet()
1377 if (simplifyTerminatorLeadingToRet(Call->getNextNode())) { in addMustTailToCoroResumes()
1424 for (Instruction *I = From; I != To; I = I->getNextNode()) { in hasCallsInBlockBetween()
1469 return hasCallsInBlockBetween(Save->getNextNode(), ResumeOrDestroy); in hasCallsBetween()
1472 if (hasCallsInBlockBetween(Save->getNextNode(), nullptr)) in hasCallsBetween()

12345