Home
last modified time | relevance | path

Searched refs:getExit (Results 1 – 25 of 37) 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DRegionInfoImpl.h89 BlockT *OldExit = getExit(); in replaceExitRecursive()
98 if (Child->getExit() == OldExit) in replaceExitRecursive()
111 BlockT *entry = getEntry(), *exit = getExit(); in contains()
127 return getExit() == nullptr; in contains()
206 BlockT *exit = getExit(); in getExitingBlock()
242 if (getExit()) { in getNameStr()
243 if (getExit()->getName().empty()) { in getNameStr()
246 getExit()->printAsOperand(OS, false); in getNameStr()
248 exitName = getExit()->getName(); in getNameStr()
260 BlockT *entry = getEntry(), *exit = getExit(); in verifyBBInRegion()
[all …]
DRegionIterator.h93 return getNode()->template getNodeAs<RegionT>()->getExit(); in getRegionSucc()
98 return getNode()->getParent()->getExit() == BB; in isExit()
192 Node->getParent()->getExit() == *Itor) in RNSuccIterator()
220 assert(Parent->getExit() != BB && "iterator out of range!");
230 && Node->getParent()->getExit() == *Itor);
DRegionInfo.h361 BlockT *getExit() const { return exit; }
458 if (!getExit())
462 (contains(SubRegion->getExit()) ||
463 SubRegion->getExit() == getExit());
612 block_iterator block_begin() { return block_iterator(getEntry(), getExit()); }
617 return const_block_iterator(getEntry(), getExit());
/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.cpp335 assert(bb->getFirst()->serial <= bb->getExit()->serial); in addLiveRange()
336 assert(bb->getExit()->serial + 1 >= end); in addLiveRange()
339 if (begin < bb->getEntry()->serial || begin > bb->getExit()->serial) in addLiveRange()
421 assert(pb->getExit()->op != OP_CALL); in splitEdges()
422 if (pb->getExit()->asFlow()->target.bb == bb) in splitEdges()
423 pb->getExit()->asFlow()->target.bb = pn; in splitEdges()
476 pb->insertBefore(pb->getExit(), mov); in visit()
597 for (i = bb->getExit(); i && i != bb->getEntry()->prev; i = i->prev) { in buildLiveSets()
667 if (bb->getExit()) { in visit()
670 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.cpp3091 removeFlow(bb->getExit()); in predicateInstructions()
3124 for (Instruction *i = bb->getExit(); i && i->op == OP_BRA; i = i->prev) { in tryPropagateBranch()
3131 FlowInstruction *rep = bf->getExit()->asFlow(); in tryPropagateBranch()
3167 Instruction *insn = bb->getExit(); in visit()
3182 bb->remove(bb->getExit()); in visit()
3205 assert(bb->getExit()); in tryPredicateConditional()
3206 Value *pred = bb->getExit()->getPredicate(); in tryPredicateConditional()
3234 predicateInstructions(bL, pred, bb->getExit()->cc); in tryPredicateConditional()
3236 predicateInstructions(bR, pred, inverseCondCode(bb->getExit()->cc)); in tryPredicateConditional()
3242 removeFlow(bb->getExit()); // delete the branch/join at the fork point in tryPredicateConditional()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DVPlanVerifier.cpp47 df_iterator<const VPBlockBase *>::end(Region->getExit()))) { in verifyBlocksInRegion()
100 const VPBlockBase *Exit = Region->getExit(); in verifyRegion()
119 df_iterator<const VPBlockBase *>::end(Region->getExit()))) { in verifyRegionRec()
DVPlan.cpp77 Block = Region->getExit(); in getExitBasicBlock()
84 Block = Region->getExit(); in getExitBasicBlock()
91 assert(Parent->getExit() == this && in getEnclosingBlockWithSuccessors()
DVPlan.h1064 const VPBlockBase *getExit() const { return Exit; } in getExit() function
1065 VPBlockBase *getExit() { return Exit; } in getExit() function
1352 return N.Graph->getExit();
1356 return nodes_iterator::begin(N->getExit());
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp311 return LI->getLoopFor(SubRegion->getExit()); in getAdjustedLoop()
321 return LI->getLoopDepth(SubR->getExit()); in getAdjustedLoopDepth()
382 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
657 BasicBlock *OldExit = SubRegion->getExit(); in changeExit()
701 BasicBlock *Insert = Order.empty() ? ParentRegion->getExit() : in getNextFlow()
735 BasicBlock *Exit = ParentRegion->getExit(); in needPostfix()
861 BasicBlock *Exit = ParentRegion->getExit(); in createFlow()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp420 MachineBasicBlock *getExit();
577 MachineBasicBlock *getExit() { in getExit() function in __anon50c98f560211::RegionMRT
579 return (Tree->isRegion()) ? Tree->getRegionMRT()->getExit() in getExit()
688 RegionMap[Region]->setSucc(Region->getExit()); in buildMRT()
994 MachineBasicBlock *LinearizedRegion::getExit() { return Exit; } in getExit() function in LinearizedRegion
1275 MachineBasicBlock *Exit = Region->getExit(); in transformSimpleIfRegion()
1296 auto Exit = LRegion->getExit(); in fixRegionTerminator()
1976 bool IsSingleBB = InnerRegion->getEntry() == InnerRegion->getExit(); in insertChainedPHI()
2003 insertMergePHI(IfBB, InnerRegion->getExit(), MergeBB, DestReg, NextDestReg, in insertChainedPHI()
2032 bool IsSingleBB = InnerRegion->getEntry() == InnerRegion->getExit(); in rewriteLiveOutRegs()
[all …]
/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/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/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()

12