Home
last modified time | relevance | path

Searched refs:CreateCondBr (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp102 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, LoopEndCI), in createMemCpyLoopKnownSize()
286 PLBuilder.CreateCondBr(PLBuilder.CreateICmpNE(RuntimeLoopCount, Zero), in createMemCpyLoopUnknownSize()
290 LoopBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
296 RHBuilder.CreateCondBr(RHBuilder.CreateICmpNE(RuntimeResidual, Zero), in createMemCpyLoopUnknownSize()
332 ResBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
341 PLBuilder.CreateCondBr(PLBuilder.CreateICmpNE(RuntimeLoopCount, Zero), in createMemCpyLoopUnknownSize()
344 LoopBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
432 LoopBuilder.CreateCondBr( in createMemMoveLoop()
453 FwdLoopBuilder.CreateCondBr(FwdLoopBuilder.CreateICmpEQ(FwdIndexPtr, CopyLen), in createMemMoveLoop()
476 Builder.CreateCondBr( in createMemSetLoop()
[all …]
H A DLoopUnrollRuntime.cpp189 B.CreateCondBr(BrLoopExit, OriginalLoopLatchExit, NewPreHeader, in ConnectProlog()
319 B.CreateCondBr(BrLoopExit, EpilogPreHeader, Exit, BranchWeights); in ConnectEpilog()
418 Builder.CreateCondBr(IdxCmp, FirstLoopBB, InsertBot, BranchWeights); in CloneLoopBlocks()
803 B.CreateCondBr(BranchVal, RemainderLoop, UnrollingLoop, BranchWeights); in UnrollRuntimeLoopRemainder()
H A DIntegerDivision.cpp242 Builder.CreateCondBr(EarlyRet, End, BB1); in generateUnsignedDivisionCode()
255 Builder.CreateCondBr(SkipLoop, LoopExit, Preheader); in generateUnsignedDivisionCode()
301 Builder.CreateCondBr(Tmp12, LoopExit, DoWhile); in generateUnsignedDivisionCode()
H A DBypassSlowDivision.cpp426 Builder.CreateCondBr(CmpV, Fast.BB, SuccessorBB); in insertFastDivAndRem()
441 Builder.CreateCondBr(CmpV, Fast.BB, Slow.BB); in insertFastDivAndRem()
H A DLoopVersioning.cpp111 Builder.CreateCondBr(RuntimeCheck, NonVersionedLoop->getLoopPreheader(), in versionLoop()
H A DLoopConstrainer.cpp622 B.CreateCondBr(EnterLoopCond, LS.Header, RRI.PseudoExit); in changeIterationSpaceEnd()
643 B.CreateCondBr(IterationsLeft, RRI.PseudoExit, LS.LatchExit); in changeIterationSpaceEnd()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRShiftExpand.cpp99 Builder.CreateCondBr(Cmp1, EndBB, LoopBB); in expand()
137 Builder.CreateCondBr(Cmp2, EndBB, LoopBB); in expand()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCtorDtorLowering.cpp125 IRB.CreateCondBr( in createInitOrFiniKernel()
140 IRB.CreateCondBr(EndCmp, ExitBB, LoopBB);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp174 Builder.CreateCondBr(Cmp, End, IfEnd); in expandFPToI()
183 Builder.CreateCondBr(Cmp3, IfThen5, IfEnd9); in expandFPToI()
195 Builder.CreateCondBr(Cmp10, IfThen12, IfElse); in expandFPToI()
365 Builder.CreateCondBr(Cmp, End, IfEnd); in expandIToFP()
382 Builder.CreateCondBr(Cmp3, IfThen4, IfElse); in expandIToFP()
442 Builder.CreateCondBr(PosOrNeg, IfEnd26, IfThen20); in expandIToFP()
H A DAtomicExpandPass.cpp1106 Builder.CreateCondBr(Success, EndBB, FailureBB); in expandPartwordCmpXchg()
1115 Builder.CreateCondBr(ShouldContinue, LoopBB, EndBB); in expandPartwordCmpXchg()
1243 Builder.CreateCondBr(TryAgain, LoopBB, ExitBB); in insertRMWLLSCLoop()
1408 Builder.CreateCondBr(ShouldStore, ReleasingStoreBB, NoStoreBB); in expandAtomicCmpXchg()
1426 Builder.CreateCondBr(StoreSuccess, SuccessBB, in expandAtomicCmpXchg()
1440 Builder.CreateCondBr(ShouldStore, TryStoreBB, NoStoreBB); in expandAtomicCmpXchg()
1617 Builder.CreateCondBr(Success, ExitBB, LoopBB); in insertRMWCmpXchgLoop()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp309 CGF.Builder.CreateCondBr(SuspendRet, RealSuspendBlock, ReadyBlock); in emitSuspendExpression()
587 CGF.Builder.CreateCondBr(CoroEnd, ResumeBB, CleanupContBB); in Emit()
635 CGF.Builder.CreateCondBr(Cond, FreeBB, AfterFreeBB); in Emit()
800 Builder.CreateCondBr(CoroAlloc, AllocBB, InitBB); in EmitCoroutineBody()
815 Builder.CreateCondBr(Cond, InitBB, RetOnFailureBB); in EmitCoroutineBody()
899 Builder.CreateCondBr(SkipBody, ContBB, BodyBB); in EmitCoroutineBody()
H A DCGExprCXX.cpp1268 Builder.CreateCondBr(IsEmpty, ContBB, LoopBB); in EmitNewArrayInitializer()
1310 Builder.CreateCondBr(IsEnd, ContBB, LoopBB); in EmitNewArrayInitializer()
1717 Builder.CreateCondBr(isNull, contBB, notNullBB); in EmitCXXNewExpr()
2098 Builder.CreateCondBr(IsNull, DeleteEnd, DeleteNotNull); in EmitCXXDeleteExpr()
2171 CGF.Builder.CreateCondBr(IsNull, BadTypeidBlock, EndBlock); in EmitTypeidFromVTable()
2298 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in EmitDynamicCast()
H A DCGException.cpp564 CGF.Builder.CreateCondBr(failsFilter, unexpectedBB, in emitFilterDispatchBlock()
1105 CGF.Builder.CreateCondBr(MatchesTypeIndex, Handler.Block, NextBlock); in emitWasmCatchPadBlock()
1192 CGF.Builder.CreateCondBr(matchesTypeIndex, handler.Block, nextBlock); in emitCatchDispatchBlock()
1358 CGF.Builder.CreateCondBr(ShouldEndCatch, EndCatchBB, CleanupContBB); in Emit()
1401 CGF.Builder.CreateCondBr(ShouldRethrow, RethrowBB, ContBB); in Emit()
H A DCGCUDANV.cpp472 CGF.Builder.CreateCondBr(CBZero, NextBlock, EndBlock); in emitDeviceStubBodyLegacy()
859 CtorBuilder.CreateCondBr(EQZero, IfBlock, ExitBlock); in makeModuleCtorFunction()
998 DtorBuilder.CreateCondBr(NEZero, IfBlock, ExitBlock); in makeModuleDtorFunction()
H A DCGAtomic.cpp410 CGF.Builder.CreateCondBr(Cmp, ContinueBB, StoreExpectedBB); in emitAtomicCmpXchg()
1789 CGF.Builder.CreateCondBr(Res, ExitBB, ContBB); in EmitAtomicUpdateLibcall()
1826 CGF.Builder.CreateCondBr(Res.second, ExitBB, ContBB); in EmitAtomicUpdateOp()
1877 CGF.Builder.CreateCondBr(Res, ExitBB, ContBB); in EmitAtomicUpdateLibcall()
1906 CGF.Builder.CreateCondBr(Res.second, ExitBB, ContBB); in EmitAtomicUpdateOp()
H A DCGStmt.cpp876 Builder.CreateCondBr(BoolCondVal, ThenBlock, ElseBlock); in EmitIfStmt()
1044 Builder.CreateCondBr(BoolCondVal, LoopBody, ExitBlock, Weights); in EmitWhileStmt()
1157 Builder.CreateCondBr( in EmitDoStmt()
1260 Builder.CreateCondBr(BoolCondVal, ForBody, ExitBlock, Weights); in EmitForStmt()
1362 Builder.CreateCondBr(BoolCondVal, ForBody, ExitBlock, Weights); in EmitCXXForRangeStmt()
1691 Builder.CreateCondBr(Cond, CaseDest, FalseDest, Weights); in EmitCaseStmtRange()
H A DCGClass.cpp360 Builder.CreateCondBr(isNull, endBB, notNullBB); in GetAddressOfBaseClass()
431 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in GetAddressOfDerivedClass()
1598 CGF.Builder.CreateCondBr(ShouldCallDelete, continueBB, callDeleteBB); in EmitConditionalDtorDeleteCall()
2028 zeroCheckBranch = Builder.CreateCondBr(iszero, loopBB, loopBB); in EmitCXXAggrConstructorCall()
2101 Builder.CreateCondBr(done, contBB, loopBB); in EmitCXXAggrConstructorCall()
2826 Builder.CreateCondBr(DerivedNotNull, CheckBlock, ContBlock); in EmitVTablePtrCheckForCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXCtorDtorLowering.cpp187 IRB.CreateCondBr( in createInitOrFiniCalls()
202 IRB.CreateCondBr(EndCmp, ExitBB, LoopBB); in createInitOrFiniCalls()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp721 IRB.CreateCondBr(Cmp1, ThenBB1, ElseBB1); in wrapTestSetjmp()
750 IRB.CreateCondBr(Cmp2, CallEmLongjmpBB, EndBB2); in wrapTestSetjmp()
1139 IRB.CreateCondBr(Or, Tail, RethrowLongjmpBB); in runEHOnFunction()
1146 IRB.CreateCondBr(Cmp, II->getUnwindDest(), II->getNormalDest()); in runEHOnFunction()
1493 IRB.CreateCondBr(CmpEqOne, RethrowExnBB, NormalBB); in handleLongjmpableCallsForEmscriptenSjLj()
1631 IRB.CreateCondBr(Cmp, ThenBB, EndBB); in handleLongjmpableCallsForWasmSjLj()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculation.cpp115 Mutator.CreateCondBr(CanSpeculate, SpeculateBlock, &ProgramEntry); in emit()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSMEABIPass.cpp122 Builder.CreateCondBr(Cmp, SaveBB, OrigBB); in updateNewStateFunctions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCrossDSOCFI.cpp133 BranchInst *BI = IRBTest.CreateCondBr(Test, ExitBB, TrapBB); in buildCFICheck()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DOffloadWrapper.cpp394 Builder.CreateCondBr(EntryCmp, EntryBB, ExitBB); in createRegisterGlobalsFunction()
443 Builder.CreateCondBr(FnCond, IfThenBB, IfElseBB); in createRegisterGlobalsFunction()
506 Builder.CreateCondBr(Cmp, ExitBB, EntryBB); in createRegisterGlobalsFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrOrderFile.cpp131 entryB.CreateCondBr(IsNotExecuted, UpdateOrderFileBB, OrigEntry); in generateCodeSequence()
H A DGCOVProfiling.cpp1257 Builder.CreateCondBr(EnterCounterLoopCond, CounterLoopHeader, FileLoopLatch); in insertCounterWriteout()
1300 Builder.CreateCondBr(CounterLoopCond, CounterLoopHeader, FileLoopLatch); in insertCounterWriteout()
1309 Builder.CreateCondBr(FileLoopCond, FileLoopHeader, ExitBB); in insertCounterWriteout()

1234