Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp80 BasicBlock *ThenBlock, in fixupPHINodeForUnwindDest() argument
87 Phi.setIncomingBlock(Idx, ThenBlock); in fixupPHINodeForUnwindDest()
277 BasicBlock *ThenBlock = ThenTerm->getParent(); in versionCallSite() local
281 ThenBlock->setName("if.true.direct_targ"); in versionCallSite()
306 fixupPHINodeForUnwindDest(OrigInvoke, MergeBlock, ThenBlock, ElseBlock); in versionCallSite()
DBasicBlockUtils.cpp692 BasicBlock *ThenBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThen() local
695 CheckTerm = new UnreachableInst(C, ThenBlock); in SplitBlockAndInsertIfThen()
697 CheckTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThen()
700 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/Tail, Cond); in SplitBlockAndInsertIfThen()
713 DT->addNewBlock(ThenBlock, Head); in SplitBlockAndInsertIfThen()
719 L->addBasicBlockToLoop(ThenBlock, *LI); in SplitBlockAndInsertIfThen()
735 BasicBlock *ThenBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThenElse() local
737 *ThenTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThenElse()
742 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/ElseBlock, Cond); in SplitBlockAndInsertIfThenElse()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp623 BasicBlock *ThenBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThen() local
626 CheckTerm = new UnreachableInst(C, ThenBlock); in SplitBlockAndInsertIfThen()
628 CheckTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThen()
631 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/Tail, Cond); in SplitBlockAndInsertIfThen()
644 DT->addNewBlock(ThenBlock, Head); in SplitBlockAndInsertIfThen()
650 L->addBasicBlockToLoop(ThenBlock, *LI); in SplitBlockAndInsertIfThen()
665 BasicBlock *ThenBlock = BasicBlock::Create(C, "", Head->getParent(), Tail); in SplitBlockAndInsertIfThenElse() local
667 *ThenTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThenElse()
672 BranchInst::Create(/*ifTrue*/ThenBlock, /*ifFalse*/ElseBlock, Cond); in SplitBlockAndInsertIfThenElse()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp1607 auto *ThenBlock = CGF.createBasicBlock("simd.if.then"); in EmitOMPSimdDirective() local
1609 emitPreCond(CGF, S, S.getPreCond(), ThenBlock, ContBlock, in EmitOMPSimdDirective()
1611 CGF.EmitBlock(ThenBlock); in EmitOMPSimdDirective()
1966 auto *ThenBlock = createBasicBlock("omp.precond.then"); in EmitOMPWorksharingLoop() local
1968 emitPreCond(*this, S, S.getPreCond(), ThenBlock, ContBlock, in EmitOMPWorksharingLoop()
1970 EmitBlock(ThenBlock); in EmitOMPWorksharingLoop()
2649 auto *ThenBlock = createBasicBlock("omp.precond.then"); in EmitOMPDistributeLoop() local
2651 emitPreCond(*this, S, S.getPreCond(), ThenBlock, ContBlock, in EmitOMPDistributeLoop()
2653 EmitBlock(ThenBlock); in EmitOMPDistributeLoop()
3523 auto *ThenBlock = CGF.createBasicBlock("taskloop.if.then"); in EmitOMPTaskLoopBasedDirective() local
[all …]
DCGStmt.cpp607 llvm::BasicBlock *ThenBlock = createBasicBlock("if.then"); in EmitIfStmt() local
613 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, in EmitIfStmt()
617 EmitBlock(ThenBlock); in EmitIfStmt()
DCGOpenMPRuntime.cpp1910 auto ThenBlock = CGF.createBasicBlock("omp_if.then"); in emitOMPIfClause() local
1913 CGF.EmitBranchOnBoolExpr(Cond, ThenBlock, ElseBlock, /*TrueCount=*/0); in emitOMPIfClause()
1916 CGF.EmitBlock(ThenBlock); in emitOMPIfClause()
2057 auto *ThenBlock = CGF.createBasicBlock("omp_if.then"); in Enter() local
2060 CGF.Builder.CreateCondBr(CallBool, ThenBlock, ContBlock); in Enter()
2061 CGF.EmitBlock(ThenBlock); in Enter()
/external/clang/lib/Analysis/
DCFG.cpp2221 CFGBlock *ThenBlock; in VisitIfStmt() local
2233 ThenBlock = addStmt(Then); in VisitIfStmt()
2235 if (!ThenBlock) { in VisitIfStmt()
2239 ThenBlock = createBlock(false); in VisitIfStmt()
2240 addSuccessor(ThenBlock, sv.get()); in VisitIfStmt()
2258 return VisitLogicalOperator(Cond, I, ThenBlock, ElseBlock).first; in VisitIfStmt()
2271 addSuccessor(Block, ThenBlock, /* isReachable = */ !KnownVal.isFalse()); in VisitIfStmt()
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp2451 Ice::CfgNode *ThenBlock = getBranchBasicBlock(Values[0]); in ProcessRecord() local
2453 if (ThenBlock == nullptr || ElseBlock == nullptr) in ProcessRecord()
2456 Ice::InstBr::create(Func.get(), Cond, ThenBlock, ElseBlock)); in ProcessRecord()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1987 BasicBlock *ThenBlock = ThenTerm->getParent(); in createPHI() local
1988 PHI->addIncoming(ValueIfTrue, ThenBlock); in createPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp2775 BasicBlock *ThenBlock = ThenTerm->getParent(); in createPHI() local
2776 PHI->addIncoming(ValueIfTrue, ThenBlock); in createPHI()