Home
last modified time | relevance | path

Searched refs:ScopeNode (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_scope.cc31 ScopeNode* TFScope::CreateParentNode(const string& name) { in CreateParentNode()
41 std::unique_ptr<ScopeNode>(new ScopeNode(parent_nodes_[name].get())); in CreateParentNode()
48 nodes_map_[name] = std::unique_ptr<ScopeNode>(new ScopeNode(node)); in AddNode()
64 std::vector<ScopeNode*> roots; in Build()
67 ScopeNode* node = it->second.get(); in Build()
88 std::vector<ScopeNode*> roots = Account(root_->children, opts); in ShowInternal()
90 for (ScopeNode* n : roots) { in ShowInternal()
100 ScopeNode* root = PrintScope({root_}, opts, 1, 0)[0]; in ShowInternal()
111 void TFScope::Format(const std::vector<ScopeNode*> roots, string* display_str, in Format()
113 for (ScopeNode* node : roots) { in Format()
[all …]
Dtfprof_scope.h54 ScopeNode* CreateParentNode(const string& name);
56 std::vector<ScopeNode*> SearchRoot(std::vector<ScopeNode*> roots,
59 std::vector<ScopeNode*> PrintScope(const std::vector<ScopeNode*> roots,
63 std::vector<ScopeNode*> Account(const std::vector<ScopeNode*>& roots,
66 void Format(const std::vector<ScopeNode*> roots, string* display_str,
69 ScopeNode* root_;
72 std::map<string, std::unique_ptr<ScopeNode>> nodes_map_;
Dtfprof_node_show.h77 class ScopeNode : public ShowNode {
79 explicit ScopeNode(const TFGraphNode* node) : ShowNode(node) {} in ScopeNode() function
80 ~ScopeNode() override {} in ~ScopeNode()
82 std::vector<ScopeNode*> children;
83 std::vector<ScopeNode*> show_children;
Dtfprof_timeline.h133 void GenerateScopeTimeline(const ScopeNode* node);
Dtfprof_timeline.cc311 void Timeline::GenerateScopeTimeline(const ScopeNode* node) { in GenerateScopeTimeline()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp698 const MDNode *ScopeNode) { in ensureAbstractVariableIsCreated() argument
704 cast<DILocalScope>(ScopeNode))); in ensureAbstractVariableIsCreated()
708 InlinedVariable IV, const MDNode *ScopeNode) { in ensureAbstractVariableIsCreatedIfScoped() argument
714 LScopes.findAbstractScope(cast_or_null<DILocalScope>(ScopeNode))) in ensureAbstractVariableIsCreatedIfScoped()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1289 const MDNode *ScopeNode) { in ensureAbstractEntityIsCreated() argument
1294 cast<DILocalScope>(ScopeNode))); in ensureAbstractEntityIsCreated()
1298 const DINode *Node, const MDNode *ScopeNode) { in ensureAbstractEntityIsCreatedIfScoped() argument
1303 LScopes.findAbstractScope(cast_or_null<DILocalScope>(ScopeNode))) in ensureAbstractEntityIsCreatedIfScoped()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1471 const MDNode *ScopeNode) { in ensureAbstractEntityIsCreated() argument
1476 cast<DILocalScope>(ScopeNode))); in ensureAbstractEntityIsCreated()
1480 const DINode *Node, const MDNode *ScopeNode) { in ensureAbstractEntityIsCreatedIfScoped() argument
1485 LScopes.findAbstractScope(cast_or_null<DILocalScope>(ScopeNode))) in ensureAbstractEntityIsCreatedIfScoped()