Home
last modified time | relevance | path

Searched refs:Types (Results 1 – 25 of 534) sorted by relevance

12345678910>>...22

/netbsd-src/external/apache2/llvm/dist/llvm/utils/
H A Dllvm.grm198 Types
201 | Types OptAddrSpace ^ "*"
204 | Types "(" ^ ArgTypeListI ^ ")" OptFuncAttrs
206 | "[" ^ EUINT64VAL "x" Types ^ "]"
207 | "<" ^ EUINT64VAL "x" Types ^ ">"
214 ArgType ::= Types OptParamAttrs ;
216 ResultTypes ::= Types | void ;
222 TypeListI ::= Types | TypeListI ^ "," Types ;
224 ConstVal::= Types "[" ^ ConstVector ^ "]"
225 | Types "[" ^ "]"
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp30 [=](const LegalityQuery &Query) { return Query.Types[TypeIdx] == Type; }; in typeIs()
36 SmallVector<LLT, 4> Types = TypesInit; in typeInSet() local
38 return llvm::is_contained(Types, Query.Types[TypeIdx]); in typeInSet()
45 SmallVector<std::pair<LLT, LLT>, 4> Types = TypesInit; in typePairInSet() local
47 std::pair<LLT, LLT> Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1]}; in typePairInSet()
48 return llvm::is_contained(Types, Match); in typePairInSet()
57 TypePairAndMemDesc Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1], in typePairAndMemDescInSet()
69 return Query.Types[TypeIdx].isScalar(); in isScalar()
75 return Query.Types[TypeIdx].isVector(); in isVector()
81 return Query.Types[TypeIdx].isPointer(); in isPointer()
[all …]
H A DLegalizeMutations.cpp25 return std::make_pair(TypeIdx, Query.Types[FromTypeIdx]); in changeTo()
32 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo()
33 const LLT NewTy = Query.Types[FromTypeIdx]; in changeElementTo()
41 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo()
49 const LLT OldTy = Query.Types[TypeIdx]; in changeElementSizeTo()
50 const LLT NewTy = Query.Types[FromTypeIdx]; in changeElementSizeTo()
59 const LLT Ty = Query.Types[TypeIdx]; in widenScalarOrEltToNextPow2()
69 const LLT VecTy = Query.Types[TypeIdx]; in moreElementsToNextPow2()
79 return std::make_pair(TypeIdx, Query.Types[TypeIdx].getElementType()); in scalarize()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h126 ArrayRef<LLT> Types; member
138 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types, in LegalityQuery()
140 : Opcode(Opcode), Types(Types), MMODescrs(MMODescrs) {} in LegalityQuery()
141 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types) in LegalityQuery()
142 : LegalityQuery(Opcode, Types, {}) {} in LegalityQuery()
229 return Query.Types[TypeIdx] != Type; in typeIsNot()
436 std::initializer_list<LLT> Types) { in actionFor() argument
438 return actionIf(Action, typeInSet(typeIdx(0), Types)); in actionFor()
443 std::initializer_list<LLT> Types, in actionFor() argument
446 return actionIf(Action, typeInSet(typeIdx(0), Types), Mutation); in actionFor()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DOpcodes.td15 // Types evaluated by the interpreter.
31 // Types transferred to the interpreter.
64 list<Type> Types;
68 let Types = [Sint8, Uint8, Sint16, Uint16, Sint32,
73 let Types = [Ptr];
77 let Types = !listconcat(AluTypeClass.Types, PtrTypeClass.Types);
81 let Types = !listconcat(AluTypeClass.Types, [Ptr]);
85 let Types = [Ty];
93 list<TypeClass> Types = [];
104 let Types = [AluTypeClass];
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp88 return Query.Types[0].isVector() && in AArch64LegalizerInfo()
89 (Query.Types[0].getElementType() != s64 || in AArch64LegalizerInfo()
90 Query.Types[0].getNumElements() != 2); in AArch64LegalizerInfo()
93 LLT EltTy = Query.Types[0].getElementType(); in AArch64LegalizerInfo()
113 return Query.Opcode == G_MUL && Query.Types[0] == v2s64; in AArch64LegalizerInfo()
125 const auto &SrcTy = Query.Types[0]; in AArch64LegalizerInfo()
126 const auto &AmtTy = Query.Types[1]; in AArch64LegalizerInfo()
171 .lowerIf([=](const LegalityQuery &Q) { return Q.Types[0].isScalar(); }); in AArch64LegalizerInfo()
193 const auto &Ty = Query.Types[0]; in AArch64LegalizerInfo()
202 return Query.Types[0] == s16 && !ST.hasFullFP16(); in AArch64LegalizerInfo()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DCVTypeVisitor.cpp81 Error visitTypeStream(const CVTypeArray &Types);
82 Error visitTypeStream(CVTypeRange Types);
83 Error visitTypeStream(TypeCollection &Types);
142 Error CVTypeVisitor::visitTypeStream(const CVTypeArray &Types) { in visitTypeStream() argument
143 for (auto I : Types) { in visitTypeStream()
150 Error CVTypeVisitor::visitTypeStream(CVTypeRange Types) { in visitTypeStream() argument
151 for (auto I : Types) { in visitTypeStream()
158 Error CVTypeVisitor::visitTypeStream(TypeCollection &Types) { in visitTypeStream() argument
159 Optional<TypeIndex> I = Types.getFirst(); in visitTypeStream()
161 CVType Type = Types.getType(*I); in visitTypeStream()
[all …]
H A DRecordName.cpp25 TypeCollection &Types; member in __anon3c283c820111::TypeNameComputer
32 explicit TypeNameComputer(TypeCollection &Types) : Types(Types) {} in TypeNameComputer() argument
82 Name.append(Types.getTypeName(Indices[I])); in visitKnownRecord()
98 Name.append(Types.getTypeName(Indices[I])); in visitKnownRecord()
137 StringRef Ret = Types.getTypeName(Proc.getReturnType()); in visitKnownRecord()
138 StringRef Params = Types.getTypeName(Proc.getArgumentList()); in visitKnownRecord()
145 StringRef Ret = Types.getTypeName(MF.getReturnType()); in visitKnownRecord()
146 StringRef Class = Types.getTypeName(MF.getClassType()); in visitKnownRecord()
147 StringRef Params = Types.getTypeName(MF.getArgumentList()); in visitKnownRecord()
167 StringRef Pointee = Types.getTypeName(Ptr.getReferentType()); in visitKnownRecord()
[all …]
H A DTypeStreamMerger.cpp85 const CVTypeArray &Types);
97 Error mergeTypeRecords(GlobalTypeTableBuilder &Dest, const CVTypeArray &Types,
102 Error doit(const CVTypeArray &Types);
104 Error remapAllTypes(const CVTypeArray &Types);
242 const CVTypeArray &Types) { in mergeTypeRecords() argument
246 return doit(Types); in mergeTypeRecords()
273 const CVTypeArray &Types, in mergeTypeRecords() argument
279 auto Err = doit(Types); in mergeTypeRecords()
310 Error TypeStreamMerger::doit(const CVTypeArray &Types) { in doit() argument
311 if (auto EC = remapAllTypes(Types)) in doit()
[all …]
H A DLazyRandomTypeCollection.cpp39 const CVTypeArray &Types, uint32_t RecordCountHint, in LazyRandomTypeCollection() argument
41 : NameStorage(Allocator), Types(Types), PartialOffsets(PartialOffsets) { in LazyRandomTypeCollection()
56 LazyRandomTypeCollection::LazyRandomTypeCollection(const CVTypeArray &Types, in LazyRandomTypeCollection() argument
58 : LazyRandomTypeCollection(Types, NumRecords, PartialOffsetArray()) {} in LazyRandomTypeCollection()
65 error(Reader.readArray(Types, Reader.bytesRemaining())); in reset()
230 auto Begin = Types.begin(); in fullScanForType()
243 Begin = Types.at(Offset); in fullScanForType()
247 auto End = Types.end(); in fullScanForType()
266 auto RI = Types.at(BeginOffset); in visitRange()
267 assert(RI != Types.end()); in visitRange()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.h27 codeview::LazyRandomTypeCollection &Types) in MinimalSymbolDumper() argument
28 : P(P), RecordBytes(RecordBytes), Ids(Ids), Types(Types) {} in MinimalSymbolDumper()
32 codeview::LazyRandomTypeCollection &Types) in MinimalSymbolDumper() argument
34 Types(Types) {} in MinimalSymbolDumper()
63 codeview::LazyRandomTypeCollection &Types; variable
H A DTypeReferenceTracker.cpp23 static uint32_t getNumRecordsInCollection(LazyRandomTypeCollection &Types) { in getNumRecordsInCollection() argument
25 for (Optional<TypeIndex> TI = Types.getFirst(); TI; TI = Types.getNext(*TI)) in getNumRecordsInCollection()
31 : File(File), Types(File.types()), in TypeReferenceTracker()
33 NumTypeRecords = getNumRecordsInCollection(Types); in TypeReferenceTracker()
132 : Types.tryGetType(RefTI); in markReferencedTypes()
H A DInputFile.cpp103 static bool isDebugTSection(SectionRef Section, CVTypeArray &Types) { in isDebugTSection() argument
108 cantFail(Reader.readArray(Types, Reader.bytesRemaining())); in isDebugTSection()
346 CVTypeArray Types; in hasTypes() local
347 if (isDebugTSection(Section, Types)) in hasTypes()
369 if (Types && Kind == kTypes) in getOrCreateTypeCollection()
370 return *Types; in getOrCreateTypeCollection()
381 TypeCollectionPtr &Collection = (Kind == kIds) ? Ids : Types; in getOrCreateTypeCollection()
395 assert(!Types); in getOrCreateTypeCollection()
402 Types = std::make_unique<LazyRandomTypeCollection>(Records, 100); in getOrCreateTypeCollection()
403 return *Types; in getOrCreateTypeCollection()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangOpcodesEmitter.cpp57 void PrintTypes(raw_ostream &OS, ArrayRef<Record *> Types);
64 auto *Types = R->getValueAsListInit("Types"); in Enumerate() local
67 Rec = [&TypePath, Types, &Rec, &F](size_t I, const Twine &ID) { in Enumerate()
68 if (I >= Types->size()) { in Enumerate()
73 if (auto *TypeClass = dyn_cast<DefInit>(Types->getElement(I))) { in Enumerate()
238 auto *Types = R->getValueAsListInit("Types"); in EmitGroup() local
244 for (size_t I = 0, N = Types->size(); I < N; ++I) in EmitGroup()
260 for (size_t I = 0, N = Types->size(); I < N; ++I) in EmitGroup()
268 Rec = [this, &Rec, &OS, Types, &Args, R, &TS, N](size_t I, const Twine &ID) { in EmitGroup()
269 if (I >= Types->size()) { in EmitGroup()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp42 ArrayRef<wasm::ValType> Types) { in printTypes() argument
44 for (auto Type : Types) { in printTypes()
54 void WebAssemblyTargetAsmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal() argument
55 if (!Types.empty()) { in emitLocal()
57 printTypes(OS, Types); in emitLocal()
123 void WebAssemblyTargetWasmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal() argument
125 for (auto Type : Types) { in emitLocal()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp95 CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D, bool Packed);
131 return llvm::Type::getIntNTy(Types.getLLVMContext(), AlignedBits); in getIntNType()
135 return llvm::Type::getIntNTy(Types.getLLVMContext(), in getCharType()
148 llvm::Type *Type = Types.ConvertTypeForMem(FD->getType()); in getStorageType()
156 return Types.getCGRecordLayout(RD).getBaseSubobjectLLVMType(); in getStorageType()
168 return Types.isZeroInitializable(FD->getType()); in isZeroInitializable()
171 return Types.isZeroInitializable(RD); in isZeroInitializable()
207 CodeGenTypes &Types; member
230 CGRecordLowering::CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D, in CGRecordLowering() argument
232 : Types(Types), Context(Types.getContext()), D(D), in CGRecordLowering()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dsumtype.d159 alias BinOp = Expr.Types[2];
278 struct SumType(Types...)
279 if (is(NoDuplicates!Types == Types) && Types.length > 0)
282 alias Types = AliasSeq!( variable
288 enum bool canHoldTag(T) = Types.length <= T.max;
297 if (IndexOf!(T, Types) >= 0)
299 enum tid = IndexOf!(T, Types);
303 static foreach (T; Types) in foreach() argument
326 if (IndexOf!(T, Types) >= 0)
328 enum tid = IndexOf!(T, Types);
[all …]
H A Dmeta.d108 alias Types = AliasSeq!(TL, char); variable
109 static assert(is(Types == AliasSeq!(int, double, char)));
321 alias Types = AliasSeq!(int, long, double, char); variable
322 alias TL = Erase!(long, Types);
354 alias Types = AliasSeq!(int, long, long, int); variable
355 static assert(is(EraseAll!(long, Types) == AliasSeq!(int, int)));
401 alias Types = AliasSeq!(int, long, long, int, float); variable
403 alias TL = NoDuplicates!(Types);
463 alias Types = AliasSeq!(int, long, long, int, float); variable
465 alias TL = Replace!(long, char, Types);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumTypes.cpp24 LazyRandomTypeCollection &Types, in NativeEnumTypes() argument
27 Optional<TypeIndex> TI = Types.getFirst(); in NativeEnumTypes()
29 CVType CVT = Types.getType(*TI); in NativeEnumTypes()
38 CVType UnmodifiedCVT = Types.getType(ModifiedTI); in NativeEnumTypes()
46 TI = Types.getNext(*TI); in NativeEnumTypes()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-typed-test.h58 typedef testing::Types<char, int, unsigned int> MyTypes;
159 typedef testing::Types<char, int, unsigned int> MyTypes;
191 #define TYPED_TEST_SUITE(CaseName, Types, ...) \ argument
192 typedef ::testing::internal::TypeList<Types>::type GTEST_TYPE_PARAMS_( \
306 #define INSTANTIATE_TYPED_TEST_SUITE_P(Prefix, SuiteName, Types, ...) \ argument
310 ::testing::internal::TypeList<Types>::type>:: \
318 ::testing::internal::TypeList<Types>::type>())
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dvariant19 template <class... Types>
84 template <class... Types>
85 struct variant_size<variant<Types...>>;
96 template <size_t I, class... Types>
97 struct variant_alternative<I, variant<Types...>>;
102 template <class T, class... Types>
103 constexpr bool holds_alternative(const variant<Types...>&) noexcept;
105 template <size_t I, class... Types>
106 constexpr variant_alternative_t<I, variant<Types...>>&
107 get(variant<Types...>&);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolDumper.h27 CVSymbolDumper(ScopedPrinter &W, TypeCollection &Types, in CVSymbolDumper() argument
31 : W(W), Types(Types), Container(Container), in CVSymbolDumper()
49 TypeCollection &Types; variable
H A DTypeStreamMerger.h40 const CVTypeArray &Types);
63 Error mergeIdRecords(MergingTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types,
97 const CVTypeArray &Types,
101 Error mergeIdRecords(GlobalTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.h159 DenseMap<const MachineInstr *, InstType> Types; variable
182 Types.try_emplace(MI, InstType::NotDetermined); in startVisit()
188 bool wasVisited(const MachineInstr *MI) const { return Types.count(MI); }; in wasVisited()
193 return Types.find(MI)->getSecond(); in getRecordedTypeForInstr()
199 Types.find(MI)->getSecond() = InstTy; in changeRecordedTypeForInstr()
224 Types.erase(MI); in clearTypeInfoData()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dmeta.d103 alias Types = AliasSeq!(TL, char); variable
104 static assert(is(Types == AliasSeq!(int, double, char)));
365 alias Types = AliasSeq!(int, long, double, char); variable
366 alias TL = Erase!(long, Types);
423 alias Types = AliasSeq!(int, long, long, int); variable
425 alias TL = EraseAll!(long, Types);
505 alias Types = AliasSeq!(int, long, long, int, float); variable
507 alias TL = NoDuplicates!(Types);
557 alias Types = AliasSeq!(int, long, long, int, float); variable
559 alias TL = Replace!(long, char, Types);
[all …]

12345678910>>...22