Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/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.h372 pointer getNextNode(reference N) const {
379 const_pointer getNextNode(const_reference N) const {
380 return getNextNode(const_cast<reference >(N));
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLiveRangeShrink.cpp91 for (MachineInstr *I = Old->getNextNode(); M.find(I)->second == OrderNew; in FindDominatedInstruction()
92 I = I->getNextNode()) in FindDominatedInstruction()
212 I = I->getNextNode()) in runOnMachineFunction()
H A DSafeStack.cpp455 IRB.SetInsertPoint(I->getNextNode()); in createStackRestorePoints()
542 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
549 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
578 replaceDbgDeclare(Arg, BasePointer, BasePointer->getNextNode(), DIB, in moveStaticAllocasToUnsafeStack()
581 IRB.SetInsertPoint(cast<Instruction>(NewArg)->getNextNode()); in moveStaticAllocasToUnsafeStack()
637 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
H A DWasmEHPrepare.cpp354 IRB.SetInsertPoint(Exn->getNextNode()); in prepareEHPad()
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp474 IRBuilder<> Builder(CB->getNextNode()); in insertSpills()
533 InsertPt = FramePtr->getNextNode(); in insertSpills()
551 InsertPt = cast<Instruction>(E.def())->getNextNode(); in insertSpills()
585 FramePtrBB->splitBasicBlock(FramePtr->getNextNode(), "AllocaSpillBB"); in insertSpills()
723 PN = dyn_cast<PHINode>(PN->getNextNode()); in rewritePHIs()
841 Instruction *InsertPt = CoroBegin->getNextNode(); in moveSpillUsesAfterCoroBegin()
863 splitBlockIfNotFirst(I->getNextNode(), "After" + Name); in splitAround()
H A DCoroSplit.cpp153 S->getNextNode(), ResumeBB->getName() + Twine(".landing")); in createResumeEntryBlock()
402 IRBuilder<> Builder(Shape.FramePtr->getNextNode()); in updateCoroFrame()
512 if (simplifyTerminatorLeadingToRet(Call->getNextNode())) { in addMustTailToCoroResumes()
545 for (Instruction *I = From; I != To; I = I->getNextNode()) { in hasCallsInBlockBetween()
590 return hasCallsInBlockBetween(Save->getNextNode(), ResumeOrDestroy); in hasCallsBetween()
593 if (hasCallsInBlockBetween(Save->getNextNode(), nullptr)) in hasCallsBetween()
765 Instruction *InsertPt = CoroBegin->getNextNode(); in relocateInstructionBefore()
H A DCoroInstr.h123 Inst->moveBefore(getCoroBegin()->getNextNode()); in clearPromise()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp193 !isStoreSinkBarrierInRange(*Store1->getNextNode(), BB1->back(), Loc1) && in canSinkFromBlock()
194 !isStoreSinkBarrierInRange(*Store0->getNextNode(), BB0->back(), Loc0)) { in canSinkFromBlock()
H A DPartiallyInlineLibCalls.cpp56 BasicBlock *JoinBB = llvm::SplitBlock(&CurrBB, Call->getNextNode()); in optimizeSQRT()
H A DRewriteStatepointsForGC.cpp1512 assert(ToReplace->getNextNode() && "Not a terminator, must have next!"); in makeStatepointExplicitImpl()
1513 Builder.SetInsertPoint(ToReplace->getNextNode()); in makeStatepointExplicitImpl()
1514 Builder.SetCurrentDebugLocation(ToReplace->getNextNode()->getDebugLoc()); in makeStatepointExplicitImpl()
1653 assert(Relocate->getNextNode() && in insertRelocationStores()
1655 IRBuilder<> Builder(Relocate->getNextNode()); in insertRelocationStores()
1801 InsertClobbersAt(cast<Instruction>(Statepoint)->getNextNode()); in relocationViaAlloca()
2148 Instruction *InsertBefore = CS.getInstruction()->getNextNode(); in rematerializeLiveValues()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/
H A DRegBankSelect.h217 return Instr.getNextNode() ? *Instr.getNextNode() in getPointImpl()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCCodePadder.cpp158 CurrFragment = CurrFragment->getNextNode()) { in getJurisdiction()
271 MCFragment const *NextFragment = Fragment->getNextNode(); in getNextFragmentOffset()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZLDCleanup.cpp139 MachineInstr *Next = I->getNextNode(); in SetRegister()
/freebsd-12.1/contrib/llvm/tools/opt/
H A DDebugify.cpp127 for (Instruction *I = &*BB.begin(); I != LastInst; I = I->getNextNode()) { in applyDebugifyMetadata()
135 InsertBefore = I->getNextNode(); in applyDebugifyMetadata()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DRegBankSelect.cpp363 const MachineInstr *Next = MI.getNextNode(); in tryAvoidingSplit()
779 assert((!Before || !Instr.getNextNode() || !Instr.getNextNode()->isPHI()) && in InstrInsertPoint()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp259 changeToUnreachable(TokenInst->getNextNode(), /*UseLLVMTrap=*/false); in DeleteBasicBlock()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp917 BasicBlock *Tail = SplitBlock(BB, CI->getNextNode()); in runSjLjOnFunction()
1000 Tail = SplitBlock(BB, ThrewResetSI->getNextNode()); in runSjLjOnFunction()
1006 Tail = SplitBlock(BB, CI->getNextNode()); in runSjLjOnFunction()
H A DWebAssemblyLateEHPrepare.cpp321 Call->getNextNode()->getOpcode() == WebAssembly::UNREACHABLE) in ensureSingleBBTermPads()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp115 A ? &*A->getParent()->getEntryBlock().begin() : I->getNextNode(); in translate()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86WinEHState.cpp640 IRBuilder<> Builder(RegNode->getNextNode()); in addStateStores()
647 IRBuilder<> Builder(EHGuardNode->getNextNode()); in addStateStores()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLocal.cpp1534 InsertBefore = InsertBefore->getNextNode(); in replaceDbgDeclare()
1543 return replaceDbgDeclare(AI, NewAllocaAddress, AI->getNextNode(), Builder, in replaceDbgDeclareForAlloca()
2041 if (!isa<UnreachableInst>(CI->getNextNode())) { in markAliveBlocks()
2042 changeToUnreachable(CI->getNextNode(), /*UseLLVMTrap=*/false, in markAliveBlocks()
2059 if (!isa<UnreachableInst>(CI->getNextNode())) { in markAliveBlocks()
2061 changeToUnreachable(CI->getNextNode(), false, false, DTU); in markAliveBlocks()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp2181 MachineInstr *Load = User.MI->getNextNode(); in optimizeThumb2JumpTables()
2197 if (registerDefinedBetween(BaseReg, Load->getNextNode(), MBB->end(), TRI)) in optimizeThumb2JumpTables()
2201 MachineInstr *Add = Load->getNextNode(); in optimizeThumb2JumpTables()
2209 if (registerDefinedBetween(IdxReg, Add->getNextNode(), MI, TRI)) in optimizeThumb2JumpTables()
2217 if (registerDefinedBetween(IdxReg, Load->getNextNode(), MI, TRI)) in optimizeThumb2JumpTables()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp925 Instruction *Next = Inst->getNextNode(); in runOnModule()
960 Pos = I->getNextNode(); in runOnModule()
964 Pos = Pos->getNextNode(); in runOnModule()
1016 : cast<Instruction>(ArgTLSPtr)->getNextNode(); in getShadow()
1664 Next = CS->getNextNode(); in visitCallSite()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstruction.cpp610 for (const Instruction *I = getNextNode(); I; I = I->getNextNode()) in getNextNonDebugInstruction()

123