Searched refs:Types (Results 1 - 25 of 134) sorted by relevance

123456

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp19 [=](const LegalityQuery &Query) { return Query.Types[TypeIdx] == Type; };
25 SmallVector<LLT, 4> Types = TypesInit;
27 return std::find(Types.begin(), Types.end(), Query.Types[TypeIdx]) != Types.end();
34 SmallVector<std::pair<LLT, LLT>, 4> Types = TypesInit;
36 std::pair<LLT, LLT> Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1]};
37 return std::find(Types
[all...]
H A DLegalizeMutations.cpp25 return std::make_pair(TypeIdx, Query.Types[FromTypeIdx]);
32 const LLT OldTy = Query.Types[TypeIdx];
33 const LLT NewTy = Query.Types[FromTypeIdx];
41 const LLT OldTy = Query.Types[TypeIdx];
49 const LLT Ty = Query.Types[TypeIdx];
59 const LLT VecTy = Query.Types[TypeIdx];
69 return std::make_pair(TypeIdx, Query.Types[TypeIdx].getElementType());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DRecordName.h18 std::string computeTypeName(TypeCollection &Types, TypeIndex Index);
H A DSymbolDumper.h27 CVSymbolDumper(ScopedPrinter &W, TypeCollection &Types, argument
31 : W(W), Types(Types), Container(Container),
49 TypeCollection &Types; member in class:llvm::codeview::CVSymbolDumper
H A DCVTypeVisitor.h44 Error visitTypeStream(const CVTypeArray &Types, TypeVisitorCallbacks &Callbacks,
46 Error visitTypeStream(CVTypeRange Types, TypeVisitorCallbacks &Callbacks);
47 Error visitTypeStream(TypeCollection &Types, TypeVisitorCallbacks &Callbacks);
H A DTypeStreamMerger.h34 /// \param Types The collection of types to merge in.
40 const CVTypeArray &Types);
52 /// \param Types The mapping to use for the type records that these id
63 Error mergeIdRecords(MergingTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types,
97 const CVTypeArray &Types,
101 Error mergeIdRecords(GlobalTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types,
H A DLazyRandomTypeCollection.h63 LazyRandomTypeCollection(const CVTypeArray &Types, uint32_t RecordCountHint,
65 LazyRandomTypeCollection(const CVTypeArray &Types, uint32_t RecordCountHint);
101 CVTypeArray Types; member in class:llvm::codeview::LazyRandomTypeCollection
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.h27 codeview::LazyRandomTypeCollection &Types)
28 : P(P), RecordBytes(RecordBytes), Ids(Ids), Types(Types) {}
32 codeview::LazyRandomTypeCollection &Types)
34 Types(Types) {}
63 codeview::LazyRandomTypeCollection &Types; member in class:llvm::pdb::MinimalSymbolDumper
25 MinimalSymbolDumper(LinePrinter &P, bool RecordBytes, codeview::LazyRandomTypeCollection &Ids, codeview::LazyRandomTypeCollection &Types) argument
29 MinimalSymbolDumper(LinePrinter &P, bool RecordBytes, const SymbolGroup &SymGroup, codeview::LazyRandomTypeCollection &Ids, codeview::LazyRandomTypeCollection &Types) argument
H A DMinimalTypeDumper.h28 bool Hashes, codeview::LazyRandomTypeCollection &Types,
34 Types(Types), RefTracker(RefTracker), NumHashBuckets(NumHashBuckets),
60 codeview::LazyRandomTypeCollection &Types; member in class:llvm::pdb::MinimalTypeDumpVisitor
27 MinimalTypeDumpVisitor(LinePrinter &P, uint32_t Width, bool RecordBytes, bool Hashes, codeview::LazyRandomTypeCollection &Types, TypeReferenceTracker *RefTracker, uint32_t NumHashBuckets, FixedStreamArray<support::ulittle32_t> HashValues, pdb::TpiStream *Stream) argument
H A DTypeReferenceTracker.cpp23 static uint32_t getNumRecordsInCollection(LazyRandomTypeCollection &Types) { argument
25 for (Optional<TypeIndex> TI = Types.getFirst(); TI; TI = Types.getNext(*TI))
31 : File(File), Types(File.types()),
33 NumTypeRecords = getNumRecordsInCollection(Types);
132 : Types.tryGetType(RefTI);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumTypes.cpp24 LazyRandomTypeCollection &Types,
27 Optional<TypeIndex> TI = Types.getFirst();
29 CVType CVT = Types.getType(*TI);
38 CVType UnmodifiedCVT = Types.getType(ModifiedTI);
46 TI = Types.getNext(*TI);
23 NativeEnumTypes(NativeSession &PDBSession, LazyRandomTypeCollection &Types, std::vector<codeview::TypeLeafKind> Kinds) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DSlotMapping.h36 std::map<unsigned, Type *> Types; member in struct:llvm::SlotMapping
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp42 ArrayRef<wasm::ValType> Types) {
44 for (auto Type : Types) {
54 void WebAssemblyTargetAsmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { argument
55 if (!Types.empty()) {
57 printTypes(OS, Types);
107 void WebAssemblyTargetWasmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { argument
109 for (auto Type : Types) {
41 printTypes(formatted_raw_ostream &OS, ArrayRef<wasm::ValType> Types) argument
H A DWebAssemblyTargetStreamer.h34 virtual void emitLocal(ArrayRef<wasm::ValType> Types) = 0;
66 void emitLocal(ArrayRef<wasm::ValType> Types) override;
82 void emitLocal(ArrayRef<wasm::ValType> Types) override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCVTypeVisitor.cpp81 Error visitTypeStream(const CVTypeArray &Types);
82 Error visitTypeStream(CVTypeRange Types);
83 Error visitTypeStream(TypeCollection &Types);
142 Error CVTypeVisitor::visitTypeStream(const CVTypeArray &Types) { argument
143 for (auto I : Types) {
150 Error CVTypeVisitor::visitTypeStream(CVTypeRange Types) { argument
151 for (auto I : Types) {
158 Error CVTypeVisitor::visitTypeStream(TypeCollection &Types) { argument
159 Optional<TypeIndex> I = Types.getFirst();
161 CVType Type = Types
232 visitTypeStream(const CVTypeArray &Types, TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) argument
239 visitTypeStream(CVTypeRange Types, TypeVisitorCallbacks &Callbacks) argument
245 visitTypeStream(TypeCollection &Types, TypeVisitorCallbacks &Callbacks) argument
[all...]
H A DLazyRandomTypeCollection.cpp39 const CVTypeArray &Types, uint32_t RecordCountHint,
41 : NameStorage(Allocator), Types(Types), PartialOffsets(PartialOffsets) {
56 LazyRandomTypeCollection::LazyRandomTypeCollection(const CVTypeArray &Types, argument
58 : LazyRandomTypeCollection(Types, NumRecords, PartialOffsetArray()) {}
65 error(Reader.readArray(Types, Reader.bytesRemaining()));
230 auto Begin = Types.begin();
243 Begin = Types.at(Offset);
247 auto End = Types.end();
266 auto RI = Types
38 LazyRandomTypeCollection( const CVTypeArray &Types, uint32_t RecordCountHint, PartialOffsetArray PartialOffsets) argument
[all...]
H A DTypeStreamMerger.cpp85 const CVTypeArray &Types);
97 Error mergeTypeRecords(GlobalTypeTableBuilder &Dest, const CVTypeArray &Types,
102 Error doit(const CVTypeArray &Types);
104 Error remapAllTypes(const CVTypeArray &Types);
242 const CVTypeArray &Types) {
246 return doit(Types);
273 const CVTypeArray &Types,
279 auto Err = doit(Types);
310 Error TypeStreamMerger::doit(const CVTypeArray &Types) { argument
311 if (auto EC = remapAllTypes(Types))
241 mergeTypeRecords(MergingTypeTableBuilder &Dest, const CVTypeArray &Types) argument
272 mergeTypeRecords(GlobalTypeTableBuilder &Dest, const CVTypeArray &Types, ArrayRef<GloballyHashedType> Hashes, Optional<uint32_t> &S) argument
343 remapAllTypes(const CVTypeArray &Types) argument
[all...]
H A DRecordName.cpp24 TypeCollection &Types; member in class:__anon2187::TypeNameComputer
31 explicit TypeNameComputer(TypeCollection &Types) : Types(Types) {} argument
82 Name.append(Types.getTypeName(Indices[I]));
96 Name.append(Types.getTypeName(Indices[I]));
135 StringRef Ret = Types.getTypeName(Proc.getReturnType());
136 StringRef Params = Types.getTypeName(Proc.getArgumentList());
143 StringRef Ret = Types.getTypeName(MF.getReturnType());
144 StringRef Class = Types
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.h113 DenseMap<const MachineInstr *, InstType> Types; member in class:llvm::final::TypeInfoForMF
135 Types.try_emplace(MI, InstType::NotDetermined);
141 bool wasVisited(const MachineInstr *MI) const { return Types.count(MI); };
146 return Types.find(MI)->getSecond();
152 Types.find(MI)->getSecond() = InstTy;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LegalizerInfo.cpp67 return Query.Types[0].isVector() &&
68 (Query.Types[0].getElementType() != s64 ||
69 Query.Types[0].getNumElements() != 2);
72 LLT EltTy = Query.Types[0].getElementType();
122 const auto &SrcTy = Query.Types[0];
123 const auto &AmtTy = Query.Types[1];
161 const auto &Ty = Query.Types[0];
170 return Query.Types[0] == s16 && !ST.hasFullFP16();
185 return Query.Types[0].getSizeInBits() <= Query.Types[
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h119 /// For efficiency, it doesn't make a copy of Types so care must be taken not
123 ArrayRef<LLT> Types; member in struct:llvm::LegalityQuery
135 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types, argument
137 : Opcode(Opcode), Types(Types), MMODescrs(MMODescrs) {}
138 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types) argument
139 : LegalityQuery(Opcode, Types, {}) {}
391 std::initializer_list<LLT> Types) {
393 return actionIf(Action, typeInSet(typeIdx(0), Types));
398 std::initializer_list<LLT> Types,
390 actionFor(LegalizeAction Action, std::initializer_list<LLT> Types) argument
397 actionFor(LegalizeAction Action, std::initializer_list<LLT> Types, LegalizeMutation Mutation) argument
406 actionFor(LegalizeAction Action, std::initializer_list<std::pair<LLT, LLT>> Types) argument
414 actionFor(LegalizeAction Action, std::initializer_list<std::pair<LLT, LLT>> Types, LegalizeMutation Mutation) argument
424 actionForTypeWithAnyImm(LegalizeAction Action, std::initializer_list<LLT> Types) argument
433 actionForCartesianProduct(LegalizeAction Action, std::initializer_list<LLT> Types) argument
485 legalFor(std::initializer_list<LLT> Types) argument
490 legalFor(std::initializer_list<std::pair<LLT, LLT>> Types) argument
495 legalForTypeWithAnyImm(std::initializer_list<LLT> Types) argument
510 legalForCartesianProduct(std::initializer_list<LLT> Types) argument
561 lowerFor(std::initializer_list<LLT> Types) argument
567 lowerFor(std::initializer_list<LLT> Types, LegalizeMutation Mutation) argument
573 lowerFor(std::initializer_list<std::pair<LLT, LLT>> Types) argument
579 lowerFor(std::initializer_list<std::pair<LLT, LLT>> Types, LegalizeMutation Mutation) argument
607 libcallFor(std::initializer_list<LLT> Types) argument
611 libcallFor(std::initializer_list<std::pair<LLT, LLT>> Types) argument
615 libcallForCartesianProduct(std::initializer_list<LLT> Types) argument
685 customFor(std::initializer_list<LLT> Types) argument
691 customFor(std::initializer_list<std::pair<LLT, LLT>> Types) argument
695 customForCartesianProduct(std::initializer_list<LLT> Types) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DDebug.cpp66 void setCurrentDebugTypes(const char **Types, unsigned Count);
72 void setCurrentDebugTypes(const char **Types, unsigned Count) { argument
75 CurrentDebugType->push_back(Types[T]);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DDebug.h53 void setCurrentDebugTypes(const char **Types, unsigned Count);
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangTypeNodesEmitter.cpp79 const std::vector<Record*> Types; member in class:__anon960::TypeNodeEmitter
85 Types(Records.getAllDerivedDefinitions(TypeNodeClassName)) {
104 if (Types.empty())
187 for (TypeNode type : Types) {
H A DClangOpcodesEmitter.cpp57 void PrintTypes(raw_ostream &OS, ArrayRef<Record *> Types);
64 auto *Types = R->getValueAsListInit("Types"); local
67 Rec = [&TypePath, Types, &Rec, &F](size_t I, const Twine &ID) {
68 if (I >= Types->size()) {
73 if (auto *TypeClass = dyn_cast<DefInit>(Types->getElement(I))) {
74 for (auto *Type : TypeClass->getDef()->getValueAsListOfDefs("Types")) {
214 auto TypeCount = R->getValueAsListInit("Types")->size();
238 auto *Types = R->getValueAsListInit("Types");
343 PrintTypes(raw_ostream &OS, ArrayRef<Record *> Types) argument
[all...]

Completed in 238 milliseconds

123456