Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/
H A DCxxStringTypes.cpp39 getElementTraits(StringElementType ElemType) { in getElementTraits() argument
40 switch (ElemType) { in getElementTraits()
52 template <StringElementType ElemType>
62 options.SetPrefixToken(getElementTraits(ElemType).first); in CharStringSummaryProvider()
64 if (!StringPrinter::ReadStringAndDumpToStream<ElemType>(options)) in CharStringSummaryProvider()
70 template <StringElementType ElemType>
82 constexpr auto ElemTraits = getElementTraits(ElemType); in CharSummaryProvider()
95 return StringPrinter::ReadBufferAndDumpToStream<ElemType>(options); in CharSummaryProvider()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
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.cpp169 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local
172 T = ElemType; in compatibleWithArrayType()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp324 using ElemType = int; typedef
325 static constexpr ElemType Ignore = ElemType(-1);
337 PermNetwork(ArrayRef<ElemType> Ord, unsigned Mult = 1) { in PermNetwork()
367 uint8_t ctl(ElemType Pos, unsigned Step) const { in ctl()
379 std::vector<ElemType> Order;
385 ForwardDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} in ForwardDeltaNetwork()
395 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step);
399 ReverseDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} in ReverseDeltaNetwork()
409 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step);
413 BenesNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord, 2) {} in BenesNetwork()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DWasm.h84 uint8_t ElemType; member
471 return LHS.ElemType == RHS.ElemType && LHS.Limits == RHS.Limits;
H A DWasmTraits.h98 TableType.ElemType,
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h189 SPIRVType *getOpTypeVector(uint32_t NumElems, SPIRVType *ElemType,
192 SPIRVType *getOpTypeArray(uint32_t NumElems, SPIRVType *ElemType,
202 SPIRVType *ElemType, MachineIRBuilder &MIRBuilder,
H A DSPIRVGlobalRegistry.cpp104 SPIRVType *ElemType, in getOpTypeVector() argument
106 auto EleOpc = ElemType->getOpcode(); in getOpTypeVector()
113 .addUse(getSPIRVTypeID(ElemType)) in getOpTypeVector()
521 SPIRVType *ElemType, in getOpTypeArray() argument
524 assert((ElemType->getOpcode() != SPIRV::OpTypeVoid) && in getOpTypeArray()
530 .addUse(getSPIRVTypeID(ElemType)) in getOpTypeArray()
582 SPIRV::StorageClass::StorageClass SC, SPIRVType *ElemType, in getOpTypePointer() argument
589 .addUse(getSPIRVTypeID(ElemType)); in getOpTypePointer()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DInterp.cpp420 QualType ElemType = CAT->getElementType(); in CheckArrayInitialized() local
422 if (isa<RecordType>(ElemType.getTypePtr())) { in CheckArrayInitialized()
428 } else if (auto *ElemCAT = dyn_cast<ConstantArrayType>(ElemType)) { in CheckArrayInitialized()
436 DiagnoseUninitializedSubobject(S, S.Current->getSource(OpPC), ElemType, in CheckArrayInitialized()
/openbsd-src/gnu/llvm/lld/wasm/
H A DWriterUtils.cpp72 return "type=" + toString(static_cast<ValType>(type.ElemType)) + in toString()
207 writeValueType(os, ValType(type.ElemType), "table type"); in writeTableType()
H A DSymbolTable.cpp202 if (newType->ElemType != oldType->ElemType) { in checkTableType()
666 type->ElemType = uint8_t(ValType::FUNCREF); in createUndefinedIndirectFunctionTable()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBTF.h162 uint32_t ElemType; ///< Element type member
H A DBTFDebug.cpp253 ArrayInfo.ElemType = ElemTypeId; in BTFTypeArray()
272 OS.emitInt32(ArrayInfo.ElemType); in emitType()
698 const DIType *ElemType = CTy->getBaseType(); in visitArrayType() local
699 visitTypeEntry(ElemType, ElemTypeId, false, false); in visitArrayType()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDataLayout.cpp995 Type *ElemType = GV->getValueType(); in getPreferredAlign() local
996 Align Alignment = getPrefTypeAlign(ElemType); in getPreferredAlign()
1001 Alignment = std::max(*GVAlignment, getABITypeAlign(ElemType)); in getPreferredAlign()
1011 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlign()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp82 << WebAssembly::typeToString(static_cast<wasm::ValType>(Type.ElemType)); in emitTableType()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DWasmObjectFile.cpp250 TableType.ElemType = readUint8(Ctx); in readTableType()
1140 auto ElemType = Im.Table.ElemType; in parseImportSection() local
1141 if (ElemType != wasm::WASM_TYPE_FUNCREF && in parseImportSection()
1142 ElemType != wasm::WASM_TYPE_EXTERNREF) in parseImportSection()
1197 auto ElemType = Tables.back().Type.ElemType; in parseTableSection() local
1198 if (ElemType != wasm::WASM_TYPE_FUNCREF && in parseTableSection()
1199 ElemType != wasm::WASM_TYPE_EXTERNREF) { in parseTableSection()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCSymbolWasm.h115 getTableType().ElemType == wasm::WASM_TYPE_FUNCREF; in isFunctionTable()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp46 T.ElemType = Type.ElemType; in makeTable()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp840 std::optional<wasm::ValType> ElemType = in ParseDirective() local
842 if (!ElemType) in ParseDirective()
853 wasm::WasmTableType Type = {uint8_t(*ElemType), Limits}; in ParseDirective()
H A DWebAssemblyAsmTypeCheck.cpp205 Type = static_cast<wasm::ValType>(WasmSym->getTableType().ElemType); in getTable()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprConstant.cpp644 QualType ElemType = CAT->getElementType(); in EmitDesignatedInitUpdater() local
645 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType); in EmitDesignatedInitUpdater()
646 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType); in EmitDesignatedInitUpdater()
651 FillC = Emitter.tryEmitAbstractForMemory(Filler, ElemType); in EmitDesignatedInitUpdater()
670 if (!EmitDesignatedInitUpdater(Emitter, Const, Offset, ElemType, in EmitDesignatedInitUpdater()
676 llvm::Constant *Val = Emitter.tryEmitPrivateForMemory(Init, ElemType); in EmitDesignatedInitUpdater()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaInit.cpp327 InitListExpr *IList, QualType ElemType,
1354 QualType ElemType, in CheckSubElementType() argument
1361 if (ElemType->isReferenceType()) in CheckSubElementType()
1362 return CheckReferenceType(Entity, IList, ElemType, Index, in CheckSubElementType()
1367 IsStringInit(SubInitList->getInit(0), ElemType, SemaRef.Context) == in CheckSubElementType()
1377 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType()
1397 (ElemType->isExtVectorType() && !Entity.getType()->isExtVectorType()) in CheckSubElementType()
1398 ? InitializedEntity::InitializeTemporary(ElemType) in CheckSubElementType()
1429 } else if (ElemType->isScalarType() || ElemType->isAtomicType()) { in CheckSubElementType()
1431 return CheckScalarType(Entity, IList, ElemType, Index, in CheckSubElementType()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp410 writeUint8(OS, Import.TableImport.ElemType); in writeSectionContent()
453 writeUint8(OS, Table.ElemType); in writeSectionContent()
/openbsd-src/gnu/llvm/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h3587 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3588 if (ElemType == nullptr) in parseVectorType()
3590 return make<VectorType>(ElemType, DimensionNumber); in parseVectorType()
3599 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3600 if (!ElemType) in parseVectorType()
3602 return make<VectorType>(ElemType, DimExpr); in parseVectorType()
3604 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3605 if (!ElemType) in parseVectorType()
3607 return make<VectorType>(ElemType, /*Dimension=*/nullptr); in parseVectorType()

12