Home
last modified time | relevance | path

Searched refs:Functions (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.h50 size_t NumCoveredFunctions() const { return Functions.size(); } in NumCoveredFunctions()
53 auto It = Functions.find(FunctionId); in GetCounter()
54 if (It == Functions.end()) in GetCounter()
63 auto It = Functions.find(FunctionId); in GetNumberOfBlocks()
64 if (It == Functions.end()) return 0; in GetNumberOfBlocks()
70 auto It = Functions.find(FunctionId); in GetNumberOfCoveredBlocks()
71 if (It == Functions.end()) return 0; in GetNumberOfCoveredBlocks()
81 void clear() { Functions.clear(); } in clear()
111 std::unordered_map<size_t, CoverageVector> Functions; variable
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp244 SmallSetVector<Function *, 4> &Functions) { in optimizePTrueIntrinsicCalls() argument
247 for (auto *F : Functions) { in optimizePTrueIntrinsicCalls()
403 SmallSetVector<Function *, 4> &Functions) { in optimizeInstructions() argument
406 for (auto *F : Functions) { in optimizeInstructions()
431 SmallSetVector<Function *, 4> &Functions) { in optimizeFunctions() argument
434 Changed |= optimizePTrueIntrinsicCalls(Functions); in optimizeFunctions()
435 Changed |= optimizeInstructions(Functions); in optimizeFunctions()
442 SmallSetVector<Function *, 4> Functions; in runOnModule() local
456 Functions.insert(cast<Instruction>(U)->getFunction()); in runOnModule()
463 if (!Functions.empty()) in runOnModule()
[all …]
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/
H A Dstress_dtls.c56 f_t Functions[MAX_N_FUNCTIONS]; variable
64 if (!Functions[i]) break; in PrintStuff()
65 uintptr_t dtls = (uintptr_t)Functions[i](); in PrintStuff()
91 Functions[lib] = (f_t)dlsym(handle, buf); in main()
92 if (!Functions[lib]) { in main()
96 fprintf(stderr, "LIB[%03d] %s: %p\n", lib, buf, Functions[lib]); in main()
/llvm-project-15.0.7/compiler-rt/test/memprof/TestCases/
H A Dstress_dtls.c50 f_t Functions[MAX_N_FUNCTIONS]; variable
58 if (!Functions[i]) in PrintStuff()
60 uintptr_t dtls = (uintptr_t)Functions[i](); in PrintStuff()
86 Functions[lib] = (f_t)dlsym(handle, buf); in main()
87 if (!Functions[lib]) { in main()
91 fprintf(stderr, "LIB[%03d] %s: %p\n", lib, buf, Functions[lib]); in main()
/llvm-project-15.0.7/libc/benchmarks/automemcpy/lib/
H A DResultAnalyzer.cpp108 std::unordered_map<FunctionId, FunctionData, FunctionId::Hasher> Functions; in getThroughputs() local
112 auto &Function = Functions[S.Id.Function]; in getThroughputs()
118 for (auto &[FunctionId, Function] : Functions) { in getThroughputs()
127 void fillScores(MutableArrayRef<FunctionData> Functions) { in fillScores() argument
150 for (const auto &Function : Functions) { in fillScores()
160 for (auto &Function : Functions) { in fillScores()
172 void castVotes(MutableArrayRef<FunctionData> Functions) { in castVotes() argument
173 for (FunctionData &Function : Functions) { in castVotes()
185 for (FunctionData &Function : Functions) { in castVotes()
H A DResultAnalyzerMain.cpp144 std::vector<FunctionData> Functions = getThroughputs(Samples); in Main() local
145 fillScores(Functions); in Main()
146 castVotes(Functions); in Main()
149 std::sort(Functions.begin(), Functions.end(), in Main()
159 for (const FunctionData &Function : Functions) { in Main()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp62 static bool runImpl(CallGraphUpdater &CGU, SetVector<Function *> &Functions) { in runImpl() argument
64 for (auto *F : Functions) in runImpl()
71 for (Function *F : Functions) in runImpl()
82 for (Function *F : Functions) { in runImpl()
121 if (Functions.contains(Callee)) in runImpl()
141 for (Function *F : Functions) { in runImpl()
153 for (Function *F : Functions) { in runImpl()
166 SetVector<Function *> Functions; in runOnSCC() local
169 Functions.insert(F); in runOnSCC()
174 return runImpl(CGU, Functions); in runOnSCC()
H A DCalledValuePropagation.cpp75 CVPLatticeVal(std::vector<Function *> &&Functions) in CVPLatticeVal() argument
76 : LatticeState(FunctionSet), Functions(std::move(Functions)) { in CVPLatticeVal()
77 assert(llvm::is_sorted(this->Functions, Compare())); in CVPLatticeVal()
83 return Functions; in getFunctions()
90 return LatticeState == RHS.LatticeState && Functions == RHS.Functions; in operator ==()
94 return LatticeState != RHS.LatticeState || Functions != RHS.Functions; in operator !=()
108 std::vector<Function *> Functions; member in __anone891627b0111::CVPLatticeVal
H A DAttributor.cpp1943 for (Function *F : Functions) in identifyDeadInternalFunctions()
2183 if (!Functions.count(Fn)) in cleanupIR()
2215 for (Function *F : Functions) { in cleanupIR()
2592 Functions.insert(NewFn); in rewriteFunctionSignatures()
3275 if (Functions.empty()) in runAttributorOnFunctions()
3310 Functions.insert(NewF); in runAttributorOnFunctions()
3389 Functions.insert(&F); in run()
3414 if (Functions.empty()) in run()
3494 Functions.insert(&F); in runOnModule()
3525 Functions.insert(Fn); in runOnSCC()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp335 SimpleBindingMemoryManager(const SimpleBindingMMFunctions& Functions,
350 SimpleBindingMMFunctions Functions; member in __anon37a441510111::SimpleBindingMemoryManager
355 const SimpleBindingMMFunctions& Functions, in SimpleBindingMemoryManager() argument
357 : Functions(Functions), Opaque(Opaque) { in SimpleBindingMemoryManager()
358 assert(Functions.AllocateCodeSection && in SimpleBindingMemoryManager()
360 assert(Functions.AllocateDataSection && in SimpleBindingMemoryManager()
362 assert(Functions.FinalizeMemory && in SimpleBindingMemoryManager()
364 assert(Functions.Destroy && in SimpleBindingMemoryManager()
369 Functions.Destroy(Opaque); in ~SimpleBindingMemoryManager()
375 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID, in allocateCodeSection()
[all …]
/llvm-project-15.0.7/llvm/test/ObjectYAML/wasm/
H A Delem_section.yaml19 Functions:
24 Functions:
36 # CHECK: Functions: [ 1 ]
40 # CHECK: Functions: [ 4 ]
H A Dmultiple-tables.yaml56 Functions: [ 0, 0 ]
58 Functions:
117 # CHECK-NEXT: Functions: [ 0, 0 ]
119 # CHECK-NEXT: Functions:
/llvm-project-15.0.7/llvm/test/tools/llvm-xray/X86/
H A Daccount-simple-sorting.yaml32 #DEFAULT: Functions with latencies: 2
37 #COUNT-ASC: Functions with latencies: 2
42 #COUNT-DSC: Functions with latencies: 2
47 #MIN-ASC: Functions with latencies: 2
52 #MIN-DSC: Functions with latencies: 2
57 #MAX-ASC: Functions with latencies: 2
62 #MAX-DSC: Functions with latencies: 2
67 #SUM-ASC: Functions with latencies: 2
72 #SUM-DSC: Functions with latencies: 2
/llvm-project-15.0.7/libc/docs/
H A Dstrings.rst2 String Functions in LLVM-libc
52 Other Raw Memory Functions
64 String Memory Functions
80 String Examination Functions
100 String Conversion Functions
137 String Error Functions
148 Localized String Functions
162 \<name\>_s String Functions
H A Dstdio.rst2 StdIO Functions in LLVM-libc
23 Formatted Input/Output Functions
80 Unformatted ``FILE`` Input/Output Functions
/llvm-project-15.0.7/llvm/unittests/Transforms/IPO/
H A DAttributorTest.cpp52 SetVector<Function *> Functions; in TEST_F() local
55 Functions.insert(&F); in TEST_F()
61 Attributor A(Functions, InfoCache, AC); in TEST_F()
146 SetVector<Function *> Functions; in TEST_F() local
149 Functions.insert(&F); in TEST_F()
156 Attributor A(Functions, InfoCache, AC); in TEST_F()
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Dstack-sizes.test9 # RELOC-GNU: Size Functions
124 # SYMTAB-LLVM-NEXT: Functions: [?]
129 # SYMTAB-LLVM-NEXT: Functions: [?]
135 # SYMTAB-LLVM-NEXT: Functions: [?]
163 # SYM-LLVM-NEXT: Functions: [?]
167 # SYM-LLVM-NEXT: Functions: [?]
173 # SYM-LLVM-NEXT: Functions: [?]
205 # EXEC-LLVM-NEXT: Functions: [bar]
264 # SHORT-GNU-NEXT: Size Functions
271 # SHORT-LLVM-NEXT: Functions: [foo]
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DVecFuncs.def28 // Accelerate framework's Vector Functions
38 // Exponential and Logarithmic Functions
49 // Trigonometric Functions
59 // Hyperbolic Functions
70 // Exponential and Logarithmic Functions
76 // Trigonometric Functions
107 // Hyperbolic Functions
122 // GLIBC Vector math Functions
203 // IBM MASS library's vector Functions
239 // Trigonometric Functions
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp557 FunctionMap Functions; member in __anon0b9bcdd90211::StackSafetyDataFlowAnalysis
570 for (auto &F : Functions) in updateAllNodes()
580 : Functions(std::move(Functions)), in StackSafetyDataFlowAnalysis()
593 auto FnIt = Functions.find(Callee); in getArgumentAccessRange()
595 if (FnIt == Functions.end()) in getArgumentAccessRange()
653 for (auto &F : Functions) { in runDataFlow()
689 return Functions; in run()
809 if (Functions.empty()) in createGlobalStackSafetyInfo()
813 auto Copy = Functions; in createGlobalStackSafetyInfo()
828 auto &SrcF = Functions[F.first]; in createGlobalStackSafetyInfo()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddone_abilist.txt57 # Functions of memory allocators
75 # Functions that return a value that depends on the input, but the output might
87 # Functions that return a value that is data-dependent on the input.
133 # Functions that produce an output that does not depend on the input (shadow is
221 # Functions that produce output does not depend on the input (need to zero the
248 # Functions that produce an output that depend on the input (propagate the
266 # Functions that produce an output that is computed from the input, but is not
285 # Functions that take a callback (wrap the callback manually).
363 # Functions that take a callback (wrap the callback manually).
366 # Functions that produce output does not depend on the input (need to zero the
[all …]
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCCodeView.cpp80 if (FuncId >= Functions.size()) in getCVFunctionInfo()
82 if (Functions[FuncId].isUnallocatedFunctionInfo()) in getCVFunctionInfo()
84 return &Functions[FuncId]; in getCVFunctionInfo()
88 if (FuncId >= Functions.size()) in recordFunctionId()
89 Functions.resize(FuncId + 1); in recordFunctionId()
92 if (!Functions[FuncId].isUnallocatedFunctionInfo()) in recordFunctionId()
96 Functions[FuncId].ParentFuncIdPlusOne = MCCVFunctionInfo::FunctionSentinel; in recordFunctionId()
103 if (FuncId >= Functions.size()) in recordInlinedCallSiteId()
104 Functions.resize(FuncId + 1); in recordInlinedCallSiteId()
107 if (!Functions[FuncId].isUnallocatedFunctionInfo()) in recordInlinedCallSiteId()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp239 MethodAddressVector Functions; in notifyObjectLoaded() local
286 Functions.push_back((void *)Addr); in notifyObjectLoaded()
331 LoadedObjectMap[ObjData] = Functions; in notifyObjectLoaded()
362 MethodAddressVector &Functions = OI->second; in notifyFreeingObject() local
365 for (MethodAddressVector::iterator FI = Functions.begin(), in notifyFreeingObject()
366 FE = Functions.end(); in notifyFreeingObject()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DGCMetadata.h168 FuncInfoVec::iterator funcinfo_begin() { return Functions.begin(); } in funcinfo_begin()
169 FuncInfoVec::iterator funcinfo_end() { return Functions.end(); } in funcinfo_end()
173 FuncInfoVec Functions;
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DGCMetadata.cpp73 Functions.push_back(std::make_unique<GCFunctionInfo>(F, *S)); in getFunctionInfo()
74 GCFunctionInfo *GFI = Functions.back().get(); in getFunctionInfo()
80 Functions.clear(); in clear()
/llvm-project-15.0.7/bolt/lib/Profile/
H A DYAMLProfileReader.cpp45 std::map<uint64_t, BinaryFunction> &Functions) { in buildNameMaps() argument
46 for (yaml::bolt::BinaryFunctionProfile &YamlBF : YamlBP.Functions) { in buildNameMaps()
55 for (auto &BFI : Functions) { in buildNameMaps()
300 YamlProfileToFunction.resize(YamlBP.Functions.size() + 1); in readProfile()
386 for (yaml::bolt::BinaryFunctionProfile &YamlBF : YamlBP.Functions) in readProfile()
396 for (yaml::bolt::BinaryFunctionProfile &YamlBF : YamlBP.Functions) { in readProfile()

12345678910>>...14