Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd/contrib/llvm-project/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 changeElementCountTo()
50 const LLT NewTy = Query.Types[FromTypeIdx]; in changeElementCountTo()
60 const LLT OldTy = Query.Types[TypeIdx]; in changeElementCountTo()
70 const LLT OldTy = Query.Types[TypeIdx]; in changeElementSizeTo()
71 const LLT NewTy = Query.Types[FromTypeIdx]; in changeElementSizeTo()
80 const LLT Ty = Query.Types[TypeIdx]; in widenScalarOrEltToNextPow2()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DOpcodes.td15 // Types evaluated by the interpreter.
36 // Types transferred to the interpreter.
76 list<Type> Types;
80 let Types = [Sint8, Uint8, Sint16, Uint16, Sint32,
85 let Types = [Sint8, Uint8, Sint16, Uint16, Sint32,
90 let Types = !listconcat(IntegerTypeClass.Types, [Float]);
94 let Types = [Float];
98 let Types = !listconcat(IntegerTypeClass.Types, [Bool]);
102 let Types = [Ptr, FnPtr, MemberPtr];
106 let Types = [Bool];
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h111 ArrayRef<LLT> Types; member
131 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types, in LegalityQuery()
133 : Opcode(Opcode), Types(Types), MMODescrs(MMODescrs) {} in LegalityQuery()
134 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types) in LegalityQuery()
135 : LegalityQuery(Opcode, Types, {}) {} in LegalityQuery()
267 return Query.Types[TypeIdx] != Type; in typeIsNot()
487 std::initializer_list<LLT> Types) { in actionFor() argument
489 return actionIf(Action, typeInSet(typeIdx(0), Types)); in actionFor()
494 std::initializer_list<LLT> Types, in actionFor() argument
497 return actionIf(Action, typeInSet(typeIdx(0), Types), Mutation); in actionFor()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp139 return Query.Types[0].getNumElements() <= 2; in AArch64LegalizerInfo()
144 return Query.Types[0].getNumElements() <= 4; in AArch64LegalizerInfo()
149 return Query.Types[0].getNumElements() <= 16; in AArch64LegalizerInfo()
156 const auto &SrcTy = Query.Types[0]; in AArch64LegalizerInfo()
157 const auto &AmtTy = Query.Types[1]; in AArch64LegalizerInfo()
250 const auto &Ty = Query.Types[0]; in AArch64LegalizerInfo()
332 const LLT &ValTy = Query.Types[0]; in AArch64LegalizerInfo()
362 return HasRCPC3 && Query.Types[0] == s128 && in AArch64LegalizerInfo()
366 return Query.Types[0] == s128 && in AArch64LegalizerInfo()
396 return Query.Types[0].isScalar() && in AArch64LegalizerInfo()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Ddebug.h27 bool debugTypeEnabled(const char *Type, const char *Types);
34 const char *Types = \
36 if (!Types) \
37 Types = initializeDebug(); \
38 if (Types == &DebugTypesNone) \
40 if (Types == &DebugTypesAll || \
41 ::__orc_rt::debugTypeEnabled(TYPE, Types)) { \
H A Ddebug.cpp54 bool debugTypeEnabled(const char *Type, const char *Types) { in debugTypeEnabled() argument
55 assert(Types && Types != &DebugTypesAll && Types != &DebugTypesNone && in debugTypeEnabled()
58 const char *Start = Types; in debugTypeEnabled()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCVTypeVisitor.cpp82 Error visitTypeStream(const CVTypeArray &Types);
83 Error visitTypeStream(CVTypeRange Types);
84 Error visitTypeStream(TypeCollection &Types);
143 Error CVTypeVisitor::visitTypeStream(const CVTypeArray &Types) { in visitTypeStream() argument
144 for (auto I : Types) { in visitTypeStream()
151 Error CVTypeVisitor::visitTypeStream(CVTypeRange Types) { in visitTypeStream() argument
152 for (auto I : Types) { in visitTypeStream()
159 Error CVTypeVisitor::visitTypeStream(TypeCollection &Types) { in visitTypeStream() argument
160 std::optional<TypeIndex> I = Types.getFirst(); in visitTypeStream()
162 CVType Type = Types in visitTypeStream()
233 visitTypeStream(const CVTypeArray & Types,TypeVisitorCallbacks & Callbacks,VisitorDataSource Source) visitTypeStream() argument
240 visitTypeStream(CVTypeRange Types,TypeVisitorCallbacks & Callbacks) visitTypeStream() argument
246 visitTypeStream(TypeCollection & Types,TypeVisitorCallbacks & Callbacks) visitTypeStream() argument
[all...]
H A DRecordName.cpp29 TypeCollection &Types; member in __anonfba922570111::TypeNameComputer
36 explicit TypeNameComputer(TypeCollection &Types) : Types(Types) {} in TypeNameComputer() argument
86 Name.append(Types.getTypeName(Indices[I])); in visitKnownRecord()
102 Name.append(Types.getTypeName(Indices[I])); in visitKnownRecord()
141 StringRef Ret = Types.getTypeName(Proc.getReturnType()); in visitKnownRecord()
142 StringRef Params = Types.getTypeName(Proc.getArgumentList()); in visitKnownRecord()
149 StringRef Ret = Types.getTypeName(MF.getReturnType()); in visitKnownRecord()
150 StringRef Class = Types in visitKnownRecord()
254 computeTypeName(TypeCollection & Types,TypeIndex Index) computeTypeName() argument
[all...]
H A DTypeStreamMerger.cpp86 const CVTypeArray &Types);
98 Error mergeTypeRecords(GlobalTypeTableBuilder &Dest, const CVTypeArray &Types,
103 Error doit(const CVTypeArray &Types);
105 Error remapAllTypes(const CVTypeArray &Types);
243 const CVTypeArray &Types) { in mergeTypeRecords() argument
247 return doit(Types); in mergeTypeRecords()
273 GlobalTypeTableBuilder &Dest, const CVTypeArray &Types, in mergeTypeRecords() argument
279 auto Err = doit(Types); in mergeTypeRecords()
309 Error TypeStreamMerger::doit(const CVTypeArray &Types) { in doit() argument
310 if (auto EC = remapAllTypes(Types)) in doit()
[all …]
H A DLazyRandomTypeCollection.cpp38 const CVTypeArray &Types, uint32_t RecordCountHint, in LazyRandomTypeCollection()
40 : NameStorage(Allocator), Types(Types), PartialOffsets(PartialOffsets) { in LazyRandomTypeCollection()
54 LazyRandomTypeCollection::LazyRandomTypeCollection(const CVTypeArray &Types,
56 : LazyRandomTypeCollection(Types, NumRecords, PartialOffsetArray()) {} in LazyRandomTypeCollection()
63 error(Reader.readArray(Types, Reader.bytesRemaining())); in reset()
228 auto Begin = Types.begin(); in fullScanForType()
241 Begin = Types.at(Offset); in fullScanForType()
245 auto End = Types.end(); in fullScanForType()
264 auto RI = Types in visitRange()
39 LazyRandomTypeCollection(const CVTypeArray & Types,uint32_t RecordCountHint,PartialOffsetArray PartialOffsets) LazyRandomTypeCollection() argument
55 LazyRandomTypeCollection(const CVTypeArray & Types,uint32_t NumRecords) LazyRandomTypeCollection() argument
[all...]
/freebsd/contrib/llvm-project/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.cpp25 static uint32_t getNumRecordsInCollection(LazyRandomTypeCollection &Types) { in getNumRecordsInCollection() argument
27 for (std::optional<TypeIndex> TI = Types.getFirst(); TI; in getNumRecordsInCollection()
28 TI = Types.getNext(*TI)) in getNumRecordsInCollection()
34 : File(File), Types(File.types()), in TypeReferenceTracker()
36 NumTypeRecords = getNumRecordsInCollection(Types); in TypeReferenceTracker()
135 : Types.tryGetType(RefTI); in markReferencedTypes()
/freebsd/contrib/googletest/googletest/test/
H A Dgtest-typed-test_test.cc87 using testing::Types;
92 typedef Types<char, int> TwoTypes;
141 TYPED_TEST_SUITE(TypedTest2, Types<int>);
154 typedef Types<int, long> NumericTypes;
195 using testing::Types;
286 typedef Types<short, long> MyTwoTypes;
369 INSTANTIATE_TYPED_TEST_SUITE_P(Int, TypedTestP2, Types<int>);
373 INSTANTIATE_TYPED_TEST_SUITE_P(Double, TypedTestP2, Types<double>);
378 typedef Types<std::vector<double>, std::set<char> > MyContainers;
398 typedef Types<int, double> NumericTypes;
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpcodesEmitter.cpp55 void PrintTypes(raw_ostream &OS, ArrayRef<const Record *> Types);
61 const auto *Types = R->getValueAsListInit("Types"); in Enumerate() local
64 Rec = [&TypePath, Types, &Rec, &F](size_t I, const Twine &ID) { in Enumerate()
65 if (I >= Types->size()) { in Enumerate()
70 if (const auto *TypeClass = dyn_cast<DefInit>(Types->getElement(I))) { in Enumerate()
270 const auto *Types = R->getValueAsListInit("Types"); in EmitGroup() local
278 for (size_t I = 0, N = Types->size(); I < N; ++I) in EmitGroup()
294 for (size_t I = 0, N = Types->size(); I < N; ++I) in EmitGroup()
308 Rec = [this, &Rec, &OS, Types, &Args, R, &TS, N, in EmitGroup()
310 if (I >= Types->size()) { in EmitGroup()
[all …]
/freebsd/contrib/llvm-project/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()
121 void WebAssemblyTargetWasmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal() argument
123 for (auto Type : Types) { in emitLocal()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumTypes.cpp26 LazyRandomTypeCollection &Types, in NativeEnumTypes() argument
29 std::optional<TypeIndex> TI = Types.getFirst(); in NativeEnumTypes()
31 CVType CVT = Types.getType(*TI); in NativeEnumTypes()
40 CVType UnmodifiedCVT = Types.getType(ModifiedTI); in NativeEnumTypes()
48 TI = Types.getNext(*TI); in NativeEnumTypes()
H A DInputFile.cpp130 static bool isDebugTSection(SectionRef Section, CVTypeArray &Types) { in isDebugTSection() argument
135 cantFail(Reader.readArray(Types, Reader.bytesRemaining())); in isDebugTSection()
393 CVTypeArray Types; in hasTypes() local
394 if (isDebugTSection(Section, Types)) in hasTypes()
416 if (Types && Kind == kTypes) in getOrCreateTypeCollection()
417 return *Types; in getOrCreateTypeCollection()
428 TypeCollectionPtr &Collection = (Kind == kIds) ? Ids : Types; in getOrCreateTypeCollection()
442 assert(!Types); in getOrCreateTypeCollection()
449 Types = std::make_unique<LazyRandomTypeCollection>(Records, 100); in getOrCreateTypeCollection()
450 return *Types; in getOrCreateTypeCollection()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolDumper.h29 CVSymbolDumper(ScopedPrinter &W, TypeCollection &Types, in CVSymbolDumper() argument
33 : W(W), Types(Types), Container(Container), in CVSymbolDumper()
51 TypeCollection &Types; variable
H A DTypeStreamMerger.h47 const CVTypeArray &Types);
70 Error mergeIdRecords(MergingTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types,
104 const CVTypeArray &Types,
108 Error mergeIdRecords(GlobalTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types,
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-typed-test.h59 typedef testing::Types<char, int, unsigned int> MyTypes;
160 typedef testing::Types<char, int, unsigned int> MyTypes;
191 #define TYPED_TEST_SUITE(CaseName, Types, ...) \ argument
192 typedef ::testing::internal::GenerateTypeList<Types>::type \
308 #define INSTANTIATE_TYPED_TEST_SUITE_P(Prefix, SuiteName, Types, ...) \ argument
315 ::testing::internal::GenerateTypeList<Types>::type>:: \
325 ::testing::internal::GenerateTypeList<Types>::type>())
/freebsd/contrib/llvm-project/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()
209 CodeGenTypes &Types; member
232 CGRecordLowering::CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D, in CGRecordLowering() argument
234 : Types(Types), Context(Types.getContext()), D(D), in CGRecordLowering()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.h160 DenseMap<const MachineInstr *, InstType> Types;
183 Types.try_emplace(MI, InstType::NotDetermined); in startVisit()
189 bool wasVisited(const MachineInstr *MI) const { return Types.count(MI); };
194 return Types.find(MI)->getSecond(); in getRecordedTypeForInstr()
200 Types.find(MI)->getSecond() = InstTy; in changeRecordedTypeForInstr()
225 Types.erase(MI); in clearTypeInfoData()
159 DenseMap<const MachineInstr *, InstType> Types; global() variable
/freebsd/contrib/llvm-project/libcxx/include/
H A Dvariant19 template <class... Types>
92 template <class... Types>
93 struct variant_size<variant<Types...>>;
104 template <size_t I, class... Types>
105 struct variant_alternative<I, variant<Types...>>;
110 template <class T, class... Types>
111 constexpr bool holds_alternative(const variant<Types...>&) noexcept;
113 template <size_t I, class... Types>
114 constexpr variant_alternative_t<I, variant<Types...>>&
115 get(variant<Types...>&);
[all …]
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-type-util.h176 struct Types {
178 using Tail = Types<Tail_...>;
182 struct Types<Head_> {
191 using type = Types<Ts...>;
216 using Types = internal::ProxyTypeList<Ts...>;

12345678910>>...13