Home
last modified time | relevance | path

Searched refs:casting (Results 1 – 25 of 77) sorted by relevance

1234

/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/google/
H A Dreadability-casting.rst1 .. title:: clang-tidy - google-readability-casting
3 google-readability-casting
10 Corresponding cpplint.py check name: `readability/casting`.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/
H A Dexplicit-conversions.rst9 Used to enforce parts of `rule 5.4.1 <http://www.codingstandard.com/rule/5-4-1-only-use-casting-for…
11 Other forms of casting checks are implemented in other places.
12 The following checks can be used to check for more forms of casting:
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Daddress-spaces.cl40 // expected-error@-2 {{casting '__local int *' to type '__global int *' changes address space of po…
46 // expected-error@-2 {{casting '__constant int *' to type '__global int *' changes address space of…
58 // expected-error@-2 {{casting '__private int *' to type '__global int *' changes address space of …
64 // expected-error@-2 {{casting '__global int *' to type '__local int *' changes address space of po…
70 // expected-error@-2 {{casting '__constant int *' to type '__local int *' changes address space of …
82 // expected-error@-2 {{casting '__private int *' to type '__local int *' changes address space of p…
88 // expected-error@-2 {{casting '__global int *' to type '__constant int *' changes address space of…
94 // expected-error@-2 {{casting '__local int *' to type '__constant int *' changes address space of …
100 // expected-error@-2 {{casting '__private int *' to type '__constant int *' changes address space o…
106 // expected-error@-2 {{casting '__global int *' to type '__private int *' changes address space of …
[all …]
H A Daddress-spaces-conversions-cl2.0.cl141 // expected-error@-3{{casting '__global int *' to type '__constant int *' changes address space of …
150 // expected-error-re@-3{{casting '__local int *' to type '__{{global|constant}} int *' changes addr…
159 // expected-error-re@-3{{casting '__constant int *' to type '__{{global|generic}} int *' changes ad…
168 // expected-error-re@-3{{casting '__private int *' to type '__{{global|constant}} int *' changes ad…
177 // expected-error@-3{{casting '__generic int *' to type '__constant int *' changes address space of…
232 // expected-error@-3{{casting '__global int *' to type '__constant int *' changes address space of …
241 // expected-error-re@-3{{casting '__local int *' to type '__{{global|constant}} int *' changes addr…
250 // expected-error-re@-3{{casting '__constant int *' to type '__{{global|generic}} int *' changes ad…
259 // expected-error-re@-3{{casting '__private int *' to type '__{{global|constant}} int *' changes ad…
268 // expected-error@-3{{casting '__generic int *' to type '__constant int *' changes address space of…
[all …]
H A Dvector-conv.cl19 …private int4 *private_ptr = (const private int4 *)const_global_ptr; // expected-error{{casting 'co…
/llvm-project-15.0.7/llvm/test/Transforms/Util/
H A Dcall-promotion-utils-ptrcast-attribute.ll8 ; casting to i64 and pointer attribute at callsite dropped.
13 ; no casting needed, attribute at callsite preserved.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/performance/
H A Dno-int-to-ptr.rst8 While casting an (integral) pointer to an integer is obvious - you just get
9 the integral value of the pointer, casting an integer to an (integral) pointer
/llvm-project-15.0.7/llvm/docs/HistoricalNotes/
H A D2002-06-25-MegaPatchInfo.txt2 * Change the casting code to be const correct. Now, doing this is invalid:
8 * Change the casting code to allow casting a reference value thus:
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Linalg/IR/
H A DLinalgNamedStructuredOps.yaml10 Numeric casting is performed on the input operand, promoting it to the same
51 Numeric casting is performed on the input operand, promoting it to the same
101 Numeric casting is performed on the input operand, promoting it to the same
165 Numeric casting is performed on the operands to the inner multiply, promoting
237 Numeric casting is performed on the operands to the inner multiply, promoting
305 Numeric casting is performed on the operands to the inner multiply, promoting
488 Numeric casting is performed on the operands to the inner multiply, promoting
557 Numeric casting is performed on the operands to the inner multiply, promoting
662 Numeric casting is performed on the operands to the inner multiply, promoting
729 Numeric casting is performed on the operands to the inner multiply, promoting
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dptrtoint-constexpr-invalid.ll4 ; A frontend can achieve a similar result by casting to the correct integer
/llvm-project-15.0.7/llvm/test/Transforms/GlobalOpt/
H A Devaluate-call.ll4 ; We evaluate call to function @_ZL3fooP3Foo casting both parameter and return value
7 ; We evaluate call to function _ZL3bazP3Foo casting its parameter and check that evaluated value (n…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/abseil/
H A Dduration-factory-float.rst25 // Original - Explicitly casting to a floating-point type.
/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/
H A Dfunction-bitcasts-varargs.ll3 ; Test that function pointer casts casting away varargs are replaced with
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Ddeprecated-objc-introspection.m39 …receiver type 'struct objc_class *' is not 'id' or interface pointer, consider casting it to 'id'}}
41 …receiver type 'struct objc_class *' is not 'id' or interface pointer, consider casting it to 'id'}}
H A Drelated-result-type-inference.m178 return (id)self; // expected-warning {{casting 'Fail *' to incompatible type 'id<X>'}}
200 …return filterVC; // expected-warning {{incompatible pointer types casting 'UIViewController *' to …
H A Dmatrix-type-builtins.m30 …// expected-error@-2 {{casting 'double4x4' (aka 'double __attribute__((matrix_type(4, 4)))') to in…
H A Dmessage.m98 …eceiver type 'struct objc_object *' is not 'id' or interface pointer, consider casting it to 'id'}}
/llvm-project-15.0.7/llvm/test/Transforms/SROA/
H A Dmem-par-metadata-sroa-cast.ll5 ; Ensure this is done for casting too.
/llvm-project-15.0.7/llvm/test/Analysis/ValueTracking/
H A Dknown-bits-from-operator-constexpr.ll5 ; casting from llvm::Operator to ExtractElementInst. That does not work
/llvm-project-15.0.7/llvm/test/FileCheck/
H A Dbad-char.txt3 # FileCheck used to call functions like isalnum on each without casting to
/llvm-project-15.0.7/llvm/test/CodeGen/Generic/
H A D2003-05-30-BadFoldGEP.ll8 ;; causing an assertion about a dynamic casting error.
/llvm-project-15.0.7/clang/test/Analysis/
H A Dvalist-unterminated.c143 void casting(int fst, ...) { in casting() function
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/AArch64/
H A Dloopvectorize_pr33804_double.ll63 ; This test check for integer to pointer casting with load instructions.
87 ; This test check for pointer to integer casting with load instructions.
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Darc-bridged-cast.mm21 …(__bridge IntPtrType)CFCreateSomething(); // expected-error{{incompatible types casting 'CFTypeRef…
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-boxing.m.result85 …Double:cppb]; // expected-warning {{converting to boxing syntax requires casting 'bool' to 'double…

1234