| /openbsd-src/gnu/llvm/llvm/utils/ |
| H A D | llvm.grm | 200 Types 203 | Types OptAddrSpace ^ "*" 206 | Types "(" ^ ArgTypeListI ^ ")" OptFuncAttrs 208 | "[" ^ EUINT64VAL "x" Types ^ "]" 209 | "<" ^ EUINT64VAL "x" Types ^ ">" 216 ArgType ::= Types OptParamAttrs ; 218 ResultTypes ::= Types | void ; 224 TypeListI ::= Types | TypeListI ^ "," Types ; 226 ConstVal::= Types "[" ^ ConstVector ^ "]" 227 | Types "[" ^ "]" [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalityPredicates.cpp | 30 [=](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() 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() [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 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 …]
|
| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | Opcodes.td | 15 // Types evaluated by the interpreter. 31 // Types transferred to the interpreter. 54 list<Type> Types; 58 let Types = [Sint8, Uint8, Sint16, Uint16, Sint32, 63 let Types = [Sint8, Uint8, Sint16, Uint16, Sint32, 68 let Types = !listconcat(NumberTypeClass.Types, [Bool]); 72 let Types = [Ptr]; 76 let Types = [Bool]; 80 let Types = !listconcat(AluTypeClass.Types, PtrTypeClass.Types); 84 let Types = !listconcat(AluTypeClass.Types, [Ptr]); [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 110 ArrayRef<LLT> Types; member 130 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types, in LegalityQuery() 132 : Opcode(Opcode), Types(Types), MMODescrs(MMODescrs) {} in LegalityQuery() 133 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types) in LegalityQuery() 134 : LegalityQuery(Opcode, Types, {}) {} in LegalityQuery() 261 return Query.Types[TypeIdx] != Type; in typeIsNot() 481 std::initializer_list<LLT> Types) { in actionFor() argument 483 return actionIf(Action, typeInSet(typeIdx(0), Types)); in actionFor() 488 std::initializer_list<LLT> Types, in actionFor() argument 491 return actionIf(Action, typeInSet(typeIdx(0), Types), Mutation); in actionFor() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/orc/ |
| H A D | debug.h | 27 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 D | debug.cpp | 54 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()
|
| /openbsd-src/gnu/llvm/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); 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.getType(*I); in visitTypeStream() [all …]
|
| H A D | RecordName.cpp | 29 TypeCollection &Types; member in __anon83696ece0111::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.getTypeName(MF.getClassType()); in visitKnownRecord() 151 StringRef Params = Types.getTypeName(MF.getArgumentList()); in visitKnownRecord() 171 StringRef Pointee = Types.getTypeName(Ptr.getReferentType()); in visitKnownRecord() [all …]
|
| H A D | TypeStreamMerger.cpp | 86 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 D | LazyRandomTypeCollection.cpp | 39 const CVTypeArray &Types, uint32_t RecordCountHint, in LazyRandomTypeCollection() argument 41 : NameStorage(Allocator), Types(Types), PartialOffsets(PartialOffsets) { in LazyRandomTypeCollection() 55 LazyRandomTypeCollection::LazyRandomTypeCollection(const CVTypeArray &Types, in LazyRandomTypeCollection() argument 57 : LazyRandomTypeCollection(Types, NumRecords, PartialOffsetArray()) {} in LazyRandomTypeCollection() 64 error(Reader.readArray(Types, Reader.bytesRemaining())); in reset() 229 auto Begin = Types.begin(); in fullScanForType() 242 Begin = Types.at(Offset); in fullScanForType() 246 auto End = Types.end(); in fullScanForType() 265 auto RI = Types.at(BeginOffset); in visitRange() 266 assert(RI != Types.end()); in visitRange()
|
| /openbsd-src/gnu/llvm/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 | 25 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 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
|
| /openbsd-src/gnu/llvm/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() 73 if (auto *TypeClass = dyn_cast<DefInit>(Types->getElement(I))) { in Enumerate() 246 auto *Types = R->getValueAsListInit("Types"); in EmitGroup() local 252 for (size_t I = 0, N = Types->size(); I < N; ++I) in EmitGroup() 268 for (size_t I = 0, N = Types->size(); I < N; ++I) in EmitGroup() 276 Rec = [this, &Rec, &OS, Types, &Args, R, &TS, N](size_t I, const Twine &ID) { in EmitGroup() 277 if (I >= Types->size()) { in EmitGroup() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64LegalizerInfo.cpp | 90 return Query.Types[0].isVector() && in AArch64LegalizerInfo() 91 (Query.Types[0].getElementType() != s64 || in AArch64LegalizerInfo() 92 Query.Types[0].getNumElements() != 2); in AArch64LegalizerInfo() 95 LLT EltTy = Query.Types[0].getElementType(); in AArch64LegalizerInfo() 122 return Query.Opcode == G_MUL && Query.Types[0] == v2s64; in AArch64LegalizerInfo() 134 const auto &SrcTy = Query.Types[0]; in AArch64LegalizerInfo() 135 const auto &AmtTy = Query.Types[1]; in AArch64LegalizerInfo() 233 const auto &Ty = Query.Types[0]; in AArch64LegalizerInfo() 242 return Query.Types[0] == s16 && !ST.hasFullFP16(); in AArch64LegalizerInfo() 304 const LLT &ValTy = Query.Types[0]; in AArch64LegalizerInfo() [all …]
|
| /openbsd-src/gnu/llvm/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() 121 void WebAssemblyTargetWasmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal() argument 123 for (auto Type : Types) { in emitLocal()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeEnumTypes.cpp | 26 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()
|
| H A D | InputFile.cpp | 129 static bool isDebugTSection(SectionRef Section, CVTypeArray &Types) { in isDebugTSection() argument 134 cantFail(Reader.readArray(Types, Reader.bytesRemaining())); in isDebugTSection() 392 CVTypeArray Types; in hasTypes() local 393 if (isDebugTSection(Section, Types)) in hasTypes() 415 if (Types && Kind == kTypes) in getOrCreateTypeCollection() 416 return *Types; in getOrCreateTypeCollection() 427 TypeCollectionPtr &Collection = (Kind == kIds) ? Ids : Types; in getOrCreateTypeCollection() 441 assert(!Types); in getOrCreateTypeCollection() 448 Types = std::make_unique<LazyRandomTypeCollection>(Records, 100); in getOrCreateTypeCollection() 449 return *Types; in getOrCreateTypeCollection() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | SymbolDumper.h | 29 CVSymbolDumper(ScopedPrinter &W, TypeCollection &Types, in CVSymbolDumper() argument 33 : W(W), Types(Types), Container(Container), in CVSymbolDumper() 51 TypeCollection &Types; variable
|
| H A D | TypeStreamMerger.h | 47 const CVTypeArray &Types); 70 Error mergeIdRecords(MergingTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types, 104 const CVTypeArray &Types, 108 Error mergeIdRecords(GlobalTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types,
|
| H A D | CVTypeVisitor.h | 47 Error visitTypeStream(const CVTypeArray &Types, TypeVisitorCallbacks &Callbacks, 49 Error visitTypeStream(CVTypeRange Types, TypeVisitorCallbacks &Callbacks); 50 Error visitTypeStream(TypeCollection &Types, TypeVisitorCallbacks &Callbacks);
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 95 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() 207 CodeGenTypes &Types; member 230 CGRecordLowering::CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D, in CGRecordLowering() argument 232 : Types(Types), Context(Types.getContext()), D(D), in CGRecordLowering() [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | variant | 19 template <class... Types> 84 template <class... Types> 85 struct variant_size<variant<Types...>>; 96 template <size_t I, class... Types> 97 struct variant_alternative<I, variant<Types...>>; 102 template <class T, class... Types> 103 constexpr bool holds_alternative(const variant<Types...>&) noexcept; 105 template <size_t I, class... Types> 106 constexpr variant_alternative_t<I, variant<Types...>>& 107 get(variant<Types...>&); [all …]
|
| /openbsd-src/gnu/llvm/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()
|