Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/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-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp63 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); in evenFlexibleArraySize() local
67 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
73 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
H A DMallocSizeofChecker.cpp166 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local
169 T = ElemType; in compatibleWithArrayType()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDataLayout.cpp831 Type *ElemType = GV->getValueType(); in getPreferredAlignment() local
832 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment()
836 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
846 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlignment()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBTF.h137 uint32_t ElemType; ///< Element type member
H A DBTFDebug.cpp174 ArrayInfo.ElemType = BDebug.getTypeId(BaseType); in completeType()
205 OS.EmitIntValue(ArrayInfo.ElemType, 4); in emitType()
/freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/
H A DWasm.h59 uint8_t ElemType; member
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp1209 QualType ElemType, in CheckSubElementType() argument
1215 if (ElemType->isReferenceType()) in CheckSubElementType()
1216 return CheckReferenceType(Entity, IList, ElemType, Index, in CheckSubElementType()
1226 = getStructuredSubobjectInit(IList, Index, ElemType, in CheckSubElementType()
1229 CheckExplicitInitList(Entity, SubInitList, ElemType, in CheckSubElementType()
1291 } else if (ElemType->isScalarType() || ElemType->isAtomicType()) { in CheckSubElementType()
1293 return CheckScalarType(Entity, IList, ElemType, Index, in CheckSubElementType()
1296 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
1303 CheckStringInit(expr, ElemType, arrayType, SemaRef); in CheckSubElementType()
1313 assert((ElemType->isRecordType() || ElemType->isVectorType() || in CheckSubElementType()
[all …]
H A DSemaType.cpp7197 QualType ElemType = CurType->getAs<PipeType>()->getElementType(); in HandleOpenCLAccessAttr() local
7198 CurType = S.Context.getWritePipeType(ElemType); in HandleOpenCLAccessAttr()
7957 QualType ElemType = Context.getBaseElementType(T); in RequireLiteralType() local
7958 if ((isCompleteType(Loc, ElemType) || ElemType->isVoidType()) && in RequireLiteralType()
7967 const RecordType *RT = ElemType->getAs<RecordType>(); in RequireLiteralType()
7976 if (RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T)) in RequireLiteralType()
H A DSemaOpenMP.cpp10009 QualType ElemType = Context.getBaseElementType(Type).getNonReferenceType(); in ActOnOpenMPFirstprivateClause() local
10018 bool IsConstant = ElemType.isConstant(Context); in ActOnOpenMPFirstprivateClause()
10172 buildVarDecl(*this, RefExpr->getExprLoc(), ElemType, D->getName()); in ActOnOpenMPFirstprivateClause()
10173 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, ElemType, ELoc); in ActOnOpenMPFirstprivateClause()
10175 ElemType = ElemType.getUnqualifiedType(); in ActOnOpenMPFirstprivateClause()
10176 VarDecl *VDInitTemp = buildVarDecl(*this, RefExpr->getExprLoc(), ElemType, in ActOnOpenMPFirstprivateClause()
11927 QualType ElemType = Context.getBaseElementType(Type).getNonReferenceType(); in ActOnOpenMPCopyinClause() local
11929 buildVarDecl(*this, DE->getBeginLoc(), ElemType.getUnqualifiedType(), in ActOnOpenMPCopyinClause()
11932 *this, SrcVD, ElemType.getUnqualifiedType(), DE->getExprLoc()); in ActOnOpenMPCopyinClause()
11934 buildVarDecl(*this, DE->getBeginLoc(), ElemType, ".copyin.dst", in ActOnOpenMPCopyinClause()
[all …]
H A DSemaDeclCXX.cpp847 QualType DecompType, const llvm::APSInt &NumElems, QualType ElemType, in checkSimpleDecomposition() argument
865 B->setBinding(ElemType, E.get()); in checkSimpleDecomposition()
875 QualType ElemType) { in checkArrayLikeDecomposition() argument
877 S, Bindings, Src, DecompType, NumElems, ElemType, in checkArrayLikeDecomposition()
/freebsd-12.1/contrib/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h3280 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3281 if (ElemType == nullptr) in parseVectorType()
3283 return make<VectorType>(ElemType, DimensionNumber); in parseVectorType()
3292 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3293 if (!ElemType) in parseVectorType()
3295 return make<VectorType>(ElemType, DimExpr); in parseVectorType()
3297 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3298 if (!ElemType) in parseVectorType()
3300 return make<VectorType>(ElemType, StringView()); in parseVectorType()
/freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h54 TableType ElemType; member
/freebsd-12.1/contrib/llvm/lib/Object/
H A DWasmObjectFile.cpp206 Table.ElemType = readUint8(Ctx); in readTable()
836 if (Im.Table.ElemType != wasm::WASM_TYPE_FUNCREF) in parseImportSection()
879 if (Tables.back().ElemType != wasm::WASM_TYPE_FUNCREF) { in parseTableSection()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp2248 QualType ElemType = VT->getElementType(); in bindVector() local
2259 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx); in bindVector()
2261 if (ElemType->isArrayType()) in bindVector()
2263 else if (ElemType->isStructureOrClassType()) in bindVector()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprConstant.cpp976 llvm::Type *ElemType = AType->getElementType(); in EmitDesignatedInitUpdater() local
999 bool RewriteType = (fillC && fillC->getType() != ElemType); in EmitDesignatedInitUpdater()
1017 RewriteType |= (Elts[i]->getType() != ElemType); in EmitDesignatedInitUpdater()
H A DCGOpenMPRuntimeNVPTX.cpp2801 QualType ElemType, in createRuntimeShuffleFunction() argument
2809 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in createRuntimeShuffleFunction()
2820 llvm::Value *ElemCast = castValueToType(CGF, Elem, ElemType, CastTy, Loc); in createRuntimeShuffleFunction()
2827 return castValueToType(CGF, ShuffledVal, CastTy, ElemType, Loc); in createRuntimeShuffleFunction()
2831 Address DestAddr, QualType ElemType, in shuffleAndStore() argument
2835 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in shuffleAndStore()
H A DCGStmtOpenMP.cpp3053 QualType ElemType = C.getBaseElementType(Ty); in createImplicitFirstprivateForType() local
3054 auto *InitVD = ImplicitParamDecl::Create(C, CD, Loc, /*Id=*/nullptr, ElemType, in createImplicitFirstprivateForType()
3058 /*RefersToEnclosingVariableOrCapture=*/false, Loc, ElemType, VK_LValue); in createImplicitFirstprivateForType()
3060 PrivateVD->setInit(ImplicitCastExpr::Create(C, ElemType, CK_LValueToRValue, in createImplicitFirstprivateForType()
H A DCGOpenMPRuntime.cpp969 auto *ElemType = in emitAggregateType() local
972 auto *ElemSizeOf = llvm::ConstantExpr::getSizeOf(ElemType); in emitAggregateType()
H A DCGBuiltin.cpp13208 llvm::Type *ElemType = ConvertType(E->getType())->getVectorElementType(); in EmitWebAssemblyBuiltinExpr() local
13209 Value *Trunc = Builder.CreateTrunc(Val, ElemType); in EmitWebAssemblyBuiltinExpr()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DWasmObjectWriter.cpp762 W.OS << char(Import.Table.ElemType); in writeImportSection()
1186 TableImport.Table.ElemType = wasm::WASM_TYPE_FUNCREF; in writeObject()
/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp271 IO.mapRequired("ElemType", Table.ElemType); in mapping()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3400 Type *ElemType = cast<PointerType>(PtrType)->getElementType(); in typeCheckLoadStoreInst() local
3402 if (ValType && ValType != ElemType) in typeCheckLoadStoreInst()
3405 if (!PointerType::isLoadableOrStorableType(ElemType)) in typeCheckLoadStoreInst()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp5898 QualType ElemType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5899 return Context.getComplexType(ElemType); in readTypeRecord()