Home
last modified time | relevance | path

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

12345678

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx1z-copy-omission.cpp49 template<typename T> struct Convert { operator T(); }; // expected-note 1+{{candidate}} struct
50 Noncopyable conv1 = Convert<Noncopyable>();
51 Noncopyable conv2((Convert<Noncopyable>()));
52 Noncopyable conv3 = {Convert<Noncopyable>()};
53 Noncopyable conv4{Convert<Noncopyable>()};
63 Noncopyable derived_conv4{Convert<Derived>()}; // expected-error {{deleted constructor}}
65 NoncopyableAggr nc_aggr1 = Convert<NoncopyableAggr>();
66 NoncopyableAggr nc_aggr2((Convert<NoncopyableAggr>()));
69 NoncopyableAggr nc_aggr5 = Convert<Noncopyable>(); // expected-error {{no viable}}
71 NoncopyableAggr nc_aggr7 = {Convert<Noncopyable>()};
[all …]
/llvm-project-15.0.7/flang/runtime/
H A Denvironment.cpp21 std::optional<Convert> GetConvertFromString(const char *x, std::size_t n) { in GetConvertFromString()
26 return Convert::Unknown; in GetConvertFromString()
28 return Convert::Native; in GetConvertFromString()
30 return Convert::LittleEndian; in GetConvertFromString()
32 return Convert::BigEndian; in GetConvertFromString()
34 return Convert::Swap; in GetConvertFromString()
48 conversion = Convert::Unknown; in Configure()
H A Denvironment.h28 enum class Convert { Unknown, Native, LittleEndian, BigEndian, Swap }; enum
30 std::optional<Convert> GetConvertFromString(const char *, std::size_t);
45 Convert conversion{Convert::Unknown}; // FORT_CONVERT
H A Dmain.cpp39 Fortran::runtime::Convert::Unknown) { in RTNAME()
43 Fortran::runtime::Convert::Swap; in RTNAME()
/llvm-project-15.0.7/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.cpp39 struct Convert { struct
40 constexpr Convert(T v) : v(v) {} in Convert() argument
44 template<typename T> Convert<T> ConvertVar(); argument
62 …Agg<char> ce1 = { Convert<float>(1.0) }; // expected-error {{type 'float' cannot be narrowed to 'c… in float_to_int()
111 …Agg<float> ce1 = { Convert<double>(1e300) }; // expected-error {{constant expression evaluates to … in shrink_float()
138 …Agg<float> ce1 = { Convert<int>(123456789) }; // expected-error {{constant expression evaluates to… in int_to_float()
187 …Agg<short> ce1 = { Convert<int>(100000) }; // expected-error {{constant expression evaluates to 10… in shrink_int()
/llvm-project-15.0.7/mlir/include/mlir/Conversion/
H A DPasses.td81 let summary = "Convert AMDGPU dialect to ROCDL dialect";
100 let summary = "Convert Arithmetic dialect to LLVM dialect";
197 let summary = "Convert Complex dialect to LLVM dialect";
207 let summary = "Convert Complex dialect to libm calls";
315 let summary = "Convert Func dialect to SPIR-V dialect";
392 let summary = "Convert GPU dialect to SPIR-V dialect";
475 let summary = "Convert Math dialect to libm calls";
492 let summary = "Convert Math dialect to LLVM dialect";
505 let summary = "Convert Math dialect to SPIR-V dialect";
553 let summary = "Convert NVGPU dialect to NVVM dialect";
[all …]
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Dmessage.h103 Format(&text, Convert(std::forward<A>(x))...);
123 template <typename A> A Convert(const A &x) { in Convert() function
127 template <typename A> A Convert(A &x) { in Convert() function
135 const char *Convert(const char *s) { return s; } in Convert() function
136 const char *Convert(char *s) { return s; } in Convert() function
137 const char *Convert(const std::string &);
138 const char *Convert(std::string &);
139 const char *Convert(std::string &&);
140 const char *Convert(CharBlock);
141 std::intmax_t Convert(std::int64_t x) { return x; } in Convert() function
[all …]
/llvm-project-15.0.7/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 __anon1fd0667e0302()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DLinearPolyBaseTest.cpp28 Poly3D(const Poly3DBase &Convert) : Poly3DBase(Convert) {} in Poly3D() argument
98 Univariate3D(const Univariate3DBase &Convert) : Univariate3DBase(Convert) {} in Univariate3D() argument
/llvm-project-15.0.7/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-15.0.7/flang/include/flang/Optimizer/Transforms/
H A DPasses.td20 let summary = "Convert fir.array, fir.box and fir.rec function result to "
41 Convert fir operations which satisfy affine constraints to the affine
95 let summary = "Convert array value operations to memory operations.";
115 let summary = "Convert CHARACTER entities with different KINDs";
133 let summary = "Convert FIR structured control flow ops to CFG ops.";
153 let summary = "Convert name for external interoperability";
174 let summary = "Convert stack to heap allocations and vice versa.";
176 Convert stack allocations to heap allocations and vice versa based on
/llvm-project-15.0.7/libclc/amdgcn/lib/integer/
H A Dpopcount.inc8 /* Convert to uintX */
12 /* Convert the result back to gentype. */
/llvm-project-15.0.7/llvm/lib/Support/
H A DAutoConvert.cpp21 static const struct f_cnvrt Convert = { in disableAutoConversion() local
26 if (fcntl(FD, F_CONTROL_CVT, &Convert) == -1) in disableAutoConversion()
/llvm-project-15.0.7/flang/include/flang/Optimizer/CodeGen/
H A DCGPasses.td20 let summary = "Convert FIR dialect to LLVM-IR dialect";
22 Convert the FIR dialect to the LLVM-IR dialect of MLIR. This conversion
72 "Convert procedure pointer abstractions to a single code pointer, "
/llvm-project-15.0.7/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(std::string &&s) { in Convert() function in Fortran::parser::MessageFormattedText
83 const char *MessageFormattedText::Convert(CharBlock x) { in Convert() function in Fortran::parser::MessageFormattedText
84 return Convert(x.ToString()); in Convert()
/llvm-project-15.0.7/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-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVCastOps.td98 Convert value numerically from floating point to signed integer, with
130 Convert value numerically from floating point to unsigned integer, with
166 Convert value numerically from signed integer to floating point.
200 Convert value numerically from unsigned integer to floating point.
234 Convert value numerically from one floating-point width to another
270 Convert signed width. This is either a truncate or a sign extend.
305 Convert unsigned width. This is either a truncate or a zero extend.
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h162 const llvm::APSInt &Convert(const llvm::APSInt& To, in Convert() function
171 const llvm::APSInt &Convert(QualType T, const llvm::APSInt &From) { in Convert() function
173 return Convert(TargetType, From); in Convert()
176 const llvm::APSInt &Convert(APSIntType TargetType, const llvm::APSInt &From) { in Convert() function
/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/CPU/
H A Dsparse_conversion_sparse2sparse.mlir55 // Convert dense tensor directly to various sparse tensors.
62 // Convert sparse tensor directly to another sparse format.
70 // Convert sparse tensor back to dense.
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86CallFrameOptimization.cpp110 enum InstClassification { Convert, Skip, Exit }; enumerator
292 return ImmOp.getImm() == 0 ? Convert : Exit; in classifyInstruction()
298 return ImmOp.getImm() == -1 ? Convert : Exit; in classifyInstruction()
304 return Convert; in classifyInstruction()
416 if (Classification != Convert) in collectCallInfo()
/llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/
H A Dremove_copy.pass.cpp47 template <typename T, typename Convert>
49 test(T trash, const T& value, Convert convert, bool check_weakness = true) in test()
/llvm-project-15.0.7/pstl/test/std/algorithms/alg.nonmodifying/
H A Dcount.pass.cpp60 template <typename In, typename T, typename Predicate, typename Convert>
62 test(T needle, Predicate pred, Convert convert) in test()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h129 ArrayDocNode &getArray(bool Convert = false) {
131 assert(Convert);
140 MapDocNode &getMap(bool Convert = false) {
142 assert(Convert);
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp42 VPINTERNAL_CASE(Convert)
570 if (LegalizeStrat.OpStrategy == VPLegalization::Convert) in sanitizeStrategy()
581 (LegalizeStrat.OpStrategy == VPLegalization::Convert)) { in sanitizeStrategy()
582 LegalizeStrat.EVLParamStrategy = VPLegalization::Convert; in sanitizeStrategy()
630 case VPLegalization::Convert: in expandVectorPredication()
643 case VPLegalization::Convert: in expandVectorPredication()

12345678