Home
last modified time | relevance | path

Searched refs:ElseBlock (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp81 BasicBlock *ElseBlock) { in fixupPHINodeForUnwindDest() argument
88 Phi.addIncoming(V, ElseBlock); in fixupPHINodeForUnwindDest()
278 BasicBlock *ElseBlock = ElseTerm->getParent(); in versionCallSite() local
282 ElseBlock->setName("if.false.orig_indirect"); in versionCallSite()
306 fixupPHINodeForUnwindDest(OrigInvoke, MergeBlock, ThenBlock, ElseBlock); in versionCallSite()
DBasicBlockUtils.cpp736 BasicBlock *ElseBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThenElse() local
739 *ElseTerm = BranchInst::Create(Tail, ElseBlock); in SplitBlockAndInsertIfThenElse()
742 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/ElseBlock, Cond); in SplitBlockAndInsertIfThenElse()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp666 BasicBlock *ElseBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThenElse() local
669 *ElseTerm = BranchInst::Create(Tail, ElseBlock); in SplitBlockAndInsertIfThenElse()
672 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/ElseBlock, Cond); in SplitBlockAndInsertIfThenElse()
/external/clang/lib/CodeGen/
DCGStmt.cpp609 llvm::BasicBlock *ElseBlock = ContBlock; in EmitIfStmt() local
611 ElseBlock = createBasicBlock("if.else"); in EmitIfStmt()
613 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, in EmitIfStmt()
637 EmitBlock(ElseBlock); in EmitIfStmt()
DCGOpenMPRuntime.cpp1911 auto ElseBlock = CGF.createBasicBlock("omp_if.else"); in emitOMPIfClause() local
1913 CGF.EmitBranchOnBoolExpr(Cond, ThenBlock, ElseBlock, /*TrueCount=*/0); in emitOMPIfClause()
1922 CGF.EmitBlock(ElseBlock); in emitOMPIfClause()
/external/clang/lib/Analysis/
DCFG.cpp2196 CFGBlock *ElseBlock = Succ; in VisitIfStmt() local
2210 ElseBlock = addStmt(Else); in VisitIfStmt()
2212 if (!ElseBlock) // Can occur when the Else body has all NullStmts. in VisitIfStmt()
2213 ElseBlock = sv.get(); in VisitIfStmt()
2258 return VisitLogicalOperator(Cond, I, ThenBlock, ElseBlock).first; in VisitIfStmt()
2272 addSuccessor(Block, ElseBlock, /* isReachable = */ !KnownVal.isTrue()); in VisitIfStmt()
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp2452 Ice::CfgNode *ElseBlock = getBranchBasicBlock(Values[1]); in ProcessRecord() local
2453 if (ThenBlock == nullptr || ElseBlock == nullptr) in ProcessRecord()
2456 Ice::InstBr::create(Func.get(), Cond, ThenBlock, ElseBlock)); in ProcessRecord()