Home
last modified time | relevance | path

Searched refs:Function (Results 1 – 25 of 5247) sorted by relevance

12345678910>>...210

/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.convertible/
H A Dconvertible_to.pass.cpp155 CheckNotConvertibleTo<Function, Function>(); in main()
160 CheckConvertibleTo<Function, Function&>(); in main()
161 CheckConvertibleTo<Function, Function*>(); in main()
162 CheckConvertibleTo<Function, Function* const>(); in main()
164 static_assert(std::convertible_to<Function, Function&&>); in main()
175 CheckNotConvertibleTo<Function&, Function>(); in main()
176 CheckConvertibleTo<Function&, Function&>(); in main()
178 CheckConvertibleTo<Function&, Function*>(); in main()
187 CheckNotConvertibleTo<Function*, Function>(); in main()
188 CheckNotConvertibleTo<Function*, Function&>(); in main()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.rel/
H A Dis_convertible.pass.cpp81 test_is_not_convertible<Function, Function> (); in main()
82 test_is_convertible<Function, Function&> (); in main()
83 test_is_convertible<Function, Function*> (); in main()
84 test_is_convertible<Function, Function*const> (); in main()
86 static_assert(( std::is_convertible<Function, Function&&>::value), ""); in main()
96 test_is_not_convertible<Function&, Function> (); in main()
97 test_is_convertible<Function&, Function&> (); in main()
99 test_is_convertible<Function&, Function*> (); in main()
108 test_is_not_convertible<Function*, Function> (); in main()
109 test_is_not_convertible<Function*, Function&> (); in main()
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Dmemory-ops.mlir158 %1 = spv.Load "Function" %0 : f32
246 %1 = spv.Load "Function" : f32
255 %1 = spv.Load "Function" %0
366 spv.Store "Function" %0, %arg0 : f32
400 spv.Store "Function" , %arg0 : f32
409 spv.Store "Function" %0 : f32
581 "spv.CopyMemory"(%0, %1) {} : (!spv.ptr<f32, Function>, !spv.ptr<i32, Function>) -> ()
621 // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Volatile"] : f32
624 // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 4] : f32
627 // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 4], ["Volatile"] : f32
[all …]
/llvm-project-15.0.7/bolt/lib/Passes/
H A DValidateInternalCalls.cpp143 ReachingInsns<false> RI(Function); in fixCFGForIC()
209 fixCFGForPIC(Function); in analyzeFunction()
210 while (fixCFGForIC(Function)) { in analyzeFunction()
242 Function.dump(); in analyzeFunction()
252 Function.dump(); in analyzeFunction()
288 Function.dump(); in analyzeFunction()
319 Function.setSimple(false); in runOnFunctions()
338 if (!analyzeFunction(*Function)) in runOnFunctions()
339 Invalid.insert(Function); in runOnFunctions()
340 clearAnnotations(*Function); in runOnFunctions()
[all …]
H A DPatchEntries.cpp39 BinaryFunction &Function = BFI.second; in runOnFunctions() local
40 if (!BC.shouldEmit(Function) && !Function.hasExternalRefRelocations()) { in runOnFunctions()
62 BinaryFunction &Function = BFI.second; in runOnFunctions() local
65 if (!BC.shouldEmit(Function)) in runOnFunctions()
69 if (!opts::ForcePatch && !Function.hasEHRanges() && in runOnFunctions()
70 Function.getSize() < PatchThreshold) in runOnFunctions()
79 bool Success = Function.forEachEntryPoint([&](uint64_t Offset, in runOnFunctions()
92 if (NextValidByte > Function.getMaxSize()) { in runOnFunctions()
94 outs() << "BOLT-INFO: function " << Function in runOnFunctions()
107 Function.setIgnored(); in runOnFunctions()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-symbolizer/
H A Dsym-verbose.test22 #CHECK-NEXT: Function start line: 4
29 #CHECK-NEXT: Function start line: 9
38 #CHECK-NEXT: Function start line: 4
46 #CHECK-NEXT: Function start line: 9
55 #CHECK-NEXT: Function start line: 4
63 #CHECK-NEXT: Function start line: 9
72 #CHECK-NEXT: Function start line: 4
79 #CHECK-NEXT: Function start line: 9
89 #CHECK-NEXT: Function start line: 4
97 #CHECK-NEXT: Function start line: 9
[all …]
/llvm-project-15.0.7/mlir/test/Target/SPIRV/
H A Dmemory-ops.mlir67 // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} : f32
68 spv.CopyMemory "Function" %0, "Function" %1 : f32
90 // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 4] : f32
91 spv.CopyMemory "Function" %0, "Function" %1 ["Aligned", 4] : f32
93 // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Volatile"] : f32
94 spv.CopyMemory "Function" %0, "Function" %1 ["Volatile"] : f32
96 // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Volatile"], ["Volatile"] : f32
97 spv.CopyMemory "Function" %0, "Function" %1 ["Volatile"], ["Volatile"] : f32
100 spv.CopyMemory "Function" %0, "Function" %1 ["Aligned", 4], ["Volatile"] : f32
103 spv.CopyMemory "Function" %0, "Function" %1 ["Volatile"], ["Aligned", 4] : f32
[all …]
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITTestBase.h48 Function *Result = in startFunction()
63 Function *insertSimpleCallFunction(Module *M, Function *Callee) { in insertSimpleCallFunction()
80 Function *Result = startFunction( in insertMainFunction()
93 Function *Result = startFunction(
100 Function::arg_iterator args = Result->arg_begin();
113 Function *Result = in insertExternalReferenceToFunction()
119 Function *insertExternalReferenceToFunction(Module *M, Function *Func) { in insertExternalReferenceToFunction()
120 Function *Result = Function::Create(Func->getFunctionType(), in insertExternalReferenceToFunction()
152 Function *insertAccumulateFunction(Module *M,
155 Function *Result =
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DUnusedParametersCheck.cpp26 bool isOverrideMethod(const FunctionDecl *Function) { in isOverrideMethod() argument
63 Function->getParamDecl(Index), in removeParameter()
64 Index + 1 < Function->getNumParams() ? Function->getParamDecl(Index + 1) in removeParameter()
148 if (Function->isExternallyVisible() || in warnOnUnusedParameter()
150 !Indexer->getOtherRefs(Function).empty() || isOverrideMethod(Function) || in warnOnUnusedParameter()
151 isLambdaCallOperator(Function)) { in warnOnUnusedParameter()
179 if (!Function->hasWrittenPrototype() || Function->isTemplateInstantiation()) in check()
193 (Function->getBody()->child_begin() != in check()
194 Function->getBody()->child_end()) || in check()
195 (isa<CXXConstructorDecl>(Function) && in check()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DCoverageFilters.cpp22 const coverage::FunctionRecord &Function) const { in matches()
23 StringRef FuncName = Function.Name; in matches()
29 const coverage::FunctionRecord &Function) const { in matches()
30 return llvm::Regex(Regex).match(Function.Name); in matches()
39 const coverage::FunctionRecord &Function) const { in matches()
46 const coverage::FunctionRecord &Function) const { in matches()
52 const coverage::FunctionRecord &Function) const { in matches()
59 const coverage::FunctionRecord &Function) const { in matches()
71 if (Filter->matches(CM, Function)) in matches()
87 const coverage::FunctionRecord &Function) const { in matches()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/OpenMP/
H A Dadd_attributes.ll692 ; CHECK-NOT: Function Attrs
737 ; CHECK-NOT: Function Attrs
740 ; CHECK-NOT: Function Attrs
743 ; CHECK-NOT: Function Attrs
746 ; CHECK-NOT: Function Attrs
749 ; CHECK-NOT: Function Attrs
752 ; CHECK-NOT: Function Attrs
755 ; CHECK-NOT: Function Attrs
758 ; CHECK-NOT: Function Attrs
761 ; CHECK-NOT: Function Attrs
[all …]
/llvm-project-15.0.7/libc/benchmarks/automemcpy/lib/
H A DResultAnalyzer.cpp112 auto &Function = Functions[S.Id.Function]; in getThroughputs() local
119 Function.Id = FunctionId; in getThroughputs()
122 Output.push_back(std::move(Function)); in getThroughputs()
150 for (const auto &Function : Functions) { in fillScores() local
160 for (auto &Function : Functions) { in fillScores() local
173 for (FunctionData &Function : Functions) { in castVotes()
174 Function.ScoresGeoMean = 1.0; in castVotes()
178 Function.ScoresGeoMean *= Score; in castVotes()
180 ++(Function.GradeHisto[G]); in castVotes()
185 for (FunctionData &Function : Functions) { in castVotes()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Attributor/reduced/
H A Dregister_benchmark_test.ll177 ; Function Attrs: uwtable
182 ; Function Attrs: uwtable
193 ; Function Attrs: uwtable
202 ; Function Attrs: uwtable
226 ; Function Attrs: uwtable
234 ; Function Attrs: uwtable
242 ; Function Attrs: uwtable
248 ; Function Attrs: uwtable
251 ; Function Attrs: uwtable
254 ; Function Attrs: uwtable
[all …]
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DMachORewriteInstance.cpp286 Function->setOutputAddress(Function->getAddress()); in discoverFileObjects()
297 Function.setMaxSize(Function.getSize()); in discoverFileObjects()
323 Function.getFileOffset() + Function.getMaxSize()) in discoverFileObjects()
333 if (!Function.isSimple()) in disassembleFunctions()
335 Function.disassemble(); in disassembleFunctions()
344 if (!Function.isSimple()) in buildFunctionsCFG()
356 if (Function.empty()) in postProcessFunctions()
572 if (!Function.isSimple()) in rewriteFile()
575 if (!opts::Instrument && (Function.getImageSize() > Function.getMaxSize())) in rewriteFile()
580 Function.getImageSize(), Function.getFileOffset()); in rewriteFile()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DSCCPSolver.h29 class Function; variable
71 void addAnalysis(Function &F, AnalysisResultsForFn A);
80 DomTreeUpdater getDTU(Function &F);
91 void addTrackedFunction(Function *F);
94 void addToMustPreserveReturnsInFunctions(Function *F);
97 bool mustPreserveReturn(Function *F);
99 void addArgumentTrackedFunction(Function *F);
103 bool isArgumentTrackedFunction(Function *F);
113 bool resolvedUndefsIn(Function &F);
160 void markArgInFuncSpecialization(Function *F,
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPropagateAttributes.cpp100 Clone(const FnProperties &Props, Function *OrigF, Function *NewF) : in Clone()
104 Function *OrigF;
105 Function *NewF;
114 SmallSet<Function *, 32> Roots;
125 Function *cloneWithProperties(Function &F, const FnProperties &NewProps);
143 bool process(Function &F);
199 Function *
225 SmallSet<Function *, 32> NewRoots; in process()
226 SmallSet<Function *, 32> Replaced; in process()
301 for (Function *F : Replaced) { in process()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dfp16instrinsmc.ll15 ; Function Attrs: nounwind
36 ; Function Attrs: nounwind
49 ; Function Attrs: nounwind
71 ; Function Attrs: nounwind
84 ; Function Attrs: nounwind
96 ; Function Attrs: nounwind
108 ; Function Attrs: nounwind
119 ; Function Attrs: nounwind
122 ; Function Attrs: nounwind
133 ; Function Attrs: nounwind
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h32 class Function; variable
109 Function *AutoreleaseRV = nullptr;
112 Function *Release = nullptr;
115 Function *Retain = nullptr;
118 Function *RetainBlock = nullptr;
121 Function *Autorelease = nullptr;
124 Function *StoreStrong = nullptr;
127 Function *RetainRV = nullptr;
130 Function *UnsafeClaimRV = nullptr;
133 Function *RetainAutorelease = nullptr;
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DHotColdSplitting.h36 function_ref<BlockFrequencyInfo *(Function &)> GBFI, in HotColdSplitting()
37 function_ref<TargetTransformInfo &(Function &)> GTTI, in HotColdSplitting()
39 function_ref<AssumptionCache *(Function &)> LAC) in HotColdSplitting()
44 bool isFunctionCold(const Function &F) const;
45 bool shouldOutlineFrom(const Function &F) const;
46 bool outlineColdRegions(Function &F, bool HasProfileSummary);
47 Function *extractColdRegion(const BlockSequence &Region,
54 function_ref<BlockFrequencyInfo *(Function &)> GetBFI;
55 function_ref<TargetTransformInfo &(Function &)> GetTTI;
56 std::function<OptimizationRemarkEmitter &(Function &)> *GetORE;
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp252 void replaceDirectCallers(Function *Old, Function *New);
257 void mergeTwoFunctions(Function *F, Function *G);
274 void writeThunk(Function *F, Function *G);
277 void writeAlias(Function *F, Function *G);
281 bool writeThunkOrAlias(Function *F, Function *G);
348 Function *F1 = cast<Function>(*I); in doFunctionalCheck()
349 Function *F2 = cast<Function>(*J); in doFunctionalCheck()
370 Function *F3 = cast<Function>(*K); in doFunctionalCheck()
454 Function *F = cast<Function>(I); in runOnModule()
681 void MergeFunctions::writeThunk(Function *F, Function *G) { in writeThunk()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dp9-vector-compares-and-counts.ll4 ; Function Attrs: nounwind readnone
13 ; Function Attrs: nounwind readnone
16 ; Function Attrs: nounwind readnone
26 ; Function Attrs: nounwind readnone
29 ; Function Attrs: nounwind readnone
38 ; Function Attrs: nounwind readnone
41 ; Function Attrs: nounwind readnone
50 ; Function Attrs: nounwind readnone
53 ; Function Attrs: nounwind readnone
62 ; Function Attrs: nounwind readnone
[all …]
/llvm-project-15.0.7/lldb/source/Symbol/
H A DFunction.cpp232 Function::Function(CompileUnit *comp_unit, lldb::user_id_t func_uid, in Function() function in Function
242 Function::~Function() = default;
345 Block &Function::GetBlock(bool can_create) { in GetBlock()
420 Function *Function::CalculateSymbolContextFunction() { return this; } in CalculateSymbolContextFunction()
461 size_t Function::MemorySize() const { in MemorySize()
466 bool Function::GetIsOptimized() { in GetIsOptimized()
477 bool Function::IsTopLevelFunction() { in IsTopLevelFunction()
500 Type *Function::GetType() { in GetType()
521 CompilerType Function::GetCompilerType() { in GetCompilerType()
528 uint32_t Function::GetPrologueByteSize() { in GetPrologueByteSize()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/tweaks/
H A DPopulateSwitchTests.cpp30 Function, in TEST_F()
36 Function, in TEST_F()
42 Function, in TEST_F()
51 Function, in TEST_F()
60 Function, in TEST_F()
81 Function, in TEST_F()
87 Function, in TEST_F()
93 Function, in TEST_F()
99 Function, in TEST_F()
209 Function, in TEST_F()
[all …]
/llvm-project-15.0.7/lldb/test/API/lang/cpp/breakpoint-commands/
H A Dnested.cpp11 int Function () in Function() function in Foo::Bar::Baz
24 int Function () in Function() function in Foo::Bar::Baz2
34 int Function () in Function() function
46 int Function () in Function() function in Baz
56 Function () in Function() function
68 printf ("Yup, got %d from Baz.\n", mine.Function()); in main()
69 printf ("Yup, got %d from Baz.\n", mine2.Function()); in main()
70 printf ("Yup, got %d from Baz.\n", bare_baz.Function()); in main()
71 printf ("And got %d from Bar.\n", Foo::Bar::Function()); in main()
72 printf ("And got %d from ::.\n", ::Function()); in main()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cpp52 #define LLVM_SYMBOLIZER_GET_FUNC(Function) \ argument
53 ((__interceptor_##Function) \
54 ? (__interceptor_##Function) \
55 : reinterpret_cast<decltype(&Function)>(dlsym(RTLD_NEXT, #Function)))
57 #define LLVM_SYMBOLIZER_INTERCEPTOR1(Function, ...) \ argument
58 GetTypes<__VA_ARGS__>::Result __interceptor_##Function( \
60 GetTypes<__VA_ARGS__>::Result Function( \
62 return LLVM_SYMBOLIZER_GET_FUNC(Function)(arg0); \
65 #define LLVM_SYMBOLIZER_INTERCEPTOR2(Function, ...) \ argument
66 GetTypes<__VA_ARGS__>::Result __interceptor_##Function( \
[all …]

12345678910>>...210