Home
last modified time | relevance | path

Searched refs:Blocks (Results 1 – 25 of 144) sorted by relevance

123456

/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyTIL.cpp175 Blocks[BlockID] = this; in topologicalSort()
201 Blocks[BlockID] = this; in topologicalFinalSort()
262 for (auto *Block : Blocks) in renumberInstrs()
292 unsigned NumUnreachableBlocks = Entry->topologicalSort(Blocks, Blocks.size()); in computeNormalForm()
297 Blocks[NI] = Blocks[I]; in computeNormalForm()
298 Blocks[NI]->BlockID = NI; in computeNormalForm()
301 Blocks.drop(NumUnreachableBlocks); in computeNormalForm()
305 for (auto *Block : Blocks) in computeNormalForm()
318 for (auto *Block : Blocks.reverse()) { in computeNormalForm()
324 for (auto *Block : Blocks) { in computeNormalForm()
[all …]
H A DPostOrderCFGView.cpp22 Blocks.reserve(cfg->getNumBlockIDs()); in PostOrderCFGView()
27 BlockOrder[*I] = Blocks.size() + 1; in PostOrderCFGView()
28 Blocks.push_back(*I); in PostOrderCFGView()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixIrreducibleControlFlow.cpp86 : Entry(Entry), Blocks(Blocks) { in ReachabilityGraph()
89 for (auto *MBB : Blocks) { in ReachabilityGraph()
125 const BlockSet &Blocks; member in __anonf457146f0111::ReachabilityGraph
142 for (auto *MBB : Blocks) { in calculate()
167 for (auto *MBB : Blocks) { in calculate()
198 BlockSet &getBlocks() { return Blocks; } in getBlocks()
204 BlockSet Blocks; member in __anonf457146f0111::LoopBlocks
211 Blocks.insert(Entry); in calculate()
222 if (Blocks.insert(MBB).second) { in calculate()
362 Blocks.insert(Dispatch); in makeSingleEntryLoop()
[all …]
H A DWebAssemblyExceptionInfo.h47 std::vector<MachineBasicBlock *> Blocks; variable
73 void addToBlocksVector(MachineBasicBlock *MBB) { Blocks.push_back(MBB); } in addToBlocksVector()
75 Blocks.push_back(MBB); in addBlock()
78 ArrayRef<MachineBasicBlock *> getBlocks() const { return Blocks; } in getBlocks()
85 unsigned getNumBlocks() const { return Blocks.size(); } in getNumBlocks()
86 std::vector<MachineBasicBlock *> &getBlocksVector() { return Blocks; } in getBlocksVector()
103 void reserveBlocks(unsigned Size) { Blocks.reserve(Size); } in reserveBlocks()
105 std::reverse(Blocks.begin() + From, Blocks.end());
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/XRay/
H A DProfile.h89 : Blocks(std::move(O.Blocks)), NodeStorage(std::move(O.NodeStorage)), in Profile()
94 Blocks = std::move(O.Blocks);
107 swap(L.Blocks, R.Blocks); in swap()
125 BlockList Blocks; variable
141 const_iterator begin() const { return Blocks.begin(); } in begin()
142 const_iterator end() const { return Blocks.end(); } in end()
143 bool empty() const { return Blocks.empty(); } in empty()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFixIrreducible.cpp165 assert(Blocks.count(H)); in createNaturalLoopInternal()
214 for (auto BB : Blocks) { in createNaturalLoopInternal()
248 SetVector<BasicBlock *> &Blocks, in createNaturalLoop() argument
250 createNaturalLoopInternal(LI, DT, nullptr, Blocks, Headers); in createNaturalLoop()
254 SetVector<BasicBlock *> &Blocks, in createNaturalLoop() argument
256 createNaturalLoopInternal(LI, DT, &L, Blocks, Headers); in createNaturalLoop()
266 SetVector<BasicBlock *> Blocks; in makeReducible() local
271 Blocks.insert(BB); in makeReducible()
282 for (auto BB : reverse(Blocks)) { in makeReducible()
287 if (!Blocks.count(P)) { in makeReducible()
[all …]
H A DCodeExtractor.cpp293 if (Blocks.count(Succ)) in getCommonExitBlock()
379 if (Blocks.count(&BB)) in isLegalToShrinkwrapLifetimeMarkers()
393 if (!Blocks.count(Pred)) in findOrCreateBlockForHoisting()
431 if (Blocks.count(Pred)) in findOrCreateBlockForHoisting()
520 if (Blocks.count(BB)) in findAllocas()
620 if (Blocks.empty()) in isEligible()
637 if (Blocks.count(&BB)) in isEligible()
701 Blocks.remove(OldPred); in severSplitPHINodesOfEntry()
702 Blocks.insert(NewBB); in severSplitPHINodesOfEntry()
775 Blocks.insert(NewBB); in severSplitPHINodesOfExits()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DLinePrinter.cpp144 ArrayRef<support::ulittle32_t> Blocks = Layout.Blocks; in computeBlockRuns() local
145 assert(!Blocks.empty()); in computeBlockRuns()
147 uint32_t CurrentBlock = Blocks[0]; in computeBlockRuns()
149 while (!Blocks.empty()) { in computeBlockRuns()
151 uint32_t NextBlock = Blocks.front(); in computeBlockRuns()
160 Blocks = Blocks.drop_front(); in computeBlockRuns()
248 auto Blocks = makeArrayRef(StreamLayout.Blocks); in formatMsfStreamBlocks() local
253 assert(!Blocks.empty()); in formatMsfStreamBlocks()
254 OS << formatv("Block {0} (\n", uint32_t(Blocks.front())); in formatMsfStreamBlocks()
258 uint64_t BaseOffset = Blocks.front(); in formatMsfStreamBlocks()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp120 ArrayRef<BasicBlock *> Blocks; member in __anonf9347de70111::LockstepReverseIterator
126 LockstepReverseIterator(ArrayRef<BasicBlock *> Blocks) : Blocks(Blocks) { in LockstepReverseIterator() argument
133 for (BasicBlock *BB : Blocks) in reset()
136 for (BasicBlock *BB : Blocks) { in reset()
200 SmallVector<BasicBlock *, 4> Blocks; member
243 Blocks.push_back(P.first); in ModelledPHI()
275 auto BI = Blocks.begin(); in restrictToBlocks()
277 while (BI != Blocks.end()) { in restrictToBlocks()
280 BI = Blocks.erase(BI); in restrictToBlocks()
311 return Values == Other.Values && Blocks == Other.Blocks; in operator ==()
[all …]
H A DFlattenCFGPass.cpp62 std::vector<WeakVH> Blocks; in iterativelyFlattenCFG() local
63 Blocks.reserve(F.size()); in iterativelyFlattenCFG()
65 Blocks.push_back(&BB); in iterativelyFlattenCFG()
71 for (WeakVH &BlockHandle : Blocks) { in iterativelyFlattenCFG()
/freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp468 if (NumPrint < Blocks.size()) in TestBlocks()
501 for (BasicBlock *BB : Blocks) in TestBlocks()
508 if (!Blocks.count(&BB)) in TestBlocks()
589 if (NumPrint < Blocks.size()) in TestBlocks()
596 if (!Blocks.count(&BB)) { in TestBlocks()
616 if (!Blocks.count(&BB)) in TestBlocks()
693 if (NumPrint < Blocks.size()) in TestBlocks()
1258 Blocks.push_back(&BB); in DebugACrash()
1267 if (Blocks.size() < OldSize) in DebugACrash()
1280 Blocks.push_back(&BB); in DebugACrash()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DPostOrderCFGView.h74 std::vector<const CFGBlock *> Blocks; variable
87 iterator begin() { return Blocks.rbegin(); } in begin()
88 iterator end() { return Blocks.rend(); } in end()
90 const_iterator begin() const { return Blocks.rbegin(); } in begin()
91 const_iterator end() const { return Blocks.rend(); } in end()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachinePostDominators.cpp52 ArrayRef<MachineBasicBlock *> Blocks) const { in findNearestCommonDominator()
53 assert(!Blocks.empty()); in findNearestCommonDominator()
55 MachineBasicBlock *NCD = Blocks.front(); in findNearestCommonDominator()
56 for (MachineBasicBlock *BB : Blocks.drop_front()) { in findNearestCommonDominator()
H A DEdgeBundles.cpp57 Blocks.clear(); in runOnMachineFunction()
58 Blocks.resize(getNumBundles()); in runOnMachineFunction()
63 Blocks[b0].push_back(i); in runOnMachineFunction()
65 Blocks[b1].push_back(i); in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp64 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream()
75 SL.Blocks = Layout.DirectoryBlocks; in createDirectoryStream()
176 if (StreamLayout.Blocks[Last] != StreamLayout.Blocks[Last + 1] - 1) in readLongestContiguousChunk()
187 uint32_t MsfOffset = blockToOffset(StreamLayout.Blocks[First], BlockSize); in readLongestContiguousChunk()
216 uint32_t E = StreamLayout.Blocks[BlockNum]; in tryReadContiguously()
218 if (StreamLayout.Blocks[I + BlockNum] != E) in tryReadContiguously()
228 uint32_t FirstBlockAddr = StreamLayout.Blocks[BlockNum]; in tryReadContiguously()
252 uint32_t StreamBlockAddr = StreamLayout.Blocks[BlockNum]; in readBytes()
332 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream()
342 SL.Blocks = Layout.DirectoryBlocks; in createDirectoryStream()
[all …]
H A DMSFBuilder.cpp103 MutableArrayRef<uint32_t> Blocks) { in allocateBlocks() argument
138 Blocks[I++] = NextBlock; in allocateBlocks()
156 ArrayRef<uint32_t> Blocks) { in addStream() argument
161 if (ReqBlocks != Blocks.size()) in addStream()
165 for (auto Block : Blocks) { in addStream()
175 for (auto Block : Blocks) { in addStream()
178 StreamData.push_back(std::make_pair(Size, Blocks)); in addStream()
385 for (const auto &Blocks : Layout.StreamMap) { in commit() local
386 if (auto EC = DW.writeArray(Blocks)) in commit()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopInfo.h173 return Blocks; in getBlocks()
187 return Blocks.size(); in getNumBlocks()
194 return Blocks; in getBlocksVector()
425 Blocks.push_back(BB); in addBlockEntry()
432 std::reverse(Blocks.begin() + from, Blocks.end()); in reverseBlock()
438 Blocks.reserve(size); in reserveBlocks()
445 if (Blocks[0] == BB) in moveToHeader()
450 Blocks[i] = Blocks[0]; in moveToHeader()
451 Blocks[0] = BB; in moveToHeader()
464 Blocks.erase(I); in removeBlockFromLoop()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugLinesSubsection.cpp78 Blocks.emplace_back(Offset); in createBlock()
82 Block &B = Blocks.back(); in addLineInfo()
93 Block &B = Blocks.back(); in addLineAndColumnInfo()
113 for (const auto &B : Blocks) { in commit()
139 for (const auto &B : Blocks) { in calculateSerializedSize()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DFunctionSummary.h98 llvm::SmallBitVector &Blocks = I->second.VisitedBasicBlocks; in markVisitedBasicBlock() local
100 if (TotalIDs > Blocks.size()) { in markVisitedBasicBlock()
101 Blocks.resize(TotalIDs); in markVisitedBasicBlock()
104 Blocks.set(ID); in markVisitedBasicBlock()
/freebsd-13.1/contrib/dialog/samples/install/
H A DFDISK.TEST5 Device Boot Begin Start End Blocks Id System
14 Device Boot Begin Start End Blocks Id System
21 Device Boot Begin Start End Blocks Id System
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericIteratedDominanceFrontier.h75 void setDefiningBlocks(const SmallPtrSetImpl<NodeTy *> &Blocks) { in setDefiningBlocks() argument
76 DefBlocks = &Blocks; in setDefiningBlocks()
84 void setLiveInBlocks(const SmallPtrSetImpl<NodeTy *> &Blocks) { in setLiveInBlocks() argument
85 LiveInBlocks = &Blocks; in setLiveInBlocks()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFile.cpp215 ArrayRef<support::ulittle32_t> Blocks; in parseStreamData() local
216 if (auto EC = Reader.readArray(Blocks, NumExpectedStreamBlocks)) in parseStreamData()
218 for (uint32_t Block : Blocks) { in parseStreamData()
225 ContainerLayout.StreamMap.push_back(Blocks); in parseStreamData()
248 auto Blocks = getStreamBlockList(StreamIdx); in getStreamLayout() local
249 Result.Blocks.assign(Blocks.begin(), Blocks.end()); in getStreamLayout()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPostOrderIterator.h293 std::vector<NodeRef> Blocks; // Block list in normal PO order variable
296 std::copy(po_begin(G), po_end(G), std::back_inserter(Blocks)); in Initialize()
306 rpo_iterator begin() { return Blocks.rbegin(); } in begin()
307 const_rpo_iterator begin() const { return Blocks.crbegin(); } in begin()
308 rpo_iterator end() { return Blocks.rend(); } in end()
309 const_rpo_iterator end() const { return Blocks.crend(); } in end()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DComment.h1092 ArrayRef<BlockContentComment *> Blocks; variable
1096 FullComment(ArrayRef<BlockContentComment *> Blocks, DeclInfo *D) : in FullComment() argument
1098 Blocks(Blocks), ThisDeclInfo(D) { in FullComment()
1099 if (Blocks.empty()) in FullComment()
1103 SourceRange(Blocks.front()->getBeginLoc(), Blocks.back()->getEndLoc())); in FullComment()
1104 setLocation(Blocks.front()->getBeginLoc()); in FullComment()
1112 return reinterpret_cast<child_iterator>(Blocks.begin()); in child_begin()
1116 return reinterpret_cast<child_iterator>(Blocks.end()); in child_end()
1129 ArrayRef<BlockContentComment *> getBlocks() const { return Blocks; } in getBlocks()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DEdgeBundles.h33 SmallVector<SmallVector<unsigned, 8>, 4> Blocks; variable
47 ArrayRef<unsigned> getBlocks(unsigned Bundle) const { return Blocks[Bundle]; } in getBlocks()

123456