Home
last modified time | relevance | path

Searched refs:Funcs (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp82 if (Funcs.empty()) in encode()
89 if (Funcs.size() > UINT32_MAX) in encode()
104 Hdr.NumAddresses = static_cast<uint32_t>(Funcs.size()); in encode()
122 for (const auto &FuncInfo : Funcs) { in encode()
149 for (size_t i = 0, n = Funcs.size(); i < n; ++i) in encode()
173 for (const auto &FuncInfo : Funcs) { in encode()
194 CallSiteInfoLoader Loader(*this, Funcs); in finalize()
200 if (Funcs.size() < 2) in finalize()
204 llvm::stable_sort(Funcs); in finalize()
208 TopLevelFuncs.emplace_back(std::move(Funcs in finalize()
[all...]
/llvm-project/bolt/include/bolt/Core/
H A DBinaryFunctionCallGraph.h35 assert(Id < Funcs.size()); in nodeIdToFunc()
36 return Funcs[Id]; in nodeIdToFunc()
39 assert(Id < Funcs.size()); in nodeIdToFunc()
40 return Funcs[Id]; in nodeIdToFunc()
49 std::vector<BinaryFunction *> Funcs; variable
H A DDynoStats.h150 inline DynoStats getDynoStats(FuncsType &Funcs, bool IsAArch64) { in getDynoStats() argument
152 for (auto &BFI : Funcs) { in getDynoStats()
162 inline void callWithDynoStats(raw_ostream &OS, FnType &&Func, FuncsType &Funcs, in callWithDynoStats() argument
167 DynoStatsBefore = getDynoStats(Funcs, IsAArch64); in callWithDynoStats()
172 const DynoStats DynoStatsAfter = getDynoStats(Funcs, IsAArch64); in callWithDynoStats()
/llvm-project/bolt/lib/Core/
H A DBinaryFunctionCallGraph.cpp43 assert(size_t(Id) == Funcs.size()); in addNode()
44 Funcs.push_back(BF); in addNode()
46 assert(Funcs[Id] == BF); in addNode()
55 std::vector<NodeStatus> NodeStatus(Funcs.size()); in buildTraversalOrder()
58 for (BinaryFunction *Func : Funcs) { in buildTraversalOrder()
74 TopologicalOrder.push_back(Funcs[FuncId]); in buildTraversalOrder()
/llvm-project/llvm/tools/bugpoint/
H A DBugDriver.cpp240 void llvm::PrintFunctionList(const std::vector<Function *> &Funcs) { in PrintFunctionList() argument
241 unsigned NumPrint = Funcs.size(); in PrintFunctionList()
245 outs() << " " << Funcs[i]->getName(); in PrintFunctionList()
246 if (NumPrint < Funcs.size()) in PrintFunctionList()
247 outs() << "... <" << Funcs.size() << " total>"; in PrintFunctionList()
H A DMiscompilation.cpp249 ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function *> &Funcs) { in TestFuncs() argument
251 // functions listed in Funcs. in TestFuncs()
253 << (Funcs.size() == 1 ? "this function is" : "these functions are") in TestFuncs()
256 PrintFunctionList(Funcs); in TestFuncs()
261 // will be in the clone and Funcs will still point to valid memory in TestFuncs()
271 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) { in TestFuncs()
272 Function *F = cast<Function>(VMap[Funcs[i]]); in TestFuncs()
489 // functions listed in Funcs. in TestFuncs()
1022 Expected<std::vector<Function *>> Funcs = in debugCodeGenerator()
1024 if (Error E = Funcs in debugCodeGenerator()
1027 Expected<std::vector<Function *>> Funcs = debugCodeGenerator() local
[all...]
H A DCrashDebugger.cpp252 bool ReduceCrashingFunctions::TestFuncs(std::vector<Function *> &Funcs) { in TestFuncs() argument
254 if (KeepMain && !is_contained(Funcs, BD.getProgram().getFunction("main"))) in TestFuncs()
263 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) { in TestFuncs()
264 Function *CMF = cast<Function>(VMap[Funcs[i]]); in TestFuncs()
266 assert(CMF->getFunctionType() == Funcs[i]->getFunctionType() && "wrong ty"); in TestFuncs()
267 assert(CMF->getName() == Funcs[i]->getName() && "wrong name"); in TestFuncs()
272 PrintFunctionList(Funcs); in TestFuncs()
327 Funcs.assign(Functions.begin(), Functions.end()); in TestFuncs()
H A DBugDriver.h272 void PrintFunctionList(const std::vector<Function *> &Funcs);
/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpTableToSwitch.cpp41 SmallVector<Function *, 10> Funcs; member
78 JumpTable.Funcs.reserve(N); in parseJumpTable()
88 JumpTable.Funcs.push_back(Func); in parseJumpTable()
117 IsVoid ? nullptr : BuilderTail.CreatePHI(CB->getType(), JT.Funcs.size()); in expandToSwitch()
119 for (auto [Index, Func] : llvm::enumerate(JT.Funcs)) { in expandToSwitch()
/llvm-project/llvm/tools/llvm-reduce/deltas/
H A DReduceArguments.cpp62 std::vector<Function *> Funcs; in extractArgumentsFromModule() local
66 Funcs.push_back(&F); in extractArgumentsFromModule()
77 for (auto *F : Funcs) { in extractArgumentsFromModule()
/llvm-project/llvm/test/CodeGen/NVPTX/
H A Dnofunc.ll12 @Funcs = local_unnamed_addr addrspace(1) externally_initialized
17 ; CHECK: Funcs[1] = {func}
/llvm-project/bolt/lib/Passes/
H A DPettisAndHansen.cpp101 std::vector<NodeId> Funcs; in pettisAndHansen() local
110 Funcs.push_back(F); in pettisAndHansen()
205 for (NodeId Fid : Funcs) in pettisAndHansen()
/llvm-project/clang/unittests/AST/
H A DDeclTest.cpp210 llvm::SmallVector<ast_matchers::BoundNodes, 2> Funcs = in TEST() local
213 EXPECT_EQ(Funcs.size(), 2U); in TEST()
214 const FunctionDecl *TemplateF = Funcs[0].getNodeAs<FunctionDecl>("f"); in TEST()
215 const FunctionDecl *SpecializedF = Funcs[1].getNodeAs<FunctionDecl>("f"); in TEST()
/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DUDTLayout.h123 ArrayRef<std::unique_ptr<PDBSymbolFunc>> funcs() const { return Funcs; } in funcs()
135 UniquePtrVector<PDBSymbolFunc> Funcs; variable
/llvm-project/clang/lib/AST/Interp/
H A DProgram.h
H A DDisasm.cpp
H A DProgram.cpp
/llvm-project/offload/plugins-nextgen/cuda/src/
H A Drtl.cpp1147 SmallVector<std::pair<StringRef, uint16_t>> Funcs;
1161 Funcs.emplace_back(*NameOrErr, Priority); in callGlobalCtorDtorCommon()
1165 llvm::sort(Funcs, [=](auto X, auto Y) { return X.second < Y.second; }); in callGlobalCtorDtorCommon()
1170 allocate(Funcs.size() * sizeof(void *), nullptr, TARGET_ALLOC_DEVICE); in callGlobalCtorDtorCommon() local
1175 auto *GlobalPtrStop = reinterpret_cast<uintptr_t *>(Buffer) + Funcs.size(); in callGlobalCtorDtorCommon()
1177 SmallVector<void *> FunctionPtrs(Funcs.size()); in callGlobalCtorDtorCommon()
1179 for (auto [Name, Priority] : Funcs) { in callGlobalCtorDtorCommon()
/llvm-project/llvm/unittests/ProfileData/
H A DCoverageMappingTest.cpp271 ArrayRef<OutputFunctionCoverageData> Funcs(OF); in readOutputFunctions() local
273 std::make_unique<CoverageMappingReaderMock>(Funcs)); in readOutputFunctions()
276 ArrayRef<OutputFunctionCoverageData> Funcs(OutputFunctions); in readOutputFunctions() local
278 std::make_unique<CoverageMappingReaderMock>(Funcs)); in readOutputFunctions()
1058 auto Funcs = LoadedCoverage->getCoveredFunctions(); in TEST()
1059 unsigned NumFuncs = std::distance(Funcs.begin(), Funcs.end()); in TEST()
1019 auto Funcs = LoadedCoverage->getCoveredFunctions(); TEST_P() local
/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp182 llvm::DenseSet<const FunctionDecl *> &Funcs) { in getMemberForAccessor()
184 Funcs.insert(FD); in getMemberForAccessor()
174 insertIfFunction(const Decl & D,llvm::DenseSet<const FunctionDecl * > & Funcs) insertIfFunction() argument
/llvm-project/libc/utils/HdrGen/
H A DPublicAPICommand.cpp
/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DGsymCreator.h137 std::vector<FunctionInfo> Funcs; variable
376 /// This method processes the list of function infos (Funcs) to identify and
/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp165 SmallVector<std::unique_ptr<GCOVFunction>, 16> Funcs;
823 Funcs.push_back(std::make_unique<GCOVFunction>(this, &F, SP, EndLine, in emitProfileNotes()
825 GCOVFunction &Func = *Funcs.back(); in emitProfileNotes()
965 for (auto &Func : Funcs) in emitProfileNotes()
1166 uint32_t FuncChecksum = Funcs.empty() ? 0 : Funcs[j]->getFuncChecksum(); in insertCounterWriteout()
160 SmallVector<std::unique_ptr<GCOVFunction>, 16> Funcs; global() member in __anon674c465d0211::GCOVProfiler
/llvm-project/llvm/tools/llvm-profgen/
H A DProfiledBinary.h501 void setProfiledFunctions(std::unordered_set<const BinaryFunction *> &Funcs) { in setProfiledFunctions()
502 ProfiledFunctions = Funcs; in setProfiledFunctions()
500 setProfiledFunctions(std::unordered_set<const BinaryFunction * > & Funcs) setProfiledFunctions() argument
/llvm-project/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp194 Funcs.push_back(std::move(Func)); in initializeChildren()

12