Home
last modified time | relevance | path

Searched refs:ThenBlock (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp681 BasicBlock *ThenBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThen() local
684 CheckTerm = new UnreachableInst(C, ThenBlock); in SplitBlockAndInsertIfThen()
686 CheckTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThen()
689 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/Tail, Cond); in SplitBlockAndInsertIfThen()
718 BasicBlock *ThenBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThenElse() local
720 *ThenTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThenElse()
725 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/ElseBlock, Cond); in SplitBlockAndInsertIfThenElse()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTIL.h1642 : SExpr(COP_Branch), Condition(C), ThenBlock(T), ElseBlock(E), in Branch()
1647 : SExpr(COP_Branch), Condition(C), ThenBlock(T), ElseBlock(E), in Branch()
1654 const BasicBlock *thenBlock() const { return ThenBlock; } in thenBlock()
1655 BasicBlock *thenBlock() { return ThenBlock; } in thenBlock()
1666 BasicBlock *Ntb = Vs.reduceBasicBlockRef(ThenBlock); in traverse()
1678 BasicBlock *ThenBlock; variable
/external/clang/lib/Analysis/
DCFG.cpp2081 CFGBlock *ThenBlock; in VisitIfStmt() local
2093 ThenBlock = addStmt(Then); in VisitIfStmt()
2095 if (!ThenBlock) { in VisitIfStmt()
2099 ThenBlock = createBlock(false); in VisitIfStmt()
2100 addSuccessor(ThenBlock, sv.get()); in VisitIfStmt()
2118 return VisitLogicalOperator(Cond, I, ThenBlock, ElseBlock).first; in VisitIfStmt()
2131 addSuccessor(Block, ThenBlock, /* isReachable = */ !KnownVal.isFalse()); in VisitIfStmt()
/external/clang/lib/CodeGen/
DCGStmt.cpp508 llvm::BasicBlock *ThenBlock = createBasicBlock("if.then"); in EmitIfStmt() local
514 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, Cnt.getCount()); in EmitIfStmt()
517 EmitBlock(ThenBlock); in EmitIfStmt()