/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/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/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/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() 50 if (BN_is_negative(scalar)) { in bn_compute_wNAF() 54 if (scalar->d == NULL || scalar->top == 0) { in bn_compute_wNAF() 59 len = BN_num_bits(scalar); in bn_compute_wNAF() 63 * BN_num_bits(scalar) + 1) in bn_compute_wNAF() 69 window_val = scalar->d[0] & mask; in bn_compute_wNAF() 121 window_val += bit * BN_is_bit_set(scalar, j + w); in bn_compute_wNAF()
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 15-test_ecparam.t | 65 plan tests => scalar(@valid); 70 plan tests => scalar(@valid); 75 plan tests => scalar(@valid); 80 plan tests => scalar(@noncanon); 85 plan tests => scalar(@noncanon); 90 plan tests => scalar(@noncanon); 95 plan tests => scalar(@invalid); 100 plan tests => scalar(@invalid); 105 plan tests => scalar(@invalid); 110 plan tests => 2 * scalar(@valid); [all …]
|
H A D | 01-test_symbol_presence.t | 32 my $testcount = scalar @libnames; 69 note "Number of lines in \@nm_lines before massaging: ", scalar @nm_lines; 70 note "Number of lines in \@def_lines before massaging: ", scalar @def_lines; 116 note "Number of lines in \@nm_lines after massaging: ", scalar @nm_lines; 117 note "Number of lines in \@def_lines after massaging: ", scalar @def_lines; 124 while (scalar @nm_lines || scalar @def_lines) { 142 if (scalar @missing) { 148 if (scalar @extra) { 154 ok(scalar @missing == 0,
|
/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/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 | 122 * (scalar * generator) 124 * (scalar * point) 127 * `scalar` cannot be NULL and should be in the range [0,n) otherwise all 141 * input parameters `group`, `r`, `scalar` and `ctx` are not NULL. 146 const BIGNUM *scalar, const EC_POINT *point, in ossl_ec_scalar_mul_ladder() argument 209 * So when we pad the scalar, some timing diff might in ossl_ec_scalar_mul_ladder() 221 if (!BN_copy(k, scalar)) { in ossl_ec_scalar_mul_ladder() 249 * lambda := scalar + cardinality in ossl_ec_scalar_mul_ladder() 250 * k := scalar + 2*cardinality in ossl_ec_scalar_mul_ladder() 407 * scalar*generator [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 …]
|
H A D | LegacyLegalizerInfo.h | 34 /// a narrower scalar base-type. For example a 64-bit add might be 38 /// The operation should be implemented in terms of a wider scalar 169 /// setAction ({G_ADD, 0, LLT::scalar(32)}, Legal); 173 /// actions for different scalar types T: 174 /// LLT::scalar(1)..LLT::scalar(31): {WidenScalar, 0, LLT::scalar(32)} 175 /// LLT::scalar(32): {Legal, 0, LLT::scalar(32)} 176 /// LLT::scalar(33)..: {NarrowScalar, 0, LLT::scalar(32)} 203 /// setAction ({G_DIV, 0, LLT::scalar(32)}, Legal); 204 /// setAction ({G_DIV, 0, LLT::scalar(64)}, Legal); 208 /// and Unsupported for all other scalar types T. [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/lib/clang/libllvm/ |
H A D | Makefile | 1821 SRCS_MIN+= Transforms/Scalar/ADCE.cpp 1822 SRCS_MIN+= Transforms/Scalar/AlignmentFromAssumptions.cpp 1823 SRCS_MIN+= Transforms/Scalar/AnnotationRemarks.cpp 1824 SRCS_MIN+= Transforms/Scalar/BDCE.cpp 1825 SRCS_MIN+= Transforms/Scalar/CallSiteSplitting.cpp 1826 SRCS_MIN+= Transforms/Scalar/ConstantHoisting.cpp 1827 SRCS_MIN+= Transforms/Scalar/ConstraintElimination.cpp 1828 SRCS_MIN+= Transforms/Scalar/CorrelatedValuePropagation.cpp 1829 SRCS_MIN+= Transforms/Scalar/DCE.cpp 1830 SRCS_MIN+= Transforms/Scalar/DFAJumpThreading.cpp [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/share/man/man9/ |
H A D | bitset.9 | 439 equivalent of the scalar: 463 equivalent of the scalar: 478 equivalent of the scalar: 493 equivalent of the scalar: 508 equivalent of the scalar: 526 equivalent of the scalar: 541 equivalent of the scalar: 556 equivalent of the scalar: 571 equivalent of the scalar: 586 equivalent of the scalar:
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scalars/ |
H A D | tst.misc.d | 31 * Test the different kinds of integer scalar references. In particular, we 32 * test accessing a kernel executable scalar, kernel scoped scalar, DTrace 33 * scalar first ref that forces creation (both global and TLS), and DTrace 34 * scalar subsequent reference (both global and TLS).
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | IRInterpreter.cpp | 22 #include "lldb/Utility/Scalar.h" 152 bool AssignToMatchType(lldb_private::Scalar &scalar, llvm::APInt value, in AssignToMatchType() argument 162 scalar = value.zextOrTrunc(type_size * 8); in AssignToMatchType() 166 bool EvaluateValue(lldb_private::Scalar &scalar, const Value *value, in EvaluateValue() argument 174 scalar = cfp->getValueAPF().convertToDouble(); in EvaluateValue() 176 scalar = cfp->getValueAPF().convertToFloat(); in EvaluateValue() 188 return AssignToMatchType(scalar, value_apint, value->getType()); in EvaluateValue() 207 scalar = value_extractor.GetDouble(&offset); in EvaluateValue() 210 scalar = value_extractor.GetFloat(&offset); in EvaluateValue() 214 return AssignToMatchType(scalar, llvm::APInt(64, u64value), in EvaluateValue() [all …]
|