Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/Analysis/
DRegionInfo.cpp88 BasicBlock *entry = getEntry(), *exit = getExit(); in contains()
103 return getExit() == 0; in contains()
156 BasicBlock *exit = getExit(); in getExitingBlock()
193 if (getExit()) { in getNameStr()
194 if (getExit()->getName().empty()) { in getNameStr()
197 WriteAsOperand(OS, getExit(), false); in getNameStr()
200 exitName = getExit()->getNameStr(); in getNameStr()
211 BasicBlock *entry = getEntry(), *exit = getExit(); in verifyBBInRegion()
224 BasicBlock *exit = getExit(); in verifyWalk()
389 for (pred_iterator PI = pred_begin(getExit()), PE = pred_end(getExit()); in getExpandedRegion()
[all …]
DPathNumbering.cpp250 addEdge(getExit(),getRoot(),0); in init()
269 bfsQueue.push(getExit()); in calculatePathNumbers()
283 BallLarusEdge* exitEdge = addEdge(node, getExit(), 0); in calculatePathNumbers()
349 BallLarusNode* BallLarusDag::getExit() { in getExit() function in BallLarusDag
381 BallLarusEdge* callEdge = addEdge(currentNode, getExit(), 0); in buildNode()
391 addEdge(currentNode, getExit(),0); in buildNode()
446 if(node == getExit()) in calculatePathNumbersFrom()
514 childEdge->setPhonyExit(addEdge(source, getExit(),0)); in addBackedge()
DPathProfileInfo.cpp143 while (currentNode != _ppi->_currentDag->getExit()) { in getPathEdges()
150 next->getTarget() != _ppi->_currentDag->getExit() ) in getPathEdges()
157 next->getTarget() == _ppi->_currentDag->getExit() ) in getPathEdges()
182 while (currentNode != _ppi->_currentDag->getExit()) { in getPathBlocks()
190 else if( next->getTarget() == _ppi->_currentDag->getExit() ) { in getPathBlocks()
/external/llvm/include/llvm/Analysis/
DRegionInfoImpl.h85 BlockT *OldExit = getExit(); in replaceExitRecursive()
95 if ((*RI)->getExit() == OldExit) in replaceExitRecursive()
108 BlockT *entry = getEntry(), *exit = getExit(); in contains()
124 return getExit() == nullptr; in contains()
183 BlockT *exit = getExit(); in getExitingBlock()
222 if (getExit()) { in getNameStr()
223 if (getExit()->getName().empty()) { in getNameStr()
226 getExit()->printAsOperand(OS, false); in getNameStr()
228 exitName = getExit()->getName(); in getNameStr()
240 BlockT *entry = getEntry(), *exit = getExit(); in verifyBBInRegion()
[all …]
DRegionIterator.h82 return getNode()->template getNodeAs<RegionT>()->getExit(); in getRegionSucc()
87 return getNode()->getParent()->getExit() == BB; in isExit()
184 && Node->getParent()->getExit() == *Itor) in RNSuccIterator()
213 assert(Parent->getExit() != BB && "iterator out of range!");
223 && Node->getParent()->getExit() == *Itor);
DRegionInfo.h352 BlockT *getExit() const { return exit; }
444 if (!getExit())
448 (contains(SubRegion->getExit()) ||
449 SubRegion->getExit() == getExit());
597 block_iterator block_begin() { return block_iterator(getEntry(), getExit()); }
602 return const_block_iterator(getEntry(), getExit());
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_target.cpp265 Instruction *exit = in->getExit(); in prepareEmission()
282 if (!bb->getExit()) in prepareEmission()
330 if (bb->getExit()->encSize == 4) { in prepareEmission()
332 bb->getExit()->encSize = 8; in prepareEmission()
335 if ((bb->getExit()->prev->encSize == 4) && !(nShort & 1)) { in prepareEmission()
337 bb->getExit()->prev->encSize = 8; in prepareEmission()
340 assert(!bb->getEntry() || (bb->getExit() && bb->getExit()->encSize == 8)); in prepareEmission()
Dnv50_ir_ra.cpp337 assert(bb->getFirst()->serial <= bb->getExit()->serial); in addLiveRange()
338 assert(bb->getExit()->serial + 1 >= end); in addLiveRange()
341 if (begin < bb->getEntry()->serial || begin > bb->getExit()->serial) in addLiveRange()
423 assert(pb->getExit()->op != OP_CALL); in splitEdges()
424 if (pb->getExit()->asFlow()->target.bb == bb) in splitEdges()
425 pb->getExit()->asFlow()->target.bb = pn; in splitEdges()
478 pb->insertBefore(pb->getExit(), mov); in visit()
599 for (i = bb->getExit(); i && i != bb->getEntry()->prev; i = i->prev) { in buildLiveSets()
669 if (bb->getExit()) { in visit()
672 addLiveRange(func->getLValue(j), bb, bb->getExit()->serial + 1); in visit()
[all …]
Dnv50_ir_emit_nv50.cpp2175 if (!epilogue->getExit() || in replaceExitWithModifier()
2176 epilogue->getExit()->op != OP_EXIT) // only main will use OP_EXIT in replaceExitWithModifier()
2180 Instruction *insn = epilogue->getExit()->prev; in replaceExitWithModifier()
2188 Instruction *i = bb->getExit(); in replaceExitWithModifier()
2195 int adj = epilogue->getExit()->encSize; in replaceExitWithModifier()
2198 delete_Instruction(func->getProgram(), epilogue->getExit()); in replaceExitWithModifier()
Dnv50_ir_peephole.cpp2901 removeFlow(bb->getExit()); in predicateInstructions()
2934 for (Instruction *i = bb->getExit(); i && i->op == OP_BRA; i = i->prev) { in tryPropagateBranch()
2941 FlowInstruction *rep = bf->getExit()->asFlow(); in tryPropagateBranch()
2977 Instruction *insn = bb->getExit(); in visit()
2992 bb->remove(bb->getExit()); in visit()
3015 assert(bb->getExit()); in tryPredicateConditional()
3016 Value *pred = bb->getExit()->getPredicate(); in tryPredicateConditional()
3044 predicateInstructions(bL, pred, bb->getExit()->cc); in tryPredicateConditional()
3046 predicateInstructions(bR, pred, inverseCondCode(bb->getExit()->cc)); in tryPredicateConditional()
3052 removeFlow(bb->getExit()); // delete the branch/join at the fork point in tryPredicateConditional()
[all …]
Dnv50_ir_lowering_nvc0.cpp276 for (Instruction *insn = start; insn != bb->getExit(); insn = insn->next) { in findFirstUsesBB()
550 if (!contBB->getExit() || contBB->getExit()->op != OP_CONT || in tryReplaceContWithBra()
551 contBB->getExit()->getPredicate()) in tryReplaceContWithBra()
553 contBB->getExit()->op = OP_BRA; in tryReplaceContWithBra()
569 Instruction *exit = in->getExit(); in propagateJoin()
649 bld.setPosition(BasicBlock::get(fn->cfgExit)->getExit(), false); in visit()
Dnv50_ir_from_tgsi.cpp2080 fork->insertBefore(fork->getExit(), fork->joinAt); in insertConvergenceOps()
3434 forkBB->getExit()->asFlow()->target.bb = elseBB; in handleInstruction()
3449 if (prevBB->getExit()->op == OP_BRA && joinBBs.getSize() < 6) in handleInstruction()
3455 if (prevBB->getExit()->op == OP_BRA) { in handleInstruction()
3457 prevBB->getExit()->asFlow()->target.bb = convBB; in handleInstruction()
Dnv50_ir_emit_nvc0.cpp3145 if (in->getExit()) { in visit()
3147 prevData = in->getExit()->sched; in visit()
3148 prevOp = in->getExit()->op; in visit()
Dnv50_ir.h1092 Instruction *getExit() const { return exit; } in getExit() function
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DRegionInfo.h276 BasicBlock *getExit() const { return exit; } in getExit() function
365 if (!getExit()) in contains()
369 && (contains(SubRegion->getExit()) || SubRegion->getExit() == getExit()); in contains()
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/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp362 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
658 BasicBlock *OldExit = SubRegion->getExit(); in changeExit()
703 BasicBlock *Insert = Order.empty() ? ParentRegion->getExit() : in getNextFlow()
736 BasicBlock *Exit = ParentRegion->getExit(); in needPostfix()
867 BasicBlock *Exit = ParentRegion->getExit(); in createFlow()
/external/clang/include/clang/Analysis/
DCFG.h864 CFGBlock & getExit() { return *Exit; } in getExit() function
865 const CFGBlock & getExit() const { return *Exit; } in getExit() function
1093 static NodeType *getEntryNode( ::clang::CFG* F) { return &F->getExit(); }
1103 static NodeType *getEntryNode(const ::clang::CFG* F) { return &F->getExit(); }
/external/clang/lib/Analysis/
DCFG.cpp1031 assert(Succ == &cfg->getExit()); in buildCFG()
1111 addSuccessor(B, &cfg->getExit(), Succ); in createNoReturnBlock()
1906 addSuccessor(Block, &cfg->getExit()); in VisitCallExpr()
2312 addSuccessor(Block, &cfg->getExit()); in VisitReturnStmt()
2887 addSuccessor(Block, &cfg->getExit()); in VisitObjCAtThrowStmt()
2907 addSuccessor(Block, &cfg->getExit()); in VisitCXXThrowExpr()
3349 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitCXXTryStmt()
4349 else if (&B == &cfg->getExit()) in print_block()
4531 if (&(**I) == &getEntry() || &(**I) == &getExit()) in print()
4538 print_block(OS, this, getExit(), Helper, true, ShowColors); in print()
DThreadSafety.cpp765 unsigned exitID = CFGraph->getExit().getBlockID(); in traverseCFG()
804 CurrBlock != &CFGraph->getExit()) { in findBlockLocations()
2347 CFGBlockInfo *Final = &BlockInfo[CFGraph->getExit().getBlockID()]; in runAnalysis()
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp308 if (Blk == &(L.getLocationContext()->getCFG()->getExit())) { in HandleBlockEdge()
310 assert (L.getLocationContext()->getCFG()->getExit().size() == 0 in HandleBlockEdge()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp210 const unsigned ExitID = cfg->getExit().getBlockID(); in checkForRecursiveFunctionCall()
268 if (cfg->getExit().pred_empty()) in checkRecursiveFunction()
338 I = cfg->getExit().filtered_pred_start_end(FO); I.hasMore(); ++I) { in CheckFallThrough()
395 if (std::find(B.succ_begin(), B.succ_end(), &cfg->getExit()) in CheckFallThrough()
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DPathProfiling.cpp512 BLEdgeIterator erEdge = getExit()->succBegin(); in getExitRootEdge()
801 if( target->getNumberPredEdges() > 1 || target == getExit() ) { in pushInitializationFromEdge()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h232 V.exitCFG(&CFGraph->getExit()); in walk()

12