| /freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalityPredicates.cpp | 26 SmallVector<LLT, 4> Types = TypesInit; in typeInSet() local 28 return std::find(Types.begin(), Types.end(), Query.Types[TypeIdx]) != Types.end(); in typeInSet() 35 SmallVector<std::pair<LLT, LLT>, 4> Types = TypesInit; in typePairInSet() local 37 std::pair<LLT, LLT> Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1]}; in typePairInSet() 38 return std::find(Types.begin(), Types.end(), Match) != Types.end(); in typePairInSet() 47 TypePairAndMemSize Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1], in typePairAndMemSizeInSet() 56 return Query.Types[TypeIdx].isScalar(); in isScalar() 63 const LLT &QueryTy = Query.Types[TypeIdx]; in narrowerThan() 71 const LLT &QueryTy = Query.Types[TypeIdx]; in widerThan() 78 const LLT &QueryTy = Query.Types[TypeIdx]; in sizeNotPow2() [all …]
|
| H A D | LegalizeMutations.cpp | 26 return std::make_pair(TypeIdx, Query.Types[FromTypeIdx]); in changeTo() 34 1 << Log2_32_Ceil(Query.Types[TypeIdx].getSizeInBits()); in widenScalarToNextPow2() 44 const LLT &VecTy = Query.Types[TypeIdx]; in moreElementsToNextPow2()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 122 ArrayRef<LLT> Types; member 135 : Opcode(Opcode), Types(Types), MMODescrs(MMODescrs) {} in LegalityQuery() 137 : LegalityQuery(Opcode, Types, {}) {} in LegalityQuery() 414 return actionFor(LegalizeAction::Legal, Types); in legalFor() 419 return actionFor(LegalizeAction::Legal, Types); in legalFor() 470 return actionFor(LegalizeAction::Lower, Types, in lowerFor() 482 return actionFor(LegalizeAction::Lower, Types, in lowerFor() 687 LLT VecTy = Query.Types[TypeIdx]; in clampMinNumElements() 692 LLT VecTy = Query.Types[TypeIdx]; in clampMinNumElements() 705 LLT VecTy = Query.Types[TypeIdx]; in clampMaxNumElements() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64LegalizerInfo.cpp | 56 return Query.Types[0].isVector() && in AArch64LegalizerInfo() 124 return Query.Types[0].getSizeInBits() <= Query.Types[1].getSizeInBits(); in AArch64LegalizerInfo() 127 const LLT &Ty0 = Query.Types[0]; in AArch64LegalizerInfo() 128 const LLT &Ty1 = Query.Types[1]; in AArch64LegalizerInfo() 142 return Query.Types[0].getSizeInBits() >= Query.Types[1].getSizeInBits(); in AArch64LegalizerInfo() 145 const LLT &Ty0 = Query.Types[0]; in AArch64LegalizerInfo() 146 const LLT &Ty1 = Query.Types[1]; in AArch64LegalizerInfo() 210 return Query.Types[0].isScalar() && in AArch64LegalizerInfo() 283 return Query.Types[0].getSizeInBits() != Query.Types[1].getSizeInBits(); in AArch64LegalizerInfo() 415 return Query.Types[0] != EltTy; in AArch64LegalizerInfo() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/ |
| H A D | CVTypeVisitor.cpp | 82 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 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 D | RecordName.cpp | 25 TypeCollection &Types; member in __anonf096809c0111::TypeNameComputer 32 explicit TypeNameComputer(TypeCollection &Types) : Types(Types) {} in TypeNameComputer() argument 83 Name.append(Types.getTypeName(Indices[I])); in visitKnownRecord() 97 Name.append(Types.getTypeName(Indices[I])); in visitKnownRecord() 136 StringRef Ret = Types.getTypeName(Proc.getReturnType()); in visitKnownRecord() 144 StringRef Ret = Types.getTypeName(MF.getReturnType()); in visitKnownRecord() 145 StringRef Class = Types.getTypeName(MF.getClassType()); in visitKnownRecord() 170 Name.append(Types.getTypeName(Ptr.getReferentType())); in visitKnownRecord() 202 Name.append(Types.getTypeName(Mod.getModifiedType())); in visitKnownRecord() 251 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); 261 return doit(Types); in mergeTypeRecords() 294 auto Err = doit(Types); in mergeTypeRecords() 325 Error TypeStreamMerger::doit(const CVTypeArray &Types) { in doit() argument 326 if (auto EC = remapAllTypes(Types)) in doit() 342 if (auto EC = remapAllTypes(Types)) in doit() 359 BinaryStreamRef Stream = Types.getUnderlyingStream(); in remapAllTypes() 433 return M.mergeTypeRecords(Dest, Types); in mergeTypeRecords() [all …]
|
| H A D | LazyRandomTypeCollection.cpp | 40 const CVTypeArray &Types, uint32_t RecordCountHint, in LazyRandomTypeCollection() argument 42 : NameStorage(Allocator), Types(Types), PartialOffsets(PartialOffsets) { in LazyRandomTypeCollection() 57 LazyRandomTypeCollection::LazyRandomTypeCollection(const CVTypeArray &Types, in LazyRandomTypeCollection() argument 59 : LazyRandomTypeCollection(Types, NumRecords, PartialOffsetArray()) {} in LazyRandomTypeCollection() 66 error(Reader.readArray(Types, Reader.bytesRemaining())); in reset() 231 auto Begin = Types.begin(); in fullScanForType() 244 Begin = Types.at(Offset); in fullScanForType() 248 auto End = Types.end(); in fullScanForType() 267 auto RI = Types.at(BeginOffset); in visitRange() 268 assert(RI != Types.end()); in visitRange()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/ |
| H A D | MinimalSymbolDumper.h | 28 codeview::LazyRandomTypeCollection &Types) in MinimalSymbolDumper() argument 29 : P(P), RecordBytes(RecordBytes), Ids(Ids), Types(Types) {} in MinimalSymbolDumper() 33 codeview::LazyRandomTypeCollection &Types) in MinimalSymbolDumper() argument 35 Types(Types) {} in MinimalSymbolDumper() 64 codeview::LazyRandomTypeCollection &Types; variable
|
| H A D | InputFile.cpp | 100 static bool isDebugTSection(SectionRef Section, CVTypeArray &Types) { in isDebugTSection() argument 105 cantFail(Reader.readArray(Types, Reader.bytesRemaining())); in isDebugTSection() 342 CVTypeArray Types; in hasTypes() local 343 if (isDebugTSection(Section, Types)) in hasTypes() 365 if (Types && Kind == kTypes) in getOrCreateTypeCollection() 366 return *Types; in getOrCreateTypeCollection() 377 TypeCollectionPtr &Collection = (Kind == kIds) ? Ids : Types; in getOrCreateTypeCollection() 391 assert(!Types); in getOrCreateTypeCollection() 399 return *Types; in getOrCreateTypeCollection() 402 Types = llvm::make_unique<LazyRandomTypeCollection>(100); in getOrCreateTypeCollection() [all …]
|
| H A D | MinimalTypeDumper.h | 28 bool Hashes, codeview::LazyRandomTypeCollection &Types, in MinimalTypeDumpVisitor() argument 33 Types(Types), NumHashBuckets(NumHashBuckets), HashValues(HashValues), in MinimalTypeDumpVisitor() 59 codeview::LazyRandomTypeCollection &Types; variable
|
| /freebsd-12.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-12.1/contrib/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyTargetStreamer.cpp | 43 ArrayRef<wasm::ValType> Types) { in printTypes() argument 45 for (auto Type : Types) { in printTypes() 55 void WebAssemblyTargetAsmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal() argument 56 if (!Types.empty()) { in emitLocal() 58 printTypes(OS, Types); in emitLocal() 131 void WebAssemblyTargetWasmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal() argument 133 for (auto Type : Types) { in emitLocal()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeEnumTypes.cpp | 25 LazyRandomTypeCollection &Types, in NativeEnumTypes() argument 28 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-12.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-12.1/contrib/libc++/include/ |
| H A D | variant | 20 template <class... Types> 85 template <class... Types> 108 get(variant<Types...>&); 152 constexpr bool operator==(const variant<Types...>&, const variant<Types...>&); 155 constexpr bool operator!=(const variant<Types...>&, const variant<Types...>&); 158 constexpr bool operator<(const variant<Types...>&, const variant<Types...>&); 161 constexpr bool operator>(const variant<Types...>&, const variant<Types...>&); 164 constexpr bool operator<=(const variant<Types...>&, const variant<Types...>&); 167 constexpr bool operator>=(const variant<Types...>&, const variant<Types...>&); 186 void swap(variant<Types...>&, variant<Types...>&) noexcept(see below); [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 123 return llvm::Type::getIntNTy(Types.getLLVMContext(), in getIntNType() 136 llvm::Type *Type = Types.ConvertTypeForMem(FD->getType()); in getStorageType() 156 return Types.isZeroInitializable(FD->getType()); in isZeroInitializable() 159 return Types.isZeroInitializable(RD); in isZeroInitializable() 194 CodeGenTypes &Types; member 219 : Types(Types), Context(Types.getContext()), D(D), in CGRecordLowering() 221 Layout(Types.getContext().getASTRecordLayout(D)), in CGRecordLowering() 412 if (!Types.getCodeGenOpts().FineGrainedBitfieldAccesses) in accumulateBitFields() 508 llvm::Type::getInt32PtrTy(Types.getLLVMContext()))); in accumulateVPtrs() 692 llvm::Type *Ty = Types.ConvertTypeForMem(FD->getType()); in MakeInfo() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | SymbolDumper.h | 28 CVSymbolDumper(ScopedPrinter &W, TypeCollection &Types, in CVSymbolDumper() argument 32 : W(W), Types(Types), Container(Container), in CVSymbolDumper() 50 TypeCollection &Types; variable
|
| H A D | TypeStreamMerger.h | 41 const CVTypeArray &Types); 64 Error mergeIdRecords(MergingTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types, 98 const CVTypeArray &Types, 102 Error mergeIdRecords(GlobalTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types,
|
| H A D | CVTypeVisitor.h | 45 Error visitTypeStream(const CVTypeArray &Types, TypeVisitorCallbacks &Callbacks, 47 Error visitTypeStream(CVTypeRange Types, TypeVisitorCallbacks &Callbacks); 48 Error visitTypeStream(TypeCollection &Types, TypeVisitorCallbacks &Callbacks);
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULegalizerInfo.cpp | 120 return Query.Types[0].getSizeInBits() <= 512; in AMDGPULegalizerInfo() 209 const LLT &Ty0 = Query.Types[0]; in AMDGPULegalizerInfo() 260 const LLT &VecTy = Query.Types[1]; in AMDGPULegalizerInfo() 261 const LLT &IdxTy = Query.Types[2]; in AMDGPULegalizerInfo() 271 const LLT &Ty0 = Query.Types[0]; in AMDGPULegalizerInfo() 272 const LLT &Ty1 = Query.Types[1]; in AMDGPULegalizerInfo() 301 const LLT &BigTy = Query.Types[BigTyIdx]; in AMDGPULegalizerInfo() 302 const LLT &LitTy = Query.Types[LitTyIdx]; in AMDGPULegalizerInfo() 311 0, Query.Types[0].getElementType()); in AMDGPULegalizerInfo() 316 1, Query.Types[1].getElementType()); in AMDGPULegalizerInfo()
|
| /freebsd-12.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 …]
|
| H A D | gtest-internal.h | 626 template <typename NameGenerator, typename Types> 629 GenerateNamesRecursively<NameGenerator>(typename Types::Tail(), result, in GenerateNamesRecursively() 633 template <typename NameGenerator, typename Types> 636 GenerateNamesRecursively<NameGenerator>(Types(), &result, 0); in GenerateNames() 647 template <GTEST_TEMPLATE_ Fixture, class TestSel, typename Types> 658 typedef typename Types::Head Type; 676 typename Types::Tail>::Register(prefix, 702 template <GTEST_TEMPLATE_ Fixture, typename Tests, typename Types> 725 TypeParameterizedTest<Fixture, Head, Types>::Register( 738 template <GTEST_TEMPLATE_ Fixture, typename Types> [all …]
|
| /freebsd-12.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>
|
| /freebsd-12.1/sys/contrib/dev/acpica/components/debugger/ |
| H A D | dbexec.c | 291 Status = AcpiDbConvertToObject (Info->Types[i], in AcpiDbExecuteMethod() 536 ACPI_OBJECT_TYPE *Types, in AcpiDbExecute() argument 593 AcpiGbl_DbMethodInfo.Types = Types; in AcpiDbExecute() 734 LocalInfo.Types = LocalInfo.ArgTypes; in AcpiDbMethodThread() 863 ACPI_OBJECT_TYPE *Types) in AcpiDbCreateExecutionThread() argument 873 AcpiGbl_DbMethodInfo.Types = AcpiGbl_DbMethodInfo.ArgTypes; in AcpiDbCreateExecutionThread() 882 AcpiGbl_DbMethodInfo.ArgTypes[i] = *Types; in AcpiDbCreateExecutionThread() 883 Types++; in AcpiDbCreateExecutionThread() 1032 AcpiGbl_DbMethodInfo.Types = AcpiGbl_DbMethodInfo.ArgTypes; in AcpiDbCreateExecutionThreads()
|