Home
last modified time | relevance | path

Searched refs:FunctionMap (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DCallGraph.cpp188 if (FunctionMap.empty()) return; in destroy()
193 for (FunctionMapTy::iterator I = FunctionMap.begin(), E = FunctionMap.end(); in destroy()
198 for (FunctionMapTy::iterator I = FunctionMap.begin(), E = FunctionMap.end(); in destroy()
201 FunctionMap.clear(); in destroy()
227 FunctionMap.erase(F); // Remove the call graph node from the map in removeFunctionFromModule()
239 assert(FunctionMap.count(From) && "No CallGraphNode for function!"); in spliceFunction()
240 assert(!FunctionMap.count(To) && in spliceFunction()
242 FunctionMapTy::iterator I = FunctionMap.find(From); in spliceFunction()
244 FunctionMap[To] = I->second; in spliceFunction()
245 FunctionMap.erase(I); in spliceFunction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCallGraph.cpp41 : M(Arg.M), FunctionMap(std::move(Arg.FunctionMap)), in CallGraph()
44 Arg.FunctionMap.clear(); in CallGraph()
56 for (auto &I : FunctionMap) in ~CallGraph()
95 Nodes.reserve(FunctionMap.size()); in print()
127 FunctionMap.erase(F); // Remove the call graph node from the map in removeFunctionFromModule()
138 assert(FunctionMap.count(From) && "No CallGraphNode for function!"); in spliceFunction()
139 assert(!FunctionMap.count(To) && in spliceFunction()
141 FunctionMapTy::iterator I = FunctionMap.find(From); in spliceFunction()
143 FunctionMap[To] = std::move(I->second); in spliceFunction()
144 FunctionMap.erase(I); in spliceFunction()
[all …]
/external/llvm/lib/Analysis/
DCallGraph.cpp36 : M(Arg.M), FunctionMap(std::move(Arg.FunctionMap)), Root(Arg.Root), in CallGraph()
39 Arg.FunctionMap.clear(); in CallGraph()
52 for (auto &I : FunctionMap) in ~CallGraph()
110 Nodes.reserve(FunctionMap.size()); in print()
141 FunctionMap.erase(F); // Remove the call graph node from the map in removeFunctionFromModule()
153 assert(FunctionMap.count(From) && "No CallGraphNode for function!"); in spliceFunction()
154 assert(!FunctionMap.count(To) && in spliceFunction()
156 FunctionMapTy::iterator I = FunctionMap.find(From); in spliceFunction()
158 FunctionMap[To] = std::move(I->second); in spliceFunction()
159 FunctionMap.erase(I); in spliceFunction()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DCallGraph.h77 FunctionMapTy FunctionMap; // Map from a function to its node variable
91 inline iterator begin() { return FunctionMap.begin(); } in begin()
92 inline iterator end() { return FunctionMap.end(); } in end()
93 inline const_iterator begin() const { return FunctionMap.begin(); } in begin()
94 inline const_iterator end() const { return FunctionMap.end(); } in end()
99 const_iterator I = FunctionMap.find(F);
100 assert(I != FunctionMap.end() && "Function not in callgraph!");
104 const_iterator I = FunctionMap.find(F);
105 assert(I != FunctionMap.end() && "Function not in callgraph!");
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCallGraph.h81 FunctionMapTy FunctionMap; variable
116 inline iterator begin() { return FunctionMap.begin(); } in begin()
117 inline iterator end() { return FunctionMap.end(); } in end()
118 inline const_iterator begin() const { return FunctionMap.begin(); } in begin()
119 inline const_iterator end() const { return FunctionMap.end(); } in end()
123 const_iterator I = FunctionMap.find(F);
124 assert(I != FunctionMap.end() && "Function not in callgraph!");
130 const_iterator I = FunctionMap.find(F);
131 assert(I != FunctionMap.end() && "Function not in callgraph!");
/external/llvm/include/llvm/Analysis/
DCallGraph.h83 FunctionMapTy FunctionMap; variable
122 inline iterator begin() { return FunctionMap.begin(); } in begin()
123 inline iterator end() { return FunctionMap.end(); } in end()
124 inline const_iterator begin() const { return FunctionMap.begin(); } in begin()
125 inline const_iterator end() const { return FunctionMap.end(); } in end()
129 const_iterator I = FunctionMap.find(F);
130 assert(I != FunctionMap.end() && "Function not in callgraph!");
136 const_iterator I = FunctionMap.find(F);
137 assert(I != FunctionMap.end() && "Function not in callgraph!");
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
DMachODump.cpp153 FunctionMapTy &FunctionMap, in createMCFunctionAndSaveCalls() argument
160 FunctionMap[Address] = &Functions.back(); in createMCFunctionAndSaveCalls()
164 FunctionMap.insert(std::make_pair(Calls[i], (MCFunction*)0)); in createMCFunctionAndSaveCalls()
400 FunctionMapTy FunctionMap; in DisassembleInputMachO() local
410 FunctionMap.insert(std::make_pair(FoundFns[i]+VMAddr, (MCFunction*)0)); in DisassembleInputMachO()
484 Start, DebugOut, FunctionMap, Functions); in DisassembleInputMachO()
495 FunctionMap, Functions); in DisassembleInputMachO()
497 for (std::map<uint64_t, MCFunction*>::iterator mi = FunctionMap.begin(), in DisassembleInputMachO()
498 me = FunctionMap.end(); mi != me; ++mi) in DisassembleInputMachO()
513 if (FunctionMap.insert(p).second) in DisassembleInputMachO()
[all …]
/external/google-breakpad/src/common/dwarf/
Dfunctioninfo.h70 typedef std::map<uint64, FunctionInfo*> FunctionMap; typedef
115 FunctionMap* offset_to_funcinfo, in CUFunctionInfoHandler()
116 FunctionMap* address_to_funcinfo, in CUFunctionInfoHandler()
178 FunctionMap* offset_to_funcinfo_;
179 FunctionMap* address_to_funcinfo_;
Dfunctioninfo.cc206 FunctionMap::iterator iter = offset_to_funcinfo_->find(data); in ProcessAttributeReference()
/external/clang/include/clang/Analysis/
DCallGraph.h40 FunctionMapTy FunctionMap; variable
71 iterator begin() { return FunctionMap.begin(); } in begin()
72 iterator end() { return FunctionMap.end(); } in end()
73 const_iterator begin() const { return FunctionMap.begin(); } in begin()
74 const_iterator end() const { return FunctionMap.end(); } in end()
77 unsigned size() const { return FunctionMap.size(); } in size()
/external/clang/lib/Analysis/
DCallGraph.cpp108 llvm::DeleteContainerSeconds(FunctionMap); in ~CallGraph()
143 FunctionMapTy::const_iterator I = FunctionMap.find(F); in getNode()
144 if (I == FunctionMap.end()) return nullptr; in getNode()
152 CallGraphNode *&Node = FunctionMap[F]; in getOrInsertNode()
/external/swiftshader/src/Reactor/
DLLVMReactor.cpp532 using FunctionMap = std::unordered_map<std::string, void *>;
533 FunctionMap func_;
545 FunctionMap::const_iterator it = func_.find(name);