| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalityPredicates.cpp | 36 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 D | LegalizeMutations.cpp | 25 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 110 ArrayRef<LLT> Types; member 124 : Opcode(Opcode), Types(Types), MMODescrs(MMODescrs) {} in LegalityQuery() 126 : LegalityQuery(Opcode, Types, {}) {} in LegalityQuery() 253 return Query.Types[TypeIdx] != Type; in typeIsNot() 563 return actionFor(LegalizeAction::Legal, Types); in legalFor() 978 LLT T = Query.Types[LargeTypeIdx]; in minScalarEltSameAsIf() 995 LLT T = Query.Types[SmallTypeIdx]; in maxScalarEltSameAsIf() 1018 LLT VecTy = Query.Types[TypeIdx]; in clampMinNumElements() 1023 LLT VecTy = Query.Types[TypeIdx]; in clampMinNumElements() 1036 LLT VecTy = Query.Types[TypeIdx]; in clampMaxNumElements() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Opcodes.td | 64 list<Type> Types; 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]; 131 let Types = [AllTypeClass]; 185 let Types = [AluTypeClass]; 190 let Types = [PtrTypeClass]; [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | CVTypeVisitor.cpp | 81 Error visitTypeStream(const CVTypeArray &Types); 82 Error visitTypeStream(CVTypeRange Types); 83 Error visitTypeStream(TypeCollection &Types); 143 for (auto I : Types) { in visitTypeStream() 151 for (auto I : Types) { in visitTypeStream() 159 Optional<TypeIndex> I = Types.getFirst(); in visitTypeStream() 161 CVType Type = Types.getType(*I); in visitTypeStream() 164 I = Types.getNext(*I); in visitTypeStream() 236 return V.Visitor.visitTypeStream(Types); in visitTypeStream() 242 return V.Visitor.visitTypeStream(Types); in visitTypeStream() [all …]
|
| H A D | RecordName.cpp | 25 TypeCollection &Types; member in __anon2958d08b0111::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() 145 StringRef Ret = Types.getTypeName(MF.getReturnType()); in visitKnownRecord() 146 StringRef Class = Types.getTypeName(MF.getClassType()); in visitKnownRecord() 171 Name.append(Types.getTypeName(Ptr.getReferentType())); in visitKnownRecord() 203 Name.append(Types.getTypeName(Mod.getModifiedType())); in visitKnownRecord() 252 TypeNameComputer Computer(Types); in computeTypeName() [all …]
|
| H A D | TypeStreamMerger.cpp | 85 const CVTypeArray &Types); 102 Error doit(const CVTypeArray &Types); 104 Error remapAllTypes(const CVTypeArray &Types); 246 return doit(Types); in mergeTypeRecords() 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() 327 if (auto EC = remapAllTypes(Types)) in doit() 344 BinaryStreamRef Stream = Types.getUnderlyingStream(); in remapAllTypes() 435 return M.mergeTypeRecords(Dest, Types); in mergeTypeRecords() [all …]
|
| H A D | LazyRandomTypeCollection.cpp | 39 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64LegalizerInfo.cpp | 223 return Query.Types[0].getSizeInBits() <= Query.Types[1].getSizeInBits(); in AArch64LegalizerInfo() 226 const LLT &Ty0 = Query.Types[0]; in AArch64LegalizerInfo() 227 const LLT &Ty1 = Query.Types[1]; in AArch64LegalizerInfo() 241 return Query.Types[0].getSizeInBits() >= Query.Types[1].getSizeInBits(); in AArch64LegalizerInfo() 279 const LLT &ValTy = Query.Types[0]; in AArch64LegalizerInfo() 416 const LLT &SrcTy = Query.Types[1]; in AArch64LegalizerInfo() 440 LLT DstTy = Query.Types[0]; in AArch64LegalizerInfo() 441 LLT SrcTy = Query.Types[1]; in AArch64LegalizerInfo() 499 return Query.Types[0].getSizeInBits() != Query.Types[1].getSizeInBits(); in AArch64LegalizerInfo() 723 return Query.Types[0] == p0 && Query.Types[1] == s64; in AArch64LegalizerInfo() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | MinimalSymbolDumper.h | 27 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 D | TypeReferenceTracker.cpp | 23 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 D | InputFile.cpp | 103 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() 403 return *Types; in getOrCreateTypeCollection() 406 Types = std::make_unique<LazyRandomTypeCollection>(100); in getOrCreateTypeCollection() [all …]
|
| H A D | MinimalTypeDumper.h | 28 bool Hashes, codeview::LazyRandomTypeCollection &Types, in MinimalTypeDumpVisitor() argument 34 Types(Types), RefTracker(RefTracker), NumHashBuckets(NumHashBuckets), in MinimalTypeDumpVisitor() 60 codeview::LazyRandomTypeCollection &Types; variable
|
| /freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangOpcodesEmitter.cpp | 57 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() 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() 269 if (I >= Types->size()) { in EmitGroup() 345 if (Types.empty()) in PrintTypes() 348 for (size_t I = 0, N = Types.size(); I < N; ++I) { in PrintTypes() [all …]
|
| /freebsd-13.1/contrib/googletest/googletest/test/ |
| H A D | gtest-typed-test_test.cc | 93 using testing::Types; 98 typedef Types<char, int> TwoTypes; 149 TYPED_TEST_CASE(TypedTest2, Types<int>); 163 typedef Types<int, long> NumericTypes; 211 using testing::Types; 303 typedef Types<short, long> MyTwoTypes; 388 INSTANTIATE_TYPED_TEST_CASE_P(Int, TypedTestP2, Types<int>); 392 INSTANTIATE_TYPED_TEST_CASE_P(Double, TypedTestP2, Types<double>); 397 typedef Types<std::vector<double>, std::set<char> > MyContainers; 421 typedef Types<int, double> NumericTypes; [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyTargetStreamer.cpp | 42 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeEnumTypes.cpp | 24 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()
|
| /freebsd-13.1/contrib/googletest/googletest/include/gtest/ |
| H A D | gtest-typed-test.h | 58 typedef testing::Types<char, int, unsigned int> MyTypes; 159 typedef testing::Types<char, int, unsigned int> MyTypes; 194 # define TYPED_TEST_CASE(CaseName, Types, ...) \ argument 195 typedef ::testing::internal::TypeList< Types >::type GTEST_TYPE_PARAMS_( \ 290 # define INSTANTIATE_TYPED_TEST_CASE_P(Prefix, CaseName, Types, ...) \ argument 294 ::testing::internal::TypeList< Types >::type>:: \ 302 ::testing::internal::TypeList< Types >::type>())
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | SymbolDumper.h | 27 CVSymbolDumper(ScopedPrinter &W, TypeCollection &Types, in CVSymbolDumper() argument 31 : W(W), Types(Types), Container(Container), in CVSymbolDumper() 49 TypeCollection &Types; variable
|
| H A D | TypeStreamMerger.h | 40 const CVTypeArray &Types); 63 Error mergeIdRecords(MergingTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types, 97 const CVTypeArray &Types, 101 Error mergeIdRecords(GlobalTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 135 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() 441 if (!Types.getCodeGenOpts().FineGrainedBitfieldAccesses) in accumulateBitFields() 655 llvm::Type::getInt32PtrTy(Types.getLLVMContext()))); in accumulateVPtrs() 846 llvm::Type *Ty = Types.ConvertTypeForMem(FD->getType()); in MakeInfo() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsRegisterBankInfo.h | 159 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()
|
| /freebsd-13.1/contrib/llvm-project/libcxx/include/ |
| H A D | variant | 19 template <class... Types> 84 template <class... Types> 107 get(variant<Types...>&); 151 constexpr bool operator==(const variant<Types...>&, const variant<Types...>&); 154 constexpr bool operator!=(const variant<Types...>&, const 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...>&); 188 void swap(variant<Types...>&, variant<Types...>&) noexcept(see below); [all …]
|
| /freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-type-util.h.pump | 149 struct Types$i { 151 typedef Types$(i-1)<$for k, [[T$k]]> Tail; 171 // Types template. 175 struct Types { 176 typedef internal::Types$n<$for i, [[T$i]]> type; 180 struct Types<$for i, [[internal::None]]> { 189 struct Types<$for j, [[T$j]]$for k[[, internal::None]]> { 190 typedef internal::Types$i<$for j, [[T$j]]> type; 294 // or a Types<...> list in TYPED_TEST_CASE() and 305 struct TypeList<Types<$for i, [[T$i]]> > { [all …]
|
| /freebsd-13.1/contrib/googletest/googletest/samples/ |
| H A D | sample6_unittest.cc | 78 using testing::Types; 93 typedef Types<OnTheFlyPrimeTable, PreCalculatedPrimeTable> Implementations; 141 using testing::Types; 217 typedef Types<OnTheFlyPrimeTable, PreCalculatedPrimeTable>
|