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

12

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp64 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); local
68 FlexSize = Ctx.getTypeSizeInChars(ElemType);
74 FlexSize = Ctx.getTypeSizeInChars(ElemType);
H A DMallocSizeofChecker.cpp165 QualType ElemType = AT->getElementType(); local
168 T = ElemType;
/freebsd-13-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-13-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.cpp198 ArrayInfo.ElemType = ElemTypeId;
217 OS.emitInt32(ArrayInfo.ElemType);
483 const DIType *ElemType = CTy->getBaseType(); local
484 visitTypeEntry(ElemType, ElemTypeId, false, false);
/freebsd-13-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-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp869 Type *ElemType = GV->getValueType();
870 Align Alignment = getPrefTypeAlign(ElemType);
875 Alignment = std::max(*GVAlignment, getABITypeAlign(ElemType));
885 if (getTypeSizeInBits(ElemType) > 128)
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h71 uint8_t ElemType; member in struct:llvm::wasm::WasmTable
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp632 QualType ElemType = CAT->getElementType();
633 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType);
634 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType);
639 FillC = Emitter.tryEmitAbstractForMemory(Filler, ElemType);
658 if (!EmitDesignatedInitUpdater(Emitter, Const, Offset, ElemType,
664 llvm::Constant *Val = Emitter.tryEmitPrivateForMemory(Init, ElemType);
H A DCGOpenMPRuntimeNVPTX.cpp2872 QualType ElemType,
2880 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType);
2891 llvm::Value *ElemCast = castValueToType(CGF, Elem, ElemType, CastTy, Loc);
2898 return castValueToType(CGF, ShuffledVal, CastTy, ElemType, Loc);
2902 Address DestAddr, QualType ElemType,
2906 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType);
H A DCGStmtOpenMP.cpp4069 QualType ElemType = C.getBaseElementType(Ty); local
4070 auto *InitVD = ImplicitParamDecl::Create(C, CD, Loc, /*Id=*/nullptr, ElemType,
4074 /*RefersToEnclosingVariableOrCapture=*/false, Loc, ElemType, VK_LValue);
4076 PrivateVD->setInit(ImplicitCastExpr::Create(C, ElemType, CK_LValueToRValue,
H A DCGOpenMPRuntime.cpp827 auto *ElemType = local
830 auto *ElemSizeOf = llvm::ConstantExpr::getSizeOf(ElemType);
/freebsd-13-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-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp311 InitListExpr *IList, QualType ElemType,
1319 QualType ElemType,
1325 if (ElemType->isReferenceType())
1326 return CheckReferenceType(Entity, IList, ElemType, Index,
1331 IsStringInit(SubInitList->getInit(0), ElemType, SemaRef.Context) ==
1341 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) &&
1361 (ElemType->isExtVectorType() && !Entity.getType()->isExtVectorType())
1362 ? InitializedEntity::InitializeTemporary(ElemType)
1393 } else if (ElemType->isScalarType() || ElemType
1317 CheckSubElementType(const InitializedEntity &Entity, InitListExpr *IList, QualType ElemType, unsigned &Index, InitListExpr *StructuredList, unsigned &StructuredIndex) argument
[all...]
H A DSemaType.cpp7816 QualType ElemType = CurType->getAs<PipeType>()->getElementType(); local
7817 CurType = S.Context.getWritePipeType(ElemType);
8622 QualType ElemType = Context.getBaseElementType(T); local
8623 if ((isCompleteType(Loc, ElemType) || ElemType->isVoidType()) &&
8632 const RecordType *RT = ElemType->getAs<RecordType>();
8641 if (RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T))
H A DSemaOpenMP.cpp13918 QualType ElemType = Context.getBaseElementType(Type).getNonReferenceType();
13927 bool IsConstant = ElemType.isConstant(Context);
14088 buildVarDecl(*this, RefExpr->getExprLoc(), ElemType, D->getName());
14089 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, ElemType, ELoc);
14091 ElemType = ElemType.getUnqualifiedType();
14092 VarDecl *VDInitTemp = buildVarDecl(*this, RefExpr->getExprLoc(), ElemType,
16004 QualType ElemType = Context.getBaseElementType(Type).getNonReferenceType();
16006 buildVarDecl(*this, DE->getBeginLoc(), ElemType.getUnqualifiedType(),
16009 *this, SrcVD, ElemType
[all...]
H A DSemaDeclCXX.cpp889 QualType DecompType, const llvm::APSInt &NumElems, QualType ElemType,
907 B->setBinding(ElemType, E.get());
917 QualType ElemType) {
919 S, Bindings, Src, DecompType, NumElems, ElemType,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h3522 Node *ElemType = getDerived().parseType();
3523 if (ElemType == nullptr)
3525 return make<VectorType>(ElemType, DimensionNumber);
3534 Node *ElemType = getDerived().parseType();
3535 if (!ElemType)
3537 return make<VectorType>(ElemType, DimExpr);
3539 Node *ElemType = getDerived().parseType(); local
3540 if (!ElemType)
3542 return make<VectorType>(ElemType, /*Dimension=*/nullptr);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp2265 QualType ElemType = VT->getElementType(); local
2276 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx);
2278 if (ElemType->isArrayType())
2280 else if (ElemType->isStructureOrClassType())
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h54 TableType ElemType; member in struct:llvm::WasmYAML::Table
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp219 Table.ElemType = readUint8(Ctx);
963 if (Im.Table.ElemType != wasm::WASM_TYPE_FUNCREF)
1007 if (Tables.back().ElemType != wasm::WASM_TYPE_FUNCREF) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp762 W.OS << char(Import.Table.ElemType);
1212 TableImport.Table.ElemType = wasm::WASM_TYPE_FUNCREF;
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1001 QualType ElemType; member in struct:__anon1581::EvalInfo::StdAllocatorCaller
6282 QualType ElemType = Caller.ElemType;
6283 if (ElemType->isIncompleteType() || ElemType->isFunctionType()) {
6286 << (ElemType->isIncompleteType() ? 0 : 1) << ElemType;
6300 if (!HandleSizeof(Info, E->getExprLoc(), ElemType, ElemSize))
6308 << ByteSize << APSInt(ElemSizeAP, true) << ElemType;
6322 QualType AllocType = Info.Ctx.getConstantArrayType(ElemType, Siz
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3742 Type *ElemType = cast<PointerType>(PtrType)->getElementType();
3744 if (ValType && ValType != ElemType)
3747 if (!PointerType::isLoadableOrStorableType(ElemType))

Completed in 525 milliseconds

12