Home
last modified time | relevance | path

Searched refs:ElemType (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCxxStringTypes.cpp38 getElementTraits(StringElementType ElemType) { in getElementTraits() argument
39 switch (ElemType) { in getElementTraits()
51 template <StringElementType ElemType>
61 options.SetPrefixToken(getElementTraits(ElemType).first); in CharStringSummaryProvider()
63 if (!StringPrinter::ReadStringAndDumpToStream<ElemType>(options)) in CharStringSummaryProvider()
69 template <StringElementType ElemType>
81 constexpr auto ElemTraits = getElementTraits(ElemType); in CharSummaryProvider()
94 return StringPrinter::ReadBufferAndDumpToStream<ElemType>(options); in CharSummaryProvider()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp104 QualType ElemType = CurRegion->getElementType(); in computeOffset() local
109 if (ElemType->isIncompleteType()) in computeOffset()
114 SVB.getContext().getTypeSizeInChars(ElemType).getQuantity()); in computeOffset()
266 QualType ElemType = EReg->getElementType(); in getExceedsMsgs() local
272 if (int64_t ElemSize = ACtx.getTypeSizeInChars(ElemType).getQuantity()) { in getExceedsMsgs()
288 Out << "'" << ElemType.getAsString() << "' element in "; in getExceedsMsgs()
304 Out << " '" << ElemType.getAsString() << "' element"; in getExceedsMsgs()
H A DCastSizeChecker.cpp64 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); in evenFlexibleArraySize() local
68 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
74 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
H A DMallocSizeofChecker.cpp170 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local
173 T = ElemType; in compatibleWithArrayType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h204 EVT ElemType = DataTypeVT.getScalarType(); in isLegalMaskedLoadStore() local
205 if (!ST->hasFastUnalignedAccess() && Alignment < ElemType.getStoreSize()) in isLegalMaskedLoadStore()
208 return TLI->isLegalElementTypeForRVV(ElemType); in isLegalMaskedLoadStore()
229 EVT ElemType = DataTypeVT.getScalarType(); in isLegalMaskedGatherScatter() local
230 if (!ST->hasFastUnalignedAccess() && Alignment < ElemType.getStoreSize()) in isLegalMaskedGatherScatter()
233 return TLI->isLegalElementTypeForRVV(ElemType); in isLegalMaskedGatherScatter()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp324 using ElemType = int; typedef
325 static constexpr ElemType Ignore = ElemType(-1);
379 std::vector<ElemType> Order;
432 ElemType Num = Size; in route()
439 ElemType I = P[J]; in route()
461 for (ElemType J = 0; J != Num; ++J) in route()
478 ElemType Num = Size; in route()
488 ElemType I = P[J]; in route()
533 for (ElemType J = 0; J != Num; ++J) in route()
552 ElemType Num = Size; in route()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp65 Type *ElemType = Array->getType()->getElementType(); in shouldConvertToRelLookupTable() local
66 if (!ElemType->isPointerTy() || DL.getPointerTypeSizeInBits(ElemType) != 64) in shouldConvertToRelLookupTable()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvaluationResult.cpp70 QualType ElemType = CAT->getElementType(); in CheckArrayInitialized() local
72 if (ElemType->isRecordType()) { in CheckArrayInitialized()
78 } else if (const auto *ElemCAT = dyn_cast<ConstantArrayType>(ElemType)) { in CheckArrayInitialized()
H A DByteCodeExprGen.h288 QualType ElemType = T->getAs<ComplexType>()->getElementType(); in classifyComplexElementType() local
290 return this->classify(ElemType); in classifyComplexElementType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h279 ValType ElemType; member
473 return LHS.ElemType == RHS.ElemType && LHS.Limits == RHS.Limits;
H A DWasmTraits.h99 TableType.ElemType,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h192 SPIRVType *getOpTypeVector(uint32_t NumElems, SPIRVType *ElemType,
195 SPIRVType *getOpTypeArray(uint32_t NumElems, SPIRVType *ElemType,
205 SPIRVType *ElemType, MachineIRBuilder &MIRBuilder,
H A DSPIRVGlobalRegistry.cpp122 SPIRVType *ElemType, in getOpTypeVector() argument
124 auto EleOpc = ElemType->getOpcode(); in getOpTypeVector()
131 .addUse(getSPIRVTypeID(ElemType)) in getOpTypeVector()
548 SPIRVType *ElemType, in getOpTypeArray() argument
551 assert((ElemType->getOpcode() != SPIRV::OpTypeVoid) && in getOpTypeArray()
557 .addUse(getSPIRVTypeID(ElemType)) in getOpTypeArray()
602 SPIRV::StorageClass::StorageClass SC, SPIRVType *ElemType, in getOpTypePointer() argument
609 .addUse(getSPIRVTypeID(ElemType)); in getOpTypePointer()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp82 << WebAssembly::typeToString(static_cast<wasm::ValType>(Type.ElemType)); in emitTableType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp1028 Type *ElemType = GV->getValueType(); in getPreferredAlign() local
1029 Align Alignment = getPrefTypeAlign(ElemType); in getPreferredAlign()
1034 Alignment = std::max(*GVAlignment, getABITypeAlign(ElemType)); in getPreferredAlign()
1044 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlign()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp261 TableType.ElemType = wasm::ValType(readVaruint32(Ctx)); in readTableType()
1165 auto ElemType = Im.Table.ElemType; in parseImportSection() local
1166 if (ElemType != wasm::ValType::FUNCREF && in parseImportSection()
1167 ElemType != wasm::ValType::EXTERNREF) in parseImportSection()
1222 auto ElemType = Tables.back().Type.ElemType; in parseTableSection() local
1223 if (ElemType != wasm::ValType::FUNCREF && in parseTableSection()
1224 ElemType != wasm::ValType::EXTERNREF) { in parseTableSection()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolWasm.h115 getTableType().ElemType == wasm::ValType::FUNCREF; in isFunctionTable()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h170 uint32_t ElemType; ///< Element type member
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp1376 QualType ElemType, in CheckSubElementType() argument
1383 if (ElemType->isReferenceType()) in CheckSubElementType()
1384 return CheckReferenceType(Entity, IList, ElemType, Index, in CheckSubElementType()
1420 ? InitializedEntity::InitializeTemporary(ElemType) in CheckSubElementType()
1430 SemaRef.Context.getAsArrayType(ElemType))) { in CheckSubElementType()
1466 } else if (ElemType->isScalarType() || ElemType->isAtomicType()) { in CheckSubElementType()
1468 return CheckScalarType(Entity, IList, ElemType, Index, in CheckSubElementType()
1471 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
1479 CheckStringInit(expr, ElemType, arrayType, SemaRef); in CheckSubElementType()
1489 assert((ElemType->isRecordType() || ElemType->isVectorType() || in CheckSubElementType()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp841 std::optional<wasm::ValType> ElemType = in parseDirective() local
843 if (!ElemType) in parseDirective()
854 wasm::WasmTableType Type = {*ElemType, Limits}; in parseDirective()
H A DWebAssemblyAsmTypeCheck.cpp230 Type = static_cast<wasm::ValType>(WasmSym->getTableType().ElemType); in getTable()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp645 QualType ElemType = CAT->getElementType(); in EmitDesignatedInitUpdater() local
646 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType); in EmitDesignatedInitUpdater()
647 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType); in EmitDesignatedInitUpdater()
652 FillC = Emitter.tryEmitAbstractForMemory(Filler, ElemType); in EmitDesignatedInitUpdater()
671 if (!EmitDesignatedInitUpdater(Emitter, Const, Offset, ElemType, in EmitDesignatedInitUpdater()
677 llvm::Constant *Val = Emitter.tryEmitPrivateForMemory(Init, ElemType); in EmitDesignatedInitUpdater()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp254 ArrayInfo.ElemType = ElemTypeId; in BTFTypeArray()
273 OS.emitInt32(ArrayInfo.ElemType); in emitType()
699 const DIType *ElemType = CTy->getBaseType(); in visitArrayType() local
700 visitTypeEntry(ElemType, ElemTypeId, false, false); in visitArrayType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/BTF/
H A DBTFParser.cpp841 Type = findType(T->getArray().ElemType); in symbolize()
845 T->getArray().ElemType, I)); in symbolize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp410 writeUint8(OS, Import.TableImport.ElemType); in writeSectionContent()
453 writeUint8(OS, Table.ElemType); in writeSectionContent()

12