Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp320 using ElemType = int; typedef
321 static constexpr ElemType Ignore = ElemType(-1);
333 PermNetwork(ArrayRef<ElemType> Ord, unsigned Mult = 1) { in PermNetwork()
363 uint8_t ctl(ElemType Pos, unsigned Step) const { in ctl()
375 std::vector<ElemType> Order;
381 ForwardDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} in ForwardDeltaNetwork()
391 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step);
395 ReverseDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} in ReverseDeltaNetwork()
405 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step);
409 BenesNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord, 2) {} in BenesNetwork()
[all …]
/netbsd-src/external/apache2/llvm/dist/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.cpp165 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local
168 T = ElemType; in compatibleWithArrayType()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DWasmObjectFile.cpp219 TableType.ElemType = readUint8(Ctx); in readTableType()
1060 auto ElemType = Im.Table.ElemType; in parseImportSection() local
1061 if (ElemType != wasm::WASM_TYPE_FUNCREF && in parseImportSection()
1062 ElemType != wasm::WASM_TYPE_EXTERNREF) in parseImportSection()
1111 auto ElemType = Tables.back().Type.ElemType; in parseTableSection() local
1112 if (ElemType != wasm::WASM_TYPE_FUNCREF && in parseTableSection()
1113 ElemType != wasm::WASM_TYPE_EXTERNREF) { in parseTableSection()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp84 << WebAssembly::typeToString(static_cast<wasm::ValType>(Type.ElemType)); in emitTableType()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCSymbolWasm.h111 getTableType().ElemType == wasm::WASM_TYPE_FUNCREF; in isFunctionTable()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp46 T.ElemType = Type.ElemType; in makeTable()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp819 Optional<wasm::ValType> ElemType = WebAssembly::parseType(ElemTypeName); in ParseDirective() local
820 if (!ElemType) in ParseDirective()
831 wasm::WasmTableType Type = {uint8_t(ElemType.getValue()), Limits}; in ParseDirective()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
H A DWasm.h71 uint8_t ElemType; member
/netbsd-src/external/apache2/llvm/dist/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.cpp2292 QualType ElemType, in createRuntimeShuffleFunction() argument
2301 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in createRuntimeShuffleFunction()
2312 llvm::Value *ElemCast = castValueToType(CGF, Elem, ElemType, CastTy, Loc); in createRuntimeShuffleFunction()
2320 return castValueToType(CGF, ShuffledVal, CastTy, ElemType, Loc); in createRuntimeShuffleFunction()
2324 Address DestAddr, QualType ElemType, in shuffleAndStore() argument
2328 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in shuffleAndStore()
/netbsd-src/external/apache2/llvm/dist/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()
1353 IsStringInit(SubInitList->getInit(0), ElemType, SemaRef.Context) == in CheckSubElementType()
1363 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType()
1383 (ElemType->isExtVectorType() && !Entity.getType()->isExtVectorType()) 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()
[all …]
H A DSemaType.cpp7972 QualType ElemType = CurType->castAs<PipeType>()->getElementType(); in HandleOpenCLAccessAttr() local
7973 CurType = S.Context.getWritePipeType(ElemType); in HandleOpenCLAccessAttr()
8744 QualType ElemType = Context.getBaseElementType(T); in RequireLiteralType() local
8745 if ((isCompleteType(Loc, ElemType) || ElemType->isVoidType()) && in RequireLiteralType()
8754 const RecordType *RT = ElemType->getAs<RecordType>(); in RequireLiteralType()
8763 if (RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T)) in RequireLiteralType()
H A DSemaOpenMP.cpp5605 QualType ElemType; in processImplicitMapsWithDefaultMappers() local
5607 ElemType = ATy->getElementType(); in processImplicitMapsWithDefaultMappers()
5609 ElemType = BaseType->getPointeeType(); in processImplicitMapsWithDefaultMappers()
5610 CanonType = ElemType; in processImplicitMapsWithDefaultMappers()
15423 QualType ElemType = Context.getBaseElementType(Type).getNonReferenceType(); in ActOnOpenMPFirstprivateClause() local
15432 bool IsConstant = ElemType.isConstant(Context); in ActOnOpenMPFirstprivateClause()
15596 buildVarDecl(*this, RefExpr->getExprLoc(), ElemType, D->getName()); in ActOnOpenMPFirstprivateClause()
15597 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, ElemType, ELoc); in ActOnOpenMPFirstprivateClause()
15599 ElemType = ElemType.getUnqualifiedType(); in ActOnOpenMPFirstprivateClause()
15600 VarDecl *VDInitTemp = buildVarDecl(*this, RefExpr->getExprLoc(), ElemType, in ActOnOpenMPFirstprivateClause()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h54 TableType ElemType; member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DWasmObjectWriter.cpp812 W->OS << char(Import.Table.ElemType); in writeImportSection()
904 encodeULEB128(Table.Type.ElemType, W->OS); in writeTableSection()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp1055 QualType ElemType; member
6583 QualType ElemType = Caller.ElemType; in HandleOperatorNewCall() local
6584 if (ElemType->isIncompleteType() || ElemType->isFunctionType()) { in HandleOperatorNewCall()
6587 << (ElemType->isIncompleteType() ? 0 : 1) << ElemType; in HandleOperatorNewCall()
6601 if (!HandleSizeof(Info, E->getExprLoc(), ElemType, ElemSize)) in HandleOperatorNewCall()
6609 << ByteSize << APSInt(ElemSizeAP, true) << ElemType; in HandleOperatorNewCall()
6623 QualType AllocType = Info.Ctx.getConstantArrayType(ElemType, Size, nullptr, in HandleOperatorNewCall()

12