Home
last modified time | relevance | path

Searched refs:Convert (Results 1 – 25 of 252) sorted by relevance

1234567891011

/llvm-project/clang/test/SemaCXX/
H A Dcxx1z-copy-omission.cpp50 template<typename T> struct Convert { operator T(); }; // expected-note 1+{{candidate}} struct
51 Noncopyable conv1 = Convert<Noncopyable>();
52 Noncopyable conv2((Convert<Noncopyable>()));
53 Noncopyable conv3 = {Convert<Noncopyable>()};
54 Noncopyable conv4{Convert<Noncopyable>()};
56 Noncopyable ref_conv1 = Convert<Noncopyable&>(); // expected-error {{deleted constructor}}
57 Noncopyable ref_conv2((Convert<Noncopyable&>())); // expected-error {{deleted constructor}}
58 Noncopyable ref_conv3 = {Convert<Noncopyable&>()}; // expected-error {{deleted constructor}}
59 Noncopyable ref_conv4{Convert<Noncopyable&>()}; // expected-error {{deleted constructor}}
61 Noncopyable derived_conv1 = Convert<Derived>(); // expected-error {{deleted constructor}}
[all …]
/llvm-project/flang/runtime/
H A Denvironment.cpp55 Fortran::common::optional<Convert> GetConvertFromString( in SetEnvironmentDefaults()
61 return Convert::Unknown; in SetEnvironmentDefaults()
63 return Convert::Native; in SetEnvironmentDefaults()
65 return Convert::LittleEndian; in SetEnvironmentDefaults()
67 return Convert::BigEndian; in SetEnvironmentDefaults()
69 return Convert::Swap; in SetEnvironmentDefaults()
89 conversion = Convert::Unknown; in SetEnvironmentDefaults()
H A Denvironment.h32 enum class Convert { Unknown, Native, LittleEndian, BigEndian, Swap }; enum
34 RT_API_ATTRS Fortran::common::optional<Convert> GetConvertFromString(
55 Convert conversion{Convert::Unknown}; // FORT_CONVERT
H A Dexternal-unit.cpp74 action, Position::Rewind, Convert::Unknown, handler)) { in LookUpOrCreateAnonymous()
114 OwningPtr<char> &&newPath, std::size_t newPathLength, Convert convert, in OpenUnit()
116 if (convert == Convert::Unknown) { in OpenUnit()
119 swapEndianness_ = convert == Convert::Swap || in OpenUnit()
120 (convert == Convert::LittleEndian && !isHostLittleEndian) || in OpenUnit()
121 (convert == Convert::BigEndian && isHostLittleEndian); in OpenUnit()
200 Convert convert, IoErrorHandler &handler) { in OpenAnonymousUnit()
H A Dmain.cpp41 Fortran::runtime::Convert::Unknown) { in RTNAME()
45 Fortran::runtime::Convert::Swap; in RTNAME()
/llvm-project/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
H A Dp7-cxx11-nowarn.cpp36 struct Convert { struct
37 constexpr Convert(T v) : v(v) {} in Convert() function
41 template<typename T> Convert<T> ConvertVar(); argument
59 …Agg<char> ce1 = { Convert<float>(1.0) }; // expected-warning {{type 'float' cannot be narrowed to … in float_to_int()
105 …Agg<float> ce1 = { Convert<double>(1e300) }; // expected-warning {{constant expression evaluates t… in shrink_float()
126 …Agg<float> ce1 = { Convert<int>(123456789) }; // expected-warning {{constant expression evaluates … in int_to_float()
166 …Agg<short> ce1 = { Convert<int>(100000) }; // expected-warning {{constant expression evaluates to … in shrink_int()
H A Dp7-0x.cpp42 struct Convert { struct
43 constexpr Convert(T v) : v(v) {} in Convert() function
47 template<typename T> Convert<T> ConvertVar(); argument
65 …Agg<char> ce1 = { Convert<float>(1.0) }; // expected-error {{type 'float' cannot be narrowed to 'c… in float_to_int()
114 …Agg<float> ce1 = { Convert<double>(1e300) }; // expected-error {{constant expression evaluates to … in shrink_float()
141 …Agg<float> ce1 = { Convert<int>(123456789) }; // expected-error {{constant expression evaluates to… in int_to_float()
190 …Agg<short> ce1 = { Convert<int>(100000) }; // expected-error {{constant expression evaluates to 10… in shrink_int()
/llvm-project/mlir/include/mlir/Conversion/
H A DPasses.td20 let summary = "Convert to LLVM via dialect interfaces found in the input IR";
51 Convert operations from the affine dialect into operations from the SCF and
109 let summary = "Convert AMDGPU dialect to ROCDL dialect";
127 let summary = "Convert Arith operations to AMDGPU-specific implementations";
129 Convert `arith` operations (currently extf and truncf on 8-bit floats)
155 let summary = "Convert Arith dialect to EmitC dialect";
164 let summary = "Convert Arith dialect to LLVM dialect";
181 let summary = "Convert Arith dialect to SPIR-V dialect";
197 let summary = "Convert Arith dialect to ArmSME dialect";
206 let summary = "Convert Ar
[all...]
/llvm-project/flang/include/flang/Parser/
H A Dmessage.h109 Format(&text, Convert(std::forward<A>(x))...);
135 template <typename A> A Convert(const A &x) { in Convert()
139 template <typename A> common::IfNoLvalue<A, A> Convert(A &&x) { in Convert()
143 const char *Convert(const char *s) { return s; } in Convert() function
144 const char *Convert(char *s) { return s; }
145 const char *Convert(const std::string &);
146 const char *Convert(std::string &&);
147 const char *Convert(const std::string_view &);
148 const char *Convert(std::string_view &&);
149 const char *Convert(CharBloc function
134 template <typename A> A Convert(const A &x) { Convert() function
138 template <typename A> common::IfNoLvalue<A, A> Convert(A &&x) { Convert() function
142 const char *Convert(const char *s) { return s; } Convert() function
150 std::uintmax_t Convert(std::uint64_t x) { return x; } Convert() function
[all...]
/llvm-project/clang/test/SemaOpenACC/
H A Dsub-array.cpp8 } Convert; variable
50 #pragma acc parallel private(array[Convert:Convert]) in Func()
53 #pragma acc parallel private(ptr[Convert:Convert]) in Func()
H A Dcompute-construct-async-clause.cpp10 } Convert; variable
46 #pragma acc parallel async(Convert) in Test()
H A Dcompute-construct-num_workers-clause.cpp10 } Convert; variable
44 #pragma acc parallel num_workers(Convert) in Test()
H A Dcompute-construct-vector_length-clause.cpp10 } Convert; variable
44 #pragma acc parallel vector_length(Convert) in Test()
/llvm-project/llvm/tools/llvm-xray/
H A Dxray-converter.cpp32 static cl::SubCommand Convert("convert", "Trace Format Conversion"); variable
35 cl::Required, cl::sub(Convert));
44 cl::sub(Convert));
50 cl::sub(Convert));
57 cl::init(false), cl::sub(Convert));
64 cl::init(false), cl::sub(Convert));
68 cl::sub(Convert));
75 cl::sub(Convert), cl::init(""));
81 cl::sub(Convert), cl::init(true));
370 static CommandRegistration Unused(&Convert, []() -> Error { in __anon480a4d410302()
/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrDFP.td32 // Convert floating-point values to narrower representations. The destination
45 // Convert a signed integer value to a floating-point one.
57 // Convert an unsigned integer value to a floating-point one.
65 // Convert a floating-point value to a signed integer value.
77 // Convert a floating-point value to an unsigned integer value.
87 // Convert a packed value to a floating-point one.
93 // Convert a floating-point value to a packed value.
99 // Convert from/to memory values in the zoned format.
107 // Convert from/to memory values in the packed format.
/llvm-project/mlir/test/Integration/Dialect/SparseTensor/CPU/
H A Dsparse_conversion_sparse2sparse.mlir92 // Convert dense tensor directly to various sparse tensors.
98 // Convert sparse tensor directly to another sparse format.
104 // Convert sparse tensor back to dense.
147 // Convert dense tensor directly to various sparse tensors.
153 // Convert sparse tensor directly to another sparse format.
159 // Convert sparse tensor back to dense.
/llvm-project/flang/lib/Parser/
H A Dmessage.cpp68 const char *MessageFormattedText::Convert(const std::string &s) { in Convert() function in Fortran::parser::MessageFormattedText
73 const char *MessageFormattedText::Convert(std::string &&s) { in Convert() function in Fortran::parser::MessageFormattedText
78 const char *MessageFormattedText::Convert(const std::string_view &s) { in Convert() function in Fortran::parser::MessageFormattedText
83 const char *MessageFormattedText::Convert(std::string_view &&s) { in Convert() function in Fortran::parser::MessageFormattedText
88 const char *MessageFormattedText::Convert(CharBlock x) { in Convert() function in Fortran::parser::MessageFormattedText
89 return Convert(x.ToString()); in Convert()
/llvm-project/libclc/amdgcn/lib/integer/
H A Dpopcount.inc
/llvm-project/llvm/lib/Target/ARM/
H A DARMScheduleV6.td209 // Single to Double FP Convert
212 // Double to Single FP Convert
215 // Single-Precision FP to Integer Convert
218 // Double-Precision FP to Integer Convert
221 // Integer to Single-Precision FP Convert
224 // Integer to Double-Precision FP Convert
/llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVCastOps.td91 Convert value numerically from floating point to signed integer, with
116 Convert value numerically from floating point to unsigned integer, with
145 Convert value numerically from signed integer to floating point.
172 Convert value numerically from unsigned integer to floating point.
199 Convert value numerically from one floating-point width to another
228 Convert signed width. This is either a truncate or a sign extend.
256 Convert unsigned width. This is either a truncate or a zero extend.
378 let summary = "Convert a pointer’s Storage Class to Generic.";
421 let summary = "Convert a pointer’s Storage Class to a non-Generic class.";
/llvm-project/mlir/include/mlir/Dialect/Linalg/
H A DPasses.td15 let summary = "Convert ElementwiseMappable ops to linalg";
17 Convert ops with the `ElementwiseMappable` trait to linalg parallel loops.
81 let summary = "Convert from one named linalg op to another.";
93 let summary = "Convert named ops into generic ops";
98 let summary = "Convert generic ops back to named ops";
140 let summary = "Convert linalg matmul ops to block layout and back";
/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h167 /// Convert - Create a new persistent APSInt with the same value as 'From'
169 APSIntPtr Convert(const llvm::APSInt &To, const llvm::APSInt &From) { in Convert()
177 APSIntPtr Convert(QualType T, const llvm::APSInt &From) { in Convert() function
179 return Convert(TargetType, From); in Convert()
182 APSIntPtr Convert(APSIntType TargetType, const llvm::APSInt &From) { in Convert() function
168 const llvm::APSInt &Convert(const llvm::APSInt& To, Convert() function
/llvm-project/flang/include/flang/Optimizer/Transforms/
H A DPasses.td21 let summary = "Convert fir.array, fir.box and fir.rec function result to "
41 Convert fir operations which satisfy affine constraints to the affine
97 let summary = "Convert array value operations to memory operations.";
123 let summary = "Convert CHARACTER entities with different KINDs";
140 let summary = "Convert FIR structured control flow ops to CFG ops.";
162 let summary = "Convert name for external interoperability";
175 let summary = "Convert names of compiler generated globals";
256 let summary = "Convert stack to heap allocations and vice versa.";
258 Convert stack allocations to heap allocations and vice versa based on
274 let summary = "Convert constan
[all...]
/llvm-project/llvm/lib/Support/
H A DAutoConvert.cpp28 static const struct f_cnvrt Convert = { in disableAutoConversion()
34 return fcntl(FD, F_CONTROL_CVT, &Convert);
26 static const struct f_cnvrt Convert = { disableAutoConversion() local
/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
H A DROCDLOps.td730 let summary = "Convert two f32 input into a vector<2xf16>";
732 Convert two f32 values into a packed vector<2xf16>.
745 let summary = "Convert bf8 to f32";
747 Convert 8-bit bf8 value from the `byteSel`th bit of `srcA` to fp32.
757 let summary = "Convert fp8 to f32";
759 Convert 8-bit fp8 value from the `byteSel`th bit of `srcA` to fp32.
769 let summary = "Convert two f32's to bf8";
771 Convert `srcA` and `srcB` to bf8 and store into the low/high word of
782 let summary = "Convert two f32's to fp8";
784 Convert `src
[all...]

1234567891011