/external/swiftshader/src/Reactor/ |
D | Reactor.hpp | 23 *bodyBB__ = Nucleus::createBasicBlock(), \ 24 *endBB__ = Nucleus::createBasicBlock(), \ 33 llvm::BasicBlock *body = Nucleus::createBasicBlock(); \ 38 llvm::BasicBlock *end = Nucleus::createBasicBlock(); \ 44 for(llvm::BasicBlock *trueBB__ = Nucleus::createBasicBlock(), \ 45 *falseBB__ = Nucleus::createBasicBlock(), \ 46 *endBB__ = Nucleus::createBasicBlock(), \
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntimeNVPTX.cpp | 155 llvm::BasicBlock *AwaitBB = CGF.createBasicBlock(".await.work"); in emitWorkerLoop() 156 llvm::BasicBlock *SelectWorkersBB = CGF.createBasicBlock(".select.workers"); in emitWorkerLoop() 157 llvm::BasicBlock *ExecuteBB = CGF.createBasicBlock(".execute.parallel"); in emitWorkerLoop() 158 llvm::BasicBlock *TerminateBB = CGF.createBasicBlock(".terminate.parallel"); in emitWorkerLoop() 159 llvm::BasicBlock *BarrierBB = CGF.createBasicBlock(".barrier.parallel"); in emitWorkerLoop() 160 llvm::BasicBlock *ExitBB = CGF.createBasicBlock(".exit"); in emitWorkerLoop() 214 llvm::BasicBlock *WorkerCheckBB = CGF.createBasicBlock(".check.for.worker"); in emitEntryHeader() 215 llvm::BasicBlock *WorkerBB = CGF.createBasicBlock(".worker"); in emitEntryHeader() 216 llvm::BasicBlock *MasterBB = CGF.createBasicBlock(".master"); in emitEntryHeader() 217 EST.ExitBB = CGF.createBasicBlock(".exit"); in emitEntryHeader() [all …]
|
D | CGException.cpp | 421 EmitBlock(createBasicBlock("throw.cont")); in EmitCXXThrowExpr() 482 llvm::BasicBlock *unexpectedBB = CGF.createBasicBlock("ehspec.unexpected"); in emitFilterDispatchBlock() 549 llvm::BasicBlock *Handler = createBasicBlock("catch"); in EnterCXXTryStmt() 600 dispatchBlock = createBasicBlock("catch.dispatch"); in getEHDispatchBlock() 606 dispatchBlock = createBasicBlock("ehcleanup"); in getEHDispatchBlock() 610 dispatchBlock = createBasicBlock("filter.dispatch"); in getEHDispatchBlock() 642 DispatchBlock = createBasicBlock(); in getMSVCDispatchBlock() 754 llvm::BasicBlock *lpad = createBasicBlock("lpad"); in EmitLandingPad() 973 nextBlock = CGF.createBasicBlock("catch.fallthrough"); in emitCatchDispatchBlock() 1026 llvm::BasicBlock *ContBB = createBasicBlock("try.cont"); in ExitCXXTryStmt() [all …]
|
D | CGCUDARuntime.cpp | 30 llvm::BasicBlock *ConfigOKBlock = CGF.createBasicBlock("kcall.configok"); in EmitCUDAKernelCallExpr() 31 llvm::BasicBlock *ContBlock = CGF.createBasicBlock("kcall.end"); in EmitCUDAKernelCallExpr()
|
D | CGAtomic.cpp | 380 CGF.createBasicBlock("cmpxchg.store_expected", CGF.CurFn); in emitAtomicCmpXchg() 385 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in emitAtomicCmpXchg() 445 MonotonicBB = CGF.createBasicBlock("monotonic_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 448 AcquireBB = CGF.createBasicBlock("acquire_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 450 SeqCstBB = CGF.createBasicBlock("seqcst_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 452 llvm::BasicBlock *ContBB = CGF.createBasicBlock("atomic.continue", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 515 CGF.createBasicBlock("cmpxchg.strong", CGF.CurFn); in EmitAtomicOp() 516 llvm::BasicBlock *WeakBB = CGF.createBasicBlock("cmxchg.weak", CGF.CurFn); in EmitAtomicOp() 518 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in EmitAtomicOp() 1075 MonotonicBB = createBasicBlock("monotonic", CurFn); in EmitAtomicExpr() [all …]
|
D | CGStmt.cpp | 457 Dest = JumpDest(createBasicBlock(D->getName()), in getJumpDestForLabel() 607 llvm::BasicBlock *ThenBlock = createBasicBlock("if.then"); in EmitIfStmt() 608 llvm::BasicBlock *ContBlock = createBasicBlock("if.end"); in EmitIfStmt() 611 ElseBlock = createBasicBlock("if.else"); in EmitIfStmt() 701 llvm::BasicBlock *LoopBody = createBasicBlock("while.body"); in EmitWhileStmt() 705 ExitBlock = createBasicBlock("while.exit"); in EmitWhileStmt() 756 llvm::BasicBlock *LoopBody = createBasicBlock("do.body"); in EmitDoStmt() 850 ExitBlock = createBasicBlock("for.cond.cleanup"); in EmitForStmt() 853 llvm::BasicBlock *ForBody = createBasicBlock("for.body"); in EmitForStmt() 919 llvm::BasicBlock *CondBlock = createBasicBlock("for.cond"); in EmitCXXForRangeStmt() [all …]
|
D | CGStmtOpenMP.cpp | 339 auto BodyBB = createBasicBlock("omp.arraycpy.body"); in EmitOMPAggregateAssign() 340 auto DoneBB = createBasicBlock("omp.arraycpy.done"); in EmitOMPAggregateAssign() 474 auto BodyBB = CGF.createBasicBlock("omp.arrayinit.body"); in EmitOMPAggregateInit() 475 auto DoneBB = CGF.createBasicBlock("omp.arrayinit.done"); in EmitOMPAggregateInit() 732 CopyBegin = createBasicBlock("copyin.not.master"); in EmitOMPCopyinClause() 733 CopyEnd = createBasicBlock("copyin.not.master.end"); in EmitOMPCopyinClause() 830 ThenBB = createBasicBlock(".omp.lastprivate.then"); in EmitOMPLastprivateClauseFinal() 831 DoneBB = createBasicBlock(".omp.lastprivate.done"); in EmitOMPLastprivateClauseFinal() 1177 auto *ThenBB = CGF.createBasicBlock(".omp.reduction.pu"); in emitPostUpdateForReductionClause() 1178 DoneBB = CGF.createBasicBlock(".omp.reduction.pu.done"); in emitPostUpdateForReductionClause() [all …]
|
D | CGClass.cpp | 325 llvm::BasicBlock *notNullBB = createBasicBlock("cast.notnull"); in GetAddressOfBaseClass() 326 endBB = createBasicBlock("cast.end"); in GetAddressOfBaseClass() 392 CastNull = createBasicBlock("cast.null"); in GetAddressOfDerivedClass() 393 CastNotNull = createBasicBlock("cast.notnull"); in GetAddressOfDerivedClass() 394 CastEnd = createBasicBlock("cast.end"); in GetAddressOfDerivedClass() 623 llvm::BasicBlock *CondBlock = CGF.createBasicBlock("for.cond"); in EmitAggMemberInitializer() 624 llvm::BasicBlock *AfterFor = CGF.createBasicBlock("for.end"); in EmitAggMemberInitializer() 628 llvm::BasicBlock *ForBody = CGF.createBasicBlock("for.body"); in EmitAggMemberInitializer() 642 llvm::BasicBlock *ContinueBlock = CGF.createBasicBlock("for.inc"); in EmitAggMemberInitializer() 1636 llvm::BasicBlock *callDeleteBB = CGF.createBasicBlock("dtor.call_delete"); in Emit() [all …]
|
D | CGExprCXX.cpp | 1037 llvm::BasicBlock *LoopBB = createBasicBlock("new.loop"); in EmitNewArrayInitializer() 1038 llvm::BasicBlock *ContBB = createBasicBlock("new.loop.end"); in EmitNewArrayInitializer() 1411 llvm::BasicBlock *notNullBB = createBasicBlock("new.notnull"); in EmitCXXNewExpr() 1412 contBB = createBasicBlock("new.cont"); in EmitCXXNewExpr() 1709 llvm::BasicBlock *DeleteNotNull = createBasicBlock("delete.notnull"); in EmitCXXDeleteExpr() 1710 llvm::BasicBlock *DeleteEnd = createBasicBlock("delete.end"); in EmitCXXDeleteExpr() 1801 CGF.createBasicBlock("typeid.bad_typeid"); in EmitTypeidFromVTable() 1802 llvm::BasicBlock *EndBlock = CGF.createBasicBlock("typeid.end"); in EmitTypeidFromVTable() 1851 CGF.EmitBlock(CGF.createBasicBlock("dynamic_cast.end")); in EmitDynamicCastToNull() 1895 llvm::BasicBlock *CastEnd = createBasicBlock("dynamic_cast.end"); in EmitDynamicCast() [all …]
|
D | CodeGenFunction.cpp | 765 llvm::BasicBlock *EntryBB = createBasicBlock("entry", CurFn); in StartFunction() 926 SkipCountBB = createBasicBlock("skipcount"); in EmitBlockWithFallThrough() 1218 llvm::BasicBlock *LHSTrue = createBasicBlock("land.lhs.true"); in EmitBranchOnBoolExpr() 1264 llvm::BasicBlock *LHSFalse = createBasicBlock("lor.lhs.false"); in EmitBranchOnBoolExpr() 1305 llvm::BasicBlock *LHSBlock = createBasicBlock("cond.true"); in EmitBranchOnBoolExpr() 1306 llvm::BasicBlock *RHSBlock = createBasicBlock("cond.false"); in EmitBranchOnBoolExpr() 1409 llvm::BasicBlock *loopBB = CGF.createBasicBlock("vla-init.loop"); in emitNonZeroVLAInit() 1410 llvm::BasicBlock *contBB = CGF.createBasicBlock("vla-init.cont"); in emitNonZeroVLAInit() 1530 CGBuilderTy TmpBuilder(*this, createBasicBlock("indirectgoto")); in GetIndirectGotoBlock()
|
D | CGCleanup.cpp | 469 Entry = CGF.createBasicBlock("cleanup"); in CreateNormalEntry() 522 ContBB = CGF.createBasicBlock("cleanup.done"); in EmitCleanup() 523 llvm::BasicBlock *CleanupBB = CGF.createBasicBlock("cleanup.action"); in EmitCleanup() 676 prebranchDest = createBasicBlock("forwarded-prebranch"); in PopCleanupBlock() 831 FallthroughDest = createBasicBlock("cleanup.cont"); in PopCleanupBlock()
|
D | CGExprComplex.cpp | 672 llvm::BasicBlock *ContBB = CGF.createBasicBlock("complex_mul_cont"); in EmitBinMul() 673 llvm::BasicBlock *INaNBB = CGF.createBasicBlock("complex_mul_imag_nan"); in EmitBinMul() 685 llvm::BasicBlock *LibCallBB = CGF.createBasicBlock("complex_mul_libcall"); in EmitBinMul() 954 llvm::BasicBlock *LHSBlock = CGF.createBasicBlock("cond.true"); in VisitAbstractConditionalOperator() 955 llvm::BasicBlock *RHSBlock = CGF.createBasicBlock("cond.false"); in VisitAbstractConditionalOperator() 956 llvm::BasicBlock *ContBlock = CGF.createBasicBlock("cond.end"); in VisitAbstractConditionalOperator()
|
D | CGCUDANV.cpp | 133 llvm::BasicBlock *EndBlock = CGF.createBasicBlock("setup.end"); in emitDeviceStubBody() 139 llvm::BasicBlock *NextBlock = CGF.createBasicBlock("setup.next"); in emitDeviceStubBody()
|
D | CGVTables.cpp | 96 AdjustNull = CGF.createBasicBlock("adjust.null"); in PerformReturnAdjustment() 97 AdjustNotNull = CGF.createBasicBlock("adjust.notnull"); in PerformReturnAdjustment() 98 AdjustEnd = CGF.createBasicBlock("adjust.end"); in PerformReturnAdjustment() 392 EmitBlock(createBasicBlock()); in EmitMustTailThunk()
|
D | CGExprScalar.cpp | 1673 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitScalarPrePostIncDec() 1830 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitScalarPrePostIncDec() 2159 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitCompoundAssignLValue() 2184 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitCompoundAssignLValue() 2367 llvm::BasicBlock *continueBB = CGF.createBasicBlock("nooverflow", CGF.CurFn, in EmitOverflowCheckedBinOp() 2369 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn); in EmitOverflowCheckedBinOp() 2732 llvm::BasicBlock *Cont = CGF.createBasicBlock("cont"); in EmitShl() 2733 llvm::BasicBlock *CheckShiftBase = CGF.createBasicBlock("check"); in EmitShl() 3066 llvm::BasicBlock *ContBlock = CGF.createBasicBlock("land.end"); in VisitBinLAnd() 3067 llvm::BasicBlock *RHSBlock = CGF.createBasicBlock("land.rhs"); in VisitBinLAnd() [all …]
|
D | CGExprAgg.cpp | 497 llvm::BasicBlock *bodyBB = CGF.createBasicBlock("arrayinit.body"); in EmitArrayInit() 523 llvm::BasicBlock *endBB = CGF.createBasicBlock("arrayinit.end"); in EmitArrayInit() 926 llvm::BasicBlock *LHSBlock = CGF.createBasicBlock("cond.true"); in VisitAbstractConditionalOperator() 927 llvm::BasicBlock *RHSBlock = CGF.createBasicBlock("cond.false"); in VisitAbstractConditionalOperator() 928 llvm::BasicBlock *ContBlock = CGF.createBasicBlock("cond.end"); in VisitAbstractConditionalOperator()
|
D | CGExpr.cpp | 559 Done = createBasicBlock("null"); in EmitTypeCheck() 560 llvm::BasicBlock *Rest = createBasicBlock("not.null"); in EmitTypeCheck() 2541 llvm::BasicBlock *Cont = createBasicBlock("cont"); in EmitCheck() 2542 llvm::BasicBlock *Handlers = createBasicBlock("handler." + CheckName); in EmitCheck() 2588 createBasicBlock("non_fatal." + CheckName); in EmitCheck() 2589 llvm::BasicBlock *FatalHandlerBB = createBasicBlock("fatal." + CheckName); in EmitCheck() 2605 llvm::BasicBlock *Cont = createBasicBlock("cfi.cont"); in EmitCfiSlowPathCheck() 2607 llvm::BasicBlock *CheckBB = createBasicBlock("cfi.slowpath"); in EmitCfiSlowPathCheck() 2733 llvm::BasicBlock *Cont = createBasicBlock("cont"); in EmitTrapCheck() 2738 TrapBB = createBasicBlock("trap"); in EmitTrapCheck() [all …]
|
D | CGOpenMPRuntime.cpp | 147 auto *DoneBB = CGF.createBasicBlock(".untied.done."); in Enter() 151 CGF.EmitBlock(CGF.createBasicBlock(".untied.jmp.")); in Enter() 168 CGF.EmitBlock(CGF.createBasicBlock(".untied.jmp.")); in emitUntiedSwitch() 1910 auto ThenBlock = CGF.createBasicBlock("omp_if.then"); in emitOMPIfClause() 1911 auto ElseBlock = CGF.createBasicBlock("omp_if.else"); in emitOMPIfClause() 1912 auto ContBlock = CGF.createBasicBlock("omp_if.end"); in emitOMPIfClause() 2057 auto *ThenBlock = CGF.createBasicBlock("omp_if.then"); in Enter() 2058 ContBlock = CGF.createBasicBlock("omp_if.end"); in Enter() 2345 auto *ExitBB = CGF.createBasicBlock(".cancel.exit"); in emitBarrierCall() 2346 auto *ContBB = CGF.createBasicBlock(".cancel.continue"); in emitBarrierCall() [all …]
|
D | CGDeclCXX.cpp | 540 llvm::BasicBlock *InitBlock = createBasicBlock("init"); in GenerateCXXGlobalInitFunc() 541 ExitBlock = createBasicBlock("exit"); in GenerateCXXGlobalInitFunc()
|
D | MicrosoftCXXABI.cpp | 884 llvm::BasicBlock *BB = CGF.createBasicBlock("catchret.dest"); in Emit() 1109 llvm::BasicBlock *CallVbaseCtorsBB = CGF.createBasicBlock("ctor.init_vbases"); in EmitCtorCompleteObjectHandler() 1110 llvm::BasicBlock *SkipVbaseCtorsBB = CGF.createBasicBlock("ctor.skip_vbases"); in EmitCtorCompleteObjectHandler() 2430 llvm::BasicBlock *InitBlock = CGF.createBasicBlock("init"); in EmitGuardedInit() 2431 llvm::BasicBlock *EndBlock = CGF.createBasicBlock("init.end"); in EmitGuardedInit() 2465 llvm::BasicBlock *AttemptInitBlock = CGF.createBasicBlock("init.attempt"); in EmitGuardedInit() 2466 llvm::BasicBlock *EndBlock = CGF.createBasicBlock("init.end"); in EmitGuardedInit() 2478 llvm::BasicBlock *InitBlock = CGF.createBasicBlock("init"); in EmitGuardedInit() 2894 VBaseAdjustBB = CGF.createBasicBlock("memptr.vadjust"); in AdjustVirtualBase() 2895 SkipAdjustBB = CGF.createBasicBlock("memptr.skip_vadjust"); in AdjustVirtualBase() [all …]
|
D | CGDecl.cpp | 458 llvm::BasicBlock *RunDtorBB = CGF.createBasicBlock("nrvo.unused"); in Emit() 459 SkipDtorBB = CGF.createBasicBlock("nrvo.skipdtor"); in Emit() 1555 llvm::BasicBlock *bodyBB = createBasicBlock("arraydestroy.body"); in emitArrayDestroy() 1556 llvm::BasicBlock *doneBB = createBasicBlock("arraydestroy.done"); in emitArrayDestroy()
|
D | CGBuiltin.cpp | 798 EmitBlock(createBasicBlock("unreachable.cont")); in EmitBuiltinExpr() 910 BasicBlock *End = createBasicBlock("fpclassify_end", this->CurFn); in EmitBuiltinExpr() 921 BasicBlock *NotZero = createBasicBlock("fpclassify_not_zero", this->CurFn); in EmitBuiltinExpr() 929 BasicBlock *NotNan = createBasicBlock("fpclassify_not_nan", this->CurFn); in EmitBuiltinExpr() 940 BasicBlock *NotInf = createBasicBlock("fpclassify_not_inf", this->CurFn); in EmitBuiltinExpr() 1134 EmitBlock(createBasicBlock("builtin_eh_return.cont")); in EmitBuiltinExpr() 1200 EmitBlock(createBasicBlock("longjmp.cont")); in EmitBuiltinExpr() 1441 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn); in EmitBuiltinExpr() 1444 createBasicBlock("monotonic", CurFn), in EmitBuiltinExpr() 1445 createBasicBlock("acquire", CurFn), in EmitBuiltinExpr() [all …]
|
D | CGObjCRuntime.cpp | 200 Handler.Block = CGF.createBasicBlock("catch"); in EmitTryCatchStmt()
|
/external/swiftshader/src/Shader/ |
D | PixelProgram.cpp | 93 callRetBlock[dst.label].push_back(Nucleus::createBasicBlock()); in applyShader() 1220 llvm::BasicBlock *deadBlock = Nucleus::createBasicBlock(); in BREAK() 1276 llvm::BasicBlock *continueBlock = Nucleus::createBasicBlock(); in BREAK() 1303 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALL() 1343 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALLNZb() 1372 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALLNZp() 1397 llvm::BasicBlock *endBlock = Nucleus::createBasicBlock(); in ELSE() 1521 llvm::BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IFb() 1522 llvm::BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IFb() 1570 llvm::BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IF() [all …]
|
D | VertexProgram.cpp | 109 callRetBlock[dst.label].push_back(Nucleus::createBasicBlock()); in program() 1001 llvm::BasicBlock *deadBlock = Nucleus::createBasicBlock(); in BREAK() 1057 llvm::BasicBlock *continueBlock = Nucleus::createBasicBlock(); in BREAK() 1084 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALL() 1124 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALLNZb() 1153 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALLNZp() 1178 llvm::BasicBlock *endBlock = Nucleus::createBasicBlock(); in ELSE() 1302 llvm::BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IFb() 1303 llvm::BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IFb() 1351 llvm::BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IF() [all …]
|