Home
last modified time | relevance | path

Searched refs:FunctionNode (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DAnalyzeCallDepth.h36 class FunctionNode
39 FunctionNode(TIntermAggregate *node);
42 void addCallee(FunctionNode *callee);
50 TVector<FunctionNode*> callees;
56 FunctionNode *findFunctionByName(const TString &name);
58 std::vector<FunctionNode*> functions;
59 typedef std::set<FunctionNode*> FunctionSet;
61 FunctionNode *currentFunction;
DAnalyzeCallDepth.cpp34 AnalyzeCallDepth::FunctionNode::FunctionNode(TIntermAggregate *node) : node(node) in FunctionNode() function in AnalyzeCallDepth::FunctionNode
40 const TString &AnalyzeCallDepth::FunctionNode::getName() const in getName()
45 void AnalyzeCallDepth::FunctionNode::addCallee(AnalyzeCallDepth::FunctionNode *callee) in addCallee()
58 unsigned int AnalyzeCallDepth::FunctionNode::analyzeCallDepth(AnalyzeCallDepth *analyzeCallDepth) in analyzeCallDepth()
92 unsigned int AnalyzeCallDepth::FunctionNode::getLastDepth() const in getLastDepth()
97 void AnalyzeCallDepth::FunctionNode::removeIfUnreachable() in removeIfUnreachable()
177 currentFunction = new FunctionNode(node); in visitAggregate()
196 FunctionNode *function = findFunctionByName(node->getName()); in visitAggregate()
200 function = new FunctionNode(node); in visitAggregate()
224 FunctionNode *main = findFunctionByName("main("); in analyzeCallDepth()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp170 class FunctionNode { class
176 FunctionNode(Function *F) in FunctionNode() function in __anone552f4510111::FunctionNode
215 bool operator()(const FunctionNode &LHS, const FunctionNode &RHS) const { in operator ()()
223 using FnTreeType = std::set<FunctionNode, FunctionNodeCmp>;
276 void replaceFunctionInTree(const FunctionNode &FN, Function *G);
800 void MergeFunctions::replaceFunctionInTree(const FunctionNode &FN, in replaceFunctionInTree()
823 FnTree.insert(FunctionNode(NewFunction)); in insert()
833 const FunctionNode &OldF = *Result.first; in insert()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp455 class FunctionNode { class
460 FunctionNode(Function *F) in FunctionNode() function in __anonda1fd9f90111::FunctionNode
1389 bool operator()(const FunctionNode &LHS, const FunctionNode &RHS) const { in operator ()()
1397 typedef std::set<FunctionNode, FunctionNodeCmp> FnTreeType;
1441 void replaceFunctionInTree(const FunctionNode &FN, Function *G);
1775 void MergeFunctions::replaceFunctionInTree(const FunctionNode &FN, in replaceFunctionInTree()
1798 FnTree.insert(FunctionNode(NewFunction)); in insert()
1807 const FunctionNode &OldF = *Result.first; in insert()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DMergeFunctions.rst188 ``std::set<FunctionNode> FnTree;``
190 Here ``FunctionNode`` is a wrapper for ``llvm::Function`` class, with
/external/llvm/docs/
DMergeFunctions.rst188 ``std::set<FunctionNode> FnTree;``
190 Here ``FunctionNode`` is a wrapper for ``llvm::Function`` class, with