Home
last modified time | relevance | path

Searched refs:CVT (Results 1 – 25 of 33) sorted by relevance

12

/openbsd/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordHelpers.cpp27 bool llvm::codeview::isUdtForwardRef(CVType CVT) { in isUdtForwardRef() argument
29 switch (CVT.kind()) { in isUdtForwardRef()
33 UdtOptions = getUdtOptions<ClassRecord>(std::move(CVT)); in isUdtForwardRef()
36 UdtOptions = getUdtOptions<EnumRecord>(std::move(CVT)); in isUdtForwardRef()
39 UdtOptions = getUdtOptions<UnionRecord>(std::move(CVT)); in isUdtForwardRef()
48 assert(CVT.kind() == LF_MODIFIER); in getModifiedType()
50 discoverTypeIndices(CVT, Refs); in getModifiedType()
172 switch (CVT.kind()) { in getSizeInBytesForTypeRecord()
176 return getUdtSize<ClassRecord>(std::move(CVT)); in getSizeInBytesForTypeRecord()
178 return getUdtSize<UnionRecord>(std::move(CVT)); in getSizeInBytesForTypeRecord()
[all …]
H A DSimpleTypeSerializer.cpp45 CVType CVT(Prefix, sizeof(RecordPrefix)); in serialize() local
47 cantFail(Mapping.visitTypeBegin(CVT)); in serialize()
48 cantFail(Mapping.visitKnownRecord(CVT, Record)); in serialize()
49 cantFail(Mapping.visitTypeEnd(CVT)); in serialize()
54 Prefix->RecordKind = CVT.kind(); in serialize()
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecordHelpers.h21 bool isUdtForwardRef(CVType CVT);
25 TypeIndex getModifiedType(const CVType &CVT);
46 inline bool isAggregate(CVType CVT) { in isAggregate() argument
47 switch (CVT.kind()) { in isAggregate()
63 uint64_t getSizeInBytesForTypeRecord(CVType CVT);
H A DTypeDeserializer.h42 template <typename T> static Error deserializeAs(CVType &CVT, T &Record) { in deserializeAs() argument
43 Record.Kind = static_cast<TypeRecordKind>(CVT.kind()); in deserializeAs()
44 MappingInfo I(CVT.content()); in deserializeAs()
45 if (auto EC = I.Mapping.visitTypeBegin(CVT)) in deserializeAs()
47 if (auto EC = I.Mapping.visitKnownRecord(CVT, Record)) in deserializeAs()
49 if (auto EC = I.Mapping.visitTypeEnd(CVT)) in deserializeAs()
61 CVType CVT(Data); in deserializeAs()
62 if (auto EC = deserializeAs<T>(CVT, Record)) in deserializeAs()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumTypes.cpp31 CVType CVT = Types.getType(*TI); in NativeEnumTypes() local
32 TypeLeafKind K = CVT.kind(); in NativeEnumTypes()
35 if (!isUdtForwardRef(CVT)) in NativeEnumTypes()
38 TypeIndex ModifiedTI = getModifiedType(CVT); in NativeEnumTypes()
H A DSymbolCache.cpp128 codeview::CVType CVT) const { in createSymbolForModifiedType()
130 if (auto EC = TypeDeserializer::deserializeAs<ModifierRecord>(CVT, Record)) { in createSymbolForModifiedType()
179 codeview::CVType CVT = Types.getType(Index); in findSymbolByTypeIndex() local
181 if (isUdtForwardRef(CVT)) { in findSymbolByTypeIndex()
200 switch (CVT.kind()) { in findSymbolByTypeIndex()
206 std::move(CVT)); in findSymbolByTypeIndex()
218 std::move(CVT)); in findSymbolByTypeIndex()
221 Id = createSymbolForModifiedType(Index, std::move(CVT)); in findSymbolByTypeIndex()
225 Index, std::move(CVT)); in findSymbolByTypeIndex()
229 Index, std::move(CVT)); in findSymbolByTypeIndex()
[all …]
H A DTpiStream.cpp195 CVType CVT = Types->getType(TI); in findFullDeclForForwardRef() local
196 if (CVT.kind() != F.kind()) in findFullDeclForForwardRef()
199 Expected<TagRecordHash> FullTRH = hashTagRecord(CVT); in findFullDeclForForwardRef()
H A DNativeTypeFunctionSig.cpp104 CVType CVT = Tpi.typeCollection().getType(ArgListTI); in initializeArgList() local
106 cantFail(TypeDeserializer::deserializeAs<ArgListRecord>(CVT, ArgList)); in initializeArgList()
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DSymbolCache.h99 SymIndexId createSymbolForType(codeview::TypeIndex TI, codeview::CVType CVT, in createSymbolForType() argument
103 codeview::TypeDeserializer::deserializeAs<CVRecordT>(CVT, Record)) { in createSymbolForType()
113 codeview::CVType CVT) const;
/openbsd/gnu/llvm/llvm/lib/Support/Unix/
H A DThreading.inc416 // Byte offset of the pointer to the Communications Vector Table (CVT) in
421 // CVT. The table entry is a 31-bit pointer and will be zero-extended to
429 char *CVT = reinterpret_cast<char *>(
432 static_cast<uintptr_t>(reinterpret_cast<unsigned int &>(CVT[CVTCSD])));
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ScheduleZnver1.td1142 // CVT(T)PD2DQ.
1144 def : InstRW<[ZnWriteCVTPD2DQr], (instregex "(V?)CVT(T?)PD2DQrr")>;
1151 def : InstRW<[ZnWriteCVTPD2DQLd], (instregex "(V?)CVT(T?)PD2DQrm")>;
1161 // CVT(T)PS2PI.
1169 // CVT(T)PD2PI.
1178 // CVT(T)SS2SI.
1180 def : InstRW<[ZnWriteCVTPD2DQr], (instregex "(V?)CVT(T?)SS2SI(64)?rr")>;
1183 def : InstRW<[ZnWriteCVTPD2DQLd], (instregex "(V?)CVT(T?)SS2SI(64)?rm")>;
1201 def : InstRW<[ZnWriteCVSTSI2SIr], (instregex "(V?)CVT(T?)SD2SI(64)?rr")>;
1203 def : InstRW<[ZnWriteCVSTSI2SILd], (instregex "(V?)CVT(T?)SD2SI(64)?rm")>;
H A DX86ScheduleZnver2.td1146 // CVT(T)P(D|S)2DQ.
1148 def : InstRW<[Zn2WriteCVTPD2DQr], (instregex "(V?)CVT(T?)P(D|S)2DQrr")>;
1155 def : InstRW<[Zn2WriteCVTPD2DQLd], (instregex "(V?)CVT(T?)PD2DQrm")>;
1165 // CVT(T)PS2PI.
1173 // CVT(T)PD2PI.
1182 // CVT(T)SS2SI.
1184 def : InstRW<[Zn2WriteCVTPD2DQr], (instregex "(V?)CVT(T?)SS2SI(64)?rr")>;
1187 def : InstRW<[Zn2WriteCVTPD2DQLd], (instregex "(V?)CVT(T?)SS2SI(64)?rm")>;
1205 def : InstRW<[Zn2WriteCVSTSI2SIr], (instregex "(V?)CVT(T?)SD2SI(64)?rr")>;
1207 def : InstRW<[Zn2WriteCVSTSI2SILd], (instregex "(V?)CVT(T?)SD2SI(64)?rm")>;
H A DX86ScheduleAtom.td579 def : InstRW<[AtomWrite0_1_9], (instregex "CVT(T)?SS2SI64rr(_Int)?")>;
586 def : InstRW<[AtomWrite0_1_10], (instregex "CVT(T)?SS2SI64rm(_Int)?")>;
H A DX86SchedAlderlakeP.td783 def : InstRW<[ADLPWriteResGroup35], (instregex "^(V?)CVT(T?)SD2SIrm((_Int)?)$")>;
806 def : InstRW<[ADLPWriteResGroup38], (instregex "^(V?)CVT(T?)SS2SI64rr_Int$")>;
807 def : InstRW<[ADLPWriteResGroup38, ReadDefault], (instregex "^(V?)CVT(T?)SS2SI64rr$")>;
H A DX86SchedSkylakeServer.td1047 "(V?)CVT(T?)PD2DQrr",
1402 def: InstRW<[SKXWriteResGroup100], (instregex "(V?)CVT(T?)SS2SI64(Z?)rr",
/openbsd/gnu/llvm/llvm/utils/TableGen/
H A DDAGISelMatcher.cpp410 if (const CheckValueTypeMatcher *CVT = dyn_cast<CheckValueTypeMatcher>(M)) in isContradictoryImpl() local
411 return CVT->getTypeName() != getTypeName(); in isContradictoryImpl()
/openbsd/gnu/llvm/llvm/lib/TargetParser/
H A DHost.cpp1367 char *CVT = reinterpret_cast<char *>(ReadValue); in getHostCPUName() local
1370 uint16_t Id = *(uint16_t *)&CVT[-6]; in getHostCPUName()
1376 bool HaveVectorSupport = CVT[244] & 0x80; in getHostCPUName()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMScheduleM7.td421 (instregex "V(ABS|CVT.*|NEG|FP_VMAX.*|FP_VMIN.*|RINT.*)S$")>;
423 (instregex "V(ABS|CVT.*|NEG|FP_VMAX.*|FP_VMIN.*|RINT.*)D$")>;
/openbsd/gnu/llvm/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp798 auto CVT = Err(LeafRecord::fromCodeViewRecord(T)); in fromDebugT() local
799 Result.push_back(CVT); in fromDebugT()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64SchedA57.td463 def : InstRW<[A57Write_5cyc_1V], (instregex "^[FSU]CVT([AMNPZ][SU])?(_Int)?(v2f32|v1i32|v2i32|v1i64…
465 def : InstRW<[A57Write_5cyc_2V], (instregex "^[FSU]CVT([AMNPZ][SU])?(_Int)?(v4f32|v2f64|v4i32|v2i64…
578 def : InstRW<[A57Write_10cyc_1L_1V], (instregex "^[FSU]CVT[AMNPZ][SU](_Int)?[SU]?[XW]?[DS]?[rds]i?"…
H A DAArch64SchedNeoverseN2.td1057 def : InstRW<[N2Write_3cyc_1V0], (instregex "^[FSU]CVT[AMNPZ][SU]v2f(32|64)$",
1061 def : InstRW<[N2Write_4cyc_2V0], (instregex "^[FSU]CVT[AMNPZ][SU]v4f(16|32)$",
1065 def : InstRW<[N2Write_6cyc_4V0], (instregex "^[FSU]CVT[AMNPZ][SU]v8f16$",
H A DAArch64SchedThunderX2T99.td1429 (instregex "^[FVSU]CVT([AMNPZ][SU])?(_Int)?(v2f32|v1i32|v2i32|v1i64)")>;
1432 (instregex "^[FVSU]CVT([AMNPZ][SU])?(_Int)?(v4f32|v2f64|v4i32|v2i64)")>;
H A DAArch64SchedThunderX3T110.td1537 (instregex "^[FVSU]CVT([AMNPZ][SU])?(_Int)?(v2f32|v1i32|v2i32|v1i64)")>;
1540 (instregex "^[FVSU]CVT([AMNPZ][SU])?(_Int)?(v4f32|v2f64|v4i32|v2i64)")>;
H A DAArch64SchedA64FX.td1575 (instregex "^[FVSU]CVT([AMNPZ][SU])?(_Int)?(v2f32|v1i32|v2i32|v1i64)")>;
1578 (instregex "^[FVSU]CVT([AMNPZ][SU])?(_Int)?(v4f32|v2f64|v4i32|v2i64)")>;
/openbsd/lib/libc/time/
H A DTheory364 append `T' to the country's ISO code, e.g. `CVT' for

12