Home
last modified time | relevance | path

Searched refs:FunctionNode (Results 1 – 4 of 4) 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/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp455 class FunctionNode { class
460 FunctionNode(Function *F) in FunctionNode() function in __anon36c8c2ef0111::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/llvm/docs/
DMergeFunctions.rst188 ``std::set<FunctionNode> FnTree;``
190 Here ``FunctionNode`` is a wrapper for ``llvm::Function`` class, with