Searched refs:ThenBlock (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 715 BasicBlock *ThenBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThen() local 718 CheckTerm = new UnreachableInst(C, ThenBlock); in SplitBlockAndInsertIfThen() 720 CheckTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThen() 723 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/Tail, Cond); in SplitBlockAndInsertIfThen() 736 DT->addNewBlock(ThenBlock, Head); in SplitBlockAndInsertIfThen() 765 BasicBlock *ThenBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThenElse() local 767 *ThenTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThenElse() 772 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/ElseBlock, Cond); in SplitBlockAndInsertIfThenElse()
|
/external/clang/lib/CodeGen/ |
D | CGStmtOpenMP.cpp | 1198 auto *ThenBlock = CGF.createBasicBlock("simd.if.then"); in EmitOMPSimdDirective() local 1200 emitPreCond(CGF, S, S.getPreCond(), ThenBlock, ContBlock, in EmitOMPSimdDirective() 1202 CGF.EmitBlock(ThenBlock); in EmitOMPSimdDirective() 1489 auto *ThenBlock = createBasicBlock("omp.precond.then"); in EmitOMPWorksharingLoop() local 1491 emitPreCond(*this, S, S.getPreCond(), ThenBlock, ContBlock, in EmitOMPWorksharingLoop() 1493 EmitBlock(ThenBlock); in EmitOMPWorksharingLoop()
|
D | CGStmt.cpp | 573 llvm::BasicBlock *ThenBlock = createBasicBlock("if.then"); in EmitIfStmt() local 579 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, in EmitIfStmt() 583 EmitBlock(ThenBlock); in EmitIfStmt()
|
D | CGOpenMPRuntime.cpp | 1233 auto ThenBlock = CGF.createBasicBlock("omp_if.then"); in emitOMPIfClause() local 1236 CGF.EmitBranchOnBoolExpr(Cond, ThenBlock, ElseBlock, /*TrueCount=*/0); in emitOMPIfClause() 1239 CGF.EmitBlock(ThenBlock); in emitOMPIfClause() 1424 auto *ThenBlock = CGF.createBasicBlock("omp_if.then"); in emitIfStmt() local 1427 CGF.Builder.CreateCondBr(CallBool, ThenBlock, ContBlock); in emitIfStmt() 1428 CGF.EmitBlock(ThenBlock); in emitIfStmt()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 2213 CFGBlock *ThenBlock; in VisitIfStmt() local 2225 ThenBlock = addStmt(Then); in VisitIfStmt() 2227 if (!ThenBlock) { in VisitIfStmt() 2231 ThenBlock = createBlock(false); in VisitIfStmt() 2232 addSuccessor(ThenBlock, sv.get()); in VisitIfStmt() 2250 return VisitLogicalOperator(Cond, I, ThenBlock, ElseBlock).first; in VisitIfStmt() 2263 addSuccessor(Block, ThenBlock, /* isReachable = */ !KnownVal.isFalse()); in VisitIfStmt()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1793 BasicBlock *ThenBlock = ThenTerm->getParent(); in createPHI() local 1794 PHI->addIncoming(ValueIfTrue, ThenBlock); in createPHI()
|