Home
last modified time | relevance | path

Searched refs:createBasicBlock (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp234 BasicBlock *ReadyBlock = CGF.createBasicBlock(Prefix + Twine(".ready")); in emitSuspendExpression()
235 BasicBlock *SuspendBlock = CGF.createBasicBlock(Prefix + Twine(".suspend")); in emitSuspendExpression()
236 BasicBlock *CleanupBlock = CGF.createBasicBlock(Prefix + Twine(".cleanup")); in emitSuspendExpression()
308 CGF.createBasicBlock(Prefix + Twine(".suspend.bool")); in emitSuspendExpression()
586 auto *CleanupContBB = CGF.createBasicBlock("cleanup.cont"); in Emit()
612 auto *FreeBB = CGF.createBasicBlock("coro.free"); in Emit()
616 auto *AfterFreeBB = CGF.createBasicBlock("after.coro.free"); in Emit()
782 auto *AllocBB = createBasicBlock("coro.alloc"); in EmitCoroutineBody()
783 auto *InitBB = createBasicBlock("coro.init"); in EmitCoroutineBody()
784 auto *FinalBB = createBasicBlock("coro.final"); in EmitCoroutineBody()
[all …]
H A DCGCUDARuntime.cpp29 llvm::BasicBlock *ConfigOKBlock = CGF.createBasicBlock("kcall.configok"); in EmitCUDAKernelCallExpr()
30 llvm::BasicBlock *ContBlock = CGF.createBasicBlock("kcall.end"); in EmitCUDAKernelCallExpr()
H A DCGException.cpp470 EmitBlock(createBasicBlock("throw.cont")); in EmitCXXThrowExpr()
559 llvm::BasicBlock *unexpectedBB = CGF.createBasicBlock("ehspec.unexpected"); in emitFilterDispatchBlock()
642 llvm::BasicBlock *Handler = createBasicBlock("catch"); in EnterCXXTryStmt()
697 dispatchBlock = createBasicBlock("catch.dispatch"); in getEHDispatchBlock()
703 dispatchBlock = createBasicBlock("ehcleanup"); in getEHDispatchBlock()
707 dispatchBlock = createBasicBlock("filter.dispatch"); in getEHDispatchBlock()
736 DispatchBlock = createBasicBlock(); in getFuncletEHDispatchBlock()
847 llvm::BasicBlock *lpad = createBasicBlock("lpad"); in EmitLandingPad()
1029 llvm::BasicBlock *WasmCatchStartBlock = CGF.createBasicBlock("catch.start"); in emitWasmCatchPadBlock()
1083 NextBlock = CGF.createBasicBlock("rethrow"); in emitWasmCatchPadBlock()
[all …]
H A DCGAtomic.cpp401 CGF.createBasicBlock("cmpxchg.store_expected", CGF.CurFn); in emitAtomicCmpXchg()
406 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in emitAtomicCmpXchg()
465 auto *MonotonicBB = CGF.createBasicBlock("monotonic_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet()
466 auto *AcquireBB = CGF.createBasicBlock("acquire_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet()
467 auto *SeqCstBB = CGF.createBasicBlock("seqcst_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet()
468 auto *ContBB = CGF.createBasicBlock("atomic.continue", CGF.CurFn); in emitAtomicCmpXchgFailureSet()
561 CGF.createBasicBlock("cmpxchg.strong", CGF.CurFn); in EmitAtomicOp()
562 llvm::BasicBlock *WeakBB = CGF.createBasicBlock("cmxchg.weak", CGF.CurFn); in EmitAtomicOp()
564 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in EmitAtomicOp()
789 BB[S] = CGF.createBasicBlock(getAsString(ScopeModel->map(S)), CGF.CurFn); in EmitAtomicOp()
[all …]
H A DCGStmt.cpp647 Dest = JumpDest(createBasicBlock(D->getName()), in getJumpDestForLabel()
843 llvm::BasicBlock *ThenBlock = createBasicBlock("if.then"); in EmitIfStmt()
844 llvm::BasicBlock *ContBlock = createBasicBlock("if.end"); in EmitIfStmt()
847 ElseBlock = createBasicBlock("if.else"); in EmitIfStmt()
1034 llvm::BasicBlock *LoopBody = createBasicBlock("while.body"); in EmitWhileStmt()
1038 ExitBlock = createBasicBlock("while.exit"); in EmitWhileStmt()
1112 llvm::BasicBlock *LoopBody = createBasicBlock("do.body"); in EmitDoStmt()
1246 ExitBlock = createBasicBlock("for.cond.cleanup"); in EmitForStmt()
1249 llvm::BasicBlock *ForBody = createBasicBlock("for.body"); in EmitForStmt()
1333 llvm::BasicBlock *CondBlock = createBasicBlock("for.cond"); in EmitCXXForRangeStmt()
[all …]
H A DCGExprCXX.cpp1255 llvm::BasicBlock *LoopBB = createBasicBlock("new.loop"); in EmitNewArrayInitializer()
1256 llvm::BasicBlock *ContBB = createBasicBlock("new.loop.end"); in EmitNewArrayInitializer()
1713 llvm::BasicBlock *notNullBB = createBasicBlock("new.notnull"); in EmitCXXNewExpr()
1714 contBB = createBasicBlock("new.cont"); in EmitCXXNewExpr()
2093 llvm::BasicBlock *DeleteNotNull = createBasicBlock("delete.notnull"); in EmitCXXDeleteExpr()
2094 llvm::BasicBlock *DeleteEnd = createBasicBlock("delete.end"); in EmitCXXDeleteExpr()
2167 CGF.createBasicBlock("typeid.bad_typeid"); in EmitTypeidFromVTable()
2168 llvm::BasicBlock *EndBlock = CGF.createBasicBlock("typeid.end"); in EmitTypeidFromVTable()
2268 EmitBlock(createBasicBlock("dynamic_cast.unreachable")); in EmitDynamicCast()
2291 llvm::BasicBlock *CastEnd = createBasicBlock("dynamic_cast.end"); in EmitDynamicCast()
[all …]
H A DCodeGenFunction.cpp1090 llvm::BasicBlock *EntryBB = createBasicBlock("entry", CurFn); in StartFunction()
1352 SkipCountBB = createBasicBlock("skipcount"); in EmitBlockWithFallThrough()
1754 llvm::BasicBlock *CounterIncrBlock = createBasicBlock("lop.rhscnt"); in EmitBranchToCounterBlock()
1850 llvm::BasicBlock *LHSTrue = createBasicBlock("land.lhs.true"); in EmitBranchOnBoolExpr()
1906 llvm::BasicBlock *LHSFalse = createBasicBlock("lor.lhs.false"); in EmitBranchOnBoolExpr()
1960 llvm::BasicBlock *LHSBlock = createBasicBlock("cond.true"); in EmitBranchOnBoolExpr()
1961 llvm::BasicBlock *RHSBlock = createBasicBlock("cond.false"); in EmitBranchOnBoolExpr()
2089 llvm::BasicBlock *loopBB = CGF.createBasicBlock("vla-init.loop"); in emitNonZeroVLAInit()
2090 llvm::BasicBlock *contBB = CGF.createBasicBlock("vla-init.cont"); in emitNonZeroVLAInit()
2205 CGBuilderTy TmpBuilder(*this, createBasicBlock("indirectgoto")); in GetIndirectGotoBlock()
[all …]
H A DCGCleanup.cpp503 Entry = CGF.createBasicBlock("cleanup"); in CreateNormalEntry()
556 ContBB = CGF.createBasicBlock("cleanup.done"); in EmitCleanup()
557 llvm::BasicBlock *CleanupBB = CGF.createBasicBlock("cleanup.action"); in EmitCleanup()
722 prebranchDest = createBasicBlock("forwarded-prebranch"); in PopCleanupBlock()
921 FallthroughDest = createBasicBlock("cleanup.cont"); in PopCleanupBlock()
1317 llvm::BasicBlock *Cont = CGF.createBasicBlock("invoke.cont"); in EmitSehScope()
H A DCGExprComplex.cpp864 llvm::BasicBlock *ContBB = CGF.createBasicBlock("complex_mul_cont"); in EmitBinMul()
865 llvm::BasicBlock *INaNBB = CGF.createBasicBlock("complex_mul_imag_nan"); in EmitBinMul()
876 llvm::BasicBlock *LibCallBB = CGF.createBasicBlock("complex_mul_libcall"); in EmitBinMul()
973 CGF.createBasicBlock("abs_rhsr_greater_or_equal_abs_rhsi"); in EmitRangeReductionDiv()
975 CGF.createBasicBlock("abs_rhsr_less_than_abs_rhsi"); in EmitRangeReductionDiv()
976 llvm::BasicBlock *ContBB = CGF.createBasicBlock("complex_div"); in EmitRangeReductionDiv()
1384 llvm::BasicBlock *LHSBlock = CGF.createBasicBlock("cond.true"); in VisitAbstractConditionalOperator()
1385 llvm::BasicBlock *RHSBlock = CGF.createBasicBlock("cond.false"); in VisitAbstractConditionalOperator()
1386 llvm::BasicBlock *ContBlock = CGF.createBasicBlock("cond.end"); in VisitAbstractConditionalOperator()
H A DCGStmtOpenMP.cpp740 llvm::BasicBlock *BodyBB = createBasicBlock("omp.arraycpy.body"); in EmitOMPAggregateAssign()
741 llvm::BasicBlock *DoneBB = createBasicBlock("omp.arraycpy.done"); in EmitOMPAggregateAssign()
1034 CopyBegin = createBasicBlock("copyin.not.master"); in EmitOMPCopyinClause()
1035 CopyEnd = createBasicBlock("copyin.not.master.end"); in EmitOMPCopyinClause()
1154 ThenBB = createBasicBlock(".omp.lastprivate.then"); in EmitOMPLastprivateClauseFinal()
1155 DoneBB = createBasicBlock(".omp.lastprivate.done"); in EmitOMPLastprivateClauseFinal()
1484 llvm::BasicBlock *ThenBB = CGF.createBasicBlock(".omp.reduction.pu"); in emitPostUpdateForReductionClause()
1485 DoneBB = CGF.createBasicBlock(".omp.reduction.pu.done"); in emitPostUpdateForReductionClause()
1933 llvm::BasicBlock *NextBB = createBasicBlock("omp.body.next"); in EmitOMPLoopBody()
1948 OMPBeforeScanBlock = createBasicBlock("omp.before.scan.bb"); in EmitOMPLoopBody()
[all …]
H A DCGClass.cpp356 llvm::BasicBlock *notNullBB = createBasicBlock("cast.notnull"); in GetAddressOfBaseClass()
357 endBB = createBasicBlock("cast.end"); in GetAddressOfBaseClass()
426 CastNull = createBasicBlock("cast.null"); in GetAddressOfDerivedClass()
427 CastNotNull = createBasicBlock("cast.notnull"); in GetAddressOfDerivedClass()
428 CastEnd = createBasicBlock("cast.end"); in GetAddressOfDerivedClass()
1594 llvm::BasicBlock *callDeleteBB = CGF.createBasicBlock("dtor.call_delete"); in EmitConditionalDtorDeleteCall()
1595 llvm::BasicBlock *continueBB = CGF.createBasicBlock("dtor.continue"); in EmitConditionalDtorDeleteCall()
2026 llvm::BasicBlock *loopBB = createBasicBlock("new.ctorloop"); in EmitCXXAggrConstructorCall()
2040 llvm::BasicBlock *loopBB = createBasicBlock("arrayctor.loop"); in EmitCXXAggrConstructorCall()
2100 llvm::BasicBlock *contBB = createBasicBlock("arrayctor.cont"); in EmitCXXAggrConstructorCall()
[all …]
H A DCGExprScalar.cpp2857 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitScalarPrePostIncDec()
3107 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitScalarPrePostIncDec()
3603 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitCompoundAssignLValue()
3641 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitCompoundAssignLValue()
3855 CGF.createBasicBlock("nooverflow", CGF.CurFn, initialBB->getNextNode()); in EmitOverflowCheckedBinOp()
3856 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn); in EmitOverflowCheckedBinOp()
4482 llvm::BasicBlock *Cont = CGF.createBasicBlock("cont"); in EmitShl()
4483 llvm::BasicBlock *CheckShiftBase = CGF.createBasicBlock("check"); in EmitShl()
4919 llvm::BasicBlock *FBlock = CGF.createBasicBlock("land.end"); in VisitBinLAnd()
4920 llvm::BasicBlock *RHSBlockCnt = CGF.createBasicBlock("land.rhscnt"); in VisitBinLAnd()
[all …]
H A DCGExprAgg.cpp638 llvm::BasicBlock *bodyBB = CGF.createBasicBlock("arrayinit.body"); in EmitArrayInit()
672 llvm::BasicBlock *endBB = CGF.createBasicBlock("arrayinit.end"); in EmitArrayInit()
1271 llvm::BasicBlock *LHSBlock = CGF.createBasicBlock("cond.true"); in VisitAbstractConditionalOperator()
1272 llvm::BasicBlock *RHSBlock = CGF.createBasicBlock("cond.false"); in VisitAbstractConditionalOperator()
1273 llvm::BasicBlock *ContBlock = CGF.createBasicBlock("cond.end"); in VisitAbstractConditionalOperator()
1830 llvm::BasicBlock *bodyBB = CGF.createBasicBlock("arrayinit.body"); in VisitArrayInitLoopExpr()
1884 llvm::BasicBlock *endBB = CGF.createBasicBlock("arrayinit.end"); in VisitArrayInitLoopExpr()
H A DMicrosoftCXXABI.cpp1206 llvm::BasicBlock *CallVbaseCtorsBB = CGF.createBasicBlock("ctor.init_vbases"); in EmitCtorCompleteObjectHandler()
1207 llvm::BasicBlock *SkipVbaseCtorsBB = CGF.createBasicBlock("ctor.skip_vbases"); in EmitCtorCompleteObjectHandler()
1229 llvm::BasicBlock *CallVbaseDtorsBB = CGF.createBasicBlock("Dtor.dtor_vbases"); in EmitDtorCompleteObjectHandler()
1230 llvm::BasicBlock *SkipVbaseDtorsBB = CGF.createBasicBlock("Dtor.skip_vbases"); in EmitDtorCompleteObjectHandler()
2498 CGF.createBasicBlock("dyntls.dyn_init", CGF.CurFn); in emitDynamicTlsInitialization()
2500 CGF.createBasicBlock("dyntls.continue", CGF.CurFn); in emitDynamicTlsInitialization()
2715 llvm::BasicBlock *InitBlock = CGF.createBasicBlock("init"); in EmitGuardedInit()
2716 llvm::BasicBlock *EndBlock = CGF.createBasicBlock("init.end"); in EmitGuardedInit()
2751 llvm::BasicBlock *AttemptInitBlock = CGF.createBasicBlock("init.attempt"); in EmitGuardedInit()
2752 llvm::BasicBlock *EndBlock = CGF.createBasicBlock("init.end"); in EmitGuardedInit()
[all …]
H A DItaniumCXXABI.cpp640 llvm::BasicBlock *FnVirtual = CGF.createBasicBlock("memptr.virtual"); in EmitLoadOfMemberFunctionPointer()
641 llvm::BasicBlock *FnNonVirtual = CGF.createBasicBlock("memptr.nonvirtual"); in EmitLoadOfMemberFunctionPointer()
642 llvm::BasicBlock *FnEnd = CGF.createBasicBlock("memptr.end"); in EmitLoadOfMemberFunctionPointer()
947 llvm::BasicBlock *ResignBB = CGF.createBasicBlock("resign"); in EmitMemberPointerConversion()
948 llvm::BasicBlock *MergeBB = CGF.createBasicBlock("merge"); in EmitMemberPointerConversion()
1658 CGF.createBasicBlock("dynamic_cast.bad_cast"); in emitDynamicCastCall()
2711 llvm::BasicBlock *EndBlock = CGF.createBasicBlock("init.end"); in EmitGuardedInit()
2752 llvm::BasicBlock *InitCheckBlock = CGF.createBasicBlock("init.check"); in EmitGuardedInit()
2782 llvm::BasicBlock *InitBlock = CGF.createBasicBlock("init"); in EmitGuardedInit()
2921 CGF.createBasicBlock("destruct.call"); in unregisterGlobalDtorsWithUnAtExit()
[all …]
H A DCGOpenMPRuntime.cpp171 llvm::BasicBlock *DoneBB = CGF.createBasicBlock(".untied.done."); in Enter()
175 CGF.EmitBlock(CGF.createBasicBlock(".untied.jmp.")); in Enter()
192 CGF.EmitBlock(CGF.createBasicBlock(".untied.jmp.")); in emitUntiedSwitch()
679 llvm::BasicBlock *BodyBB = CGF.createBasicBlock("omp.arrayinit.body"); in EmitOMPAggregateInit()
680 llvm::BasicBlock *DoneBB = CGF.createBasicBlock("omp.arrayinit.done"); in EmitOMPAggregateInit()
1847 llvm::BasicBlock *ThenBlock = CGF.createBasicBlock("omp_if.then"); in emitIfClause()
1848 llvm::BasicBlock *ElseBlock = CGF.createBasicBlock("omp_if.else"); in emitIfClause()
1849 llvm::BasicBlock *ContBlock = CGF.createBasicBlock("omp_if.end"); in emitIfClause()
1990 auto *ThenBlock = CGF.createBasicBlock("omp_if.then"); in Enter()
1991 ContBlock = CGF.createBasicBlock("omp_if.end"); in Enter()
[all …]
H A DCGOpenMPRuntimeGPU.cpp51 auto *ThenBlock = CGF.createBasicBlock("omp_if.then"); in Enter()
52 ContBlock = CGF.createBasicBlock("omp_if.end"); in Enter()
1321 llvm::BasicBlock *LoopBB = CGF.createBasicBlock("omp.critical.loop"); in emitCriticalRegion()
1322 llvm::BasicBlock *TestBB = CGF.createBasicBlock("omp.critical.test"); in emitCriticalRegion()
1323 llvm::BasicBlock *SyncBB = CGF.createBasicBlock("omp.critical.sync"); in emitCriticalRegion()
1324 llvm::BasicBlock *BodyBB = CGF.createBasicBlock("omp.critical.body"); in emitCriticalRegion()
1325 llvm::BasicBlock *ExitBB = CGF.createBasicBlock("omp.critical.exit"); in emitCriticalRegion()
H A DCGVTables.cpp83 AdjustNull = CGF.createBasicBlock("adjust.null"); in PerformReturnAdjustment()
84 AdjustNotNull = CGF.createBasicBlock("adjust.notnull"); in PerformReturnAdjustment()
85 AdjustEnd = CGF.createBasicBlock("adjust.end"); in PerformReturnAdjustment()
457 EmitBlock(createBasicBlock()); in EmitMustTailThunk()
H A DCGPointerAuth.cpp263 ContBB = createBasicBlock("resign.cont"); in emitPointerAuthResign()
264 ResignBB = createBasicBlock("resign.nonnull"); in emitPointerAuthResign()
H A DCGDecl.cpp536 llvm::BasicBlock *RunDtorBB = CGF.createBasicBlock("nrvo.unused"); in Emit()
537 SkipDtorBB = CGF.createBasicBlock("nrvo.skipdtor"); in Emit()
1845 llvm::BasicBlock *SetupBB = createBasicBlock("vla-setup.loop"); in emitZeroOrPatternForAutoVarInit()
1846 llvm::BasicBlock *LoopBB = createBasicBlock("vla-init.loop"); in emitZeroOrPatternForAutoVarInit()
1847 llvm::BasicBlock *ContBB = createBasicBlock("vla-init.cont"); in emitZeroOrPatternForAutoVarInit()
2374 llvm::BasicBlock *bodyBB = createBasicBlock("arraydestroy.body"); in emitArrayDestroy()
2375 llvm::BasicBlock *doneBB = createBasicBlock("arraydestroy.done"); in emitArrayDestroy()
H A DCGExpr.cpp731 Done = createBasicBlock("null"); in EmitTypeCheck()
732 llvm::BasicBlock *Rest = createBasicBlock("not.null"); in EmitTypeCheck()
816 Done = createBasicBlock("vptr.null"); in EmitTypeCheck()
817 llvm::BasicBlock *VptrNotNull = createBasicBlock("vptr.not.null"); in EmitTypeCheck()
3580 llvm::BasicBlock *Cont = createBasicBlock("cont"); in EmitCheck()
3581 llvm::BasicBlock *Handlers = createBasicBlock("handler." + CheckName); in EmitCheck()
3630 createBasicBlock("non_fatal." + CheckName); in EmitCheck()
3631 llvm::BasicBlock *FatalHandlerBB = createBasicBlock("fatal." + CheckName); in EmitCheck()
3647 llvm::BasicBlock *Cont = createBasicBlock("cfi.cont"); in EmitCfiSlowPathCheck()
3649 llvm::BasicBlock *CheckBB = createBasicBlock("cfi.slowpath"); in EmitCfiSlowPathCheck()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DHexagon.cpp275 llvm::BasicBlock *MaybeRegBlock = CGF.createBasicBlock("vaarg.maybe_reg"); in EmitVAArgForHexagonLinux()
276 llvm::BasicBlock *InRegBlock = CGF.createBasicBlock("vaarg.in_reg"); in EmitVAArgForHexagonLinux()
277 llvm::BasicBlock *OnStackBlock = CGF.createBasicBlock("vaarg.on_stack"); in EmitVAArgForHexagonLinux()
278 llvm::BasicBlock *ContBlock = CGF.createBasicBlock("vaarg.end"); in EmitVAArgForHexagonLinux()
H A DSystemZ.cpp339 llvm::BasicBlock *InRegBlock = CGF.createBasicBlock("vaarg.in_reg"); in EmitVAArg()
340 llvm::BasicBlock *InMemBlock = CGF.createBasicBlock("vaarg.in_mem"); in EmitVAArg()
341 llvm::BasicBlock *ContBlock = CGF.createBasicBlock("vaarg.end"); in EmitVAArg()
H A DAArch64.cpp572 llvm::BasicBlock *MaybeRegBlock = CGF.createBasicBlock("vaarg.maybe_reg"); in EmitAAPCSVAArg()
573 llvm::BasicBlock *InRegBlock = CGF.createBasicBlock("vaarg.in_reg"); in EmitAAPCSVAArg()
574 llvm::BasicBlock *OnStackBlock = CGF.createBasicBlock("vaarg.on_stack"); in EmitAAPCSVAArg()
575 llvm::BasicBlock *ContBlock = CGF.createBasicBlock("vaarg.end"); in EmitAAPCSVAArg()
H A DPPC.cpp482 llvm::BasicBlock *UsingRegs = CGF.createBasicBlock("using_regs"); in EmitVAArg()
483 llvm::BasicBlock *UsingOverflow = CGF.createBasicBlock("using_overflow"); in EmitVAArg()
484 llvm::BasicBlock *Cont = CGF.createBasicBlock("cont"); in EmitVAArg()

12