| /freebsd/contrib/llvm-project/llvm/include/llvm/CGData/ |
| H A D | StableFunctionMapRecord.h | 28 std::unique_ptr<StableFunctionMap> FunctionMap; member 31 FunctionMap = std::make_unique<StableFunctionMap>(); in StableFunctionMapRecord() 34 StableFunctionMapRecord(std::unique_ptr<StableFunctionMap> FunctionMap) in StableFunctionMapRecord() 35 : FunctionMap(std::move(FunctionMap)) {} in StableFunctionMapRecord() 40 const StableFunctionMap *FunctionMap, 58 void finalize(bool SkipTrim = false) { FunctionMap->finalize(SkipTrim); } 62 FunctionMap->merge(*Other.FunctionMap); in merge() 66 bool empty() const { return FunctionMap->empty(); } in empty()
|
| H A D | CodeGenData.h | 163 publishStableFunctionMap(std::unique_ptr<StableFunctionMap> FunctionMap) { in publishStableFunctionMap() argument 164 PublishedStableFunctionMap = std::move(FunctionMap); in publishStableFunctionMap() 196 publishStableFunctionMap(std::unique_ptr<StableFunctionMap> FunctionMap) { in publishStableFunctionMap() argument 197 CodeGenData::getInstance().publishStableFunctionMap(std::move(FunctionMap)); in publishStableFunctionMap()
|
| H A D | CodeGenDataReader.h | 48 return std::move(FunctionMapRecord.FunctionMap); in releaseStableFunctionMap()
|
| /freebsd/contrib/llvm-project/llvm/lib/CGData/ |
| H A D | StableFunctionMapRecord.cpp | 82 serialize(OS, FunctionMap.get(), PatchItems); in serialize() 86 raw_ostream &OS, const StableFunctionMap *FunctionMap, in serialize() argument 91 ArrayRef<std::string> Names = FunctionMap->getNames(); in serialize() 108 auto FuncEntries = getStableFunctionEntries(*FunctionMap); in serialize() 146 FunctionMap->getIdOrCreateForName(Name); in deserialize() 165 assert(FunctionMap->getNameForId(FunctionNameId) && in deserialize() 169 assert(FunctionMap->getNameForId(ModuleNameId) && in deserialize() 195 FunctionMap->insert(std::move(FuncEntry)); in deserialize() 200 auto FuncEntries = getStableFunctionEntries(*FunctionMap); in serializeYAML() 205 FuncEntry->Hash, *FunctionMap->getNameForId(FuncEntry->FunctionNameId), in serializeYAML() [all …]
|
| H A D | CodeGenDataWriter.cpp | 73 assert(Record.FunctionMap && "empty function map in the record"); in addRecord() 74 FunctionMapRecord.FunctionMap = std::move(Record.FunctionMap); in addRecord()
|
| H A D | CodeGenData.cpp | 285 std::move(GlobalStableFunctionMapRecord.FunctionMap)); in mergeCodeGenData()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CallGraph.cpp | 40 : M(Arg.M), FunctionMap(std::move(Arg.FunctionMap)), in CallGraph() 43 Arg.FunctionMap.clear(); in CallGraph() 48 for (auto &P : FunctionMap) in CallGraph() 60 for (auto &I : FunctionMap) in ~CallGraph() 118 Nodes.reserve(FunctionMap.size()); in print() 149 FunctionMap.erase(F); // Remove the call graph node from the map in removeFunctionFromModule() 159 auto &CGN = FunctionMap[F]; in getOrInsertFunction()
|
| H A D | StackSafetyAnalysis.cpp | 587 using FunctionMap = std::map<const CalleeTy *, FunctionInfo<CalleeTy>>; typedef in __anonc3460ea90211::StackSafetyDataFlowAnalysis 589 FunctionMap Functions; 611 StackSafetyDataFlowAnalysis(uint32_t PointerBitWidth, FunctionMap Functions) in StackSafetyDataFlowAnalysis() 615 const FunctionMap &run(); 716 const typename StackSafetyDataFlowAnalysis<CalleeTy>::FunctionMap &
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | CallGraph.h | 79 FunctionMapTy FunctionMap; variable 106 inline iterator begin() { return FunctionMap.begin(); } in begin() 107 inline iterator end() { return FunctionMap.end(); } in end() 108 inline const_iterator begin() const { return FunctionMap.begin(); } in begin() 109 inline const_iterator end() const { return FunctionMap.end(); } in end() 113 const_iterator I = FunctionMap.find(F); 114 assert(I != FunctionMap.end() && "Function not in callgraph!"); 120 const_iterator I = FunctionMap.find(F); 121 assert(I != FunctionMap.end() && "Function not in callgraph!");
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CallGraph.h | 50 FunctionMapTy FunctionMap; variable 87 iterator begin() { return FunctionMap.begin(); } in begin() 88 iterator end() { return FunctionMap.end(); } in end() 89 const_iterator begin() const { return FunctionMap.begin(); } in begin() 90 const_iterator end() const { return FunctionMap.end(); } in end() 93 unsigned size() const { return FunctionMap.size(); } in size()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CallGraph.cpp | 200 FunctionMapTy::const_iterator I = FunctionMap.find(F); in getNode() 201 if (I == FunctionMap.end()) return nullptr; in getNode() 209 std::unique_ptr<CallGraphNode> &Node = FunctionMap[F]; in getOrInsertNode()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | GlobalMergeFunctions.h | 76 bool merge(Module &M, const StableFunctionMap *FunctionMap);
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GlobalMergeFunctions.cpp | 389 bool GlobalMergeFunc::merge(Module &M, const StableFunctionMap *FunctionMap) { in merge() argument 395 auto &Maps = FunctionMap->getFunctionMap(); in merge()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | llvm-objdump.cpp | 1526 const BBAddrMapFunctionEntry *FunctionMap = in collectBBAddrMapLabels() local 1528 if (!FunctionMap) in collectBBAddrMapLabels() 1531 FunctionMap->getAddrMap().getBBRangeIndexForBaseAddress(StartAddress); in collectBBAddrMapLabels() 1537 FunctionMap->getAddrMap().BBRanges[I].BBEntries.size(); in collectBBAddrMapLabels() 1538 const auto &BBRange = FunctionMap->getAddrMap().BBRanges[*BBRangeIndex]; in collectBBAddrMapLabels() 1547 {LabelString, FunctionMap->constructPGOLabelString( in collectBBAddrMapLabels()
|