Searched refs:ElemType (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp62 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); local
66 FlexSize = Ctx.getTypeSizeInChars(ElemType);
72 FlexSize = Ctx.getTypeSizeInChars(ElemType);
H A DMallocSizeofChecker.cpp165 QualType ElemType = AT->getElementType(); local
168 T = ElemType;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp320 using ElemType = int;
321 static constexpr ElemType Ignore = ElemType(-1);
333 PermNetwork(ArrayRef<ElemType> Ord, unsigned Mult = 1) {
363 uint8_t ctl(ElemType Pos, unsigned Step) const {
375 std::vector<ElemType> Order;
381 ForwardDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {}
391 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step);
395 ReverseDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {}
405 bool route(ElemType *
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTF.h150 uint32_t ElemType; ///< Element type member in struct:llvm::BTF::BTFArray
H A DBTFDebug.cpp193 ArrayInfo.ElemType = ElemTypeId;
212 OS.EmitIntValue(ArrayInfo.ElemType, 4);
478 const DIType *ElemType = CTy->getBaseType(); local
479 visitTypeEntry(ElemType, ElemTypeId, false, false);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp142 Type *ElemType = PT->getContainedType(0);
143 if (ElemType->getTypeID() != Type::IntegerTyID)
145 IntegerType *ElemIType = cast<IntegerType>(ElemType);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h70 uint8_t ElemType; member in struct:llvm::wasm::WasmTable
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp850 Type *ElemType = GV->getValueType();
851 unsigned Alignment = getPrefTypeAlignment(ElemType);
855 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType));
865 if (getTypeSizeInBits(ElemType) > 128)
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp621 QualType ElemType = CAT->getElementType();
622 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType);
623 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType);
628 FillC = Emitter.tryEmitAbstractForMemory(Filler, ElemType);
647 if (!EmitDesignatedInitUpdater(Emitter, Const, Offset, ElemType,
653 llvm::Constant *Val = Emitter.tryEmitPrivateForMemory(Init, ElemType);
H A DCGOpenMPRuntimeNVPTX.cpp2849 QualType ElemType,
2857 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType);
2868 llvm::Value *ElemCast = castValueToType(CGF, Elem, ElemType, CastTy, Loc);
2875 return castValueToType(CGF, ShuffledVal, CastTy, ElemType, Loc);
2879 Address DestAddr, QualType ElemType,
2883 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType);
H A DCGStmtOpenMP.cpp3380 QualType ElemType = C.getBaseElementType(Ty); local
3381 auto *InitVD = ImplicitParamDecl::Create(C, CD, Loc, /*Id=*/nullptr, ElemType,
3385 /*RefersToEnclosingVariableOrCapture=*/false, Loc, ElemType, VK_LValue);
3387 PrivateVD->setInit(ImplicitCastExpr::Create(C, ElemType, CK_LValueToRValue,
H A DCGOpenMPRuntime.cpp1011 auto *ElemType = cast<llvm::PointerType>( local
1014 auto *ElemSizeOf = llvm::ConstantExpr::getSizeOf(ElemType);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp369 writeUint8(OS, Import.TableImport.ElemType);
405 writeUint8(OS, Table.ElemType);
H A DWasmYAML.cpp303 IO.mapRequired("ElemType", Table.ElemType);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp310 InitListExpr *IList, QualType ElemType,
1311 QualType ElemType,
1317 if (ElemType->isReferenceType())
1318 return CheckReferenceType(Entity, IList, ElemType, Index,
1323 IsStringInit(SubInitList->getInit(0), ElemType, SemaRef.Context) ==
1333 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) &&
1353 (ElemType->isExtVectorType() && !Entity.getType()->isExtVectorType())
1354 ? InitializedEntity::InitializeTemporary(ElemType)
1385 } else if (ElemType->isScalarType() || ElemType
1309 CheckSubElementType(const InitializedEntity &Entity, InitListExpr *IList, QualType ElemType, unsigned &Index, InitListExpr *StructuredList, unsigned &StructuredIndex) argument
[all...]
H A DSemaType.cpp7562 QualType ElemType = CurType->getAs<PipeType>()->getElementType(); local
7563 CurType = S.Context.getWritePipeType(ElemType);
8277 QualType ElemType = Context.getBaseElementType(T); local
8278 if ((isCompleteType(Loc, ElemType) || ElemType->isVoidType()) &&
8287 const RecordType *RT = ElemType->getAs<RecordType>();
8296 if (RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T))
H A DSemaOpenMP.cpp12770 QualType ElemType = Context.getBaseElementType(Type).getNonReferenceType();
12779 bool IsConstant = ElemType.isConstant(Context);
12940 buildVarDecl(*this, RefExpr->getExprLoc(), ElemType, D->getName());
12941 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, ElemType, ELoc);
12943 ElemType = ElemType.getUnqualifiedType();
12944 VarDecl *VDInitTemp = buildVarDecl(*this, RefExpr->getExprLoc(), ElemType,
14743 QualType ElemType = Context.getBaseElementType(Type).getNonReferenceType();
14745 buildVarDecl(*this, DE->getBeginLoc(), ElemType.getUnqualifiedType(),
14748 *this, SrcVD, ElemType
[all...]
H A DSemaDeclCXX.cpp875 QualType DecompType, const llvm::APSInt &NumElems, QualType ElemType,
893 B->setBinding(ElemType, E.get());
903 QualType ElemType) {
905 S, Bindings, Src, DecompType, NumElems, ElemType,
873 checkSimpleDecomposition( Sema &S, ArrayRef<BindingDecl *> Bindings, ValueDecl *Src, QualType DecompType, const llvm::APSInt &NumElems, QualType ElemType, llvm::function_ref<ExprResult(SourceLocation, Expr *, unsigned)> GetInit) argument
899 checkArrayLikeDecomposition(Sema &S, ArrayRef<BindingDecl *> Bindings, ValueDecl *Src, QualType DecompType, const llvm::APSInt &NumElems, QualType ElemType) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h3518 Node *ElemType = getDerived().parseType();
3519 if (ElemType == nullptr)
3521 return make<VectorType>(ElemType, DimensionNumber);
3530 Node *ElemType = getDerived().parseType();
3531 if (!ElemType)
3533 return make<VectorType>(ElemType, DimExpr);
3535 Node *ElemType = getDerived().parseType(); local
3536 if (!ElemType)
3538 return make<VectorType>(ElemType, /*Dimension=*/nullptr);
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp2308 QualType ElemType = VT->getElementType(); local
2319 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx);
2321 if (ElemType->isArrayType())
2323 else if (ElemType->isStructureOrClassType())
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h54 TableType ElemType; member in struct:llvm::WasmYAML::Table
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp206 Table.ElemType = readUint8(Ctx);
919 if (Im.Table.ElemType != wasm::WASM_TYPE_FUNCREF)
963 if (Tables.back().ElemType != wasm::WASM_TYPE_FUNCREF) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp727 W.OS << char(Import.Table.ElemType);
1138 TableImport.Table.ElemType = wasm::WASM_TYPE_FUNCREF;
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp996 QualType ElemType; member in struct:__anon19::EvalInfo::StdAllocatorCaller
5973 QualType ElemType = Caller.ElemType;
5974 if (ElemType->isIncompleteType() || ElemType->isFunctionType()) {
5977 << (ElemType->isIncompleteType() ? 0 : 1) << ElemType;
5991 if (!HandleSizeof(Info, E->getExprLoc(), ElemType, ElemSize))
5999 << ByteSize << APSInt(ElemSizeAP, true) << ElemType;
6013 QualType AllocType = Info.Ctx.getConstantArrayType(ElemType, Siz
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3672 Type *ElemType = cast<PointerType>(PtrType)->getElementType();
3674 if (ValType && ValType != ElemType)
3677 if (!PointerType::isLoadableOrStorableType(ElemType))

Completed in 784 milliseconds

12