Home
last modified time | relevance | path

Searched refs:splitBasicBlock (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DBasicBlock.h591 BasicBlock *splitBasicBlock(iterator I, const Twine &BBName = "",
593 BasicBlock *splitBasicBlock(Instruction *I, const Twine &BBName = "",
595 return splitBasicBlock(I->getIterator(), BBName, Before);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp293 BB->splitBasicBlock(End); in replaceCoroEndAsync()
392 BB->splitBasicBlock(End); in replaceFallthroughCoroEnd()
471 End->getParent()->splitBasicBlock(End); in replaceUnwindCoroEnd()
511 auto *NewSwitchBB = OldSwitchBB->splitBasicBlock(Switch, "Switch"); in handleFinalSuspend()
1101 BB->splitBasicBlock(ResumeCall->getNextNode()); in create()
1545 SuspendBB->splitBasicBlock(S, "resume." + Twine(SuspendIndex)); in createResumeEntryBlock()
1546 auto *LandingBB = ResumeBB->splitBasicBlock( in createResumeEntryBlock()
1739 auto *NewSuspendBB = SuspendBB->splitBasicBlock(Suspend); in splitAsyncCoroutine()
1836 auto NewSuspendBB = SuspendBB->splitBasicBlock(Suspend); in splitRetconCoroutine()
H A DCoroFrame.cpp1723 BasicBlock *NewBlock = CurrentBlock->splitBasicBlock(CatchSwitch); in splitBeforeCatchSwitch()
1965 auto SpillBlock = FramePtrBB->splitBasicBlock( in insertSpills()
1967 SpillBlock->splitBasicBlock(&SpillBlock->front(), "PostSpill"); in insertSpills()
2397 return BB->splitBasicBlock(I, Name); in splitBlockIfNotFirst()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRShiftExpand.cpp88 BasicBlock *EndBB = BB->splitBasicBlock(BI, "shift.done"); in expand()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSMEABIPass.cpp111 auto *SaveBB = OrigBB->splitBasicBlock(OrigBB->begin(), "save.za", true); in updateNewStateFunctions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp416 BasicBlock *SuccessorBB = MainBB->splitBasicBlock(SlowDivOrRem); in insertFastDivAndRem()
433 BasicBlock *SuccessorBB = MainBB->splitBasicBlock(SlowDivOrRem); in insertFastDivAndRem()
H A DLowerMemIntrinsics.cpp61 PostLoopBB = PreLoopBB->splitBasicBlock(InsertBefore, "memcpy-split"); in createMemCpyLoopKnownSize()
186 PreLoopBB->splitBasicBlock(InsertBefore, "post-loop-memcpy-expansion"); in createMemCpyLoopUnknownSize()
470 OrigBB->splitBasicBlock(InsertBefore, "split"); in createMemSetLoop()
H A DBreakCriticalEdges.cpp383 BasicBlock *BodyBlock = Target->splitBasicBlock(FirstNonPHI, ".split"); in SplitIndirectBrCriticalEdges()
H A DAMDGPUEmitPrintf.cpp104 Join = Prev->splitBasicBlock(Builder.GetInsertPoint(), in getStrlenWithNull()
H A DIntegerDivision.cpp197 BasicBlock *End = SpecialCases->splitBasicBlock(Builder.GetInsertPoint(), in generateUnsignedDivisionCode()
H A DBasicBlockUtils.cpp1043 BasicBlock *New = Old->splitBasicBlock( in SplitBlockImpl()
1107 BasicBlock *New = Old->splitBasicBlock( in splitBlockBefore()
1667 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore); in SplitBlockAndInsertIfThenElse()
H A DInlineFunction.cpp189 OuterResumeDest->splitBasicBlock(SplitPoint, in getInnerResumeDest()
2932 OrigBB->splitBasicBlock(CreatedBranchToNormalDest->getIterator(), in InlineFunction()
2939 AfterCallBB = OrigBB->splitBasicBlock(CB.getIterator(), in InlineFunction()
H A DCodeExtractor.cpp425 BasicBlock *NewExitBlock = CommonExitBlock->splitBasicBlock( in findOrCreateBlockForHoisting()
797 Block->splitBasicBlock(RI->getIterator(), Block->getName() + ".ret"); in splitReturnBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp127 BasicBlock *Cont = OldBB->splitBasicBlock(SplitI); in insertBoundsCheck()
H A DGCOVProfiling.cpp671 Parent->splitBasicBlock(NextInst); in AddFlushBeforeForkAndExec()
699 Parent->splitBasicBlock(NextInst); in AddFlushBeforeForkAndExec()
H A DNumericalStabilitySanitizer.cpp959 BasicBlock *NextBB = FCmpBB->splitBasicBlock(FCmp.getNextNode()); in emitFCmpCheck()
1093 BasicBlock *NextBB = LoadBB->splitBasicBlock(Builder.GetInsertPoint()); in handleLoad()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp247 BasicBlock *TransitionBB = BB->splitBasicBlock(BI, "TransitionBlock"); in run()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp137 Entry->splitBasicBlock(Builder.GetInsertPoint(), "fp-to-i-cleanup"); in expandFPToI()
338 Entry->splitBasicBlock(Builder.GetInsertPoint(), "itofp-return"); in expandIToFP()
H A DAtomicExpandPass.cpp1054 BB->splitBasicBlock(CI->getIterator(), "partword.cmpxchg.end"); in expandPartwordCmpXchg()
1224 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWLLSCLoop()
1370 BasicBlock *ExitBB = BB->splitBasicBlock(CI->getIterator(), "cmpxchg.end"); in expandAtomicCmpXchg()
1587 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWCmpXchgLoop()
H A DSelectOptimize.cpp658 BasicBlock *EndBlock = StartBlock->splitBasicBlock(SplitPt, "select.end"); in convertProfitableSIGroups()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp168 BasicBlock *Next = Block->splitBasicBlock(Inst, "BB"); in splitBlockDescriptor()
H A DIRMutator.cpp439 BasicBlock *Sink = Block->splitBasicBlock(Insts[IP], "BB"); in mutate()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1428 BasicBlock *PRegEntryBB = EntryBB->splitBasicBlock(UI, "omp.par.entry"); in createParallel()
1429 BasicBlock *PRegBodyBB = PRegEntryBB->splitBasicBlock(UI, "omp.par.region"); in createParallel()
1431 PRegBodyBB->splitBasicBlock(UI, "omp.par.pre_finalize"); in createParallel()
1432 BasicBlock *PRegExitBB = PRegPreFiniBB->splitBasicBlock(UI, "omp.par.exit"); in createParallel()
3603 InsertBlock->splitBasicBlock(Loc.IP.getPoint(), "reduce.finalize"); in createReductions()
4371 OI.ExitBB = CLI->getLatch()->splitBasicBlock(CLI->getLatch()->begin(), in applyWorkshareLoopTarget()
5715 BasicBlock *ExitBB = EntryBB->splitBasicBlock(SplitPos, "omp_region.end"); in EmitOMPInlinedRegion()
5717 EntryBB->splitBasicBlock(EntryBB->getTerminator(), "omp_region.finalize"); in EmitOMPInlinedRegion()
5843 CopyEnd = OMP_Entry->splitBasicBlock(OMP_Entry->getTerminator(), in createCopyinClauseBlocks()
6112 BasicBlock *UserCodeEntryBB = CheckBB->splitBasicBlock(UI, "user_code.entry"); in createTargetInit()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp718 BasicBlock *Next = Curr->splitBasicBlock(Loc, "CF"); in IntroduceControlFlow()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DBasicBlock.cpp575 BasicBlock *BasicBlock::splitBasicBlock(iterator I, const Twine &BBName, in splitBasicBlock() function in BasicBlock

12