Home
last modified time | relevance | path

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

1234567

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DValueTypes.td1 //===- 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 i8 : ValueType<8, 3>; // 8-bit integer value
24 def i16 : ValueType<16, 4>; // 16-bit integer value
25 def i32 : ValueType<32, 5>; // 32-bit integer value
26 def i64 : ValueType<64, 6>; // 64-bit integer value
27 def i128 : ValueType<128, 7>; // 128-bit integer value
29 def bf16 : ValueType<16, 8>; // 16-bit brain floating point value
[all …]
H A DScheduleDAGInstrs.h106 using ValueType = PointerUnion<const Value *, const PseudoSourceValue *>; variable
108 struct UnderlyingObject : PointerIntPair<ValueType, 1, bool> {
109 UnderlyingObject(ValueType V, bool MayAlias) in UnderlyingObject()
110 : PointerIntPair<ValueType, 1, bool>(V, MayAlias) {} in UnderlyingObject()
112 ValueType getValue() const { return getPointer(); } in getValue()
220 ValueType V);
/netbsd-src/external/apache2/llvm/dist/libcxx/benchmarks/
H A Dalgorithms.bench.cpp17 enum class ValueType { Uint32, Uint64, Pair, Tuple, String }; enum
18 struct AllValueTypes : EnumValuesAsTuple<AllValueTypes, ValueType, 5> {
26 V() == ValueType::Uint32, uint32_t,
28 V() == ValueType::Uint64, uint64_t,
30 V() == ValueType::Pair, std::pair<uint32_t, uint32_t>,
31 std::conditional_t<V() == ValueType::Tuple,
141 template <class ValueType>
142 std::vector<std::vector<Value<ValueType> > > makeOrderedValues(size_t N, in makeOrderedValues()
144 std::vector<std::vector<Value<ValueType> > > Ret; in makeOrderedValues()
168 template <class ValueType, class F>
[all …]
/netbsd-src/external/bsd/kyua-cli/dist/utils/config/
H A Dnodes.ipp143 template< typename ValueType >
144 config::typed_leaf_node< ValueType >::typed_leaf_node(void) :
157 template< typename ValueType >
159 config::typed_leaf_node< ValueType >::is_set(void) const
170 template< typename ValueType >
171 const typename config::typed_leaf_node< ValueType >::value_type&
172 config::typed_leaf_node< ValueType >::value(void) const
184 template< typename ValueType >
185 typename config::typed_leaf_node< ValueType >::value_type&
186 config::typed_leaf_node< ValueType >::value(void)
[all …]
H A Dnodes.hpp142 template< typename ValueType >
146 typedef ValueType value_type;
193 template< typename ValueType >
194 class native_leaf_node : public typed_leaf_node< ValueType > {
235 template< typename ValueType >
239 typedef std::set< ValueType > value_type;
291 virtual ValueType parse_one(const std::string& raw_value) const = 0;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DEnumeratedArray.h20 template <typename ValueType, typename Enumeration,
26 EnumeratedArray(ValueType V) { in EnumeratedArray()
31 inline const ValueType &operator[](const Enumeration Index) const {
36 inline ValueType &operator[](const Enumeration Index) {
37 return const_cast<ValueType &>(
38 static_cast<const EnumeratedArray<ValueType, Enumeration, LargestEnum,
44 ValueType Underlying[Size];
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/
H A DVEInstrPatternsVec.td18 multiclass vbrd_elem32<ValueType v32, ValueType s32, SDPatternOperator ImmOp,
29 multiclass vbrd_elem64<ValueType v64, ValueType s64,
40 multiclass extract_insert_elem32<ValueType v32, ValueType s32,
58 multiclass extract_insert_elem64<ValueType v64, ValueType s64> {
74 multiclass patterns_elem32<ValueType v32, ValueType s32,
81 multiclass patterns_elem64<ValueType v64, ValueType s64,
H A DVVPInstrPatternsVec.td22 ValueType ScalarVT, ValueType DataVT, ValueType MaskVT,
55 ValueType LongScalarVT, ValueType LongDataVT, string LongOpBaseName,
56 ValueType ShortScalarVT, ValueType ShortDataVT, string ShortOpBaseName> {
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsOptimizePICCall.cpp57 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 …]
/netbsd-src/external/apache2/llvm/dist/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;
119 VarStreamArray<ValueType, Extractor> substream(uint32_t Begin, in substream()
153 template <typename ValueType, typename Extractor>
155 : public iterator_facade_base<VarStreamArrayIterator<ValueType, Extractor>,
156 std::forward_iterator_tag, ValueType> {
157 typedef VarStreamArrayIterator<ValueType, Extractor> IterType;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUGISel.td223 ValueType dst_vt,
224 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
233 ValueType dst_vt,
234 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
243 ValueType dst_vt,
244 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
253 ValueType dst_vt,
254 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
263 ValueType dst_vt,
264 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
[all …]
H A DFLATInstructions.td373 ValueType vt,
375 ValueType data_vt = vt,
406 ValueType vt,
408 ValueType data_vt = vt,
440 ValueType vt,
442 ValueType data_vt = vt,
476 ValueType vt,
479 ValueType data_vt = vt,
819 class FlatLoadPat <FLAT_Pseudo inst, SDPatternOperator node, ValueType vt> : GCNPat <
824 class FlatLoadPat_D16 <FLAT_Pseudo inst, SDPatternOperator node, ValueType vt> : GCNPat <
[all …]
H A DSIInstrInfo.td208 class SDGlobalAtomicNoRtn<string opcode, ValueType ty> : SDNode <opcode,
259 // ValueType helpers
264 class isFloatType<ValueType SrcVT> {
275 class isIntType<ValueType SrcVT> {
282 class isPackedType<ValueType SrcVT> {
547 class mubuf_intrinsic_load<SDPatternOperator name, ValueType vt> : PatFrag <
556 class mubuf_intrinsic_store<SDPatternOperator name, ValueType vt> : PatFrag <
565 class mtbuf_intrinsic_load<SDPatternOperator name, ValueType vt> : PatFrag <
574 class mtbuf_intrinsic_store<SDPatternOperator name, ValueType vt> : PatFrag <
1011 class SDWASrc<ValueType vt> : RegisterOperand<VS_32> {
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAMDGPUMetadata.cpp74 struct ScalarEnumerationTraits<ValueType> {
75 static void enumeration(IO &YIO, ValueType &EN) { in enumeration()
76 YIO.enumCase(EN, "Struct", ValueType::Struct); in enumeration()
77 YIO.enumCase(EN, "I8", ValueType::I8); in enumeration()
78 YIO.enumCase(EN, "U8", ValueType::U8); in enumeration()
79 YIO.enumCase(EN, "I16", ValueType::I16); in enumeration()
80 YIO.enumCase(EN, "U16", ValueType::U16); in enumeration()
81 YIO.enumCase(EN, "F16", ValueType::F16); in enumeration()
82 YIO.enumCase(EN, "I32", ValueType::I32); in enumeration()
83 YIO.enumCase(EN, "U32", ValueType::U32); in enumeration()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h153 struct ValueType { struct
174 ValueType(BaseType B, SizeType Sz, bool S, unsigned char VS) in ValueType() argument
180 inline static ValueType getValueType();
190 inline ValueType::SizeType ValueType::getSizeType(unsigned nbytes) { in getSizeType() argument
202 inline ValueType ValueType::getValueType<void>() {
203 return ValueType(BT_Void, ST_0, false, 0);
207 inline ValueType ValueType::getValueType<bool>() {
208 return ValueType(BT_Bool, ST_1, false, 0);
212 inline ValueType ValueType::getValueType<int8_t>() {
213 return ValueType(BT_Int, ST_8, true, 0);
[all …]
H A DThreadSafetyTraverse.h556 ValueType VT = E->valueType(); in printLiteral()
558 case ValueType::BT_Void: in printLiteral()
561 case ValueType::BT_Bool: in printLiteral()
567 case ValueType::BT_Int: in printLiteral()
569 case ValueType::ST_8: in printLiteral()
575 case ValueType::ST_16: in printLiteral()
581 case ValueType::ST_32: in printLiteral()
587 case ValueType::ST_64: in printLiteral()
597 case ValueType::BT_Float: in printLiteral()
599 case ValueType::ST_32: in printLiteral()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp112 template <RewriteDescriptor::Type DT, typename ValueType,
113 ValueType *(Module::*Get)(StringRef) const>
133 template <RewriteDescriptor::Type DT, typename ValueType,
134 ValueType *(Module::*Get)(StringRef) const>
135 bool ExplicitRewriteDescriptor<DT, ValueType, Get>::performOnModule(Module &M) { in performOnModule()
137 if (ValueType *S = (M.*Get)(Source)) { in performOnModule()
153 template <RewriteDescriptor::Type DT, typename ValueType,
154 ValueType *(Module::*Get)(StringRef) const,
155 iterator_range<typename iplist<ValueType>::iterator>
175 template <RewriteDescriptor::Type DT, typename ValueType,
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dany34 template <class ValueType>
35 any(ValueType&& value);
43 template <class ValueType>
44 any& operator=(ValueType&& rhs);
47 template <class ValueType, class... Args>
48 decay_t<ValueType>& emplace(Args&&... args);
49 template <class ValueType, class U, class... Args>
50 decay_t<ValueType>& emplace(initializer_list<U>, Args&&...);
67 template<class ValueType>
68 ValueType any_cast(const any& operand);
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DRefactoringOptions.h33 using ValueType = Optional<T>; variable
35 const ValueType &getValue() const { return Value; } in getValue()
46 using ValueType = T;
48 const ValueType &getValue() const { in getValue()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h42 struct ValueType { struct
43 ValueType() { uval = 0; } in ValueType() function
44 ValueType(int64_t V) : sval(V) {} in ValueType() function
45 ValueType(uint64_t V) : uval(V) {} in ValueType() argument
46 ValueType(const char *V) : cstr(V) {} in ValueType() argument
60 ValueType Value; /// Contains all data for the form. argument
64 DWARFFormValue(dwarf::Form F, ValueType V) : Form(F), Value(V) {} in DWARFFormValue()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/
H A DTargetCallingConv.td30 class CCIfType<list<ValueType> vts, CCAction A> : CCPredicateAction<A> {
31 list<ValueType> VTs = vts;
154 class CCPromoteToType<ValueType destTy> : CCAction {
155 ValueType DestTy = destTy;
160 class CCPromoteToUpperBitsInType<ValueType destTy> : CCAction {
161 ValueType DestTy = destTy;
166 class CCBitConvertToType<ValueType destTy> : CCAction {
167 ValueType DestTy = destTy;
172 class CCTruncToType<ValueType destTy> : CCAction {
173 ValueType DestTy = destTy;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h30 LLVM_YAML_STRONG_TYPEDEF(uint32_t, ValueType)
68 ValueType ElemKind;
75 ValueType Type;
100 ValueType Type;
152 std::vector<ValueType> ParamTypes;
153 std::vector<ValueType> ReturnTypes;
409 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::ValueType) in LLVM_YAML_IS_SEQUENCE_VECTOR()
553 template <> struct ScalarEnumerationTraits<WasmYAML::ValueType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
554 static void enumeration(IO &IO, WasmYAML::ValueType &Type); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMInstrNEON.td50 class nImmVMOVIAsmOperandReplicate<ValueType From, ValueType To>
57 class nImmVINVIAsmOperandReplicate<ValueType From, ValueType To>
64 class nImmVMOVIReplicate<ValueType From, ValueType To> : Operand<i32> {
69 class nImmVINVIReplicate<ValueType From, ValueType To> : Operand<i32> {
1009 class VLD1LN<bits<4> op11_8, bits<4> op7_4, string Dt, ValueType Ty,
1021 class VLD1LN32<bits<4> op11_8, bits<4> op7_4, string Dt, ValueType Ty,
1033 class VLD1QLNPseudo<ValueType Ty, PatFrag LoadOp> : VLDQLNPseudo<IIC_VLD1ln>,
1350 class VLD1DUP<bits<4> op7_4, string Dt, ValueType Ty, PatFrag LoadOp,
1374 class VLD1QDUP<bits<4> op7_4, string Dt, ValueType Ty, PatFrag LoadOp,
2115 class VST1LN<bits<4> op11_8, bits<4> op7_4, string Dt, ValueType Ty,
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DExternalASTSource.h403 using ValueType = llvm::PointerUnion<T, LazyData*>; member
404 ValueType Value;
406 LazyGenerationalUpdatePtr(ValueType V) : Value(V) {} in LazyGenerationalUpdatePtr()
409 static ValueType makeValue(const ASTContext &Ctx, T Value);
459 return LazyGenerationalUpdatePtr(ValueType::getFromOpaqueValue(Ptr)); in getFromOpaqueValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoVPseudos.td145 class VTypeInfo<ValueType Vec, ValueType Mas, int Sew, VReg Reg, LMULInfo M,
146 ValueType Scal = XLenVT, RegisterClass ScalarReg = GPR>
148 ValueType Vector = Vec;
149 ValueType Mask = Mas;
154 ValueType Scalar = Scal;
166 class GroupVTypeInfo<ValueType Vec, ValueType VecM1, ValueType Mas, int Sew,
167 VReg Reg, LMULInfo M, ValueType Scal = XLenVT,
171 ValueType VectorM1 = VecM1;
256 class MTypeInfo<ValueType Mas, LMULInfo M, string Bx> {
257 ValueType Mask = Mas;
[all …]

1234567