Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp87 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, LoopEndCI), in createMemCpyLoopKnownSize()
212 PLBuilder.CreateCondBr(PLBuilder.CreateICmpNE(RuntimeLoopCount, Zero), in createMemCpyLoopUnknownSize()
216 LoopBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
222 RHBuilder.CreateCondBr(RHBuilder.CreateICmpNE(RuntimeResidual, Zero), in createMemCpyLoopUnknownSize()
248 ResBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
257 PLBuilder.CreateCondBr(PLBuilder.CreateICmpNE(RuntimeLoopCount, Zero), in createMemCpyLoopUnknownSize()
260 LoopBuilder.CreateCondBr( in createMemCpyLoopUnknownSize()
337 LoopBuilder.CreateCondBr( in createMemMoveLoop()
356 FwdLoopBuilder.CreateCondBr(FwdLoopBuilder.CreateICmpEQ(FwdIndexPtr, CopyLen), in createMemMoveLoop()
383 Builder.CreateCondBr( in createMemSetLoop()
[all …]
DLoopUnrollRuntime.cpp148 B.CreateCondBr(BrLoopExit, OriginalLoopLatchExit, NewPreHeader); in ConnectProlog()
263 B.CreateCondBr(BrLoopExit, EpilogPreHeader, Exit); in ConnectEpilog()
349 Builder.CreateCondBr(IdxCmp, FirstLoopBB, InsertBot); in CloneLoopBlocks()
720 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()
DBypassSlowDivision.cpp424 Builder.CreateCondBr(CmpV, Fast.BB, SuccessorBB); in insertFastDivAndRem()
440 Builder.CreateCondBr(CmpV, Fast.BB, Slow.BB); in insertFastDivAndRem()
/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/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DSSAUpdaterBulk.cpp54 B.CreateCondBr(B.getTrue(), TrueBB, FalseBB); in TEST()
142 B.CreateCondBr(B.getTrue(), LoopMainBB, LoopStartBB); in TEST()
150 B.CreateCondBr(B.getTrue(), LoopStartBB, AfterLoopBB); in TEST()
/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/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DMemorySSA.cpp84 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
122 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
212 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
256 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
308 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
344 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
390 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
434 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
487 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
532 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
[all …]
DScalarEvolutionTest.cpp770 Builder.CreateCondBr(UndefValue::get(T_int1), L, Post); in TEST_F()
845 auto *Br = cast<Instruction>(Builder.CreateCondBr(Cond, L, Post)); in TEST_F()
877 Builder.CreateCondBr(NewCond, L, Post); in TEST_F()
945 auto *Br = cast<Instruction>(Builder.CreateCondBr(Cond, L, Post)); in TEST_F()
966 Builder.CreateCondBr(NewCond, L, Post); in TEST_F()
1169 Builder.CreateCondBr(Cond, L, Post); in TEST_F()
1220 Builder.CreateCondBr(Cond, Exit, Body); in TEST_F()
1272 Builder.CreateCondBr(Cond, Exit, Body); in TEST_F()
/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/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/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/swiftshader/third_party/LLVM/unittests/Transforms/Utils/
DLocal.cpp30 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Scalar/
DLoopPassManagerTest.cpp905 auto CreateCondBr = [&](BasicBlock *TrueBB, BasicBlock *FalseBB, in TEST_F() local
959 CreateCondBr(NewLoop01LatchBB, NewLoop010BB, "cond.0.1.0", in TEST_F()
1002 CreateCondBr(NewLoop01LatchBB, NewLoop011BB, "cond.0.1.1", in TEST_F()
1107 auto CreateCondBr = [&](BasicBlock *TrueBB, BasicBlock *FalseBB, in TEST_F() local
1147 CreateCondBr(&Loop02PHBB, NewLoop01BB, "cond.0.1", NewLoop01BB); in TEST_F()
1205 CreateCondBr(NewLoop04PHBB, NewLoop03BB, "cond.0.3", NewLoop03BB); in TEST_F()
1207 CreateCondBr(&Loop0LatchBB, NewLoop040PHBB, "cond.0.4", NewLoop04BB); in TEST_F()
1209 CreateCondBr(NewLoop04LatchBB, NewLoop040BB, "cond.0.4.0", NewLoop040BB); in TEST_F()
1269 CreateCondBr(&Loop2PHBB, NewLoop1BB, "cond.1", NewLoop1BB); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Dexecutionengine_test.go43 builder.CreateCondBr(If, iftrue, iffalse)
/external/llvm/bindings/go/llvm/
Dexecutionengine_test.go43 builder.CreateCondBr(If, iftrue, iffalse)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp835 Builder.CreateCondBr(Success, EndBB, FailureBB); in expandPartwordCmpXchg()
844 Builder.CreateCondBr(ShouldContinue, LoopBB, EndBB); in expandPartwordCmpXchg()
913 Builder.CreateCondBr(TryAgain, LoopBB, ExitBB); in insertRMWLLSCLoop()
1070 Builder.CreateCondBr(ShouldStore, ReleasingStoreBB, NoStoreBB); in expandAtomicCmpXchg()
1083 Builder.CreateCondBr(StoreSuccess, SuccessBB, in expandAtomicCmpXchg()
1095 Builder.CreateCondBr(ShouldStore, TryStoreBB, NoStoreBB); in expandAtomicCmpXchg()
1272 Builder.CreateCondBr(Success, ExitBB, LoopBB); in insertRMWCmpXchgLoop()
/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/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/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp73 Builder.CreateCondBr(FCmp, JoinBB, LibCallBB); in optimizeSQRT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp74 Builder.CreateCondBr(FCmp, JoinBB, LibCallBB); in optimizeSQRT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp551 IRB.CreateCondBr(Cmp1, ThenBB1, ElseBB1); in wrapTestSetjmp()
565 IRB.CreateCondBr(Cmp2, ThenBB2, EndBB2); in wrapTestSetjmp()
622 IRB.CreateCondBr(Cmp, ThenBB, EndBB); in createSetThrewFunction()
818 IRB.CreateCondBr(Cmp, II->getUnwindDest(), II->getNormalDest()); in runEHOnFunction()
/external/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp138 BranchInst *BI = IRBTest.CreateCondBr(Test, ExitBB, TrapBB); in buildCFICheck()

123456