Home
last modified time | relevance | path

Searched refs:CodeNode (Results 1 – 18 of 18) 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()
417 root_.reset(new CodeNode(graph_root_.get(), nullptr, "")); in AddNode()
420 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/dokka/core/src/test/kotlin/Model/
DCodeNodeTest.kt3 import org.jetbrains.dokka.Model.CodeNode
11 val sut = CodeNode("\n \t \r $expected", "") in text_normalisesInitialWhitespace()
/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/llvm-project/llvm/include/llvm/CodeGen/
DRDFGraph.h590 struct CodeNode : public NodeBase { struct
610 struct InstrNode : public CodeNode { argument
622 return CodeNode::getCode<MachineInstr*>(); in getCode()
626 struct BlockNode : public CodeNode {
628 return CodeNode::getCode<MachineBasicBlock*>(); in getCode()
634 struct FuncNode : public CodeNode {
636 return CodeNode::getCode<MachineFunction*>(); in getCode()
900 NodeAddr<CodeNode*> CA = NA; in getNextRef()
909 NodeList CodeNode::members_if(Predicate P, const DataFlowGraph &G) const { in members_if()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFGraph.h590 struct CodeNode : public NodeBase { struct
610 struct InstrNode : public CodeNode { argument
622 return CodeNode::getCode<MachineInstr*>(); in getCode()
626 struct BlockNode : public CodeNode {
628 return CodeNode::getCode<MachineBasicBlock*>(); in getCode()
634 struct FuncNode : public CodeNode {
636 return CodeNode::getCode<MachineFunction*>(); in getCode()
904 NodeAddr<CodeNode*> CA = NA; in getNextRef()
913 NodeList CodeNode::members_if(Predicate P, const DataFlowGraph &G) const { in members_if()
DRDFGraph.cpp460 NodeAddr<NodeBase*> CodeNode::getFirstMember(const DataFlowGraph &G) const { in getFirstMember()
467 NodeAddr<NodeBase*> CodeNode::getLastMember(const DataFlowGraph &G) const { in getLastMember()
474 void CodeNode::addMember(NodeAddr<NodeBase*> NA, const DataFlowGraph &G) { in addMember()
487 void CodeNode::addMemberAfter(NodeAddr<NodeBase*> MA, NodeAddr<NodeBase*> NA, in addMemberAfter()
495 void CodeNode::removeMember(NodeAddr<NodeBase*> NA, const DataFlowGraph &G) { in removeMember()
527 NodeList CodeNode::members(const DataFlowGraph &G) const { in members()
DRDFDeadCode.cpp198 for (auto N : NodeAddr<CodeNode*>(BA).Addr->members(DFG)) in erase()
/external/dokka/core/src/main/kotlin/Model/
DCodeNode.kt6 class CodeNode(text: String, baseUri: String): TextNode(text, baseUri) { class
/external/llvm-project/llvm/lib/CodeGen/
DRDFGraph.cpp460 NodeAddr<NodeBase*> CodeNode::getFirstMember(const DataFlowGraph &G) const { in getFirstMember()
467 NodeAddr<NodeBase*> CodeNode::getLastMember(const DataFlowGraph &G) const { in getLastMember()
474 void CodeNode::addMember(NodeAddr<NodeBase*> NA, const DataFlowGraph &G) { in addMember()
487 void CodeNode::addMemberAfter(NodeAddr<NodeBase*> MA, NodeAddr<NodeBase*> NA, in addMemberAfter()
495 void CodeNode::removeMember(NodeAddr<NodeBase*> NA, const DataFlowGraph &G) { in removeMember()
527 NodeList CodeNode::members(const DataFlowGraph &G) const { in members()
/external/llvm-project/llvm/lib/Target/Hexagon/
DRDFDeadCode.cpp198 for (auto N : NodeAddr<CodeNode*>(BA).Addr->members(DFG)) in erase()
/external/dokka/core/src/main/kotlin/Java/
DJavadocParser.kt9 import org.jetbrains.dokka.Model.CodeNode in <lambda>()
294 val codeNode = CodeNode(node.wholeText, "") in parseDocumentation()
/external/dokka/
DREADME.android139 Add tests to CodeNode