| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | ValueTypes.td | 1 //===- ValueTypes.td - ValueType definitions ---------------*- tablegen -*-===// 15 class ValueType<int size, int value> { 21 def OtherVT : ValueType<0, 1>; // "Other" value 22 def i1 : ValueType<1, 2>; // One bit boolean value 23 def i2 : ValueType<2, 3>; // 2-bit integer value 24 def i4 : ValueType<4, 4>; // 4-bit integer value 25 def i8 : ValueType<8, 5>; // 8-bit integer value 26 def i16 : ValueType<16, 6>; // 16-bit integer value 27 def i32 : ValueType<32, 7>; // 32-bit integer value 28 def i64 : ValueType<64, 8>; // 64-bit integer value [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Utility/ |
| H A D | Flags.h | 25 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 D | Status.h | 48 typedef uint32_t ValueType; typedef 59 explicit Status(ValueType err, 109 ValueType GetError() const; 141 void SetError(ValueType err, lldb::ErrorType type); 194 ValueType m_code = 0; ///< Status code as an integer value.
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | EnumeratedArray.h | 23 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 …]
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | Value.cpp | 48 : 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() 107 Value::ValueType Value::GetValueType() const { return m_value_type; } in GetValueType() 111 case ValueType::Invalid: in GetValueAddressType() 112 case ValueType::Scalar: in GetValueAddressType() 114 case ValueType::LoadAddress: in GetValueAddressType() 116 case ValueType::FileAddress: in GetValueAddressType() 118 case ValueType::HostAddress: in GetValueAddressType() 143 case ValueType::Invalid: in AppendDataToHostBuffer() [all …]
|
| H A D | ValueObjectMemory.cpp | 65 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() 149 lldb::ValueType ValueObjectMemory::GetValueType() const { in GetValueType() 168 Value::ValueType value_type = m_value.GetValueType(); in UpdateValue() 171 case Value::ValueType::Invalid: in UpdateValue() 174 case Value::ValueType::Scalar: in UpdateValue() [all …]
|
| H A D | ValueObjectChild.cpp | 48 lldb::ValueType ValueObjectChild::GetValueType() const { in GetValueType() 126 m_value.SetValueType(Value::ValueType::LoadAddress); in UpdateValue() 128 m_value.SetValueType(Value::ValueType::FileAddress); in UpdateValue() 132 ? Value::ValueType::Scalar in UpdateValue() 133 : Value::ValueType::LoadAddress); in UpdateValue() 136 m_value.SetValueType(Value::ValueType::HostAddress); in UpdateValue() 140 m_value.SetValueType(Value::ValueType::Scalar); in UpdateValue() 145 case Value::ValueType::Invalid: in UpdateValue() 147 case Value::ValueType::LoadAddress: in UpdateValue() 148 case Value::ValueType::FileAddress: in UpdateValue() [all …]
|
| H A D | ValueObjectVariable.cpp | 120 lldb::ValueType ValueObjectVariable::GetValueType() const { in GetValueType() 172 Value::ValueType value_type = m_value.GetValueType(); in UpdateValue() 186 if (value_type == Value::ValueType::HostAddress && in UpdateValue() 199 case Value::ValueType::Invalid: in UpdateValue() 202 case Value::ValueType::Scalar: in UpdateValue() 209 case Value::ValueType::FileAddress: in UpdateValue() 210 case Value::ValueType::LoadAddress: in UpdateValue() 211 case Value::ValueType::HostAddress: in UpdateValue() 220 if (value_type == Value::ValueType::FileAddress && process_is_alive) in UpdateValue() 254 Value::ValueType value_type = valobj.GetValue().GetValueType(); in DoUpdateChildrenAddressType() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/VE/ |
| H A D | VVPInstrPatternsVec.td | 20 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 D | VEInstrPatternsVec.td | 43 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> {
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/ |
| H A D | MipsOptimizePICCall.cpp | 57 using ValueType = PointerUnion<const Value *, const PseudoSourceValue *>; typedef 60 ScopedHashTableVal<ValueType, CntRegP>>; 61 using ScopedHTType = ScopedHashTable<ValueType, CntRegP, 62 DenseMapInfo<ValueType>, AllocatorTy>; 101 ValueType &Val) const; 105 unsigned getCount(ValueType Entry); 109 unsigned getReg(ValueType Entry); 112 void incCntAndSetReg(ValueType Entry, unsigned Reg); 234 ValueType Entry; in visitNode() 266 ValueType &Val) const { in isCallViaRegister() [all …]
|
| /openbsd-src/gnu/llvm/lldb/tools/debugserver/source/ |
| H A D | DNBError.h | 23 typedef uint32_t ValueType; typedef 42 explicit DNBError(ValueType err = 0, FlavorType flavor = Generic) 51 ValueType Status() const { return m_err; } in Status() 54 ValueType operator=(kern_return_t err) { 73 void SetError(ValueType err, FlavorType flavor) { in SetError() 92 ValueType m_err;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | BinaryStreamArray.h | 88 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 …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | AMDGPUMetadata.cpp | 75 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 …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUGISel.td | 264 ValueType dst_vt, 265 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat < 274 ValueType dst_vt, 275 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat < 284 ValueType dst_vt, 285 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat < 294 ValueType dst_vt, 295 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat < 304 ValueType dst_vt, 305 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat < [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Core/ |
| H A D | Value.h | 41 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); 152 ValueType m_value_type = ValueType::Scalar;
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyTIL.h | 152 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 …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVStringPool.h | 31 using ValueType = TableType::value_type; variable 34 std::vector<ValueType *> Entries; 63 ValueType *Entry = ValueType::create(Key, Allocator, std::move(Value)); in getIndex() 77 for (const ValueType *Entry : Entries) in print()
|
| H A D | LVSupport.h | 152 typename ValueType> 153 void addItem(MapType *Map, KeyType Key, ValueType Value) { in addItem() 172 template <typename FirstKeyType, typename SecondKeyType, typename ValueType> 174 static_assert(std::is_pointer<ValueType>::value, 176 using LVSecondMapType = std::map<SecondKeyType, ValueType>; 179 using LVValueTypes = std::vector<ValueType>; 190 void add(FirstKeyType FirstKey, SecondKeyType SecondKey, ValueType Value) { in add() 219 ValueType find(FirstKeyType FirstKey, SecondKeyType SecondKey) const { in find() 229 ValueType find(SecondKeyType SecondKey) const { in find()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/ |
| H A D | RefactoringOptions.h | 34 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()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFAttribute.h | 22 DWARFFormValue::ValueType value) in DWARFAttribute() 27 DWARFFormValue::ValueType get_value() const { return m_value; } in get_value() 29 DWARFFormValue::ValueType &val) const { in get() 41 DWARFFormValue::ValueType m_value; 59 DWARFFormValue::ValueType ValueAtIndex(uint32_t i) const { in ValueAtIndex()
|
| H A D | DWARFFormValue.h | 31 } ValueType; typedef 50 const ValueType &Value() const { return m_value; } in Value() 51 ValueType &ValueRef() { return m_value; } in ValueRef() 52 void SetValue(const ValueType &val) { m_value = val; } in SetValue() 87 ValueType m_value; // Contains all data for the form
|
| /openbsd-src/gnu/llvm/lldb/source/Expression/ |
| H A D | DWARFExpression.cpp | 119 value.SetValueType(Value::ValueType::Scalar); in ReadRegisterValueAsScalar() 773 if (value->GetValueType() == Value::ValueType::Scalar) in UpdateValueTypeFromLocationDescription() 774 value->SetValueType(Value::ValueType::LoadAddress); in UpdateValueTypeFromLocationDescription() 778 value->SetValueType(Value::ValueType::Scalar); in UpdateValueTypeFromLocationDescription() 782 if (value->GetValueType() == Value::ValueType::LoadAddress) in UpdateValueTypeFromLocationDescription() 783 value->SetValueType(Value::ValueType::Scalar); in UpdateValueTypeFromLocationDescription() 938 stack.back().SetValueType(Value::ValueType::LoadAddress); in Evaluate() 940 stack.back().SetValueType(Value::ValueType::FileAddress); in Evaluate() 993 Value::ValueType value_type = stack.back().GetValueType(); in Evaluate() 995 case Value::ValueType::HostAddress: { in Evaluate() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | SymbolRewriter.cpp | 111 template <RewriteDescriptor::Type DT, typename ValueType, 112 ValueType *(Module::*Get)(StringRef) const> 132 template <RewriteDescriptor::Type DT, typename ValueType, 133 ValueType *(Module::*Get)(StringRef) const> 134 bool ExplicitRewriteDescriptor<DT, ValueType, Get>::performOnModule(Module &M) { in performOnModule() 136 if (ValueType *S = (M.*Get)(Source)) { in performOnModule() 152 template <RewriteDescriptor::Type DT, typename ValueType, 153 ValueType *(Module::*Get)(StringRef) const, 154 iterator_range<typename iplist<ValueType>::iterator> 174 template <RewriteDescriptor::Type DT, typename ValueType, [all …]
|
| /openbsd-src/gnu/llvm/libcxx/benchmarks/algorithms/ |
| H A D | ranges_sort_heap.bench.cpp | 14 template <class ValueType> 19 runOpOnCopies<ValueType>( in run() 25 return "BM_RangesSortHeap" + ValueType::name() + "_" + std::to_string(Quantity); in name()
|