Home
last modified time | relevance | path

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

123456789

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp86 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, LoopEndCI), in createMemCpyLoopKnownSize()
211 PLBuilder.CreateCondBr(PLBuilder.CreateICmpNE(RuntimeLoopCount, Zero), in createMemCpyLoopUnknownSize()
215 LoopBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
221 RHBuilder.CreateCondBr(RHBuilder.CreateICmpNE(RuntimeResidual, Zero), in createMemCpyLoopUnknownSize()
247 ResBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
256 PLBuilder.CreateCondBr(PLBuilder.CreateICmpNE(RuntimeLoopCount, Zero), in createMemCpyLoopUnknownSize()
259 LoopBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
339 LoopBuilder.CreateCondBr( in createMemMoveLoop()
359 FwdLoopBuilder.CreateCondBr(FwdLoopBuilder.CreateICmpEQ(FwdIndexPtr, CopyLen), in createMemMoveLoop()
386 Builder.CreateCondBr( in createMemSetLoop()
[all …]
DLoopUnrollRuntime.cpp165 B.CreateCondBr(BrLoopExit, OriginalLoopLatchExit, NewPreHeader); in ConnectProlog()
280 B.CreateCondBr(BrLoopExit, EpilogPreHeader, Exit); in ConnectEpilog()
366 Builder.CreateCondBr(IdxCmp, FirstLoopBB, InsertBot); in CloneLoopBlocks()
756 B.CreateCondBr(BranchVal, RemainderLoop, UnrollingLoop); in UnrollRuntimeLoopRemainder()
DIntegerDivision.cpp262 Builder.CreateCondBr(EarlyRet, End, BB1); in generateUnsignedDivisionCode()
275 Builder.CreateCondBr(SkipLoop, LoopExit, Preheader); in generateUnsignedDivisionCode()
321 Builder.CreateCondBr(Tmp12, LoopExit, DoWhile); in generateUnsignedDivisionCode()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp83 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, LoopEndCI), in createMemCpyLoopKnownSize()
214 PLBuilder.CreateCondBr(PLBuilder.CreateICmpNE(RuntimeLoopCount, Zero), in createMemCpyLoopUnknownSize()
218 LoopBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
224 RHBuilder.CreateCondBr(RHBuilder.CreateICmpNE(RuntimeResidual, Zero), in createMemCpyLoopUnknownSize()
251 ResBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
260 PLBuilder.CreateCondBr(PLBuilder.CreateICmpNE(RuntimeLoopCount, Zero), in createMemCpyLoopUnknownSize()
263 LoopBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
349 LoopBuilder.CreateCondBr( in createMemMoveLoop()
369 FwdLoopBuilder.CreateCondBr(FwdLoopBuilder.CreateICmpEQ(FwdIndexPtr, CopyLen), in createMemMoveLoop()
397 Builder.CreateCondBr( in createMemSetLoop()
[all …]
DLoopUnrollRuntime.cpp166 B.CreateCondBr(BrLoopExit, OriginalLoopLatchExit, NewPreHeader); in ConnectProlog()
281 B.CreateCondBr(BrLoopExit, EpilogPreHeader, Exit); in ConnectEpilog()
367 Builder.CreateCondBr(IdxCmp, FirstLoopBB, InsertBot); in CloneLoopBlocks()
782 B.CreateCondBr(BranchVal, RemainderLoop, UnrollingLoop); in UnrollRuntimeLoopRemainder()
DIntegerDivision.cpp262 Builder.CreateCondBr(EarlyRet, End, BB1); in generateUnsignedDivisionCode()
275 Builder.CreateCondBr(SkipLoop, LoopExit, Preheader); in generateUnsignedDivisionCode()
321 Builder.CreateCondBr(Tmp12, LoopExit, DoWhile); in generateUnsignedDivisionCode()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp105 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, CopyLen), LoopBB, in convertMemCpyToLoop()
179 LoopBuilder.CreateCondBr( in convertMemMoveToLoop()
198 FwdLoopBuilder.CreateCondBr(FwdLoopBuilder.CreateICmpEQ(FwdIndexPtr, CopyLen), in convertMemMoveToLoop()
237 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, CopyLen), LoopBB, in convertMemSetToLoop()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DSSAUpdaterBulkTest.cpp53 B.CreateCondBr(B.getTrue(), TrueBB, FalseBB); in TEST()
141 B.CreateCondBr(B.getTrue(), LoopMainBB, LoopStartBB); in TEST()
149 B.CreateCondBr(B.getTrue(), LoopStartBB, AfterLoopBB); in TEST()
/external/llvm-project/llvm/unittests/Analysis/
DMemorySSATest.cpp85 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
123 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
213 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
257 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
309 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
345 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
391 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
435 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
488 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
533 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
[all …]
/external/clang/lib/CodeGen/
DCGOpenMPRuntimeNVPTX.cpp173 Bld.CreateCondBr(ShouldTerminate, ExitBB, SelectWorkersBB); in emitWorkerLoop()
182 Bld.CreateCondBr(ActiveThread, ExecuteBB, BarrierBB); in emitWorkerLoop()
223 Bld.CreateCondBr(ShouldDie, EST.ExitBB, WorkerCheckBB); in emitEntryHeader()
228 Bld.CreateCondBr(IsWorker, WorkerBB, MasterBB); in emitEntryHeader()
/external/llvm-project/clang/lib/CodeGen/
DCGCoroutine.cpp206 CGF.Builder.CreateCondBr(SuspendRet, RealSuspendBlock, ReadyBlock); in emitSuspendExpression()
410 CGF.Builder.CreateCondBr(CoroEnd, ResumeBB, CleanupContBB); in Emit()
458 CGF.Builder.CreateCondBr(Cond, FreeBB, AfterFreeBB); in Emit()
565 Builder.CreateCondBr(CoroAlloc, AllocBB, InitBB); in EmitCoroutineBody()
578 Builder.CreateCondBr(Cond, InitBB, RetOnFailureBB); in EmitCoroutineBody()
651 Builder.CreateCondBr(SkipBody, ContBB, BodyBB); in EmitCoroutineBody()
/external/llvm/unittests/Transforms/Utils/
DMemorySSA.cpp80 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
121 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
164 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
DLocal.cpp30 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp135 B.CreateCondBr(BrLoopExit, Exit, NewPreHeader); in ConnectProlog()
256 B.CreateCondBr(BrLoopExit, EpilogPreHeader, Exit); in ConnectEpilog()
328 Builder.CreateCondBr(IdxCmp, FirstLoopBB, InsertBot); in CloneLoopBlocks()
586 B.CreateCondBr(BranchVal, RemainderLoop, UnrollingLoop); in UnrollRuntimeLoopRemainder()
DIntegerDivision.cpp263 Builder.CreateCondBr(EarlyRet, End, BB1); in generateUnsignedDivisionCode()
276 Builder.CreateCondBr(SkipLoop, LoopExit, Preheader); in generateUnsignedDivisionCode()
322 Builder.CreateCondBr(Tmp12, LoopExit, DoWhile); in generateUnsignedDivisionCode()
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc142 B.CreateCondBr(is_not_null, label_then, label_else); in visit_if_stmt_node()
144 B.CreateCondBr(is_not_null, label_then, label_end); in visit_if_stmt_node()
176 B.CreateCondBr(is_null, label_then, label_else); in visit_onvalid_stmt_node()
178 B.CreateCondBr(is_null, label_then, label_end); in visit_onvalid_stmt_node()
446 B.CreateCondBr(neq_zero, label_then, label_end); in emit_short_circuit_and()
473 B.CreateCondBr(neq_zero, label_end, label_then); in emit_short_circuit_or()
818 B.CreateCondBr(eq_zero, label_then, label_end); in visit_table_index_expr_node()
855 B.CreateCondBr(B.CreateIsNull(result), label_then, label_end); in visit_table_index_expr_node()
864 B.CreateCondBr(B.CreateIsNotNull(result), label_then, label_end); in visit_table_index_expr_node()
906 B.CreateCondBr(is_null, label_then, label_end); in visit_match_decl_stmt_node()
[all …]
/external/llvm-project/polly/lib/CodeGen/
DLoopGeneratorsKMP.cpp216 Builder.CreateCondBr(HasIteration, PreHeaderBB, ExitBB); in createSubFn()
223 Builder.CreateCondBr(HasIteration, PreHeaderBB, ExitBB); in createSubFn()
251 Builder.CreateCondBr(HasIteration, PreHeaderBB, ExitBB); in createSubFn()
280 Builder.CreateCondBr(HasWork, PreHeaderBB, ExitBB); in createSubFn()
DLoopGenerators.cpp138 Builder.CreateCondBr(LoopGuard, PreHeaderBB, ExitBB); in createLoop()
160 BranchInst *B = Builder.CreateCondBr(LoopCondition, HeaderBB, ExitBB); in createLoop()
DUtils.cpp149 BranchInst *CondBr = Builder.CreateCondBr(RTC, StartBlock, S.getEntry()); in executeScopConditionally()
/external/llvm/bindings/go/llvm/
Dexecutionengine_test.go43 builder.CreateCondBr(If, iftrue, iffalse)
/external/llvm-project/llvm/bindings/go/llvm/
Dexecutionengine_test.go42 builder.CreateCondBr(If, iftrue, iffalse)
/external/llvm-project/llvm/unittests/Transforms/Scalar/
DLoopPassManagerTest.cpp916 auto CreateCondBr = [&](BasicBlock *TrueBB, BasicBlock *FalseBB, in TEST_F() local
971 CreateCondBr(NewLoop01LatchBB, NewLoop010BB, "cond.0.1.0", in TEST_F()
1014 CreateCondBr(NewLoop01LatchBB, NewLoop011BB, "cond.0.1.1", in TEST_F()
1119 auto CreateCondBr = [&](BasicBlock *TrueBB, BasicBlock *FalseBB, in TEST_F() local
1160 CreateCondBr(&Loop02PHBB, NewLoop01BB, "cond.0.1", NewLoop01BB); in TEST_F()
1218 CreateCondBr(NewLoop04PHBB, NewLoop03BB, "cond.0.3", NewLoop03BB); in TEST_F()
1220 CreateCondBr(&Loop0LatchBB, NewLoop040PHBB, "cond.0.4", NewLoop04BB); in TEST_F()
1222 CreateCondBr(NewLoop04LatchBB, NewLoop040BB, "cond.0.4.0", NewLoop040BB); in TEST_F()
1282 CreateCondBr(&Loop2PHBB, NewLoop1BB, "cond.1", NewLoop1BB); in TEST_F()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp82 TEST_F(IRBuilderTest, CreateCondBr) { in TEST_F() argument
87 BranchInst *BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB); in TEST_F()
96 BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB, Weights); in TEST_F()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp826 Builder.CreateCondBr(Success, EndBB, FailureBB); in expandPartwordCmpXchg()
835 Builder.CreateCondBr(ShouldContinue, LoopBB, EndBB); in expandPartwordCmpXchg()
904 Builder.CreateCondBr(TryAgain, LoopBB, ExitBB); in insertRMWLLSCLoop()
1063 Builder.CreateCondBr(ShouldStore, ReleasingStoreBB, NoStoreBB); in expandAtomicCmpXchg()
1077 Builder.CreateCondBr(StoreSuccess, SuccessBB, in expandAtomicCmpXchg()
1089 Builder.CreateCondBr(ShouldStore, TryStoreBB, NoStoreBB); in expandAtomicCmpXchg()
1268 Builder.CreateCondBr(Success, ExitBB, LoopBB); in insertRMWCmpXchgLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DSpeculation.cpp119 Mutator.CreateCondBr(CanSpeculate, SpeculateBlock, &ProgramEntry); in emit()

123456789