Home
last modified time | relevance | path

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

12

/freebsd/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/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVISelLowering.cpp163 SPIRVType *ElemType = GR.getSPIRVTypeForVReg(ElemTypeReg, MF); in validatePtrTypes() local
164 if (!ElemType) in validatePtrTypes()
168 bool IsEqualTypes = IsSameMF ? ElemType == ResType in validatePtrTypes()
169 : GR.getTypeForSPIRVType(ElemType) == ResTy; in validatePtrTypes()
195 SPIRVType *ElemType = GR.getSPIRVTypeForVReg(OpType->getOperand(2).getReg()); in validateGroupWaitEventsPtr() local
196 if (!ElemType || ElemType->getOpcode() == SPIRV::OpTypeEvent) in validateGroupWaitEventsPtr()
216 SPIRVType *ElemType = GR.getSPIRVTypeForVReg(OpType->getOperand(2).getReg()); in validateGroupAsyncCopyPtr() local
217 if (!ElemType || ElemType->getOpcode() != SPIRV::OpTypeStruct || in validateGroupAsyncCopyPtr()
218 ElemType->getNumOperands() != 2) in validateGroupAsyncCopyPtr()
222 GR.getSPIRVTypeForVReg(ElemType->getOperand(1).getReg()); in validateGroupAsyncCopyPtr()
H A DSPIRVGlobalRegistry.cpp145 SPIRVType *ElemType, in getOpTypeVector() argument
147 auto EleOpc = ElemType->getOpcode(); in getOpTypeVector()
155 .addUse(getSPIRVTypeID(ElemType)) in getOpTypeVector()
705 SPIRVType *ElemType, in getOpTypeArray() argument
708 assert((ElemType->getOpcode() != SPIRV::OpTypeVoid) && in getOpTypeArray()
714 .addUse(getSPIRVTypeID(ElemType)) in getOpTypeArray()
759 SPIRV::StorageClass::StorageClass SC, SPIRVType *ElemType, in getOpTypePointer() argument
766 .addUse(getSPIRVTypeID(ElemType)); in getOpTypePointer()
1080 SPIRVType *ElemType = getPointeeType(getSPIRVTypeForVReg(PtrReg)); in getPointeeTypeOp() local
1081 return ElemType ? ElemType->getOpcode() : 0; in getPointeeTypeOp()
[all …]
H A DSPIRVGlobalRegistry.h406 SPIRVType *getOpTypeVector(uint32_t NumElems, SPIRVType *ElemType,
409 SPIRVType *getOpTypeArray(uint32_t NumElems, SPIRVType *ElemType,
419 SPIRVType *ElemType, MachineIRBuilder &MIRBuilder,
539 const SPIRVType *ElemType,
/freebsd/contrib/llvm-project/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 DArrayBoundCheckerV2.cpp189 QualType ElemType = CurRegion->getElementType(); in computeOffset() local
194 if (ElemType->isIncompleteType()) in computeOffset()
199 SVB.getContext().getTypeSizeInChars(ElemType).getQuantity()); in computeOffset()
412 QualType ElemType = EReg->getElementType(); in getExceedsMsgs() local
417 int64_t ElemSize = ACtx.getTypeSizeInChars(ElemType).getQuantity(); in getExceedsMsgs()
426 Out << "'" << ElemType.getAsString() << "' element in "; in getExceedsMsgs()
444 Out << " '" << ElemType.getAsString() << "' element"; in getExceedsMsgs()
H A DMallocSizeofChecker.cpp170 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local
173 T = ElemType; in compatibleWithArrayType()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h230 EVT ElemType = DataTypeVT.getScalarType(); in isLegalMaskedLoadStore() local
231 if (!ST->enableUnalignedVectorMem() && Alignment < ElemType.getStoreSize()) in isLegalMaskedLoadStore()
234 return TLI->isLegalElementTypeForRVV(ElemType); in isLegalMaskedLoadStore()
255 EVT ElemType = DataTypeVT.getScalarType(); in isLegalMaskedGatherScatter() local
256 if (!ST->enableUnalignedVectorMem() && Alignment < ElemType.getStoreSize()) in isLegalMaskedGatherScatter()
259 return TLI->isLegalElementTypeForRVV(ElemType); in isLegalMaskedGatherScatter()
/freebsd/contrib/llvm-project/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 *
[all...]
/freebsd/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/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 DCompiler.h340 QualType ElemType = T->getAs<ComplexType>()->getElementType(); in classifyComplexElementType() local
342 return *this->classify(ElemType); in classifyComplexElementType()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp302 auto ElemType = parseValType(Ctx, readVaruint32(Ctx)); in readTableType() local
303 TableType.ElemType = ElemType; in readTableType()
1292 auto ElemType = Im.Table.ElemType; in parseImportSection() local
1293 if (ElemType != wasm::ValType::FUNCREF && in parseImportSection()
1294 ElemType != wasm::ValType::EXTERNREF && in parseImportSection()
1295 ElemType != wasm::ValType::EXNREF && in parseImportSection()
1296 ElemType != wasm::ValType::OTHERREF) in parseImportSection()
1351 auto ElemType = Tables.back().Type.ElemType; in parseTableSection() local
1352 if (ElemType != wasm::ValType::FUNCREF && in parseTableSection()
1353 ElemType != wasm::ValType::EXTERNREF && in parseTableSection()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h316 ValType ElemType; member
528 return LHS.ElemType == RHS.ElemType && LHS.Limits == RHS.Limits;
H A DWasmTraits.h99 TableType.ElemType,
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h170 uint32_t ElemType; ///< Element type
162 uint32_t ElemType; ///< Element type global() member
/freebsd/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/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp82 << WebAssembly::typeToString(static_cast<wasm::ValType>(Type.ElemType)); in emitTableType()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolWasm.h116 getTableType().ElemType == wasm::ValType::FUNCREF; in isFunctionTable()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp342 InitListExpr *IList, QualType ElemType,
1432 QualType ElemType, in CheckSubElementType() argument
1439 if (ElemType->isReferenceType()) in CheckSubElementType()
1440 return CheckReferenceType(Entity, IList, ElemType, Index, in CheckSubElementType()
1445 IsStringInit(SubInitList->getInit(0), ElemType, SemaRef.Context) == in CheckSubElementType()
1455 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType()
1475 (ElemType->isExtVectorType() && !Entity.getType()->isExtVectorType()) in CheckSubElementType()
1476 ? InitializedEntity::InitializeTemporary(ElemType) in CheckSubElementType()
1500 SemaRef.Context.getAsArrayType(ElemType))) { in CheckSubElementType()
1502 AggrDeductionCandidateParamTypes->push_back(ElemType); in CheckSubElementType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp827 std::optional<wasm::ValType> ElemType = in parseDirective() local
829 if (!ElemType) in parseDirective()
843 wasm::WasmTableType Type = {*ElemType, Limits}; in parseDirective()
H A DWebAssemblyAsmTypeCheck.cpp230 Type = static_cast<wasm::ValType>(WasmSym->getTableType().ElemType); in getTable()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp255 ArrayInfo.ElemType = ElemTypeId; in BTFTypeArray()
274 OS.emitInt32(ArrayInfo.ElemType); in emitType()
700 const DIType *ElemType = CTy->getBaseType(); in visitArrayType() local
701 visitTypeEntry(ElemType, ElemTypeId, false, false); in visitArrayType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp663 QualType ElemType = CAT->getElementType(); in EmitDesignatedInitUpdater() local
664 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType); in EmitDesignatedInitUpdater()
665 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType); in EmitDesignatedInitUpdater()
670 FillC = Emitter.tryEmitAbstractForMemory(Filler, ElemType); in EmitDesignatedInitUpdater()
689 if (!EmitDesignatedInitUpdater(Emitter, Const, Offset, ElemType, in EmitDesignatedInitUpdater()
695 llvm::Constant *Val = Emitter.tryEmitPrivateForMemory(Init, ElemType); in EmitDesignatedInitUpdater()
/freebsd/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