Home
last modified time | relevance | path

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

12

/external/llvm/lib/Analysis/
DRegionInfo.cpp100 BasicBlock *OldExit = getExit(); in replaceExitRecursive()
109 if ((*RI)->getExit() == OldExit) in replaceExitRecursive()
120 BasicBlock *entry = getEntry(), *exit = getExit(); in contains()
135 return getExit() == 0; in contains()
188 BasicBlock *exit = getExit(); in getExitingBlock()
224 if (getExit()) { in getNameStr()
225 if (getExit()->getName().empty()) { in getNameStr()
228 WriteAsOperand(OS, getExit(), false); in getNameStr()
230 exitName = getExit()->getName(); in getNameStr()
241 BasicBlock *entry = getEntry(), *exit = getExit(); in verifyBBInRegion()
[all …]
DPathNumbering.cpp249 addEdge(getExit(),getRoot(),0); in init()
268 bfsQueue.push(getExit()); in calculatePathNumbers()
282 BallLarusEdge* exitEdge = addEdge(node, getExit(), 0); in calculatePathNumbers()
348 BallLarusNode* BallLarusDag::getExit() { in getExit() function in BallLarusDag
380 BallLarusEdge* callEdge = addEdge(currentNode, getExit(), 0); in buildNode()
390 addEdge(currentNode, getExit(),0); in buildNode()
445 if(node == getExit()) in calculatePathNumbersFrom()
513 childEdge->setPhonyExit(addEdge(source, getExit(),0)); in addBackedge()
DPathProfileInfo.cpp142 while (currentNode != _ppi->_currentDag->getExit()) { in getPathEdges()
149 next->getTarget() != _ppi->_currentDag->getExit() ) in getPathEdges()
156 next->getTarget() == _ppi->_currentDag->getExit() ) in getPathEdges()
181 while (currentNode != _ppi->_currentDag->getExit()) { in getPathBlocks()
189 else if( next->getTarget() == _ppi->_currentDag->getExit() ) { in getPathBlocks()
/external/llvm/include/llvm/Analysis/
DRegionInfo.h290 BasicBlock *getExit() const { return exit; } in getExit() function
379 if (!getExit()) in contains()
383 && (contains(SubRegion->getExit()) || SubRegion->getExit() == getExit()); in contains()
535 return block_iterator(getEntry(), getExit()); in block_begin()
543 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);
DPathNumbering.h236 BallLarusNode* getExit();
/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/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/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp290 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
587 BasicBlock *OldExit = SubRegion->getExit(); in changeExit()
632 BasicBlock *Insert = Order.empty() ? ParentRegion->getExit() : in getNextFlow()
665 BasicBlock *Exit = ParentRegion->getExit(); in needPostfix()
781 BasicBlock *Exit = ParentRegion->getExit(); in createFlow()
/external/clang/include/clang/Analysis/
DCFG.h730 CFGBlock & getExit() { return *Exit; } in getExit() function
731 const CFGBlock & getExit() const { return *Exit; } in getExit() function
958 static NodeType *getEntryNode( ::clang::CFG* F) { return &F->getExit(); }
968 static NodeType *getEntryNode(const ::clang::CFG* F) { return &F->getExit(); }
/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()
/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()
/external/clang/lib/Analysis/
DCFG.cpp646 assert(Succ == &cfg->getExit()); in buildCFG()
727 addSuccessor(B, &cfg->getExit()); in createNoReturnBlock()
1496 addSuccessor(Block, &cfg->getExit()); in VisitCallExpr()
1880 addSuccessor(Block, &cfg->getExit()); in VisitReturnStmt()
2442 addSuccessor(Block, &cfg->getExit()); in VisitObjCAtThrowStmt()
2462 addSuccessor(Block, &cfg->getExit()); in VisitCXXThrowExpr()
2892 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitCXXTryStmt()
3773 else if (&B == &cfg->getExit()) in print_block()
3932 if (&(**I) == &getEntry() || &(**I) == &getExit()) in print()
3939 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/llvm/lib/Transforms/Instrumentation/
DPathProfiling.cpp511 BLEdgeIterator erEdge = getExit()->succBegin(); in getExitRootEdge()
801 if( target->getNumberPredEdges() > 1 || target == getExit() ) { in pushInitializationFromEdge()

12