Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 1632) sorted by relevance

12345678910>>...66

/llvm-project-15.0.7/llvm/lib/Support/BLAKE3/
H A Dblake3_dispatch.c100 features |= SSE2; in get_cpu_features()
103 features |= SSE2; in get_cpu_features()
106 features |= SSSE3; in get_cpu_features()
108 features |= SSE41; in get_cpu_features()
129 return features; in get_cpu_features()
143 MAYBE_UNUSED(features); in blake3_compress_in_place()
151 if (features & SSE41) { in blake3_compress_in_place()
157 if (features & SSE2) { in blake3_compress_in_place()
186 if (features & SSE2) { in blake3_compress_xof()
211 if (features & AVX2) { in blake3_hash_many()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Damdgpu-features.cl3 // Check that appropriate features are defined for every supported AMDGPU
45 // GFX600: "target-features"="+s-memtime-inst"
46 // GFX601: "target-features"="+s-memtime-inst"
47 // GFX602: "target-features"="+s-memtime-inst"
48 // GFX700: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
49 // GFX701: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
50 // GFX702: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
51 // GFX703: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
52 // GFX704: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
53 // GFX705: "target-features"="+ci-insts,+flat-address-space,+s-memtime-inst"
[all …]
/llvm-project-15.0.7/libc/cmake/modules/
H A DLLVMLibCCheckCpuFeatures.cmake2 # Cpu features definition and flags
18 # Function to check whether the target CPU supports the provided set of features.
22 # <list of cpu features>
24 function(cpu_supports output_var features)
25 _intersection(var "${LIBC_CPU_FEATURES}" "${features}")
26 if("${var}" STREQUAL "${features}")
62 set(LIBC_CPU_FEATURES "" CACHE PATH "Host supported CPU features")
67 message(FATAL_ERROR "Unsupported CPU features: ${cpu_features}")
69 message(STATUS "Set CPU features: ${cpu_features}")
80 message(STATUS "Set CPU features: ${run_output}")
/llvm-project-15.0.7/llvm/tools/llvm-c-test/
H A Ddisassemble.c37 static void do_disassemble(const char *triple, const char *features, in do_disassemble() argument
39 LLVMDisasmContextRef D = LLVMCreateDisasmCPUFeatures(triple, "", features, in do_disassemble()
69 const char *features = tokens[1]; in handle_line() local
72 printf("triple: %s, features: %s\n", triple, features); in handle_line()
73 if (!strcmp(features, "NULL")) in handle_line()
74 features = ""; in handle_line()
83 do_disassemble(triple, features, disbuf, disbuflen); in handle_line()
/llvm-project-15.0.7/lldb/utils/lit-cpuid/
H A Dlit-cpuid.cpp23 StringMap<bool> features; in main() local
25 if (!sys::getHostCPUFeatures(features)) in main()
28 if (features["sse"]) in main()
30 if (features["avx"]) in main()
32 if (features["avx512f"]) in main()
/llvm-project-15.0.7/llvm/utils/lit/lit/llvm/
H A Dconfig.py21 features = config.available_features
57 features.add('shell')
75 features.add('system-darwin')
80 features.add('system-linux')
86 features.add('system-aix')
96 features.add('native')
102 features.add('asan')
104 features.add('msan')
106 features.add('ubsan')
110 features.add('zlib')
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/LowerTypeTests/
H A Dfunction-arm-thumb.ll5 define void @f1() "target-features"="+thumb-mode" !type !0 {
9 define void @g1() "target-features"="-thumb-mode" !type !0 {
13 define void @f2() "target-features"="+thumb-mode" !type !1 {
17 define void @g2() "target-features"="-thumb-mode" !type !1 {
21 define void @h2() "target-features"="-thumb-mode" !type !1 {
46 ; CHECK-DAG: attributes #[[AA]] = { naked nounwind "target-features"="-thumb-mode" }
47 ; CHECK-DAG: attributes #[[AT]] = { naked nounwind "target-cpu"="cortex-a8" "target-features"="+thu…
/llvm-project-15.0.7/llvm/test/Other/
H A Dopt-override-mcpu-mattr.ll4 ; target-cpu and target-features using command line options -mcpu and
7 ; CHECK: attributes #0 = { nounwind readnone ssp uwtable "target-cpu"="broadwell" "target-features"…
8 ; CHECK: attributes #1 = { nounwind readnone ssp uwtable "target-cpu"="core2" "target-features"="+s…
20 attributes #0 = { nounwind readnone ssp uwtable "target-features"="+ssse3,+cx16,+sse,+sse2,+sse3" "…
21 attributes #1 = { nounwind readnone ssp uwtable "target-cpu"="core2" "target-features"="+ssse3,+cx1…
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dselnek.ll13 define void @calc_z() nounwind "target-cpu"="mips16" "target-features"="+mips16,+o32" {
78 define i32 @main() nounwind "target-cpu"="mips16" "target-features"="+mips16,+o32" {
80 call void @calc_z() "target-cpu"="mips16" "target-features"="+mips16,+o32"
82 …i8], [5 x i8]* @.str, i32 0, i32 0), i32 %0) "target-cpu"="mips16" "target-features"="+mips16,+o32"
84 …i8], [5 x i8]* @.str, i32 0, i32 0), i32 %1) "target-cpu"="mips16" "target-features"="+mips16,+o32"
86 …i8], [5 x i8]* @.str, i32 0, i32 0), i32 %2) "target-cpu"="mips16" "target-features"="+mips16,+o32"
88 …i8], [5 x i8]* @.str, i32 0, i32 0), i32 %3) "target-cpu"="mips16" "target-features"="+mips16,+o32"
92 declare i32 @printf(i8*, ...) "target-cpu"="mips16" "target-features"="+mips16,+o32"
94 attributes #0 = { nounwind "target-cpu"="mips16" "target-features"="+mips16,+o32" }
95 attributes #1 = { "target-cpu"="mips16" "target-features"="+mips16,+o32" }
/llvm-project-15.0.7/utils/bazel/llvm-project-overlay/llvm/
H A Dcc_plugin_library.bzl20 …include_prefix = None, strip_include_prefix = None, alwayslink = False, features = [], tags = [], …
38 features = features,
61 features = features,
72 features = features,
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A Dset_cover_merge.test12 CHECK1: MERGE-OUTER: 0 new files with 0 new features added
24 CHECK2: MERGE-OUTER: 3 new files with 3 new features added
29 CHECK3: MERGE-OUTER: 0 new files with 0 new features added
44 # T1 is empty, T2 and T3 have overlapping features. The optimal solution
45 # consists of 2 files: T2/a, T3/a. These files cover 6 new features.
47 # it covers more features than any other file.
50 CHECK_OVERLAP: MERGE-OUTER: 2 new files with 6 new features added
69 # T3/a covers almost all of the available features.
72 CHECK_OVERLAP2: MERGE-OUTER: 6 new files with 6 new features added
/llvm-project-15.0.7/lldb/test/API/macosx/posix_spawn/
H A DTestLaunchProcessPosixSpawn.py11 features = subprocess.check_output(["sysctl", "machdep.cpu"])
12 return "AVX2" in features.decode('utf-8')
16 features = subprocess.check_output(["sysctl", "machdep.cpu"])
17 return "Apple M" in features.decode('utf-8')
/llvm-project-15.0.7/lld/test/wasm/
H A Dtarget-feature-required.yaml3 # RUN: wasm-ld --no-entry --features=foo,bar,baz -o - %t1.o | obj2yaml | FileCheck %s --check-prefi…
5 # RUN: not wasm-ld --no-entry --features=bar,baz,quux -o /dev/null %t1.o 2>&1 | FileCheck %s --chec…
7 # RUN: wasm-ld --no-entry --no-check-features --features=bar,baz,quux -o - %t1.o | obj2yaml | FileC…
15 # RUN: wasm-ld --no-entry --no-check-features -o - %t1.o %t.disallowed.o | obj2yaml | FileCheck %s …
20 # RUN: wasm-ld --no-entry --no-check-features -o - %t1.o %t.none.o | obj2yaml | FileCheck %s --chec…
74 …d by {{.*}}target-feature-required.yaml.tmp.disallowed.o. Use --no-check-features to suppress.{{$}}
83 …o, required by {{.*}}target-feature-required.yaml.tmp1.o. Use --no-check-features to suppress.{{$}}
H A Dshared-memory.yaml3 # RUN: wasm-ld --no-entry --shared-memory --features=atomics,bulk-memory %t1.o -o - | obj2yaml | Fi…
7 # RUN: not wasm-ld --no-entry --shared-memory --max-memory=131072 --features=bulk-memory %t1.o -o -…
9 # RUN: not wasm-ld --no-entry --shared-memory --max-memory=131072 --features=atomics %t1.o -o - 2>&…
11 # RUN: wasm-ld --relocatable --features=atomics %t1.o -o - | obj2yaml | FileCheck %s --check-prefix…
13 # RUN: wasm-ld --no-entry --shared-memory --max-memory=131072 --features=atomics,bulk-memory %t1.o …
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dlong-calls.ll64 attributes #0 = { minsize nounwind "target-cpu"="hexagonv60" "target-features"="+long-calls" }
65 attributes #1 = { nounwind "target-cpu"="hexagonv60" "target-features"="+long-calls" }
66 attributes #2 = { noreturn nounwind "target-cpu"="hexagonv60" "target-features"="+long-calls" }
68 attributes #3 = { minsize nounwind "target-cpu"="hexagonv60" "target-features"="-long-calls" }
69 attributes #4 = { nounwind "target-cpu"="hexagonv60" "target-features"="-long-calls" }
70 attributes #5 = { noreturn nounwind "target-cpu"="hexagonv60" "target-features"="-long-calls" }
/llvm-project-15.0.7/llvm/test/Transforms/Inline/ARM/
H A Dinline-target-attr.ll56 attributes #0 = { "target-cpu"="generic" "target-features"="+dsp,+neon" }
57 attributes #1 = { "target-cpu"="generic" "target-features"="+dsp,+neon,+fp16" }
58 attributes #2 = { "target-cpu"="generic" "target-features"="+dsp,+neon,+fp16,+thumb-mode" }
59 attributes #3 = { "target-cpu"="generic" "target-features"="+dsp,+neon,+strict-align" }
60 attributes #4 = { "target-cpu"="generic" "target-features"="+dsp,+neon,+fp16,+soft-float" }
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dpropagate-attributes-clone.ll61 ; OPT: attributes #0 = { {{.*}} "amdgpu-waves-per-eu"="1,1" "target-features"="+wavefrontsize64" }
62 ; OPT: attributes #1 = { {{.*}} "target-features"="{{.*}},-wavefrontsize16,-wavefrontsize32,+wavefr…
63 ; OPT: attributes #2 = { {{.*}} "amdgpu-waves-per-eu"="2,4" "target-features"="+wavefrontsize32" }
64 ; OPT: attributes #3 = { {{.*}} "target-features"="+wavefrontsize64" }
65 ; OPT: attributes #4 = { {{.*}} "amdgpu-waves-per-eu"="2,4" "target-features"="{{.*}},-wavefrontsiz…
141 attributes #0 = { nounwind "target-features"="+wavefrontsize32" "amdgpu-waves-per-eu"="2,4" }
142 attributes #1 = { noinline nounwind "target-features"="+wavefrontsize64" "amdgpu-waves-per-eu"="1,1…
143 attributes #2 = { nounwind "target-features"="+wavefrontsize64" }
144 attributes #3 = { nounwind "target-features"="+wavefrontsize64" }
145 attributes #4 = { noinline nounwind "target-features"="+wavefrontsize64" "amdgpu-waves-per-eu"="2,4…
H A Dpropagate-attributes-single-set.ll12 ; OPT: attributes #0 = { {{.*}} "target-features"="+wavefrontsize64" }
13 ; OPT: attributes #1 = { {{.*}} "target-features"="{{.*}},-wavefrontsize16,+wavefrontsize32,-wavefr…
14 ; OPT: attributes #2 = { {{.*}} "target-features"="+wavefrontsize32
73 attributes #0 = { nounwind "target-features"="+wavefrontsize32" }
74 attributes #1 = { noinline nounwind "target-features"="+wavefrontsize64" }
/llvm-project-15.0.7/llvm/test/Transforms/Inline/WebAssembly/
H A Dinline-target-features.ll5 ; they have a subset of the caller's features.
39 attributes #0 = { "target-cpu"="mvp" "target-features"="+simd128"}
40 attributes #1 = { "target-cpu"="bleeding-edge" "target-features"="+simd128" }
41 attributes #2 = { "target-cpu"="mvp" "target-features"="+multivalue" }
/llvm-project-15.0.7/clang/test/Misc/
H A Dr600.languageOptsOpenCL.cl5 …x cl -cl-std=CL %s -verify -triple r600-unknown-unknown -Wpedantic-core-features -DTEST_CORE_FEATU…
6 …l -cl-std=CL1.1 %s -verify -triple r600-unknown-unknown -Wpedantic-core-features -DTEST_CORE_FEATU…
7 …l -cl-std=CL1.2 %s -verify -triple r600-unknown-unknown -Wpedantic-core-features -DTEST_CORE_FEATU…
11 …x cl -cl-std=CL %s -verify -triple r600-unknown-unknown -Wpedantic-core-features -DTEST_CORE_FEATU…
12 …l -cl-std=CL1.1 %s -verify -triple r600-unknown-unknown -Wpedantic-core-features -DTEST_CORE_FEATU…
13 …l -cl-std=CL1.2 %s -verify -triple r600-unknown-unknown -Wpedantic-core-features -DTEST_CORE_FEATU…
17 …x cl -cl-std=CL %s -verify -triple r600-unknown-unknown -Wpedantic-core-features -DTEST_CORE_FEATU…
18 …l -cl-std=CL1.1 %s -verify -triple r600-unknown-unknown -Wpedantic-core-features -DTEST_CORE_FEATU…
19 …l -cl-std=CL1.2 %s -verify -triple r600-unknown-unknown -Wpedantic-core-features -DTEST_CORE_FEATU…
65 // Core features in CL 1.1
/llvm-project-15.0.7/llvm/utils/lit/lit/
H A DTest.py319 features = self.config.available_features
331 if BooleanExpression.evaluate(item, features, triple):
365 def getMissingRequiredFeaturesFromList(self, features): argument
368 if not BooleanExpression.evaluate(item, features)]
380 features = self.config.available_features
381 return self.getMissingRequiredFeaturesFromList(features)
392 features = self.config.available_features
397 if BooleanExpression.evaluate(item, features, triple)]
/llvm-project-15.0.7/third-party/benchmark/bindings/python/
H A Dbuild_defs.bzl6 def py_extension(name, srcs, hdrs = [], copts = [], features = [], deps = []):
15 features = features,
/llvm-project-15.0.7/clang/lib/Basic/
H A DLangStandards.cpp16 #define LANGSTANDARD(id, name, lang, desc, features) \ argument
17 static const LangStandard Lang_##id = {name, desc, features, Language::lang};
24 #define LANGSTANDARD(id, name, lang, desc, features) \ in getLangStandardForKind() argument
33 #define LANGSTANDARD(id, name, lang, desc, features) .Case(name, lang_##id) in getLangKind() argument
/llvm-project-15.0.7/flang/tools/f18-parse-demo/
H A Df18-parse-demo.cpp222 options.features.IsEnabled( in CompileFortran()
243 options.features.IsEnabled( in CompileFortran()
300 options.features.Enable( in main()
348 options.features.Enable( in main()
351 options.features.Enable( in main()
356 options.features.Enable(Fortran::common::LanguageFeature::OpenMP); in main()
361 options.features.Enable(Fortran::common::LanguageFeature::OldDebugLines); in main()
369 options.features.Enable( in main()
372 options.features.Enable( in main()
445 options.features.WarnOnAllNonstandard(); in main()
[all …]
/llvm-project-15.0.7/llvm/test/Bindings/llvm-c/ARM/
H A Ddisassemble.test4 ;CHECK: triple: armv8-linux-gnu, features: +aes
9 ;CHECK: triple: armv8-linux-gnu, features: -aes
17 ;CHECK: triple: arm-linux-android, features: NULL

12345678910>>...66