| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | Scalar.h | 1 //===-- Scalar.h ------------------------------------------------*- C++ -*-===// 31 // Operators are defined and Scalar objects will correctly promote their types 34 class Scalar { 52 Scalar() : m_float(0.0f) {} in Scalar() function 53 Scalar(int v) : m_type(e_int), m_integer(MakeAPSInt(v)), m_float(0.0f) {} in Scalar() function 54 Scalar(unsigned int v) in Scalar() function 56 Scalar(long v) : m_type(e_int), m_integer(MakeAPSInt(v)), m_float(0.0f) {} in Scalar() function 57 Scalar(unsigned long v) in Scalar() function 59 Scalar(long long v) in Scalar() function 61 Scalar(unsigned long long v) in Scalar() function [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Scalar.cpp | 1 //===-- Scalar.cpp --------------------------------------------------------===// 9 #include "lldb/Utility/Scalar.h" 31 Scalar::PromotionKey Scalar::GetPromoKey() const { in GetPromoKey() 43 Scalar::PromotionKey Scalar::GetFloatPromoKey(const llvm::fltSemantics &sem) { in GetFloatPromoKey() 56 Scalar::Type Scalar::PromoteToMaxType(Scalar &lhs, Scalar &rhs) { in PromoteToMaxType() 57 const auto &Promote = [](Scalar &a, const Scalar &b) { in PromoteToMaxType() 82 return Scalar::e_void; in PromoteToMaxType() 85 bool Scalar::GetData(DataExtractor &data, size_t limit_byte_size) const { in GetData() 114 void Scalar::GetBytes(llvm::MutableArrayRef<uint8_t> storage) const { in GetBytes() 132 size_t Scalar::GetByteSize() const { in GetByteSize() [all …]
|
| /freebsd/contrib/lyaml/spec/ |
| H A D | ext_yaml_emitter_spec.yaml | 12 {type = "SCALAR", value = ""}, 31 expect (emit {"DOCUMENT_START", {type = "SCALAR", value = "woo!"}, 39 {type = "SCALAR", value = ""}, 46 {type = "SCALAR", value = ""}, 55 {type = "SCALAR", value = ""}, 61 {type = "SCALAR", value = ""}, "DOCUMENT_END"}). 65 {type = "SCALAR", value = ""}, "DOCUMENT_END"}). 70 expect (emit {"DOCUMENT_START", {type = "SCALAR", value = ""}, 74 expect (emit {"DOCUMENT_START", {type = "SCALAR", value = ""}, 92 {type = "SCALAR", value = "foo"}, {type = "SCALAR", value = "bar"}, [all …]
|
| /freebsd/crypto/openssl/crypto/ec/curve448/ |
| H A D | point_448.h | 40 /* The number of bits in a scalar */ 43 /* Number of bytes in a serialized scalar. */ 66 /* Scalar is stored packed, because we don't need the speed. */ 71 /* A scalar equal to 1. */ 74 /* A scalar equal to 0. */ 85 * Read a scalar from wire format or from bytes. 87 * ser (in): Serialized form of a scalar. 91 * C448_SUCCESS: The scalar was correctly encoded. 92 * C448_FAILURE: The scalar was greater than the modulus, and has been reduced 100 * Read a scalar from wire format or from bytes. Reduces mod scalar prime. [all …]
|
| /freebsd/contrib/libyaml/tests/ |
| H A D | run-emitter.c | 43 event_from->data.scalar.anchor, in copy_event() 44 event_from->data.scalar.tag, in copy_event() 45 event_from->data.scalar.value, in copy_event() 46 event_from->data.scalar.length, in copy_event() 47 event_from->data.scalar.plain_implicit, in copy_event() 48 event_from->data.scalar.quoted_implicit, in copy_event() 49 event_from->data.scalar.style); in copy_event() 123 if ((event1->data.scalar.anchor && !event2->data.scalar.anchor) in compare_events() 124 || (!event1->data.scalar.anchor && event2->data.scalar.anchor) in compare_events() 125 || (event1->data.scalar.anchor && event2->data.scalar.anchor in compare_events() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | arm_mve.td | 10 // functions wrapping the MVE vector instruction set and scalar shift 23 def "vst"#n#"q": Intrinsic<Void, (args Ptr<Scalar>, MultiVector<n>), 26 def "vld"#n#"q": Intrinsic<MultiVector<n>, (args CPtr<Scalar>), 47 def vqaddq_n: Intrinsic<Vector, (args Vector:$a, unpromoted<Scalar>:$b), 49 def vqsubq_n: Intrinsic<Vector, (args Vector:$a, unpromoted<Scalar>:$b), 61 def vqaddq_u_n: Intrinsic<Vector, (args Vector:$a, unpromoted<Scalar>:$b), 64 def vqsubq_u_n: Intrinsic<Vector, (args Vector:$a, unpromoted<Scalar>:$b), 80 (IRInt<"vhadd", [Vector]> $a, $b, (unsignedflag Scalar))>; 82 (IRInt<"vrhadd", [Vector]> $a, $b, (unsignedflag Scalar))>; 90 (IRInt<"vhsub", [Vector]> $a, $b, (unsignedflag Scalar))>; [all …]
|
| H A D | arm_mve_defs.td | 24 // Scalar:$b) defines the names $a and $b which the specification of the code 198 // Another magic operation is 'unsignedflag', which you give a scalar 203 // 'bitsize' also takes a scalar type, and expands into an integer 253 // Primitive types: base class, and an instance for the set of scalar integer 275 // VecOf<t> expects t to be a scalar, and gives a 128-bit vector of whatever it 279 // NarrowedVecOf<t,v> expects t to be a scalar type, and v to be a vector 287 // PredOf expects t to be a scalar, and expands to a predicate vector which 291 // Scalar expands to whatever is the main parameter type of the current 294 def Scalar: ComplexType<(CTO_Parameter)>; 295 def Vector: VecOf<Scalar>; [all …]
|
| /freebsd/contrib/libyaml/src/ |
| H A D | scanner.c | 50 * SCALAR(value,style) # A scalar. 99 * 'a scalar' 104 * SCALAR("a scalar",single-quoted) 110 * 'a scalar' 117 * SCALAR("a scalar",single-quoted) 123 * 'a scalar' 125 * 'another scalar' 127 * 'yet another scalar' 132 * SCALAR("a scalar",single-quoted) 134 * SCALAR("another scalar",single-quoted) [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | Value.h | 14 #include "lldb/Utility/Scalar.h" 44 /// A raw scalar value. 45 Scalar = 0, enumerator 60 /// RegisterInfo * (can be a scalar or a vector register). 69 Value(const Scalar &scalar); 102 SetValueType(ValueType::Scalar); in SetContext() 110 Scalar &ResolveValue(ExecutionContext *exe_ctx, Module *module = nullptr); 112 const Scalar &GetScalar() const { return m_value; } in GetScalar() 114 Scalar [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | YAMLTraits.cpp | 218 // Treat case where there's a scalar "null" value as an empty sequence. in beginSequence() 291 setError(CurrentNode, "unknown enumerated scalar"); in endEnumScalar() 318 setError(CurrentNode, "unexpected scalar in sequence of bit values"); in bitSetMatch() 346 setError(CurrentNode, "unexpected scalar"); in scalarString() 363 return NodeKind::Scalar; in getNodeKind() 438 setError(KeyNode, "Map key must be a scalar"); in createHNodes() 785 // unicode-scalar and special short-form escapes. This is handled in in output() 913 StringRef ScalarTraits<bool>::input(StringRef Scalar, void *, bool &Val) { in input() argument 914 if (std::optional<bool> Parsed = parseBool(Scalar)) { in input() 926 StringRef ScalarTraits<StringRef>::input(StringRef Scalar, void *, in input() argument [all …]
|
| /freebsd/crypto/openssl/crypto/bn/ |
| H A D | bn_intern.c | 14 * Determine the modified width-(w+1) Non-Adjacent Form (wNAF) of 'scalar'. 17 * scalar = \sum_j r[j]*2^j 22 signed char *bn_compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len) in bn_compute_wNAF() argument 30 if (BN_is_zero(scalar)) { in bn_compute_wNAF() 48 if (BN_is_negative(scalar)) { in bn_compute_wNAF() 52 if (scalar->d == NULL || scalar->top == 0) { in bn_compute_wNAF() 57 len = BN_num_bits(scalar); in bn_compute_wNAF() 61 * BN_num_bits(scalar) + 1) in bn_compute_wNAF() 65 window_val = scalar->d[0] & mask; in bn_compute_wNAF() 117 window_val += bit * BN_is_bit_set(scalar, j + w); in bn_compute_wNAF()
|
| /freebsd/crypto/openssl/crypto/ml_kem/ |
| H A D | ml_kem.c | 74 * The scalar rejection-sampling buffer size needs to be a multiple of 12, but 94 } scalar; typedef 100 scalar tbuf[(rank)]; \ 102 scalar mbuf[(rank)*(rank)] \ 111 scalar sbuf[ML_KEM_##bits##_RANK]; \ 120 int (*CBD_FUNC)(scalar *out, uint8_t in[ML_KEM_RANDOM_BYTES + 1], 122 static void scalar_encode(uint8_t *out, const scalar *s, int bits); 138 * Encapsulation produces a vector "u" and a scalar "v", whose coordinates 373 const scalar *t = key->t, *end = t + vinfo->rank; in hash_h_pubkey() 431 int sample_scalar(scalar *out, EVP_MD_CTX *mdctx) in sample_scalar() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | TextStubCommon.cpp | 93 StringRef ScalarTraits<PlatformSet>::input(StringRef Scalar, void *IO, in input() argument 99 if (Scalar == "zippered") { in input() 108 auto Platform = StringSwitch<PlatformType>(Scalar) in input() 146 StringRef ScalarTraits<Architecture>::input(StringRef Scalar, void *, in input() argument 148 Value = getArchitectureFromName(Scalar); in input() 159 StringRef ScalarTraits<PackedVersion>::input(StringRef Scalar, void *, in input() argument 161 if (!Value.parse32(Scalar)) in input() 189 StringRef ScalarTraits<SwiftVersion>::input(StringRef Scalar, void *IO, in input() argument 196 if (Scalar.getAsInteger(10, Value)) in input() 200 Value = StringSwitch<SwiftVersion>(Scalar) in input() [all …]
|
| /freebsd/crypto/openssl/test/recipes/ |
| H A D | 15-test_ecparam.t | 83 plan tests => scalar(@valid); 88 plan tests => scalar(@valid); 93 plan tests => scalar(@valid); 98 plan tests => scalar(@noncanon); 103 plan tests => scalar(@noncanon); 108 plan tests => scalar(@noncanon); 113 plan tests => scalar(@invalid); 118 plan tests => scalar(@invalid); 123 plan tests => scalar(@invalid); 128 plan tests => 2 * scalar(@valid); [all …]
|
| H A D | 01-test_symbol_presence.t | 54 += (scalar keys %shlibpath) # Check for missing symbols in shared lib 107 note "Number of lines in \@stlib_lines before massaging: ", scalar @stlib_lines; 109 note "Number of lines in \@shlib_lines before massaging: ", scalar @shlib_lines; 110 note "Number of lines in \@def_lines before massaging: ", scalar @def_lines; 162 note "Number of lines in \@stlib_lines after massaging: ", scalar @stlib_lines; 165 note "Number of lines in \@shlib_lines after massaging: ", scalar @shlib_lines; 166 note "Number of lines in \@def_lines after massaging: ", scalar @def_lines; 192 ok(scalar @duplicates == 0, "checking no duplicate symbols in static libraries"); 209 while (scalar @sh_symbols || scalar @def_symbols) { 227 if (scalar @missing) { [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | ValueObjectChild.cpp | 16 #include "lldb/Utility/Scalar.h" 112 // Copy the parent scalar value and the scalar value type in UpdateValue() 134 ? Value::ValueType::Scalar in UpdateValue() 142 m_value.SetValueType(Value::ValueType::Scalar); in UpdateValue() 181 // Set this object's scalar value to the address of its value by in UpdateValue() 187 case Value::ValueType::Scalar: in UpdateValue() 188 // try to extract the child value from the parent's scalar value in UpdateValue() 190 Scalar scalar(m_value.GetScalar()); in UpdateValue() local 191 scalar.ExtractBitfield(8 * m_byte_size, 8 * m_byte_offset); in UpdateValue() 192 m_value.GetScalar() = scalar; in UpdateValue()
|
| H A D | Value.cpp | 44 Value::Value(const Scalar &scalar) in Value() argument 45 : m_value(scalar), m_compiler_type(), m_data_buffer() {} in Value() 114 case ValueType::Scalar: in GetValueAddressType() 161 case ValueType::Scalar: { in AppendDataToHostBuffer() 296 case ValueType::Scalar: in GetData() 334 case ValueType::Scalar: { in GetValueAsData() 577 Scalar &Value::ResolveValue(ExecutionContext *exe_ctx, Module *module) { in ResolveValue() 582 case ValueType::Scalar: // raw scalar valu in ResolveValue() 592 Scalar scalar; ResolveValue() local [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Passes/ |
| H A D | PassBuilder.cpp | 205 #include "llvm/Transforms/Scalar/ADCE.h" 206 #include "llvm/Transforms/Scalar/AlignmentFromAssumptions.h" 207 #include "llvm/Transforms/Scalar/AnnotationRemarks.h" 208 #include "llvm/Transforms/Scalar/BDCE.h" 209 #include "llvm/Transforms/Scalar/CallSiteSplitting.h" 210 #include "llvm/Transforms/Scalar/ConstantHoisting.h" 211 #include "llvm/Transforms/Scalar/ConstraintElimination.h" 212 #include "llvm/Transforms/Scalar/CorrelatedValuePropagation.h" 213 #include "llvm/Transforms/Scalar/DCE.h" 214 #include "llvm/Transforms/Scalar/DFAJumpThreading.h" [all …]
|
| /freebsd/crypto/openssl/test/ |
| H A D | ecstresstest.c | 38 * using the X-coordinate of the previous point as the next scalar for 45 BIGNUM *scalar = NULL; in walk_curve() local 48 if (!TEST_ptr(scalar = BN_new()) in walk_curve() 49 || !TEST_true(EC_POINT_get_affine_coordinates(group, point, scalar, in walk_curve() 54 if (!TEST_true(EC_POINT_mul(group, point, NULL, point, scalar, NULL)) in walk_curve() 56 scalar, in walk_curve() 60 return scalar; in walk_curve() 63 BN_free(scalar); in walk_curve()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUArgumentUsageInfo.cpp | 104 &AMDGPU::SGPR_32RegClass, LLT::scalar(32)); in getPreloadedValue() 107 &AMDGPU::SGPR_32RegClass, LLT::scalar(32)); in getPreloadedValue() 110 &AMDGPU::SGPR_32RegClass, LLT::scalar(32)); in getPreloadedValue() 113 &AMDGPU::SGPR_32RegClass, LLT::scalar(32)); in getPreloadedValue() 117 &AMDGPU::SGPR_32RegClass, LLT::scalar(32)); in getPreloadedValue() 120 &AMDGPU::SGPR_32RegClass, LLT::scalar(32)}; in getPreloadedValue() 131 &AMDGPU::SGPR_64RegClass, LLT::scalar(64)); in getPreloadedValue() 134 &AMDGPU::SGPR_64RegClass, LLT::scalar(64)); in getPreloadedValue() 144 &AMDGPU::VGPR_32RegClass, LLT::scalar(32)); in getPreloadedValue() 147 &AMDGPU::VGPR_32RegClass, LLT::scalar(32)); in getPreloadedValue() [all …]
|
| /freebsd/crypto/openssl/crypto/ec/ |
| H A D | ec_mult.c | 116 * (scalar * generator) 118 * (scalar * point) 121 * `scalar` cannot be NULL and should be in the range [0,n) otherwise all 135 * input parameters `group`, `r`, `scalar` and `ctx` are not NULL. 140 const BIGNUM *scalar, const EC_POINT *point, in ossl_ec_scalar_mul_ladder() argument 203 * So when we pad the scalar, some timing diff might in ossl_ec_scalar_mul_ladder() 215 if (!BN_copy(k, scalar)) { in ossl_ec_scalar_mul_ladder() 243 * lambda := scalar + cardinality in ossl_ec_scalar_mul_ladder() 244 * k := scalar + 2*cardinality in ossl_ec_scalar_mul_ladder() 401 * scalar*generator [all …]
|
| /freebsd/crypto/libecc/src/ecdh/ |
| H A D | x25519_448.c | 43 /* Scalar clamping/decoding 45 * NOTE: the scalar encoding is mainly here to ensure that it is of the form 50 * as setting the scalar MSB to avoid timing/SCA attacks on scalar multiplication. 53 ATTRIBUTE_WARN_UNUSED_RET static int decode_scalar(u8 *scalar_decoded, const u8 *scalar, u8 len) in decode_scalar() argument 59 MUST_HAVE((scalar != scalar_decoded), ret, err); in decode_scalar() 65 scalar_decoded[len - 1 - i] = scalar[i]; in decode_scalar() 149 /* Note: our local variables holding scalar and coordinate have the maximum size in x25519_448_core() 164 nn scalar; in x25519_448_core() local 170 scalar.magic = WORD(0); in x25519_448_core() 177 /* First of all, we clamp and decode the scalar and u */ in x25519_448_core() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 50 /// a narrower scalar base-type. For example a 64-bit add might be 54 /// The operation should be implemented in terms of a wider scalar 281 /// True iff the specified type index is a scalar. 294 /// True iff the specified type index is a scalar that's narrower than the given 298 /// True iff the specified type index is a scalar that's wider than the given 302 /// True iff the specified type index is a scalar or vector with an element type 306 /// True iff the specified type index is a scalar or a vector with an element 310 /// True iff the specified type index is a scalar whose size is not a multiple 314 /// True iff the specified type index is a scalar whose size is not a power of 318 /// True iff the specified type index is a scalar or vector whose element size [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCGenScalarMASSEntries.cpp | 10 // corresponding MASS (scalar) entries for PowerPC targets. 25 #define DEBUG_TYPE "ppc-gen-scalar-mass" 45 return "PPC Generate Scalar MASS Entries"; in getPassName() 65 // skip functions with no scalar or vector FP type (like cosisin) in isCandidateSafeToLower() 75 // skip functions with no scalar or vector FP type (like cosisin) in isFiniteCallSafe() 84 /// Lowers scalar math functions to scalar MASS functions. 145 "Generate Scalar MASS entries", false, false)
|
| /freebsd/lib/clang/libllvm/ |
| H A D | Makefile | 1838 SRCS_MIN+= Transforms/Scalar/ADCE.cpp 1839 SRCS_MIN+= Transforms/Scalar/AlignmentFromAssumptions.cpp 1840 SRCS_MIN+= Transforms/Scalar/AnnotationRemarks.cpp 1841 SRCS_MIN+= Transforms/Scalar/BDCE.cpp 1842 SRCS_MIN+= Transforms/Scalar/CallSiteSplitting.cpp 1843 SRCS_MIN+= Transforms/Scalar/ConstantHoisting.cpp 1844 SRCS_MIN+= Transforms/Scalar/ConstraintElimination.cpp 1845 SRCS_MIN+= Transforms/Scalar/CorrelatedValuePropagation.cpp 1846 SRCS_MIN+= Transforms/Scalar/DCE.cpp 1847 SRCS_MIN+= Transforms/Scalar/DFAJumpThreading.cpp [all …]
|