/llvm-project/clang/test/SemaObjCXX/ |
H A D | objcbridge-static-cast.mm | 30 …pected-error {{cast of C pointer type 'CFTestingRef' (aka '__CFError *') to Objective-C pointer ty… 31 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \ 32 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFTestin… 56 …ected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer t… 57 … // expected-note {{__bridge with C-style cast to convert directly (no change in ownership)}} \ 58 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFErrorR… 59 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer … 60 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \ 61 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFErrorR… 62 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer … [all …]
|
H A D | objcbridge-attribute.mm | 30 …pected-error {{cast of C pointer type 'CFTestingRef' (aka '__CFError *') to Objective-C pointer ty… 56 …ected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer t… 59 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer … 62 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer … 66 …ted-error {{cast of C pointer type 'CFUColor2Ref' (aka '__CFUPrimeColor *') to Objective-C pointer… 69 …pected-error {{cast of Objective-C pointer type 'NSError *' to C pointer type 'CFErrorRef' (aka '_… 73 …pected-error {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '… 77 …expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointe… 81 …expected-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__C… 88 …/ expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *') to Objective-C point… [all …]
|
H A D | objcbridge-attribute-arc.mm | 30 …pected-error {{cast of C pointer type 'CFTestingRef' (aka '__CFError *') to Objective-C pointer ty… 56 …ected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer t… 59 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer … 62 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer … 66 …ted-error {{cast of C pointer type 'CFUColor2Ref' (aka '__CFUPrimeColor *') to Objective-C pointer… 69 …pected-error {{cast of Objective-C pointer type 'NSError *' to C pointer type 'CFErrorRef' (aka '_… 73 …pected-error {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '… 77 …expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointe… 81 …expected-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__C… 88 …/ expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *') to Objective-C point… [all …]
|
/llvm-project/mlir/lib/CAPI/Dialect/ |
H A D | LLVM.cpp | 35 return cast<LLVM::LLVMPointerType>(unwrap(pointerType)).getAddressSpace(); in mlirLLVMPointerTypeGetAddressSpace() 47 return wrap(cast<LLVM::LLVMArrayType>(unwrap(type)).getElementType()); in mlirLLVMFunctionTypeGet() 59 return llvm::cast<LLVM::LLVMFunctionType>(unwrap(type)).getNumParams(); in mlirLLVMStructTypeIsLiteral() 64 return wrap(llvm::cast<LLVM::LLVMFunctionType>(unwrap(type)) in mlirLLVMStructTypeGetNumElementTypes() 73 return !cast<LLVM::LLVMStructType>(unwrap(type)).isIdentified(); 77 return cast<LLVM::LLVMStructType>(unwrap(type)).getBody().size(); 81 return wrap(cast<LLVM::LLVMStructType>(unwrap(type)).getBody()[position]); 85 return cast<LLVM::LLVMStructType>(unwrap(type)).isPacked(); in mlirLLVMStructTypeLiteralGet() 89 return wrap(cast<LLVM::LLVMStructType>(unwrap(type)).getName()); in mlirLLVMStructTypeLiteralGet() 93 return cast<LLV in mlirLLVMStructTypeLiteralGetChecked() [all...] |
/llvm-project/llvm/test/Transforms/InferAddressSpaces/AMDGPU/ |
H A D | flat-fadd-fmin-fmax-intrinsics.ll |
|
H A D | ptrmask.ll | 8 ; CHECK-NEXT: [[CAST:%.*]] = addrspacecast ptr addrspace(3) [[SRC_PTR:%.*]] to ptr 9 ; CHECK-NEXT: [[MASKED:%.*]] = call ptr @llvm.ptrmask.p0.i64(ptr [[CAST]], i64 [[MASK:%.*]]) 13 %cast = addrspacecast ptr addrspace(3) %src.ptr to ptr 14 %masked = call ptr @llvm.ptrmask.p0.i64(ptr %cast, i64 %mask) 21 ; CHECK-NEXT: [[CAST:%.*]] = addrspacecast ptr addrspace(5) [[SRC_PTR:%.*]] to ptr 22 ; CHECK-NEXT: [[MASKED:%.*]] = call ptr @llvm.ptrmask.p0.i64(ptr [[CAST]], i64 [[MASK:%.*]]) 26 %cast = addrspacecast ptr addrspace(5) %src.ptr to ptr 27 %masked = call ptr @llvm.ptrmask.p0.i64(ptr %cast, i64 %mask) 34 ; CHECK-NEXT: [[CAST:%.*]] = addrspacecast ptr addrspace(2) [[SRC_PTR:%.*]] to ptr 35 ; CHECK-NEXT: [[MASKED:%.*]] = call ptr @llvm.ptrmask.p0.i64(ptr [[CAST]], i64 [[MASK:%.*]]) [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/abseil/ |
H A D | duration-conversion-cast.cpp | 1 // RUN: %check_clang_tidy %s abseil-duration-conversion-cast %t -- -- -I%S/Inputs 11 … converted directly to an integer rather than through a type cast [abseil-duration-conversion-cast] in f() 14 …rectly to a floating-point number rather than through a type cast [abseil-duration-conversion-cast] in f() 17 … converted directly to an integer rather than through a type cast [abseil-duration-conversion-cast] in f() 20 …rectly to a floating-point number rather than through a type cast [abseil-duration-conversion-cast] in f() 23 … converted directly to an integer rather than through a type cast [abseil-duration-conversion-cast] in f() 26 …rectly to a floating-point number rather than through a type cast [abseil-duration-conversion-cast] in f() 29 … converted directly to an integer rather than through a type cast [abseil-duration-conversion-cast] in f() 32 …rectly to a floating-point number rather than through a type cast [abseil-duration-conversion-cast] in f() 35 … converted directly to an integer rather than through a type cast [abseil-duration-conversion-cast] in f() [all …]
|
/llvm-project/clang/test/SemaObjC/ |
H A D | objcbridge-attribute-arc.m | 45 …ted-error {{cast of C pointer type 'CFTestingRef' (aka 'struct __CFError *') to Objective-C pointe… 71 …ed-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to Objective-C point… 74 …ed-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to Objective-C point… 77 …ed-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to Objective-C point… 81 …-error {{cast of C pointer type 'CFUColor2Ref' (aka 'union __CFUPrimeColor *') to Objective-C poin… 84 …ted-error {{cast of Objective-C pointer type 'NSError *' to C pointer type 'CFErrorRef' (aka 'stru… 88 …ed-error {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka 'stru… 92 …cted-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to Objective-C poi… 96 …ected-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka 'struct… 103 …pected-error {{cast of C pointer type 'CFErrorRef' (aka 'struct __CFErrorRef *') to Objective-C po… [all …]
|
/llvm-project/clang/test/CodeGenCXX/ |
H A D | address-space-cast.cpp | 21 // CHECK: %[[cast:.*]] = addrspacecast ptr %{{.*}} to ptr addrspace(5) in test_cast() 22 // CHECK-NEXT: store ptr addrspace(5) %[[cast]] in test_cast() 25 // CHECK: %[[cast:.*]] = addrspacecast ptr %{{.*}} to ptr addrspace(5) in test_cast() 26 // CHECK-NEXT: store ptr addrspace(5) %[[cast]] in test_cast() 29 // CHECK: %[[cast:.*]] = addrspacecast ptr %{{.*}} to ptr addrspace(5) in test_cast() 30 // CHECK-NEXT: store ptr addrspace(5) %[[cast]] in test_cast() 33 // CHECK: %[[cast:.*]] = addrspacecast ptr %{{.*}} to ptr addrspace(5) in test_cast() 34 // CHECK-NEXT: store ptr addrspace(5) %[[cast]] in test_cast() 37 // CHECK: %[[cast:.*]] = addrspacecast ptr %{{.*}} to ptr addrspace(5) in test_cast() 38 // CHECK-NEXT: store ptr addrspace(5) %[[cast]] in test_cast() [all …]
|
/llvm-project/clang/test/SemaCXX/ |
H A D | warn-cast-qual.cpp | 6 // use clang-tidy's cppcoreguidelines-pro-type-const-cast for that. 19 …void* p0 = (void*)(const void*)"txt"; // expected-warning {{cast from 'const void *' to 'void *' d… in cstr() 21 …char* p2 = (char*)"txt"; // expected-warning {{cast from 'const char *' to 'char *' drops const qu… in cstr() 30 …int &a2 = (int &)a; // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0() 31 …const int &a3 = (int &)a; // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0() 32 …int &a4 = (int &)((const int &)a); // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0() 33 …int &a5 = (int &)((int &)a); // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0() 34 …const int &a6 = (int &)((int &)a); // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0() 35 …const int &a7 = (int &)((const int &)a); // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0() 36 …const int &a8 = (const int &)((int &)a); // expected-warning {{cast from 'const int' to 'int &' dr… in foo_0() [all …]
|
/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroInstr.h |
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/llvm/ |
H A D | prefer-isa-or-dyn-cast-in-conditionals.cpp | 1 // RUN: %check_clang_tidy %s llvm-prefer-isa-or-dyn-cast-in-conditionals %t 8 X *cast(Y*); 15 X *cast(Y *); 22 if (auto x = cast<X>(y)) in foo() 24 …: :[[@LINE-2]]:16: warning: cast<> in conditional will assert rather than return a null pointer [l… in foo() 27 while (auto x = cast<X>(y)) in foo() 29 // CHECK-MESSAGES: :[[@LINE-2]]:19: warning: cast<> in conditional in foo() 32 if (cast<X>(y)) in foo() 34 // CHECK-MESSAGES: :[[@LINE-2]]:7: warning: cast<> in conditional in foo() 37 while (cast<X>(y)) in foo() [all …]
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ConversionChecker.cpp | 42 void checkPreStmt(const ImplicitCastExpr *Cast, CheckerContext &C) const; 47 bool isLossOfPrecision(const ImplicitCastExpr *Cast, QualType DestType, 50 bool isLossOfSign(const ImplicitCastExpr *Cast, CheckerContext &C) const; 57 void ConversionChecker::checkPreStmt(const ImplicitCastExpr *Cast, in checkPreStmt() argument 60 if (Cast->getType()->isBooleanType()) in checkPreStmt() 64 if (Cast->getExprLoc().isMacroID()) in checkPreStmt() 69 const Stmt *Parent = PM.getParent(Cast); in checkPreStmt() 72 // Dont warn if this is part of an explicit cast in checkPreStmt() 83 if (!Cast->IgnoreParenImpCasts()->isEvaluatable(C.getASTContext())) { in checkPreStmt() 84 LossOfSign = isLossOfSign(Cast, C); in checkPreStmt() [all …]
|
/llvm-project/clang/test/Sema/ |
H A D | warn-cast-qual.c | 12 …char *y = (char *)ptr; // expected-warning {{cast from 'const char *' to 'char *' drops const qual… in foo() 13 …char **y1 = (char **)ptrptr; // expected-warning {{cast from 'const char *const *' to 'char **' dr… in foo() 14 …const char **y2 = (const char **)ptrptr; // expected-warning {{cast from 'const char *const *' to … in foo() 15 …char *const *y3 = (char *const *)ptrptr; // expected-warning {{cast from 'const char *const' to 'c… in foo() 16 …const char **y4 = (const char **)ptrcptr; // expected-warning {{cast from 'char *const *' to 'cons… in foo() 19 …char *z1 = (char *)(const void *)ptr; // expected-warning {{cast from 'const void *' to 'char *' d… in foo() 22 …char *vol2 = (char *)vol; // expected-warning {{cast from 'volatile char *' to 'char *' drops vola… in foo() 24 …char *volc2 = (char *)volc; // expected-warning {{cast from 'const volatile char *' to 'char *' dr… in foo() 27 …const int **intptrptrc = (const int **)intptrptr; // expected-warning {{cast from 'int **' to 'con… in foo() 28 …volatile int **intptrptrv = (volatile int **)intptrptr; // expected-warning {{cast from 'int **' t… in foo() [all …]
|
/llvm-project/llvm/test/Transforms/InstSimplify/ |
H A D | bitcast-vector-fold.ll | 91 %cast = bitcast i64 -1 to <2 x float> 92 ret <2 x float> %cast 100 %cast = bitcast i128 -1 to <2 x double> 101 ret <2 x double> %cast 108 %cast = bitcast i32 -1 to <1 x float> 109 ret <1 x float> %cast 116 %cast = bitcast <1 x i32 ><i32 -1> to float 117 ret float %cast 124 %cast = bitcast <2 x i32 ><i32 -1, i32 -1> to double 125 ret double %cast [all...] |
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
H A D | pro-type-const-cast.cpp | 1 // RUN: %check_clang_tidy -check-suffix=STRICT %s cppcoreguidelines-pro-type-const-cast %t -- -config="{CheckOptions: {cppcoreguidelines-pro-type-const-cast.StrictMode: true}}" 2 // RUN: %check_clang_tidy -check-suffix=NSTRICT %s cppcoreguidelines-pro-type-const-cast %t 10 // CHECK-MESSAGES-NSTRICT: :[[@LINE-1]]:7: warning: do not use const_cast to remove const qualifier [cppcoreguidelines-pro-type-const-cast] in f() 11 // CHECK-MESSAGES-STRICT: :[[@LINE-2]]:7: warning: do not use const_cast [cppcoreguidelines-pro-type-const-cast] in f() 14 // CHECK-MESSAGES-STRICT: :[[@LINE-1]]:7: warning: do not use const_cast [cppcoreguidelines-pro-type-const-cast] in f() 17 // CHECK-MESSAGES-NSTRICT: :[[@LINE-1]]:8: warning: do not use const_cast to remove const qualifier [cppcoreguidelines-pro-type-const-cast] in f() 18 // CHECK-MESSAGES-STRICT: :[[@LINE-2]]:8: warning: do not use const_cast [cppcoreguidelines-pro-type-const-cast] in f() 21 // CHECK-MESSAGES-STRICT: :[[@LINE-1]]:8: warning: do not use const_cast [cppcoreguidelines-pro-type-const-cast] in f() 24 // CHECK-MESSAGES-NSTRICT: :[[@LINE-1]]:8: warning: do not use const_cast to remove const qualifier [cppcoreguidelines-pro-type-const-cast] in f() [all...] |
/llvm-project/clang/test/Analysis/ |
H A D | enum-cast-out-of-range.cpp | 46 …_unspecified_t>(-5); // expected-warning {{The value '-5' provided to the cast expression is not i… in unscopedUnspecified() 49 …_unspecified_t>(-2); // expected-warning {{The value '-2' provided to the cast expression is not i… in unscopedUnspecified() 50 …_unspecified_t>(-1); // expected-warning {{The value '-1' provided to the cast expression is not i… in unscopedUnspecified() 51 …ed_unspecified_t>(0); // expected-warning {{The value '0' provided to the cast expression is not i… in unscopedUnspecified() 54 …ed_unspecified_t>(3); // expected-warning {{The value '3' provided to the cast expression is not i… in unscopedUnspecified() 56 …ed_unspecified_t>(5); // expected-warning {{The value '5' provided to the cast expression is not i… in unscopedUnspecified() 60 …ed_specified_t>(-5); // expected-warning {{The value '-5' provided to the cast expression is not i… in unscopedSpecified() 63 …ed_specified_t>(-2); // expected-warning {{The value '-2' provided to the cast expression is not i… in unscopedSpecified() 64 …ed_specified_t>(-1); // expected-warning {{The value '-1' provided to the cast expression is not i… in unscopedSpecified() 65 …oped_specified_t>(0); // expected-warning {{The value '0' provided to the cast expression is not i… in unscopedSpecified() [all …]
|
/llvm-project/llvm/test/CodeGen/AMDGPU/ |
H A D | amdgcn.bitcast.ll | 106 %cast = bitcast <2 x i64> %value to <2 x double> 110 %phi = phi <2 x double> [zeroinitializer, %entry], [%cast, %if] 122 %cast = bitcast <2 x double> %value to <2 x i64> 126 %phi = phi <2 x i64> [zeroinitializer, %entry], [%cast, %if] 297 %cast = bitcast <4 x float> %val to <2 x i64> 298 %div = udiv <2 x i64> %cast, %arg 322 %cast = bitcast <4 x i64> %phi_value to <16 x i16> 327 %phi_cast = phi <16 x i16> [zeroinitializer, %entry], [%cast, %if] 340 %cast = bitcast <4 x double> %phi_value to <16 x half> 345 %phi_cast = phi <16 x half> [zeroinitializer, %entry], [%cast, %if] [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | misplaced-widening-cast-implicit-enabled.cpp | 1 …clang_tidy %s bugprone-misplaced-widening-cast %t -- -config="{CheckOptions: {bugprone-misplaced-w… 9 …ning: either cast from 'int' to 'long' is ineffective, or there is loss of precision before the co… in assign() 11 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: either cast from 'int' to 'long' in assign() 15 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: either cast from 'int' to 'long' in assign() 17 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: either cast from 'int' to 'long' in assign() 21 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: either cast from 'int' to 'long' in assign() 28 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: either cast from 'int' to 'long' in compare() 30 // CHECK-MESSAGES: :[[@LINE-1]]:12: warning: either cast from 'int' to 'long' in compare() 32 // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: either cast from 'int' to 'long' in compare() 34 // CHECK-MESSAGES: :[[@LINE-1]]:12: warning: either cast from 'int' to 'long' in compare() [all …]
|
/llvm-project/compiler-rt/test/cfi/cross-dso/icall/ |
H A D | diag.cpp | 12 // RUN: %t icv 2>&1 | FileCheck %s --check-prefix=ICALL-DIAG --check-prefix=CAST-DIAG \ 15 // RUN: %t i_v 2>&1 | FileCheck %s --check-prefix=ICALL-DIAG --check-prefix=CAST-NODIAG \ 18 // RUN: %t _cv 2>&1 | FileCheck %s --check-prefix=ICALL-NODIAG --check-prefix=CAST-DIAG \ 21 // RUN: %t ic_ 2>&1 | FileCheck %s --check-prefix=ICALL-DIAG --check-prefix=CAST-DIAG \ 24 // Trap on icall, no-recover on cast. 25 // RUN: %clangxx_cfi_dso_diag -fsanitize-trap=cfi-icall -fno-sanitize-recover=cfi-unrelated-cast \ 27 // RUN: %clangxx_cfi_dso_diag -fsanitize-trap=cfi-icall -fno-sanitize-recover=cfi-unrelated-cast \ 30 // RUN: %expect_crash %t icv 2>&1 | FileCheck %s --check-prefix=ICALL-NODIAG --check-prefix=CAST-NO… 33 // RUN: not %t _cv 2>&1 | FileCheck %s --check-prefix=ICALL-NODIAG --check-prefix=CAST-DIAG \ 34 // RUN: --check-prefix=VCALL-NODIAG --check-prefix=CAST-FATAL [all …]
|
/llvm-project/llvm/test/CodeGen/X86/ |
H A D | vector-shuffle-masked.ll | 12 %mask.cast = bitcast i8 %mask to <8 x i1> 13 %mask.extract = shufflevector <8 x i1> %mask.cast, <8 x i1> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3> 25 %mask.cast = bitcast i8 %mask to <8 x i1> 26 %mask.extract = shufflevector <8 x i1> %mask.cast, <8 x i1> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3> 39 %mask.cast = bitcast i8 %mask to <8 x i1> 40 %mask.extract = shufflevector <8 x i1> %mask.cast, <8 x i1> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3> 52 %mask.cast = bitcast i8 %mask to <8 x i1> 53 %mask.extract = shufflevector <8 x i1> %mask.cast, <8 x i1> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3> 66 %mask.cast = bitcast i8 %mask to <8 x i1> 67 %mask.extract = shufflevector <8 x i1> %mask.cast, < [all...] |
/llvm-project/llvm/test/CodeGen/AArch64/ |
H A D | tbi.ll | 11 %cast = inttoptr i64 %and to ptr 12 %load = load i32, ptr %cast 22 %cast = inttoptr i64 %and to ptr 23 %gep = getelementptr i32, ptr %cast, i64 4 34 %cast = inttoptr i64 %and to ptr 35 %load = load i32, ptr %cast 44 %cast = inttoptr i64 %and to ptr 45 %load = load i64, ptr %cast 54 %cast = inttoptr i64 %and to ptr 55 store i32 %v, ptr %cast [all …]
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/ |
H A D | qualified-auto.rst | 39 const auto Foo = cast<int *>(Baz1); 40 const auto Bar = cast<const int *>(Baz2); 41 volatile auto FooBar = cast<int *>(Baz3); 42 auto BarFoo = cast<int **>(Baz4); 48 auto *const Foo = cast<int *>(Baz1); 49 const auto *const Bar = cast<const int *>(Baz2); 50 auto *volatile FooBar = cast<int *>(Baz3); 51 auto *BarFoo = cast<int **>(Baz4); 64 auto Foo1 = cast<const int *>(Bar1); 65 auto *Foo2 = cast<const int *>(Bar2); [all …]
|
/llvm-project/llvm/lib/MC/ |
H A D | MCFragment.cpp | 34 cast<MCAlignFragment>(this)->~MCAlignFragment(); in destroy() 37 cast<MCDataFragment>(this)->~MCDataFragment(); in destroy() 40 cast<MCFillFragment>(this)->~MCFillFragment(); in destroy() 43 cast<MCNopsFragment>(this)->~MCNopsFragment(); in destroy() 46 cast<MCRelaxableFragment>(this)->~MCRelaxableFragment(); in destroy() 49 cast<MCOrgFragment>(this)->~MCOrgFragment(); in destroy() 52 cast<MCDwarfLineAddrFragment>(this)->~MCDwarfLineAddrFragment(); in destroy() 55 cast<MCDwarfCallFrameFragment>(this)->~MCDwarfCallFrameFragment(); in destroy() 58 cast<MCLEBFragment>(this)->~MCLEBFragment(); in destroy() 61 cast<MCBoundaryAlignFragmen in destroy() [all...] |
/llvm-project/llvm/test/CodeGen/SystemZ/ |
H A D | tdc-04.ll | 12 %cast = bitcast float %x to i32 13 %res = icmp slt i32 %cast, 0 22 %cast = bitcast float %x to i32 23 %res = icmp sgt i32 %cast, -1 32 %cast = bitcast double %x to i64 33 %res = icmp slt i64 %cast, 0 42 %cast = bitcast double %x to i64 43 %res = icmp sgt i64 %cast, -1 52 %cast = bitcast fp128 %x to i128 53 %res = icmp slt i128 %cast, 0 [all …]
|