Home
last modified time | relevance | path

Searched refs:getExit (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/lib/Analysis/
DRegionInfo.cpp96 BasicBlock *OldExit = getExit(); in replaceExitRecursive()
105 if ((*RI)->getExit() == OldExit) in replaceExitRecursive()
116 BasicBlock *entry = getEntry(), *exit = getExit(); in contains()
131 return getExit() == nullptr; in contains()
184 BasicBlock *exit = getExit(); in getExitingBlock()
220 if (getExit()) { in getNameStr()
221 if (getExit()->getName().empty()) { in getNameStr()
224 getExit()->printAsOperand(OS, false); in getNameStr()
226 exitName = getExit()->getName(); in getNameStr()
237 BasicBlock *entry = getEntry(), *exit = getExit(); in verifyBBInRegion()
[all …]
/external/llvm/include/llvm/Analysis/
DRegionInfo.h302 BasicBlock *getExit() const { return exit; } in getExit() function
391 if (!getExit()) in contains()
395 && (contains(SubRegion->getExit()) || SubRegion->getExit() == getExit()); in contains()
545 return block_iterator(getEntry(), getExit()); in block_begin()
553 return const_block_iterator(getEntry(), getExit()); in block_begin()
DRegionIterator.h79 return getNode()->template getNodeAs<Region>()->getExit(); in getRegionSucc()
84 return getNode()->getParent()->getExit() == BB; in isExit()
189 && Node->getParent()->getExit() == *Itor) in RNSuccIterator()
216 assert(Parent->getExit() != BB && "iterator out of range!");
226 && Node->getParent()->getExit() == *Itor);
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_target.cpp224 Instruction *exit = in->getExit(); in prepareEmission()
241 if (!bb->getExit()) in prepareEmission()
284 if (bb->getExit()->encSize == 4) { in prepareEmission()
286 bb->getExit()->encSize = 8; in prepareEmission()
289 if ((bb->getExit()->prev->encSize == 4) && !(nShort & 1)) { in prepareEmission()
291 bb->getExit()->prev->encSize = 8; in prepareEmission()
294 assert(!bb->getEntry() || (bb->getExit() && bb->getExit()->encSize == 8)); in prepareEmission()
Dnv50_ir_ra.cpp298 assert(bb->getFirst()->serial <= bb->getExit()->serial); in addLiveRange()
299 assert(bb->getExit()->serial + 1 >= end); in addLiveRange()
302 if (begin < bb->getEntry()->serial || begin > bb->getExit()->serial) in addLiveRange()
357 assert(pb->getExit()->op != OP_CALL); in visit()
358 if (pb->getExit()->asFlow()->target.bb == bb) in visit()
359 pb->getExit()->asFlow()->target.bb = pn; in visit()
376 pb->insertBefore(pb->getExit(), mov); in visit()
494 for (i = bb->getExit(); i && i != bb->getEntry()->prev; i = i->prev) { in buildLiveSets()
564 if (bb->getExit()) { in visit()
567 addLiveRange(func->getLValue(j), bb, bb->getExit()->serial + 1); in visit()
[all …]
Dnv50_ir_peephole.cpp1870 removeFlow(bb->getExit()); in predicateInstructions()
1898 if (!bb->getExit() || bb->getExit()->op != OP_BRA) in tryPropagateBranch()
1907 if (ei.end() || !bf->getExit()) in tryPropagateBranch()
1909 FlowInstruction *bra = bb->getExit()->asFlow(); in tryPropagateBranch()
1910 FlowInstruction *rep = bf->getExit()->asFlow(); in tryPropagateBranch()
1933 Instruction *insn = bb->getExit(); in visit()
1946 bb->remove(bb->getExit()); in visit()
1968 assert(bb->getExit()); in tryPredicateConditional()
1969 Value *pred = bb->getExit()->getPredicate(); in tryPredicateConditional()
1997 predicateInstructions(bL, pred, bb->getExit()->cc); in tryPredicateConditional()
[all …]
Dnv50_ir_emit_nv50.cpp1838 if (!epilogue->getExit() || in replaceExitWithModifier()
1839 epilogue->getExit()->op != OP_EXIT) // only main will use OP_EXIT in replaceExitWithModifier()
1843 Instruction *insn = epilogue->getExit()->prev; in replaceExitWithModifier()
1851 Instruction *i = bb->getExit(); in replaceExitWithModifier()
1859 delete_Instruction(func->getProgram(), epilogue->getExit()); in replaceExitWithModifier()
Dnv50_ir_from_sm4.cpp1658 fork->insertBefore(fork->getExit(), fork->joinAt); in insertConvergenceOps()
1995 forkPoint->getExit()->asFlow()->target.bb = elseClause; in handleInstruction()
2010 if (lastBB->getExit()->op == OP_BRA && joinBBs.getSize() < 6) in handleInstruction()
2016 if (lastBB->getExit()->op == OP_BRA) { in handleInstruction()
2018 lastBB->getExit()->asFlow()->target.bb = convPoint; in handleInstruction()
Dnv50_ir_from_tgsi.cpp1460 fork->insertBefore(fork->getExit(), fork->joinAt); in insertConvergenceOps()
2091 forkBB->getExit()->asFlow()->target.bb = elseBB; in handleInstruction()
2106 if (prevBB->getExit()->op == OP_BRA && joinBBs.getSize() < 6) in handleInstruction()
2112 if (prevBB->getExit()->op == OP_BRA) { in handleInstruction()
2114 prevBB->getExit()->asFlow()->target.bb = convBB; in handleInstruction()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
Dnv50_ir_target.cpp224 Instruction *exit = in->getExit(); in prepareEmission()
241 if (!bb->getExit()) in prepareEmission()
284 if (bb->getExit()->encSize == 4) { in prepareEmission()
286 bb->getExit()->encSize = 8; in prepareEmission()
289 if ((bb->getExit()->prev->encSize == 4) && !(nShort & 1)) { in prepareEmission()
291 bb->getExit()->prev->encSize = 8; in prepareEmission()
294 assert(!bb->getEntry() || (bb->getExit() && bb->getExit()->encSize == 8)); in prepareEmission()
Dnv50_ir_ra.cpp298 assert(bb->getFirst()->serial <= bb->getExit()->serial); in addLiveRange()
299 assert(bb->getExit()->serial + 1 >= end); in addLiveRange()
302 if (begin < bb->getEntry()->serial || begin > bb->getExit()->serial) in addLiveRange()
357 assert(pb->getExit()->op != OP_CALL); in visit()
358 if (pb->getExit()->asFlow()->target.bb == bb) in visit()
359 pb->getExit()->asFlow()->target.bb = pn; in visit()
376 pb->insertBefore(pb->getExit(), mov); in visit()
494 for (i = bb->getExit(); i && i != bb->getEntry()->prev; i = i->prev) { in buildLiveSets()
564 if (bb->getExit()) { in visit()
567 addLiveRange(func->getLValue(j), bb, bb->getExit()->serial + 1); in visit()
[all …]
Dnv50_ir_peephole.cpp1870 removeFlow(bb->getExit()); in predicateInstructions()
1898 if (!bb->getExit() || bb->getExit()->op != OP_BRA) in tryPropagateBranch()
1907 if (ei.end() || !bf->getExit()) in tryPropagateBranch()
1909 FlowInstruction *bra = bb->getExit()->asFlow(); in tryPropagateBranch()
1910 FlowInstruction *rep = bf->getExit()->asFlow(); in tryPropagateBranch()
1933 Instruction *insn = bb->getExit(); in visit()
1946 bb->remove(bb->getExit()); in visit()
1968 assert(bb->getExit()); in tryPredicateConditional()
1969 Value *pred = bb->getExit()->getPredicate(); in tryPredicateConditional()
1997 predicateInstructions(bL, pred, bb->getExit()->cc); in tryPredicateConditional()
[all …]
Dnv50_ir_emit_nv50.cpp1838 if (!epilogue->getExit() || in replaceExitWithModifier()
1839 epilogue->getExit()->op != OP_EXIT) // only main will use OP_EXIT in replaceExitWithModifier()
1843 Instruction *insn = epilogue->getExit()->prev; in replaceExitWithModifier()
1851 Instruction *i = bb->getExit(); in replaceExitWithModifier()
1859 delete_Instruction(func->getProgram(), epilogue->getExit()); in replaceExitWithModifier()
Dnv50_ir_from_sm4.cpp1658 fork->insertBefore(fork->getExit(), fork->joinAt); in insertConvergenceOps()
1995 forkPoint->getExit()->asFlow()->target.bb = elseClause; in handleInstruction()
2010 if (lastBB->getExit()->op == OP_BRA && joinBBs.getSize() < 6) in handleInstruction()
2016 if (lastBB->getExit()->op == OP_BRA) { in handleInstruction()
2018 lastBB->getExit()->asFlow()->target.bb = convPoint; in handleInstruction()
Dnv50_ir_from_tgsi.cpp1460 fork->insertBefore(fork->getExit(), fork->joinAt); in insertConvergenceOps()
2091 forkBB->getExit()->asFlow()->target.bb = elseBB; in handleInstruction()
2106 if (prevBB->getExit()->op == OP_BRA && joinBBs.getSize() < 6) in handleInstruction()
2112 if (prevBB->getExit()->op == OP_BRA) { in handleInstruction()
2114 prevBB->getExit()->asFlow()->target.bb = convBB; in handleInstruction()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp292 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
591 BasicBlock *OldExit = SubRegion->getExit(); in changeExit()
636 BasicBlock *Insert = Order.empty() ? ParentRegion->getExit() : in getNextFlow()
669 BasicBlock *Exit = ParentRegion->getExit(); in needPostfix()
800 BasicBlock *Exit = ParentRegion->getExit(); in createFlow()
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_lowering_nvc0.cpp514 if (!contBB->getExit() || contBB->getExit()->op != OP_CONT || in tryReplaceContWithBra()
515 contBB->getExit()->getPredicate()) in tryReplaceContWithBra()
517 contBB->getExit()->op = OP_BRA; in tryReplaceContWithBra()
533 Instruction *exit = in->getExit(); in propagateJoin()
628 bld.setPosition(BasicBlock::get(fn->cfgExit)->getExit(), false); in visit()
Dnv50_ir_emit_nvc0.cpp2050 if (in->getExit()) { in visit()
2052 prevData = in->getExit()->sched; in visit()
2053 prevOp = in->getExit()->op; in visit()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_lowering_nvc0.cpp514 if (!contBB->getExit() || contBB->getExit()->op != OP_CONT || in tryReplaceContWithBra()
515 contBB->getExit()->getPredicate()) in tryReplaceContWithBra()
517 contBB->getExit()->op = OP_BRA; in tryReplaceContWithBra()
533 Instruction *exit = in->getExit(); in propagateJoin()
628 bld.setPosition(BasicBlock::get(fn->cfgExit)->getExit(), false); in visit()
Dnv50_ir_emit_nvc0.cpp2050 if (in->getExit()) { in visit()
2052 prevData = in->getExit()->sched; in visit()
2053 prevOp = in->getExit()->op; in visit()
/external/clang/include/clang/Analysis/
DCFG.h866 CFGBlock & getExit() { return *Exit; } in getExit() function
867 const CFGBlock & getExit() const { return *Exit; } in getExit() function
1095 static NodeType *getEntryNode( ::clang::CFG* F) { return &F->getExit(); }
1105 static NodeType *getEntryNode(const ::clang::CFG* F) { return &F->getExit(); }
/external/clang/lib/Analysis/
DCFG.cpp913 assert(Succ == &cfg->getExit()); in buildCFG()
994 addSuccessor(B, &cfg->getExit(), Succ); in createNoReturnBlock()
1781 addSuccessor(Block, &cfg->getExit()); in VisitCallExpr()
2166 addSuccessor(Block, &cfg->getExit()); in VisitReturnStmt()
2729 addSuccessor(Block, &cfg->getExit()); in VisitObjCAtThrowStmt()
2749 addSuccessor(Block, &cfg->getExit()); in VisitCXXThrowExpr()
3178 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitCXXTryStmt()
4159 else if (&B == &cfg->getExit()) in print_block()
4341 if (&(**I) == &getEntry() || &(**I) == &getExit()) in print()
4348 print_block(OS, this, getExit(), Helper, true, ShowColors); in print()
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp295 if (Blk == &(L.getLocationContext()->getCFG()->getExit())) { in HandleBlockEdge()
297 assert (L.getLocationContext()->getCFG()->getExit().size() == 0 in HandleBlockEdge()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp247 if (cfg->getExit().pred_empty()) in checkRecursiveFunction()
253 checkForFunctionCall(S, FD, cfg->getEntry(), cfg->getExit().getBlockID(), in checkRecursiveFunction()
258 if (states[cfg->getExit().getBlockID()] == FoundPath) in checkRecursiveFunction()
324 I = cfg->getExit().filtered_pred_start_end(FO); I.hasMore(); ++I) { in CheckFallThrough()
381 if (std::find(B.succ_begin(), B.succ_end(), &cfg->getExit()) in CheckFallThrough()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h190 V.exitCFG(&CFGraph->getExit()); in walk()

12