Home
last modified time | relevance | path

Searched refs:capability (Results 1 – 25 of 57) sorted by relevance

123

/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-capabilities.c3 typedef int __attribute__((capability("role"))) ThreadRole;
8 union __attribute__((capability("mutex"))) MutexUnion { int a; char* b; };
9 typedef union { int a; char* b; } __attribute__((capability("mutex"))) MutexUnion2;
12 struct __attribute__((capability("custom"))) CustomName {};
14 int Test1 __attribute__((capability("test1"))); // expected-error {{'capability' attribute only ap…
20 struct __attribute__((capability(12))) Test3 {}; // expected-error {{'capability' attribute require…
23 struct __attribute__((capability)) Test5 {}; // expected-error {{'capability' attribute takes one a…
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Dtarget-env.mlir9 // Kernel capability.
12 // AtomicStorage capability.
14 // spv.BitReverse is available in all SPIR-V versions under Shader capability.
17 // GroupNonUniform capability.
20 // SubgroupBallotKHR capability and SPV_KHR_shader_ballot extension.
22 // The GeometryPointSize capability implies the Geometry capability, which
23 // implies the Shader capability.
H A Dtarget-and-abi.mlir241 // expected-error @+1 {{unknown capability: Something}}
/llvm-project-15.0.7/clang/docs/
H A DThreadSafetyAnalysis.rst103 read/write the data) unless it has the *capability* to do so.
110 calling ``mu.Unlock()`` releases that capability.
113 capability can be held by only one thread at a time, while a shared capability
130 by calculating an approximation of that set, called the *capability
152 general capability model. The prior names are still in use, and will be
165 it points to* is protected by the given capability.
227 function releases the given capability. The capability must be held on entry
405 and destructor refer to the capability via different names; see the
422 capability, and returns a boolean value indicating success or failure.
505 have transitively exclude that capability.
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_safety.h24 #define SANITIZER_MUTEX SANITIZER_THREAD_ANNOTATION(capability("mutex"))
/llvm-project-15.0.7/mlir/test/lib/Dialect/SPIRV/
H A DTestAvailability.cpp79 if (auto capability = dyn_cast<spirv::QueryCapabilityInterface>(op)) { in runOnOperation() local
81 for (const auto &caps : capability.getCapabilities()) { in runOnOperation()
/llvm-project-15.0.7/mlir/test/Conversion/FuncToSPIRV/
H A Dtypes-to-spirv.mlir301 // requires special capability and extension: convert them to 32-bit if not
397 // requires special capability and extension: keep as-is when the capability
438 // requires special capability and extension: keep as-is when the capability
479 // requires special capability and extension: keep as-is when the capability
520 // requires special capability and extension: keep as-is when the capability
623 // requires special capability and extension: convert them to 32-bit if not
/llvm-project-15.0.7/compiler-rt/test/xray/
H A Dlit.site.cfg.py.in10 # TODO: Look into whether we can run a capability test on the standalone build to
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DTargetAndABI.cpp45 bool spirv::TargetEnv::allows(spirv::Capability capability) const { in allows()
46 return givenCapabilities.count(capability); in allows()
H A DSPIRVAttributes.cpp471 auto processCapability = [&](SMLoc loc, StringRef capability) { in parseVerCapExtAttr() argument
472 if (auto capSymbol = spirv::symbolizeCapability(capability)) { in parseVerCapExtAttr()
477 return errorloc = loc, errorKeyword = capability, failure(); in parseVerCapExtAttr()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dthread-safety-annotations.h4 #define LOCKABLE __attribute__((capability("mutex")))
/llvm-project-15.0.7/llvm/utils/lit/lit/
H A DProgressBar.py115 for capability in self._STRING_CAPABILITIES:
116 (attrib, cap_name) = capability.split('=')
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DCMakeLists.txt13 mlir_tablegen(SPIRVCapabilityImplication.inc -gen-spirv-capability-implication)
H A DSPIRVAttributes.td43 SPV_CapabilityAttr, "SPIR-V capability array attribute">;
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dmutex.h17 #define CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE_(capability(x))
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Transforms/
H A Dvce-deduction.mlir64 // Test deducing implied capability.
78 // Test selecting the capability available in the target environment.
/llvm-project-15.0.7/clang/test/Rewriter/
H A Dinstancetype-test.mm68 …// FIXME. This is not supported due to missing capability in rewriter and not due to instancetype …
/llvm-project-15.0.7/llvm/docs/Proposals/
H A DVectorPredication.rst32 - TTI has capability flags for VP (``supportsVP()``?,
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/
H A DCMakeLists.txt66 libomptarget_error_say("[NVPTX] Cannot auto detect compute capability as CUDA not found.")
76 …libomptarget_warning_say("[NVPTX] Compute capability ${sm} is not supported. Make sure clang can w…
/llvm-project-15.0.7/mlir/docs/Dialects/
H A DSPIR-V.md772 * `QueryCapabilityInterface` for capability requirements
782 special capability if the execution scope is `Subgroup`, but it will require
783 the `VulkanMemoryModel` capability if the scope is `QueueFamily`.
810 spirv-capability ::= `Shader` | `Kernel` | `GroupNonUniform` | ...
815 spirv-capability-list ::= `[` (spirv-capability-elements)? `]`
816 spirv-capability-elements ::= spirv-capability (`,` spirv-capability)*
822 spirv-capability-list `,`
1033 required extension/capability for the resultant type is not available in the
H A DTOSA.md110 capability when considering progressive lowering between uses that expect one
/llvm-project-15.0.7/mlir/test/Conversion/SCFToSPIRV/
H A Dif.mlir124 // TODO: The transformation should only be legal if VariablePointer capability
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dregcoalescer-resolve-lane-conflict-by-subranges.mir146 # Another complex example showing the capability of resolving lane conflict
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dconst-correctness.rst78 This limitation affects the capability to add ``const`` to methods which is not possible, too.
/llvm-project-15.0.7/mlir/test/Conversion/ArithmeticToSPIRV/
H A Darithmetic-to-spirv.mlir319 // With Kernel capability, we can convert NaN check to spv.Ordered/spv.Unordered.
337 // Without Kernel capability, we need to convert NaN check to spv.IsNan.
546 // Check that constants are converted to 32-bit when no special capability.
1305 // With Kernel capability, we can convert NaN check to spv.Ordered/spv.Unordered.
1323 // Without Kernel capability, we need to convert NaN check to spv.IsNan.
1469 // Check that constants are converted to 32-bit when no special capability.

123