Home
last modified time | relevance | path

Searched refs:ValueType (Results 1 – 25 of 244) sorted by relevance

12345678910

/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DFlags.h25 typedef uint32_t ValueType; typedef
34 Flags(ValueType flags = 0) : m_flags(flags) {} in m_flags()
40 ValueType Get() const { return m_flags; } in Get()
46 size_t GetBitSize() const { return sizeof(ValueType) * 8; } in GetBitSize()
52 void Reset(ValueType flags) { m_flags = flags; } in Reset()
61 ValueType Clear(ValueType mask = ~static_cast<ValueType>(0)) {
73 ValueType Set(ValueType mask) { in Set()
83 bool AllSet(ValueType mask) const { return (m_flags & mask) == mask; } in AllSet()
90 bool AnySet(ValueType mask) const { return (m_flags & mask) != 0; } in AnySet()
96 bool Test(ValueType bit) const { return (m_flags & bit) != 0; } in Test()
[all …]
H A DStatus.h33 /// Status::ValueType. This value should be large enough to hold any and all
47 /// into ValueType.
48 typedef uint32_t ValueType; typedef
59 explicit Status(ValueType err,
109 ValueType GetError() const;
132 void SetError(ValueType err, lldb::ErrorType type);
185 ValueType m_code = 0; ///< Status code as an integer value.
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DEnumeratedArray.h23 template <typename ValueType, typename Enumeration,
28 using iterator = ValueType *;
29 using const_iterator = const ValueType *;
34 using value_type = ValueType;
35 using reference = ValueType &;
36 using const_reference = const ValueType &;
37 using pointer = ValueType *;
38 using const_pointer = const ValueType *;
41 EnumeratedArray(ValueType V) { in EnumeratedArray()
46 EnumeratedArray(std::initializer_list<ValueType> Init) { in EnumeratedArray()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DValue.cpp48 : m_value(), m_compiler_type(), m_value_type(ValueType::HostAddress), in Value()
89 m_value_type = ValueType::HostAddress; in SetBytes()
95 m_value_type = ValueType::HostAddress; in AppendBytes()
109 Value::ValueType Value::GetValueType() const { return m_value_type; } in GetValueAddressType()
113 case ValueType::Invalid: in GetValueAddressType()
114 case ValueType::Scalar: in GetValueAddressType()
116 case ValueType::LoadAddress: in GetValueAddressType()
118 case ValueType::FileAddress: in GetValueAddressType()
120 case ValueType::HostAddress: in GetValueAddressType()
126 Value::ValueType Valu in GetValueTypeFromAddressType()
[all...]
H A DValueObjectMemory.cpp65 m_value.SetValueType(Value::ValueType::LoadAddress); in ValueObjectMemory()
70 m_value.SetValueType(Value::ValueType::FileAddress); in ValueObjectMemory()
74 m_value.SetValueType(Value::ValueType::Scalar); in ValueObjectMemory()
95 m_value.SetValueType(Value::ValueType::LoadAddress); in ValueObjectMemory()
100 m_value.SetValueType(Value::ValueType::FileAddress); in ValueObjectMemory()
104 m_value.SetValueType(Value::ValueType::Scalar); in ValueObjectMemory()
153 lldb::ValueType ValueObjectMemory::GetValueType() const { in GetValueType()
172 Value::ValueType value_type = m_value.GetValueType(); in UpdateValue()
175 case Value::ValueType::Invalid: in UpdateValue()
178 case Value::ValueType::Scalar: in UpdateValue()
[all …]
H A DValueObjectChild.cpp48 lldb::ValueType ValueObjectChild::GetValueType() const { in GetValueType()
128 m_value.SetValueType(Value::ValueType::LoadAddress); in UpdateValue()
130 m_value.SetValueType(Value::ValueType::FileAddress); in UpdateValue()
134 ? Value::ValueType::Scalar in UpdateValue()
135 : Value::ValueType::LoadAddress); in UpdateValue()
138 m_value.SetValueType(Value::ValueType::HostAddress); in UpdateValue()
142 m_value.SetValueType(Value::ValueType::Scalar); in UpdateValue()
147 case Value::ValueType::Invalid: in UpdateValue()
149 case Value::ValueType::LoadAddress: in UpdateValue()
150 case Value::ValueType::FileAddress: in UpdateValue()
[all …]
H A DValueObjectVariable.cpp124 lldb::ValueType ValueObjectVariable::GetValueType() const { in GetValueType()
179 Value::ValueType value_type = m_value.GetValueType(); in UpdateValue()
193 if (value_type == Value::ValueType::HostAddress && in UpdateValue()
206 case Value::ValueType::Invalid: in UpdateValue()
209 case Value::ValueType::Scalar: in UpdateValue()
216 case Value::ValueType::FileAddress: in UpdateValue()
217 case Value::ValueType::LoadAddress: in UpdateValue()
218 case Value::ValueType::HostAddress: in UpdateValue()
227 if (value_type == Value::ValueType::FileAddress && process_is_alive) in UpdateValue()
262 Value::ValueType value_type = valobj.GetValue().GetValueType(); in DoUpdateChildrenAddressType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVVPInstrPatternsVec.td20 multiclass VectorStore<ValueType DataVT,
21 ValueType PtrVT, ValueType MaskVT,
54 multiclass VectorLoad<ValueType DataVT,
55 ValueType PtrVT, ValueType MaskVT,
98 multiclass VectorGather<ValueType DataVT,
99 ValueType PtrVT, ValueType MaskVT,
115 multiclass VectorScatter<ValueType DataVT,
116 ValueType PtrVT, ValueType MaskVT,
142 multiclass FNeg<ValueType DataVT> {
182 ValueType ScalarVT, ValueType DataVT,
[all …]
H A DVEInstrPatternsVec.td43 multiclass vbrd_elem32<ValueType v32, ValueType s32, SDPatternOperator ImmOp,
54 multiclass vbrd_elem64<ValueType v64, ValueType s64,
65 multiclass extract_insert_elem32<ValueType v32, ValueType s32,
83 multiclass extract_insert_elem64<ValueType v64, ValueType s64> {
99 multiclass patterns_elem32<ValueType v32, ValueType s32,
106 multiclass patterns_elem64<ValueType v64, ValueType s64,
123 class Mask_Binary<ValueType MaskVT, SDPatternOperator MaskOp, string InstName> :
144 multiclass Packing<ValueType PackVT> {
/freebsd/contrib/kyua/utils/config/
H A Dnodes.ipp151 template< typename ValueType >
152 config::typed_leaf_node< ValueType >::typed_leaf_node(void) :
167 template< typename ValueType >
169 config::typed_leaf_node< ValueType >::is_set(void) const
180 template< typename ValueType >
181 const typename config::typed_leaf_node< ValueType >::value_type&
182 config::typed_leaf_node< ValueType >::value(void) const
194 template< typename ValueType >
195 typename config::typed_leaf_node< ValueType >::value_type&
196 config::typed_leaf_node< ValueType >::value(void)
[all …]
H A Dnodes.hpp119 template< typename ValueType >
123 typedef ValueType value_type;
153 template< typename ValueType >
154 class native_leaf_node : public typed_leaf_node< ValueType > {
201 template< typename ValueType >
205 typedef std::set< ValueType > value_type;
253 virtual ValueType parse_one(const std::string&) const = 0;
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsOptimizePICCall.cpp56 using ValueType = PointerUnion<const Value *, const PseudoSourceValue *>; typedef
59 ScopedHashTableVal<ValueType, CntRegP>>;
60 using ScopedHTType = ScopedHashTable<ValueType, CntRegP,
61 DenseMapInfo<ValueType>, AllocatorTy>;
100 ValueType &Val) const;
104 unsigned getCount(ValueType Entry);
108 unsigned getReg(ValueType Entry);
111 void incCntAndSetReg(ValueType Entry, unsigned Reg);
234 ValueType Entry; in visitNode()
266 ValueType &Val) const { in isCallViaRegister()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DValue.h41 enum class ValueType { enum
83 ValueType GetValueType() const;
89 void SetValueType(ValueType value_type) { m_value_type = value_type; } in SetValueType()
102 SetValueType(ValueType::Scalar); in SetContext()
137 static const char *GetValueTypeAsCString(ValueType context_type);
148 static ValueType GetValueTypeFromAddressType(AddressType address_type);
154 ValueType m_value_type = ValueType::Scalar;
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h88 template <typename ValueType, typename Extractor> class VarStreamArrayIterator;
90 template <typename ValueType,
91 typename Extractor = VarStreamArrayExtractor<ValueType>>
93 friend class VarStreamArrayIterator<ValueType, Extractor>;
96 typedef VarStreamArrayIterator<ValueType, Extractor> Iterator;
121 VarStreamArray<ValueType, Extractor> substream(uint32_t Begin, in substream()
155 template <typename ValueType, typename Extractor>
157 : public iterator_facade_base<VarStreamArrayIterator<ValueType, Extractor>,
158 std::forward_iterator_tag, const ValueType> {
159 typedef VarStreamArrayIterator<ValueType, Extractor> IterType;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAMDGPUMetadata.cpp75 struct ScalarEnumerationTraits<ValueType> {
76 static void enumeration(IO &YIO, ValueType &EN) { in enumeration()
77 YIO.enumCase(EN, "Struct", ValueType::Struct); in enumeration()
78 YIO.enumCase(EN, "I8", ValueType::I8); in enumeration()
79 YIO.enumCase(EN, "U8", ValueType::U8); in enumeration()
80 YIO.enumCase(EN, "I16", ValueType::I16); in enumeration()
81 YIO.enumCase(EN, "U16", ValueType::U16); in enumeration()
82 YIO.enumCase(EN, "F16", ValueType::F16); in enumeration()
83 YIO.enumCase(EN, "I32", ValueType::I32); in enumeration()
84 YIO.enumCase(EN, "U32", ValueType::U32); in enumeration()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h152 struct ValueType { struct
173 ValueType(BaseType B, SizeType Sz, bool S, unsigned char VS) in ValueType() function
179 inline static ValueType getValueType();
189 inline ValueType::SizeType ValueType::getSizeType(unsigned nbytes) { in getSizeType() argument
201 inline ValueType ValueType::getValueType<void>() {
202 return ValueType(BT_Void, ST_0, false, 0);
206 inline ValueType ValueType::getValueType<bool>() {
207 return ValueType(BT_Bool, ST_1, false, 0);
211 inline ValueType ValueType::getValueType<int8_t>() {
212 return ValueType(BT_Int, ST_8, true, 0);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUGISel.td306 ValueType dst_vt,
307 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
316 ValueType dst_vt,
317 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
326 ValueType dst_vt,
327 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
336 ValueType dst_vt,
337 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
346 ValueType dst_vt,
347 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVStringPool.h31 using ValueType = TableType::value_type; variable
34 std::vector<ValueType *> Entries;
63 ValueType *Entry = ValueType::create(Key, Allocator, Value); in getIndex()
77 for (const ValueType *Entry : Entries) in print()
H A DLVSupport.h136 template <typename MapType, typename KeyType, typename ValueType>
137 void addItem(MapType *Map, KeyType Key, ValueType Value) { in addItem()
142 template <typename FirstKeyType, typename SecondKeyType, typename ValueType>
144 static_assert(std::is_pointer<ValueType>::value,
146 using LVSecondMapType = std::map<SecondKeyType, ValueType>;
150 using LVValueTypes = std::vector<ValueType>;
155 void add(FirstKeyType FirstKey, SecondKeyType SecondKey, ValueType Value) { in add()
181 ValueType find(FirstKeyType FirstKey, SecondKeyType SecondKey) const { in find()
191 ValueType find(SecondKeyType SecondKey) const { in find()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFAttribute.h24 DWARFFormValue::ValueType value)
29 DWARFFormValue::ValueType get_value() const { return m_value; } in get()
31 DWARFFormValue::ValueType &val) const { in get()
40 DWARFFormValue::ValueType m_value;
58 DWARFFormValue::ValueType ValueAtIndex(uint32_t i) const {
H A DDWARFFormValue.h33 } ValueType;
52 const ValueType &Value() const { return m_value; } in SetValue()
53 ValueType &ValueRef() { return m_value; }
54 void SetValue(const ValueType &val) { m_value = val; }
94 ValueType m_value; // Contains all data for the form
31 } ValueType; global() typedef
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.td1 //===- ValueTypes.td - ValueType definitions ---------------*- tablegen -*-===//
9 // ValueTypes.td - list of ValueType instances supported by the the
14 class ValueType<int size, int value> {
20 ValueType ElementType = ?;
31 class VTAny<int value> : ValueType<0, value> {
36 : ValueType<size, value> {
41 : ValueType<size, value> {
45 class VTVec<int nelem, ValueType elt, int value>
46 : ValueType<!mul(nelem, elt.Size), value> {
54 class VTScalableVec<int nelem, ValueType elt, int value>
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringOptions.h34 using ValueType = std::optional<T>; variable
36 const ValueType &getValue() const { return Value; } in getValue()
47 using ValueType = T;
49 const ValueType &getValue() const { in getValue()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpression.cpp115 value.SetValueType(Value::ValueType::Scalar); in ReadRegisterValueAsScalar()
750 if (value->GetValueType() == Value::ValueType::Scalar) in UpdateValueTypeFromLocationDescription()
751 value->SetValueType(Value::ValueType::LoadAddress); in UpdateValueTypeFromLocationDescription()
755 value->SetValueType(Value::ValueType::Scalar); in UpdateValueTypeFromLocationDescription()
759 if (value->GetValueType() == Value::ValueType::LoadAddress) in UpdateValueTypeFromLocationDescription()
760 value->SetValueType(Value::ValueType::Scalar); in UpdateValueTypeFromLocationDescription()
908 stack.back().SetValueType(Value::ValueType::LoadAddress); in Evaluate()
910 stack.back().SetValueType(Value::ValueType::FileAddress); in Evaluate()
961 Value::ValueType value_type = stack.back().GetValueType(); in Evaluate()
963 case Value::ValueType::HostAddress: { in Evaluate()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp109 template <RewriteDescriptor::Type DT, typename ValueType,
110 ValueType *(Module::*Get)(StringRef) const>
130 template <RewriteDescriptor::Type DT, typename ValueType,
131 ValueType *(Module::*Get)(StringRef) const>
132 bool ExplicitRewriteDescriptor<DT, ValueType, Get>::performOnModule(Module &M) { in performOnModule()
134 if (ValueType *S = (M.*Get)(Source)) { in performOnModule()
150 template <RewriteDescriptor::Type DT, typename ValueType,
151 ValueType *(Module::*Get)(StringRef) const,
152 iterator_range<typename iplist<ValueType>::iterator>
172 template <RewriteDescriptor::Type DT, typename ValueType,
[all …]

12345678910