Home
last modified time | relevance | path

Searched refs:GCOVBlock (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/llvm/include/llvm/ProfileData/
DGCOV.h41 class GCOVBlock; variable
217 GCOVArc(GCOVBlock &src, GCOVBlock &dst, uint32_t flags) in GCOVArc()
221 GCOVBlock &src;
222 GCOVBlock &dst;
232 SmallVectorImpl<std::unique_ptr<GCOVBlock>>::const_iterator>;
239 GCOVBlock &getExitBlock() const;
245 uint64_t propagateCounts(const GCOVBlock &v, GCOVArc *pred);
261 SmallVector<std::unique_ptr<GCOVBlock>, 0> blocks;
263 DenseSet<const GCOVBlock *> visited;
267 class GCOVBlock {
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DGCOV.cpp167 Blocks.push_back(std::make_unique<GCOVBlock>(*this, i)); in readGCNO()
213 GCOVBlock &Block = *Blocks[BlockNo]; in readGCNO()
321 GCOVBlock &Block = *Blocks[BlockNo]; in readGCDA()
380 GCOVBlock::~GCOVBlock() { in ~GCOVBlock()
388 void GCOVBlock::addCount(size_t DstEdgeNo, uint64_t N) { in addCount()
398 void GCOVBlock::sortDstEdges() { in sortDstEdges()
407 void GCOVBlock::collectLineCounts(FileInfo &FI) { in collectLineCounts()
412 void GCOVBlock::print(raw_ostream &OS) const { in print()
436 LLVM_DUMP_METHOD void GCOVBlock::dump() const { print(dbgs()); } in dump()
447 uint64_t GCOVBlock::getCycleCount(const Edges &Path) { in getCycleCount()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DGCOV.h38 class GCOVBlock; variable
267 GCOVEdge(GCOVBlock &S, GCOVBlock &D) : Src(S), Dst(D) {} in GCOVEdge()
269 GCOVBlock &Src;
270 GCOVBlock &Dst;
279 SmallVectorImpl<std::unique_ptr<GCOVBlock>>::const_iterator>;
308 SmallVector<std::unique_ptr<GCOVBlock>, 16> Blocks;
313 class GCOVBlock {
315 EdgeWeight(GCOVBlock *D) : Dst(D) {} in EdgeWeight()
317 GCOVBlock *Dst;
323 using BlockVector = SmallVector<const GCOVBlock *, 4>;
[all …]
/external/llvm-project/llvm/lib/ProfileData/
DGCOV.cpp57 SmallVector<const GCOVBlock *, 1> blocks;
80 void printBranchInfo(const GCOVBlock &Block, uint32_t &edgeIdx,
148 fn->blocks.push_back(std::make_unique<GCOVBlock>(i)); in readGCNO()
153 fn->blocks.push_back(std::make_unique<GCOVBlock>(i)); in readGCNO()
162 GCOVBlock *src = fn->blocks[srcNo].get(); in readGCNO()
165 GCOVBlock *dst = fn->blocks[dstNo].get(); in readGCNO()
181 GCOVBlock &Block = *fn->blocks[srcNo]; in readGCNO()
282 GCOVBlock &src = *fn->blocks[0]; in readGCDA()
283 GCOVBlock &sink = in readGCDA()
290 for (GCOVBlock &block : fn->blocksRange()) in readGCDA()
[all …]
/external/llvm/include/llvm/Support/
DGCOV.h29 class GCOVBlock; variable
254 GCOVEdge(GCOVBlock &S, GCOVBlock &D) : Src(S), Dst(D), Count(0) {} in GCOVEdge()
256 GCOVBlock &Src;
257 GCOVBlock &Dst;
265 std::unique_ptr<GCOVBlock>>::const_iterator> BlockIterator;
292 SmallVector<std::unique_ptr<GCOVBlock>, 16> Blocks;
297 class GCOVBlock {
299 EdgeWeight(GCOVBlock *D) : Dst(D), Count(0) {} in EdgeWeight()
301 GCOVBlock *Dst;
314 GCOVBlock(GCOVFunction &P, uint32_t N) in GCOVBlock() function
[all …]
/external/llvm/lib/IR/
DGCOV.cpp163 Blocks.push_back(make_unique<GCOVBlock>(*this, i)); in readGCNO()
209 GCOVBlock &Block = *Blocks[BlockNo]; in readGCNO()
317 GCOVBlock &Block = *Blocks[BlockNo]; in readGCDA()
372 GCOVBlock::~GCOVBlock() { in ~GCOVBlock()
380 void GCOVBlock::addCount(size_t DstEdgeNo, uint64_t N) { in addCount()
390 void GCOVBlock::sortDstEdges() { in sortDstEdges()
399 void GCOVBlock::collectLineCounts(FileInfo &FI) { in collectLineCounts()
405 LLVM_DUMP_METHOD void GCOVBlock::dump() const { in dump()
610 for (const GCOVBlock *Block : Blocks) { in print()
667 for (const GCOVBlock *Block : Blocks) { in print()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp213 class GCOVBlock;
251 class GCOVBlock : public GCOVRecord { class
261 void addEdge(GCOVBlock &Successor) { in addEdge()
288 ~GCOVBlock() { in ~GCOVBlock()
292 GCOVBlock(const GCOVBlock &RHS) : GCOVRecord(RHS), Number(RHS.Number) { in GCOVBlock() function in __anon18a99b330211::GCOVBlock
303 GCOVBlock(uint32_t Number, raw_ostream *os) in GCOVBlock() function in __anon18a99b330211::GCOVBlock
310 SmallVector<GCOVBlock *, 4> OutEdges;
331 Blocks.insert(std::make_pair(&BB, GCOVBlock(i++, os))); in GCOVFunction()
343 GCOVBlock &getBlock(BasicBlock *BB) { in getBlock()
347 GCOVBlock &getReturnBlock() { in getReturnBlock()
[all …]
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp288 class GCOVBlock;
323 class GCOVBlock : public GCOVRecord { class
329 void addEdge(GCOVBlock &Successor, uint32_t Flags) { in addEdge()
355 GCOVBlock(const GCOVBlock &RHS) : GCOVRecord(RHS), Number(RHS.Number) { in GCOVBlock() function in __anon492488a10611::GCOVBlock
364 SmallVector<std::pair<GCOVBlock *, uint32_t>, 4> OutEdges;
369 GCOVBlock(GCOVProfiler *P, uint32_t Number) in GCOVBlock() function in __anon492488a10611::GCOVBlock
388 Blocks.insert(std::make_pair(&BB, GCOVBlock(P, i++))); in GCOVFunction()
399 GCOVBlock &getBlock(const BasicBlock *BB) { in getBlock()
403 GCOVBlock &getEntryBlock() { return EntryBlock; } in getEntryBlock()
404 GCOVBlock &getReturnBlock() { in getReturnBlock()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp247 class GCOVBlock;
285 class GCOVBlock : public GCOVRecord { class
291 void addEdge(GCOVBlock &Successor) { in addEdge()
317 GCOVBlock(const GCOVBlock &RHS) : GCOVRecord(RHS), Number(RHS.Number) { in GCOVBlock() function in __anonef91c0150311::GCOVBlock
328 GCOVBlock(uint32_t Number, raw_ostream *os) in GCOVBlock() function in __anonef91c0150311::GCOVBlock
335 SmallVector<GCOVBlock *, 4> OutEdges;
356 Blocks.insert(std::make_pair(&BB, GCOVBlock(i++, os))); in GCOVFunction()
368 GCOVBlock &getBlock(BasicBlock *BB) { in getBlock()
372 GCOVBlock &getReturnBlock() { in getReturnBlock()
381 GCOVBlock &Block = getBlock(&I); in getEdgeDestinations()
[all …]