| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | RefactoringCallbacks.cpp | 200 const auto &NodeMap = Result.Nodes.getMap(); in run() local 209 auto NodeIter = NodeMap.find(Element.Value); in run() 210 if (NodeIter == NodeMap.end()) { in run() 223 if (NodeMap.count(FromId) == 0) { in run() 229 tooling::Replacement(*Result.SourceManager, &NodeMap.at(FromId), ToText, in run()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86LoadValueInjectionLoadHardening.cpp | 342 DenseMap<MachineInstr *, GraphIter> NodeMap; in getGadgetGraph() local 344 auto MaybeAddNode = [&NodeMap, &Builder](MachineInstr *MI) { in getGadgetGraph() 345 auto Ref = NodeMap.find(MI); in getGadgetGraph() 346 if (Ref == NodeMap.end()) { in getGadgetGraph() 348 NodeMap[MI] = I; in getGadgetGraph() 514 auto Ref = NodeMap.find(&*NI); in getGadgetGraph() 515 if (Ref != NodeMap.end()) { in getGadgetGraph()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | LazyCallGraph.cpp | 213 : BPA(std::move(G.BPA)), NodeMap(std::move(G.NodeMap)), in LazyCallGraph() 230 NodeMap = std::move(G.NodeMap); in operator =() 1468 assert(G->NodeMap.find(&NewF) == G->NodeMap.end() && in replaceNodeFunction() 1485 G->NodeMap.erase(&OldF); in replaceNodeFunction() 1486 G->NodeMap[&NewF] = &N; in replaceNodeFunction() 1516 auto NI = NodeMap.find(&F); in removeDeadFunction() 1517 if (NI == NodeMap.end()) in removeDeadFunction() 1522 NodeMap.erase(NI); in removeDeadFunction() 1770 for (auto &FunctionNodePair : NodeMap) in updateGraphPtrs() 1781 NodeMap[&F] = &N; in initNode()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ModuleSummaryIndex.cpp | 540 DenseMap<GlobalValue::GUID, std::vector<uint64_t>> NodeMap; in exportToDot() local 599 NodeMap[SummaryIt.first].push_back(ModId); in exportToDot() 658 auto &ModList = NodeMap[E.Dst]; in exportToDot()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 222 NodeMap[std::string(ID)] = DynNode; 231 IDToNodeMap::const_iterator It = NodeMap.find(ID); 232 if (It == NodeMap.end()) { 239 IDToNodeMap::const_iterator It = NodeMap.find(ID); 240 if (It == NodeMap.end()) { 248 return NodeMap < Other.NodeMap; 259 return NodeMap; 265 for (const auto &IDAndNode : NodeMap) { 273 IDToNodeMap NodeMap;
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | LazyCallGraph.h | 965 Node *lookup(const Function &F) const { return NodeMap.lookup(&F); } in lookup() 987 Node *&N = NodeMap[&F]; in get() 1113 DenseMap<const Function *, Node *> NodeMap; variable
|
| /llvm-project-15.0.7/clang/lib/Tooling/Transformer/ |
| H A D | Stencil.cpp | 334 const BoundNodes::IDToNodeMap &NodeMap = match.Nodes.getMap(); in eval() local 336 if (NodeMap.count(S.first) > 0) { in eval()
|
| /llvm-project-15.0.7/llvm/lib/Passes/ |
| H A D | StandardInstrumentations.cpp | 1466 std::map<const unsigned, unsigned> &NodeMap) const; 1696 std::map<const unsigned, unsigned> NodeMap; in createDisplayGraph() local 1704 NodeMap.insert({I.getIndex(), Index++}); in createDisplayGraph() 1709 for (auto &I : NodeMap) { in createDisplayGraph() 1712 getNode(SourceNode).createDisplayEdges(G, DisplayNode, NodeMap); in createDisplayGraph() 1719 std::map<const unsigned, unsigned> &NodeMap) const { in createDisplayEdges()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 98 DenseMap<const Value*, SDValue> NodeMap; variable 332 SDValue &N = NodeMap[V]; in setValue()
|
| H A D | SelectionDAGBuilder.cpp | 1038 NodeMap.clear(); in clear() 1359 SDValue N = NodeMap[V]; in handleDebugValue() 1490 SDValue &N = NodeMap[V]; in getValue() 1500 NodeMap[V] = Val; in getValue() 1509 SDValue &N = NodeMap[V]; in getNonRegisterValue() 1523 NodeMap[V] = Val; in getNonRegisterValue() 1559 SDValue N1 = NodeMap[V]; in getValueImpl() 1592 return NodeMap[V] = DAG.getBuildVector(VT, getCurSDLoc(), Ops); in getValueImpl() 1637 return NodeMap[V] = DAG.getBuildVector(VT, getCurSDLoc(), Ops); in getValueImpl() 1655 return NodeMap[V] = DAG.getBuildVector(VT, getCurSDLoc(), Ops); in getValueImpl() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ExplodedGraph.h | 425 using NodeMap = llvm::DenseMap<const ExplodedNode *, ExplodedNode *>; variable
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 3262 MapType NodeMap; member in __anon78e22a880c11::PhiNodeSet 3275 if (NodeMap.insert(std::make_pair(Ptr, NodeList.size())).second) { in insert() 3286 if (NodeMap.erase(Ptr)) { in erase() 3295 NodeMap.clear(); in clear() 3313 return NodeMap.size(); in size() 3318 return NodeMap.count(Ptr); in count() 3329 auto it = NodeMap.find(NodeList[CurrentIndex]); in SkipRemovedElements() 3332 if (it != NodeMap.end() && it->second == CurrentIndex) in SkipRemovedElements()
|