/external/llvm/lib/Analysis/ |
D | RegionInfo.cpp | 96 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/ |
D | RegionInfo.h | 302 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()
|
D | RegionIterator.h | 79 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/ |
D | nv50_ir_target.cpp | 224 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()
|
D | nv50_ir_ra.cpp | 298 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 …]
|
D | nv50_ir_peephole.cpp | 1870 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 …]
|
D | nv50_ir_emit_nv50.cpp | 1838 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()
|
D | nv50_ir_from_sm4.cpp | 1658 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()
|
D | nv50_ir_from_tgsi.cpp | 1460 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/ |
D | nv50_ir_target.cpp | 224 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()
|
D | nv50_ir_ra.cpp | 298 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 …]
|
D | nv50_ir_peephole.cpp | 1870 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 …]
|
D | nv50_ir_emit_nv50.cpp | 1838 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()
|
D | nv50_ir_from_sm4.cpp | 1658 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()
|
D | nv50_ir_from_tgsi.cpp | 1460 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/ |
D | StructurizeCFG.cpp | 292 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/ |
D | nv50_ir_lowering_nvc0.cpp | 514 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()
|
D | nv50_ir_emit_nvc0.cpp | 2050 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/ |
D | nv50_ir_lowering_nvc0.cpp | 514 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()
|
D | nv50_ir_emit_nvc0.cpp | 2050 if (in->getExit()) { in visit() 2052 prevData = in->getExit()->sched; in visit() 2053 prevOp = in->getExit()->op; in visit()
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 866 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/ |
D | CFG.cpp | 913 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/ |
D | CoreEngine.cpp | 295 if (Blk == &(L.getLocationContext()->getCFG()->getExit())) { in HandleBlockEdge() 297 assert (L.getLocationContext()->getCFG()->getExit().size() == 0 in HandleBlockEdge()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 247 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/ |
D | ThreadSafetyCommon.h | 190 V.exitCFG(&CFGraph->getExit()); in walk()
|