Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp320 using ElemType = int; typedef
321 static constexpr ElemType Ignore = ElemType(-1);
375 std::vector<ElemType> Order;
428 ElemType Num = Size; in route()
435 ElemType I = P[J]; in route()
457 for (ElemType J = 0; J != Num; ++J) in route()
474 ElemType Num = Size; in route()
484 ElemType I = P[J]; in route()
529 for (ElemType J = 0; J != Num; ++J) in route()
548 ElemType Num = Size; in route()
[all …]
/freebsd-13.1/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 DMallocSizeofChecker.cpp169 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local
172 T = ElemType; in compatibleWithArrayType()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h71 uint8_t ElemType; member
439 return LHS.ElemType == RHS.ElemType && LHS.Limits == RHS.Limits;
H A DWasmTraits.h100 TableType.ElemType,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTF.h150 uint32_t ElemType; ///< Element type member
H A DBTFDebug.cpp199 ArrayInfo.ElemType = ElemTypeId; in BTFTypeArray()
218 OS.emitInt32(ArrayInfo.ElemType); in emitType()
509 const DIType *ElemType = CTy->getBaseType(); in visitArrayType() local
510 visitTypeEntry(ElemType, ElemTypeId, false, false); in visitArrayType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp918 Type *ElemType = GV->getValueType(); in getPreferredAlign() local
919 Align Alignment = getPrefTypeAlign(ElemType); in getPreferredAlign()
924 Alignment = std::max(*GVAlignment, getABITypeAlign(ElemType)); in getPreferredAlign()
934 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlign()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp140 Type *ElemType = PT->getContainedType(0); in shouldPrintAsStr() local
141 if (ElemType->getTypeID() != Type::IntegerTyID) in shouldPrintAsStr()
143 IntegerType *ElemIType = cast<IntegerType>(ElemType); in shouldPrintAsStr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp84 << WebAssembly::typeToString(static_cast<wasm::ValType>(Type.ElemType)); in emitTableType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp219 TableType.ElemType = readUint8(Ctx); in readTableType()
1061 auto ElemType = Im.Table.ElemType; in parseImportSection() local
1062 if (ElemType != wasm::WASM_TYPE_FUNCREF && in parseImportSection()
1063 ElemType != wasm::WASM_TYPE_EXTERNREF) in parseImportSection()
1112 auto ElemType = Tables.back().Type.ElemType; in parseTableSection() local
1113 if (ElemType != wasm::WASM_TYPE_FUNCREF && in parseTableSection()
1114 ElemType != wasm::WASM_TYPE_EXTERNREF) { in parseTableSection()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolWasm.h111 getTableType().ElemType == wasm::WASM_TYPE_FUNCREF; in isFunctionTable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp849 Optional<wasm::ValType> ElemType = WebAssembly::parseType(ElemTypeName); in ParseDirective() local
850 if (!ElemType) in ParseDirective()
861 wasm::WasmTableType Type = {uint8_t(ElemType.getValue()), Limits}; in ParseDirective()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp632 QualType ElemType = CAT->getElementType(); in EmitDesignatedInitUpdater() local
633 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType); in EmitDesignatedInitUpdater()
634 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType); in EmitDesignatedInitUpdater()
639 FillC = Emitter.tryEmitAbstractForMemory(Filler, ElemType); in EmitDesignatedInitUpdater()
658 if (!EmitDesignatedInitUpdater(Emitter, Const, Offset, ElemType, in EmitDesignatedInitUpdater()
664 llvm::Constant *Val = Emitter.tryEmitPrivateForMemory(Init, ElemType); in EmitDesignatedInitUpdater()
H A DCGOpenMPRuntimeGPU.cpp1704 QualType ElemType, in createRuntimeShuffleFunction() argument
1713 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in createRuntimeShuffleFunction()
1724 llvm::Value *ElemCast = castValueToType(CGF, Elem, ElemType, CastTy, Loc); in createRuntimeShuffleFunction()
1732 return castValueToType(CGF, ShuffledVal, CastTy, ElemType, Loc); in createRuntimeShuffleFunction()
1736 Address DestAddr, QualType ElemType, in shuffleAndStore() argument
1740 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in shuffleAndStore()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp316 InitListExpr *IList, QualType ElemType,
1340 QualType ElemType, in CheckSubElementType() argument
1347 if (ElemType->isReferenceType()) in CheckSubElementType()
1348 return CheckReferenceType(Entity, IList, ElemType, Index, in CheckSubElementType()
1384 ? InitializedEntity::InitializeTemporary(ElemType) in CheckSubElementType()
1415 } else if (ElemType->isScalarType() || ElemType->isAtomicType()) { in CheckSubElementType()
1417 return CheckScalarType(Entity, IList, ElemType, Index, in CheckSubElementType()
1420 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
1428 CheckStringInit(expr, ElemType, arrayType, SemaRef); in CheckSubElementType()
1438 assert((ElemType->isRecordType() || ElemType->isVectorType() || in CheckSubElementType()
[all …]
H A DSemaType.cpp8007 QualType ElemType = CurType->castAs<PipeType>()->getElementType(); in HandleOpenCLAccessAttr() local
8008 CurType = S.Context.getWritePipeType(ElemType); in HandleOpenCLAccessAttr()
8779 QualType ElemType = Context.getBaseElementType(T); in RequireLiteralType() local
8780 if ((isCompleteType(Loc, ElemType) || ElemType->isVoidType()) && in RequireLiteralType()
8789 const RecordType *RT = ElemType->getAs<RecordType>(); in RequireLiteralType()
8798 if (RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T)) in RequireLiteralType()
H A DSemaOpenMP.cpp5616 QualType ElemType; in processImplicitMapsWithDefaultMappers() local
5618 ElemType = ATy->getElementType(); in processImplicitMapsWithDefaultMappers()
5620 ElemType = BaseType->getPointeeType(); in processImplicitMapsWithDefaultMappers()
5621 CanonType = ElemType; in processImplicitMapsWithDefaultMappers()
15815 bool IsConstant = ElemType.isConstant(Context); in ActOnOpenMPFirstprivateClause()
15979 buildVarDecl(*this, RefExpr->getExprLoc(), ElemType, D->getName()); in ActOnOpenMPFirstprivateClause()
15980 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, ElemType, ELoc); in ActOnOpenMPFirstprivateClause()
15982 ElemType = ElemType.getUnqualifiedType(); in ActOnOpenMPFirstprivateClause()
17941 *this, SrcVD, ElemType.getUnqualifiedType(), DE->getExprLoc()); in ActOnOpenMPCopyinClause()
17943 buildVarDecl(*this, DE->getBeginLoc(), ElemType, ".copyin.dst", in ActOnOpenMPCopyinClause()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp397 writeUint8(OS, Import.TableImport.ElemType); in writeSectionContent()
440 writeUint8(OS, Table.ElemType); in writeSectionContent()
H A DWasmYAML.cpp306 IO.mapRequired("ElemType", Table.ElemType); in mapping()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h3569 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3570 if (ElemType == nullptr) in parseVectorType()
3572 return make<VectorType>(ElemType, DimensionNumber); in parseVectorType()
3581 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3582 if (!ElemType) in parseVectorType()
3584 return make<VectorType>(ElemType, DimExpr); in parseVectorType()
3586 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3587 if (!ElemType) in parseVectorType()
3589 return make<VectorType>(ElemType, /*Dimension=*/nullptr); in parseVectorType()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp2264 QualType ElemType = VT->getElementType(); in bindVector() local
2275 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx); in bindVector()
2277 if (ElemType->isArrayType()) in bindVector()
2279 else if (ElemType->isStructureOrClassType()) in bindVector()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h54 TableType ElemType; member
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp823 W->OS << char(Import.Table.ElemType); in writeImportSection()
915 encodeULEB128(Table.Type.ElemType, W->OS); in writeTableSection()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1055 QualType ElemType; member
6586 QualType ElemType = Caller.ElemType; in HandleOperatorNewCall() local
6587 if (ElemType->isIncompleteType() || ElemType->isFunctionType()) { in HandleOperatorNewCall()
6590 << (ElemType->isIncompleteType() ? 0 : 1) << ElemType; in HandleOperatorNewCall()
6604 if (!HandleSizeof(Info, E->getExprLoc(), ElemType, ElemSize)) in HandleOperatorNewCall()
6612 << ByteSize << APSInt(ElemSizeAP, true) << ElemType; in HandleOperatorNewCall()
6626 QualType AllocType = Info.Ctx.getConstantArrayType(ElemType, Size, nullptr, in HandleOperatorNewCall()

12