Home
last modified time | relevance | path

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

12345678910>>...15

/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()
55 SmallVector<std::tuple<LLT, LLT, LLT>, 4> Types = TypesInit; in typeTupleInSet() local
58 Query.Types[TypeIdx0], Query.Types[TypeIdx1], Query.Types[TypeIdx2]}; in typeTupleInSet()
59 return llvm::is_contained(Types, Match); in typeTupleInSet()
68 TypePairAndMemDesc Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1], in typePairAndMemDescInSet()
[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/ByteCode/
H A DOpcodes.td15 // Types evaluated by the interpreter.
36 // Types transferred to the interpreter.
79 list<Type> Types;
83 let Types = [Sint8, Uint8, Sint16, Uint16, Sint32,
88 let Types = [Sint8, Uint8, Sint16, Uint16, Sint32,
93 let Types = !listconcat(IntegerTypeClass.Types, [Bool]);
96 let Types = [Sint8, Uint8, Sint16, Uint16, Sint32,
101 let Types = [Sint8, Uint8, Sint16, Uint16, Sint32, Uint32, Sint64, Uint64];
105 let Types = !listconcat(IntegerTypeClass.Types, [Float]);
109 let Types = [Float];
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h113 ArrayRef<LLT> Types; member
132 constexpr LegalityQuery(unsigned Opcode, ArrayRef<LLT> Types,
134 : Opcode(Opcode), Types(Types), MMODescrs(MMODescrs) {} in Opcode()
266 return Query.Types[TypeIdx] != Type; in typeIsNot()
501 std::initializer_list<LLT> Types) { in actionFor() argument
503 return actionIf(Action, typeInSet(typeIdx(0), Types)); in actionFor()
508 std::initializer_list<LLT> Types, in actionFor() argument
511 return actionIf(Action, typeInSet(typeIdx(0), Types), Mutation); in actionFor()
517 std::initializer_list<std::pair<LLT, LLT>> Types) { in actionFor() argument
519 return actionIf(Action, typePairInSet(typeIdx(0), typeIdx(1), Types)); in actionFor()
[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 = ::orc_rt::DebugTypes.load(std::memory_order_relaxed); \
35 if (!Types) \
36 Types = initializeDebug(); \
37 if (Types == &DebugTypesNone) \
39 if (Types == &DebugTypesAll || ::orc_rt::debugTypeEnabled(TYPE, Types)) { \
H A Ddebug.cpp53 bool debugTypeEnabled(const char *Type, const char *Types) { in debugTypeEnabled() argument
54 assert(Types && Types != &DebugTypesAll && Types != &DebugTypesNone && in debugTypeEnabled()
57 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.cpp36 const CVTypeArray &Types, uint32_t RecordCountHint, in LazyRandomTypeCollection() argument
38 : NameStorage(Allocator), Types(Types), PartialOffsets(PartialOffsets) { in LazyRandomTypeCollection()
52 LazyRandomTypeCollection::LazyRandomTypeCollection(const CVTypeArray &Types, in LazyRandomTypeCollection() argument
54 : LazyRandomTypeCollection(Types, NumRecords, PartialOffsetArray()) {} in LazyRandomTypeCollection()
61 error(Reader.readArray(Types, Reader.bytesRemaining())); in reset()
226 auto Begin = Types.begin(); in fullScanForType()
239 Begin = Types.at(Offset); in fullScanForType()
243 auto End = Types.end(); in fullScanForType()
262 auto RI = Types.at(BeginOffset); in visitRange()
263 assert(RI != Types.end()); in visitRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp155 return Query.Types[0].getNumElements() <= 2; in AArch64LegalizerInfo()
160 return Query.Types[0].getNumElements() <= 4; in AArch64LegalizerInfo()
165 return Query.Types[0].getNumElements() <= 16; in AArch64LegalizerInfo()
181 return Query.Types[0].getNumElements() <= 2; in AArch64LegalizerInfo()
186 return Query.Types[0].getNumElements() <= 4; in AArch64LegalizerInfo()
191 return Query.Types[0].getNumElements() <= 16; in AArch64LegalizerInfo()
199 const auto &SrcTy = Query.Types[0]; in AArch64LegalizerInfo()
200 const auto &AmtTy = Query.Types[1]; in AArch64LegalizerInfo()
274 LLT SrcTy = Q.Types[0]; in AArch64LegalizerInfo()
278 [=](const LegalityQuery &Query) { return Query.Types[0] == v4s8; }, in AArch64LegalizerInfo()
[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()
263 const auto *Types = R->getValueAsListInit("Types"); in EmitGroup() local
271 for (size_t I = 0, N = Types->size(); I < N; ++I) in EmitGroup()
287 for (size_t I = 0, N = Types->size(); I < N; ++I) in EmitGroup()
301 Rec = [this, &Rec, &OS, Types, &Args, R, &TS, N, in EmitGroup()
303 if (I >= Types->size()) { in EmitGroup()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmTypeCheck.h54 bool checkTypes(SMLoc ErrorLoc, ArrayRef<wasm::ValType> Types,
56 bool checkTypes(SMLoc ErrorLoc, ArrayRef<StackType> Types,
58 bool popTypes(SMLoc ErrorLoc, ArrayRef<wasm::ValType> Types,
60 bool popTypes(SMLoc ErrorLoc, ArrayRef<StackType> Types,
65 void pushTypes(ArrayRef<wasm::ValType> Types);
68 std::string getTypesString(ArrayRef<wasm::ValType> Types,
70 std::string getTypesString(ArrayRef<StackType> Types, size_t StartPos = 0);
H A DWebAssemblyAsmTypeCheck.cpp89 std::string WebAssemblyAsmTypeCheck::getTypesString(ArrayRef<StackType> Types, in getTypesString() argument
92 for (auto I = Types.size(); I > StartPos; I--) { in getTypesString()
93 if (std::get_if<Polymorphic>(&Types[I - 1])) { in getTypesString()
97 if (std::get_if<Any>(&Types[I - 1])) in getTypesString()
99 else if (std::get_if<Ref>(&Types[I - 1])) in getTypesString()
103 WebAssembly::typeToString(std::get<wasm::ValType>(Types[I - 1]))); in getTypesString()
120 WebAssemblyAsmTypeCheck::getTypesString(ArrayRef<wasm::ValType> Types, in getTypesString() argument
122 return getTypesString(valTypesToStackTypes(Types), StartPos); in getTypesString()
128 SmallVector<StackType, 4> Types(ValTypes.size()); in valTypesToStackTypes() local
129 llvm::transform(ValTypes, Types.begin(), in valTypesToStackTypes()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp40 ArrayRef<wasm::ValType> Types) { in printTypes() argument
42 for (auto Type : Types) { in printTypes()
52 void WebAssemblyTargetAsmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal() argument
53 if (!Types.empty()) { in emitLocal()
55 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.cpp25 LazyRandomTypeCollection &Types, in NativeEnumTypes() argument
28 std::optional<TypeIndex> TI = Types.getFirst(); in NativeEnumTypes()
30 CVType CVT = Types.getType(*TI); in NativeEnumTypes()
39 CVType UnmodifiedCVT = Types.getType(ModifiedTI); in NativeEnumTypes()
47 TI = Types.getNext(*TI); in NativeEnumTypes()
/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/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/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolDumper.h30 CVSymbolDumper(ScopedPrinter &W, TypeCollection &Types, in CVSymbolDumper() argument
34 : W(W), Types(Types), Container(Container), in CVSymbolDumper()
52 TypeCollection &Types; variable
H A DTypeStreamMerger.h48 const CVTypeArray &Types);
72 ArrayRef<TypeIndex> Types,
106 const CVTypeArray &Types,
111 ArrayRef<TypeIndex> Types,
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.h157 DenseMap<const MachineInstr *, InstType> Types; variable
180 Types.try_emplace(MI, InstType::NotDetermined); in startVisit()
186 bool wasVisited(const MachineInstr *MI) const { return Types.count(MI); }; in wasVisited()
191 return Types.find(MI)->getSecond(); in getRecordedTypeForInstr()
197 Types.find(MI)->getSecond() = InstTy; in changeRecordedTypeForInstr()
222 Types.erase(MI); in clearTypeInfoData()
/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 …]

12345678910>>...15