Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_scope.cc30 ScopeNode* TFScope::CreateParentNode(const string& name) { in CreateParentNode()
40 std::unique_ptr<ScopeNode>(new ScopeNode(parent_nodes_[name].get())); in CreateParentNode()
47 nodes_map_[name] = std::unique_ptr<ScopeNode>(new ScopeNode(node)); in AddNode()
63 std::vector<ScopeNode*> roots; in Build()
66 ScopeNode* node = it->second.get(); in Build()
87 std::vector<ScopeNode*> roots = Account(root_->children, opts); in ShowInternal()
89 for (ScopeNode* n : roots) { in ShowInternal()
99 ScopeNode* root = PrintScope({root_}, opts, 1, 0)[0]; in ShowInternal()
110 void TFScope::Format(const std::vector<ScopeNode*> roots, string* display_str, in Format()
112 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-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp919 const MDNode *ScopeNode) { in ensureAbstractVariableIsCreated() argument
925 cast<DILocalScope>(ScopeNode))); in ensureAbstractVariableIsCreated()
929 InlinedVariable IV, const MDNode *ScopeNode) { in ensureAbstractVariableIsCreatedIfScoped() argument
935 LScopes.findAbstractScope(cast_or_null<DILocalScope>(ScopeNode))) in ensureAbstractVariableIsCreatedIfScoped()