Home
last modified time | relevance | path

Searched refs:casts (Results 1 – 25 of 273) sorted by relevance

1234567891011

/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Darc-type-conversion.mm74 … expected-error{{reinterpret_cast from '__weak id const *' to '__weak id *' casts away qualifiers}}
81 // C-style casts aren't allowed to change Objective-C ownership
84 …)wip; // expected-error{{C-style cast from '__weak id *' to '__strong id *' casts away qualifiers}}
85 …// expected-error{{C-style cast from '__weak id const *' to '__strong id *' casts away qualifiers}}
86 …)sip; // expected-error{{C-style cast from '__strong id *' to '__weak id *' casts away qualifiers}}
87 …// expected-error{{C-style cast from '__strong id const *' to '__weak id *' casts away qualifiers}}
89 …// expected-error{{C-style cast from '__weak id *' to '__strong id const *' casts away qualifiers}}
90 …ected-error{{C-style cast from '__weak id const *' to '__strong id const *' casts away qualifiers}}
91 …// expected-error{{C-style cast from '__strong id *' to '__weak id const *' casts away qualifiers}}
92 …ected-error{{C-style cast from '__strong id const *' to '__weak id const *' casts away qualifiers}}
[all …]
H A Dold-style-cast.mm4 // We don't currently have a way to write ARC/C++ bridge casts in terms of C++
5 // casts, so ensure we don't emit an old-style-cast warning in these cases.
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dillegal-nonarc-bridged-cast.m20 …ransfer id)CFCreateSomething(); // expected-warning {{'__bridge_transfer' casts have no effect whe…
21 …fer NSString*)CFCreateString(); // expected-warning {{'__bridge_transfer' casts have no effect whe…
28 …ed CFTypeRef)CreateSomething(); // expected-warning {{'__bridge_retained' casts have no effect whe…
29 …d CFStringRef)CreateNSString(); // expected-warning {{'__bridge_retained' casts have no effect whe…
39 #pragma clang diagnostic ignored "-Warc-bridge-casts-disallowed-in-nonarc"
/llvm-project-15.0.7/mlir/test/Integration/Dialect/Vector/GPU/CUDA/
H A Dtest-warp-distribute.mlir6 // RUN: -pass-pipeline='gpu.module(strip-debuginfo,convert-gpu-to-nvvm,reconcile-unrealized-casts,…
7 // RUN: -gpu-to-llvm -reconcile-unrealized-casts |\
19 // RUN: -pass-pipeline='gpu.module(strip-debuginfo,convert-gpu-to-nvvm,reconcile-unrealized-casts,…
20 // RUN: -gpu-to-llvm -reconcile-unrealized-casts |\
31 // RUN: -pass-pipeline='gpu.module(strip-debuginfo,convert-gpu-to-nvvm,reconcile-unrealized-casts,…
32 // RUN: -gpu-to-llvm -reconcile-unrealized-casts |\
H A Dtest-reduction-distribute.mlir5 // RUN: -pass-pipeline='gpu.module(strip-debuginfo,convert-gpu-to-nvvm,reconcile-unrealized-casts,…
6 // RUN: -gpu-to-llvm -reconcile-unrealized-casts |\
/llvm-project-15.0.7/clang/test/Analysis/Checkers/WebKit/
H A Dcall-args.cpp69 namespace casts { namespace
167 namespace casts { namespace
207 namespace casts { namespace
251 namespace casts { namespace
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/performance/
H A Dno-int-to-ptr.rst14 So while (integral) pointer to integer casts are effectively no-ops,
15 and are transparent to the optimizer, integer to (integral) pointer casts
28 …return (char*)aligned_intptr; // warning: avoid integer to pointer casts [performance-no-int-to-pt…
/llvm-project-15.0.7/mlir/test/Dialect/Builtin/
H A Dcanonicalize.mlir7 // Test folding conversion casts feeding into other casts.
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcasts.m4 // Test function pointer casts.
15 // Test casts from void* to function pointers.
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dcast_ptr.ll2 ; Tests to make sure elimination of casts is working correctly
26 ; These casts should be folded away.
39 ; These casts should be folded away.
52 ; These casts should be folded away.
65 ; These casts should not be folded away.
80 ; These casts should not be folded away.
94 ; These casts should also be folded away.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dpro-type-cstyle-cast.rst6 This check flags all use of C-style casts that perform a ``static_cast``
9 Use of these casts can violate type safety and cause the program to access a
/llvm-project-15.0.7/mlir/test/mlir-cpu-runner/
H A Dutils.mlir1 …-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | mlir-cpu-runner…
2 …-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | mlir-cpu-runner…
3 …-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | mlir-cpu-runner…
4 …-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | mlir-cpu-runner…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dmisplaced-widening-cast.rst35 Implicit casts
65 If `true`, enables detection of implicit casts. Default is `false`.
/llvm-project-15.0.7/mlir/test/Integration/Dialect/Linalg/CPU/
H A Dtest-tensor-matmul.mlir4 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
13 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
H A Dtest-conv-1d-call.mlir1 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
7 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
H A Dtest-conv-2d-call.mlir1 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
7 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dsimplify-boolean-expr.rst47 5. Implicit casts to ``bool`` are replaced with explicit casts to ``bool``.
49 are replaced with explicit casts to ``bool``.
/llvm-project-15.0.7/mlir/test/Integration/Dialect/Async/CPU/
H A Dtest-async-parallel-for-1d.mlir11 // RUN: -reconcile-unrealized-casts \
27 // RUN: -reconcile-unrealized-casts \
46 // RUN: -reconcile-unrealized-casts \
H A Dmicrobench-scf-async-parallel-for.mlir14 // RUN: -reconcile-unrealized-casts \
35 // RUN: -reconcile-unrealized-casts \
49 // RUN: -reconcile-unrealized-casts \
H A Dtest-async-parallel-for-2d.mlir10 // RUN: -reconcile-unrealized-casts \
25 // RUN: -reconcile-unrealized-casts \
43 // RUN: -reconcile-unrealized-casts \
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/
H A Doptin.osx.OSObjectCStyleCast.rst6 Checker for C-style casts of OSObjects
/llvm-project-15.0.7/mlir/test/Integration/Dialect/Vector/CPU/
H A Dtest-transfer-read-3d.mlir1 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \
6 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \
11 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \
16 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \
H A Dtest-transfer-read-2d.mlir1 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \
6 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \
11 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \
16 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Duse-auto.rst163 ``reinterpret_cast``, functional casts, C-style casts and function templates
164 that behave as casts, such as ``llvm::dyn_cast``, ``boost::lexical_cast`` and
166 casts if the first template argument is explicit and is a type, and the function
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/vect/
H A Dvect-infloop.ll1 ; Extracted from test/CodeGen/Generic/vector-casts.ll: used to loop indefinitely.

1234567891011