Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstIterator.h37 BB_t *BBs; // BasicBlocksType variable
54 : BBs(II.BBs), BB(II.BB), BI(II.BI) {} in InstIterator()
58 : BBs(II.BBs), BB(II.BB), BI(II.BI) {} in InstIterator()
61 : BBs(&m.getBasicBlockList()), BB(BBs->begin()) { // begin ctor in InstIterator()
62 if (BB != BBs->end()) { in InstIterator()
69 : BBs(&m.getBasicBlockList()), BB(BBs->end()) { // end ctor in InstIterator()
80 return BB == y.BB && (BB == BBs->end() || BI == y.BI);
96 while (BB == BBs->end() || BI == BB->begin()) {
107 inline bool atEnd() const { return BB == BBs->end(); } in atEnd()
115 if (BB == BBs->end()) break; in advanceToNextBB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIndirectBrExpandPass.cpp116 SmallVector<BasicBlock *, 4> BBs; in runOnFunction() local
145 int BBIndex = BBs.size() + 1; in runOnFunction()
146 BBs.push_back(&BB); in runOnFunction()
158 if (BBs.empty()) { in runOnFunction()
212 auto *SI = SwitchInst::Create(SwitchValue, BBs[0], BBs.size(), SwitchBB); in runOnFunction()
215 for (int i : llvm::seq<int>(1, BBs.size())) in runOnFunction()
216 SI->addCase(ConstantInt::get(CommonITy, i + 1), BBs[i]); in runOnFunction()
DWasmEHPrepare.cpp156 static void eraseDeadBBsAndChildren(const Container &BBs) { in eraseDeadBBsAndChildren() argument
157 SmallVector<BasicBlock *, 8> WL(BBs.begin(), BBs.end()); in eraseDeadBBsAndChildren()
DMachineCSE.cpp851 SmallVector<MachineDomTreeNode *, 32> BBs; in PerformSimplePRE() local
855 BBs.push_back(DT->getRootNode()); in PerformSimplePRE()
857 auto Node = BBs.pop_back_val(); in PerformSimplePRE()
860 BBs.push_back(Child); in PerformSimplePRE()
865 } while (!BBs.empty()); in PerformSimplePRE()
DShrinkWrap.cpp314 static MachineBasicBlock *FindIDom(MachineBasicBlock &Block, ListOfBBs BBs, in FindIDom() argument
317 for (MachineBasicBlock *BB : BBs) { in FindIDom()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp208 SetVector<BasicBlock *> &BBs) { in findBestInsertionSet() argument
209 assert(!BBs.count(Entry) && "Assume Entry is not in BBs"); in findBestInsertionSet()
216 for (auto BB : BBs) { in findBestInsertionSet()
235 } while (!BBs.count(Node)); in findBestInsertionSet()
269 bool NodeInBBs = BBs.count(Node); in findBestInsertionSet()
275 BBs.clear(); in findBestInsertionSet()
278 BBs.insert(Entry); in findBestInsertionSet()
280 BBs.insert(InsertPts.begin(), InsertPts.end()); in findBestInsertionSet()
313 SetVector<BasicBlock *> BBs; in findConstantInsertionPoint() local
317 BBs.insert(findMatInsertPt(U.Inst, U.OpndIdx)->getParent()); in findConstantInsertionPoint()
[all …]
DLoopSink.cpp83 static BlockFrequency adjustedSumFreq(SmallPtrSetImpl<BasicBlock *> &BBs, in adjustedSumFreq() argument
86 for (BasicBlock *B : BBs) in adjustedSumFreq()
88 if (BBs.size() > 1) in adjustedSumFreq()
181 SmallPtrSet<BasicBlock *, 2> BBs; in sinkInstruction() local
190 BBs.insert(UI->getParent()); in sinkInstruction()
196 if (BBs.size() > MaxNumberOfUseBBsForSinking) in sinkInstruction()
201 findBBsToSinkInto(L, BBs, ColdLoopBBs, DT, BFI); in sinkInstruction()
DPlaceSafepoints.cpp661 DenseSet<BasicBlock *> BBs; // new BBs + insertee in INITIALIZE_PASS_DEPENDENCY() local
672 scanInlinedCode(&*Start, &*After, Calls, BBs); in INITIALIZE_PASS_DEPENDENCY()
DLoopSimplifyCFG.cpp97 static Loop *getInnermostLoopFor(SmallPtrSetImpl<BasicBlock *> &BBs, in getInnermostLoopFor() argument
100 for (BasicBlock *BB : BBs) { in getInnermostLoopFor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DBlockExtractor.cpp195 for (auto &BBs : GroupsOfBlocks) { in runOnModule() local
197 for (BasicBlock *BB : BBs) { in runOnModule()
210 CodeExtractorAnalysisCache CEAC(*BBs[0]->getParent()); in runOnModule()
213 LLVM_DEBUG(dbgs() << "Extracted group '" << (*BBs.begin())->getName() in runOnModule()
217 << (*BBs.begin())->getName() << "'\n"); in runOnModule()
DInlineSimple.cpp60 const auto &BBs = CS.getCaller()->getBasicBlockList(); in getInlineCost() local
61 if (!BBs.empty()) { in getInlineCost()
62 auto DI = OptimizationRemark(DEBUG_TYPE, "", DebugLoc(), &BBs.front()); in getInlineCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp204 const auto &BBs = Caller->getBasicBlockList(); in getInlineCost() local
205 if (!BBs.empty()) { in getInlineCost()
206 auto DI = OptimizationRemark(DEBUG_TYPE, "", DebugLoc(), &BBs.front()); in getInlineCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDependenceGraphBuilder.h41 const BasicBlockListType &BBs) in AbstractDependenceGraphBuilder() argument
42 : Graph(G), DI(D), BBList(BBs) {} in AbstractDependenceGraphBuilder()
DDominanceFrontierImpl.h138 const std::set<BlockT *> &BBs = I->second; in print() local
140 for (const BlockT *BB : BBs) { in print()
DRegionInfoImpl.h903 RegionInfoBase<Tr>::getCommonRegion(SmallVectorImpl<BlockT *> &BBs) const { in getCommonRegion() argument
904 RegionT *ret = getRegionFor(BBs.back()); in getCommonRegion()
905 BBs.pop_back(); in getCommonRegion()
907 for (BlockT *BB : BBs) in getCommonRegion()
DDDG.h345 const BasicBlockListType &BBs) in DDGBuilder() argument
346 : AbstractDependenceGraphBuilder(G, D, BBs) {} in DDGBuilder()
DLoopInfoImpl.h664 std::vector<BlockT *> BBs = L->getBlocks(); in compareLoops() local
666 assert(compareVectors(BBs, OtherBBs) && in compareLoops()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp55 ArrayRef<BasicBlock *> BBs, in DetatchDeadBlocks() argument
58 for (auto *BB : BBs) { in DetatchDeadBlocks()
93 void llvm::DeleteDeadBlocks(ArrayRef <BasicBlock *> BBs, DomTreeUpdater *DTU, in DeleteDeadBlocks() argument
97 SmallPtrSet<BasicBlock *, 4> Dead(BBs.begin(), BBs.end()); in DeleteDeadBlocks()
98 assert(Dead.size() == BBs.size() && "Duplicating blocks?"); in DeleteDeadBlocks()
105 DetatchDeadBlocks(BBs, DTU ? &Updates : nullptr, KeepOneInputPHIs); in DeleteDeadBlocks()
110 for (BasicBlock *BB : BBs) in DeleteDeadBlocks()
DFunctionComparator.cpp925 SmallVector<const BasicBlock *, 8> BBs; in functionHash() local
930 BBs.push_back(&F.getEntryBlock()); in functionHash()
931 VisitedBBs.insert(BBs[0]); in functionHash()
932 while (!BBs.empty()) { in functionHash()
933 const BasicBlock *BB = BBs.pop_back_val(); in functionHash()
944 BBs.push_back(Term->getSuccessor(i)); in functionHash()
DCodeExtractor.cpp196 buildExtractionBlockSet(ArrayRef<BasicBlock *> BBs, DominatorTree *DT, in buildExtractionBlockSet() argument
198 assert(!BBs.empty() && "The set of blocks to extract must be non-empty"); in buildExtractionBlockSet()
203 for (BasicBlock *BB : BBs) { in buildExtractionBlockSet()
244 CodeExtractor::CodeExtractor(ArrayRef<BasicBlock *> BBs, DominatorTree *DT, in CodeExtractor() argument
251 Blocks(buildExtractionBlockSet(BBs, DT, AllowVarArgs, AllowAlloca)), in CodeExtractor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DSpeculateAnalyses.cpp28 SmallVector<const BasicBlock *, 8> BBs; in findBBwithCalls() local
39 BBs.emplace_back(&BB); in findBBwithCalls()
41 return BBs; in findBBwithCalls()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_bb.cpp70 for (ArrayList::Iterator BBs = allBBlocks.iterator(); !BBs.end(); BBs.next()) in ~Function() local
71 delete reinterpret_cast<BasicBlock *>(BBs.get()); in ~Function()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h47 void DetatchDeadBlocks(ArrayRef <BasicBlock *> BBs,
61 void DeleteDeadBlocks(ArrayRef <BasicBlock *> BBs,
DCodeExtractor.h119 CodeExtractor(ArrayRef<BasicBlock *> BBs, DominatorTree *DT = nullptr,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp956 std::vector<BasicBlock *> BBs; in runSjLjOnFunction() local
958 BBs.push_back(&BB); in runSjLjOnFunction()
961 for (unsigned I = 0; I < BBs.size(); I++) { in runSjLjOnFunction()
962 BasicBlock *BB = BBs[I]; in runSjLjOnFunction()
1048 BBs.push_back(Tail); in runSjLjOnFunction()

12