Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp36 SmallVector<LLT, 4> Types = TypesInit; in typeInSet() local
38 return llvm::is_contained(Types, Query.Types[TypeIdx]); in typeInSet()
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()
88 LLT Ty = Query.Types[TypeIdx]; in isPointer()
96 const LLT QueryTy = Query.Types[TypeIdx]; in elementTypeIs()
[all …]
H A DLegalizeMutations.cpp32 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()
91 const LLT Ty = Query.Types[TypeIdx]; in widenScalarOrEltToNextMultipleOf()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DOpcodes.td67 list<Type> Types;
81 let Types = !listconcat(IntegerTypeClass.Types, [Float]);
89 let Types = !listconcat(IntegerTypeClass.Types, [Bool]);
101 let Types = !listconcat(IntegerTypeClass.Types, [Bool], [Float]);
105 let Types = !listconcat(AluTypeClass.Types, PtrTypeClass.Types, FloatTypeClass.Types);
137 let Types = [];
193 let Types = [];
198 let Types = [];
203 let Types = [];
208 let Types = [];
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h111 ArrayRef<LLT> Types; member
133 : Opcode(Opcode), Types(Types), MMODescrs(MMODescrs) {} in LegalityQuery()
135 : LegalityQuery(Opcode, Types, {}) {} in LegalityQuery()
1086 LLT T = Query.Types[LargeTypeIdx]; in minScalarEltSameAsIf()
1105 LLT T = Query.Types[SmallTypeIdx]; in maxScalarEltSameAsIf()
1128 LLT VecTy = Query.Types[TypeIdx]; in clampMinNumElements()
1133 LLT VecTy = Query.Types[TypeIdx]; in clampMinNumElements()
1146 LLT VecTy = Query.Types[TypeIdx]; in alignNumElementsTo()
1151 LLT VecTy = Query.Types[TypeIdx]; in alignNumElementsTo()
1166 LLT VecTy = Query.Types[TypeIdx]; in clampMaxNumElements()
[all …]
/freebsd-14.2/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-14.2/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);
144 for (auto I : Types) { in visitTypeStream()
152 for (auto I : Types) { in visitTypeStream()
160 std::optional<TypeIndex> I = Types.getFirst(); in visitTypeStream()
162 CVType Type = Types.getType(*I); in visitTypeStream()
165 I = Types.getNext(*I); in visitTypeStream()
237 return V.Visitor.visitTypeStream(Types); in visitTypeStream()
243 return V.Visitor.visitTypeStream(Types); in visitTypeStream()
[all …]
H A DRecordName.cpp29 TypeCollection &Types; member in __anon2859e4cd0111::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()
149 StringRef Ret = Types.getTypeName(MF.getReturnType()); in visitKnownRecord()
150 StringRef Class = Types.getTypeName(MF.getClassType()); in visitKnownRecord()
175 Name.append(Types.getTypeName(Ptr.getReferentType())); in visitKnownRecord()
207 Name.append(Types.getTypeName(Mod.getModifiedType())); in visitKnownRecord()
256 TypeNameComputer Computer(Types); in computeTypeName()
[all …]
H A DTypeStreamMerger.cpp86 const CVTypeArray &Types);
103 Error doit(const CVTypeArray &Types);
105 Error remapAllTypes(const CVTypeArray &Types);
247 return doit(Types); in mergeTypeRecords()
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()
326 if (auto EC = remapAllTypes(Types)) in doit()
343 BinaryStreamRef Stream = Types.getUnderlyingStream(); in remapAllTypes()
434 return M.mergeTypeRecords(Dest, Types); in mergeTypeRecords()
[all …]
H A DLazyRandomTypeCollection.cpp38 const CVTypeArray &Types, uint32_t RecordCountHint, in LazyRandomTypeCollection() argument
40 : NameStorage(Allocator), Types(Types), PartialOffsets(PartialOffsets) { in LazyRandomTypeCollection()
54 LazyRandomTypeCollection::LazyRandomTypeCollection(const CVTypeArray &Types, in LazyRandomTypeCollection() argument
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.at(BeginOffset); in visitRange()
265 assert(RI != Types.end()); in visitRange()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp452 LLT LdTy = Query.Types[0]; in AArch64LegalizerInfo()
661 (Query.Types[1] == s16 || Query.Types[1] == v4s16 || in AArch64LegalizerInfo()
663 (Query.Types[0] == s32 || Query.Types[0] == s64 || in AArch64LegalizerInfo()
664 Query.Types[0] == v4s16 || Query.Types[0] == v8s16); in AArch64LegalizerInfo()
691 (Query.Types[0] == s16 || Query.Types[0] == v4s16 || in AArch64LegalizerInfo()
693 (Query.Types[1] == s32 || Query.Types[1] == s64 || in AArch64LegalizerInfo()
694 Query.Types[1] == v4s16 || Query.Types[1] == v8s16); in AArch64LegalizerInfo()
746 return Query.Types[0].getSizeInBits() != Query.Types[1].getSizeInBits(); in AArch64LegalizerInfo()
947 return Query.Types[0].isVector() && Query.Types[1].isVector() && in AArch64LegalizerInfo()
957 return Query.Types[0].isVector() && Query.Types[1].isVector() && in AArch64LegalizerInfo()
[all …]
/freebsd-14.2/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()
H A DMinimalTypeDumper.h28 bool Hashes, codeview::LazyRandomTypeCollection &Types, in MinimalTypeDumpVisitor() argument
34 Types(Types), RefTracker(RefTracker), NumHashBuckets(NumHashBuckets), in MinimalTypeDumpVisitor()
60 codeview::LazyRandomTypeCollection &Types; variable
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpcodesEmitter.cpp63 auto *Types = R->getValueAsListInit("Types"); in Enumerate() local
66 Rec = [&TypePath, Types, &Rec, &F](size_t I, const Twine &ID) { in Enumerate()
67 if (I >= Types->size()) { in Enumerate()
253 auto *Types = R->getValueAsListInit("Types"); in EmitGroup() local
261 for (size_t I = 0, N = Types->size(); I < N; ++I) in EmitGroup()
277 for (size_t I = 0, N = Types->size(); I < N; ++I) in EmitGroup()
285 Rec = [this, &Rec, &OS, Types, &Args, R, &TS, N, in EmitGroup()
287 if (I >= Types->size()) { in EmitGroup()
367 if (Types.empty()) in PrintTypes()
370 for (size_t I = 0, N = Types.size(); I < N; ++I) { in PrintTypes()
[all …]
/freebsd-14.2/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-14.2/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-14.2/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()
/freebsd-14.2/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-14.2/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 \
306 #define INSTANTIATE_TYPED_TEST_SUITE_P(Prefix, SuiteName, Types, ...) \ argument
312 ::testing::internal::GenerateTypeList<Types>::type>:: \
321 ::testing::internal::GenerateTypeList<Types>::type>())
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp135 return llvm::Type::getIntNTy(Types.getLLVMContext(), in getCharType()
148 llvm::Type *Type = Types.ConvertTypeForMem(FD->getType()); in getStorageType()
168 return Types.isZeroInitializable(FD->getType()); in isZeroInitializable()
171 return Types.isZeroInitializable(RD); in isZeroInitializable()
207 CodeGenTypes &Types; member
232 : Types(Types), Context(Types.getContext()), D(D), in CGRecordLowering()
234 Layout(Types.getContext().getASTRecordLayout(D)), in CGRecordLowering()
452 if (!Types.getCodeGenOpts().FineGrainedBitfieldAccesses) in accumulateBitFields()
850 CGBitFieldInfo CGBitFieldInfo::MakeInfo(CodeGenTypes &Types, in MakeInfo() argument
858 llvm::Type *Ty = Types.ConvertTypeForMem(FD->getType()); in MakeInfo()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.h160 DenseMap<const MachineInstr *, InstType> Types; variable
183 Types.try_emplace(MI, InstType::NotDetermined); in startVisit()
189 bool wasVisited(const MachineInstr *MI) const { return Types.count(MI); }; in wasVisited()
194 return Types.find(MI)->getSecond(); in getRecordedTypeForInstr()
200 Types.find(MI)->getSecond() = InstTy; in changeRecordedTypeForInstr()
225 Types.erase(MI); in clearTypeInfoData()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dvariant19 template <class... Types>
113 get(variant<Types...>&);
157 constexpr bool operator==(const variant<Types...>&, const variant<Types...>&);
160 constexpr bool operator!=(const variant<Types...>&, const variant<Types...>&);
163 constexpr bool operator<(const variant<Types...>&, const variant<Types...>&);
166 constexpr bool operator>(const variant<Types...>&, const variant<Types...>&);
169 constexpr bool operator<=(const variant<Types...>&, const variant<Types...>&);
172 constexpr bool operator>=(const variant<Types...>&, const variant<Types...>&);
174 template <class... Types> requires (three_way_comparable<Types> && ...)
199 void swap(variant<Types...>&, variant<Types...>&) noexcept(see below);
[all …]
/freebsd-14.2/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