Home
last modified time | relevance | path

Searched refs:CodeNode (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_code.h46 virtual uint64 AddLocation(const CodeNode* callee,
47 const CodeNode* caller) = 0;
49 virtual void AddSample(const CodeNode* leaf,
71 std::vector<CodeNode*> SearchRoot(std::vector<CodeNode*> roots,
74 std::vector<CodeNode*> PrintScope(const std::vector<CodeNode*> roots,
78 std::vector<CodeNode*> Account(const std::vector<CodeNode*>& roots,
81 void Format(const CodeNode* root, const std::vector<CodeNode*>& nodes,
85 string FormatNode(CodeNode* node, const Options& opts, int64 indent) const;
86 string FormatNodeMemory(CodeNode* node, int64 bytes, int64 total_bytes) const;
88 std::unique_ptr<CodeNode> root_;
Dtfprof_code.cc185 void Add(const CodeNode* node, const std::vector<uint64>& location_ids) { in Add()
188 std::vector<const CodeNode*> all_leaf = FetchAllLeaf(node); in Add()
191 for (const CodeNode* cn : all_leaf) { in Add()
243 std::vector<const CodeNode*> FetchAllLeaf(const CodeNode* root) { in FetchAllLeaf()
247 std::vector<const CodeNode*> ret; in FetchAllLeaf()
249 std::vector<const CodeNode*> nodes = FetchAllLeaf(n); in FetchAllLeaf()
268 uint64 AddLocation(const CodeNode* callee, const CodeNode* caller) override { in AddLocation()
279 void AddSample(const CodeNode* leaf, std::vector<uint64>* call_ids) override { in AddSample()
406 root_.reset(new CodeNode(graph_root_.get(), nullptr, "")); in AddNode()
409 CodeNode* pre_code_node = root_.get(); in AddNode()
[all …]
Dtfprof_node_show.h112 class CodeNode : public ShowMultiNode {
114 CodeNode(TFMultiGraphNode* node, const CallStack::Trace* trace, in CodeNode() function
117 ~CodeNode() override {} in ~CodeNode()
119 CodeNode* AddChildren(const string& name, const CallStack::Trace* trace, in AddChildren()
129 child->reset(new CodeNode(graph_children_.back().get(), trace, suffix)); in AddChildren()
140 std::vector<CodeNode*> children;
141 std::vector<CodeNode*> show_children;
147 std::map<string, std::unique_ptr<CodeNode>> children_;
Dtfprof_timeline.h135 void GenerateCodeTimeline(const CodeNode* node);
Dtfprof_timeline.cc317 void Timeline::GenerateCodeTimeline(const CodeNode* node) { in GenerateCodeTimeline()
/external/llvm/lib/Target/Hexagon/
DRDFGraph.h544 struct CodeNode : public NodeBase { struct
564 struct InstrNode : public CodeNode { argument
576 return CodeNode::getCode<MachineInstr*>(); in getCode()
580 struct BlockNode : public CodeNode {
582 return CodeNode::getCode<MachineBasicBlock*>(); in getCode()
587 struct FuncNode : public CodeNode {
589 return CodeNode::getCode<MachineFunction*>(); in getCode()
817 NodeAddr<CodeNode*> CA = NA; in getNextRef()
826 NodeList CodeNode::members_if(Predicate P, const DataFlowGraph &G) const { in members_if()
DRDFGraph.cpp430 NodeAddr<NodeBase*> CodeNode::getFirstMember(const DataFlowGraph &G) const { in getFirstMember()
437 NodeAddr<NodeBase*> CodeNode::getLastMember(const DataFlowGraph &G) const { in getLastMember()
444 void CodeNode::addMember(NodeAddr<NodeBase*> NA, const DataFlowGraph &G) { in addMember()
457 void CodeNode::addMemberAfter(NodeAddr<NodeBase*> MA, NodeAddr<NodeBase*> NA, in addMemberAfter()
465 void CodeNode::removeMember(NodeAddr<NodeBase*> NA, const DataFlowGraph &G) { in removeMember()
497 NodeList CodeNode::members(const DataFlowGraph &G) const { in members()
DRDFDeadCode.cpp187 for (auto N : NodeAddr<CodeNode*>(BA).Addr->members(DFG)) in erase()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DRDFGraph.h591 struct CodeNode : public NodeBase { struct
611 struct InstrNode : public CodeNode { argument
623 return CodeNode::getCode<MachineInstr*>(); in getCode()
627 struct BlockNode : public CodeNode {
629 return CodeNode::getCode<MachineBasicBlock*>(); in getCode()
635 struct FuncNode : public CodeNode {
637 return CodeNode::getCode<MachineFunction*>(); in getCode()
905 NodeAddr<CodeNode*> CA = NA; in getNextRef()
914 NodeList CodeNode::members_if(Predicate P, const DataFlowGraph &G) const { in members_if()
DRDFGraph.cpp479 NodeAddr<NodeBase*> CodeNode::getFirstMember(const DataFlowGraph &G) const { in getFirstMember()
486 NodeAddr<NodeBase*> CodeNode::getLastMember(const DataFlowGraph &G) const { in getLastMember()
493 void CodeNode::addMember(NodeAddr<NodeBase*> NA, const DataFlowGraph &G) { in addMember()
506 void CodeNode::addMemberAfter(NodeAddr<NodeBase*> MA, NodeAddr<NodeBase*> NA, in addMemberAfter()
514 void CodeNode::removeMember(NodeAddr<NodeBase*> NA, const DataFlowGraph &G) { in removeMember()
546 NodeList CodeNode::members(const DataFlowGraph &G) const { in members()
DRDFDeadCode.cpp198 for (auto N : NodeAddr<CodeNode*>(BA).Addr->members(DFG)) in erase()
/external/googletest/googletest/scripts/
Dpump.py390 class CodeNode: class
495 return CodeNode([IfNode(ParseExpNode(exp), code_node, inner_else_node)])
574 return CodeNode(atomic_code_list)
694 elif isinstance(node, CodeNode):
/external/google-breakpad/src/testing/gtest/scripts/
Dpump.py390 class CodeNode: class
495 return CodeNode([IfNode(ParseExpNode(exp), code_node, inner_else_node)])
574 return CodeNode(atomic_code_list)
694 elif isinstance(node, CodeNode):