Searched refs:ElementTy (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DDynamicSize.h33 QualType ElementTy);
H A DStore.h153 virtual SVal ArrayToPointer(Loc Array, QualType ElementTy) = 0;
H A DProgramState.h550 SVal ArrayToPointer(Loc Array, QualType ElementTy) { argument
551 return StoreMgr->ArrayToPointer(Array, ElementTy);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicSize.cpp33 QualType ElementTy) {
39 Ctx.getTypeSizeInChars(ElementTy).getQuantity(), SVB.getArrayIndexType());
30 getDynamicElementCount(ProgramStateRef State, const MemRegion *MR, SValBuilder &SVB, QualType ElementTy) argument
H A DRegionStore.cpp403 SVal ArrayToPointer(Loc Array, QualType ElementTy) override;
1185 QualType ElementTy = AT->getElementType();
1186 uint64_t ElemSize = Ctx.getTypeSize(ElementTy);
2195 QualType ElementTy = AT->getElementType(); local
2229 const ElementRegion *ER = MRMgr.getElementRegion(ElementTy, Idx, R, Ctx);
2231 if (ElementTy->isStructureOrClassType())
2233 else if (ElementTy->isArrayType())
2243 NewB = setImplicitDefaultValue(NewB, R, ElementTy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1417 Type *ElementTy = Ty;
1419 if (ElementTy->isPointerTy())
1422 if (ArrayType *ArrayTy = dyn_cast<ArrayType>(ElementTy)) {
1423 ElementTy = ArrayTy->getElementType();
1425 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) {
1426 ElementTy = VectorTy->getElementType();
1428 } else if (StructType *STy = dyn_cast<StructType>(ElementTy)) {
1431 ElementTy = *STy->element_begin();
1437 } while (ElementTy != TargetTy);
1438 if (ElementTy !
[all...]
H A DLowerMatrixIntrinsics.cpp775 Align getAlignForIndex(unsigned Idx, Value *Stride, Type *ElementTy, argument
777 Align InitialAlign = DL.getValueOrABITypeAlignment(A, ElementTy);
781 TypeSize ElementSizeInBits = DL.getTypeSizeInBits(ElementTy);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h705 template <typename ElementTy>
706 static Constant *get(LLVMContext &Context, ArrayRef<ElementTy> Elts) {
708 return getRaw(StringRef(Data, Elts.size() * sizeof(ElementTy)), Elts.size(),
709 Type::getScalarTy<ElementTy>(Context));
713 /// ArrayRef<ElementTy>. Calls get(LLVMContext, ArrayRef<ElementTy>).
720 /// count and element type matching the NumElements and ElementTy parameters
722 /// ElementTy needs to be one of i8/i16/i32/i64/float/double. Data is the
725 static Constant *getRaw(StringRef Data, uint64_t NumElements, Type *ElementTy) { argument
726 Type *Ty = ArrayType::get(ElementTy, NumElement
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp106 Type *ElementTy = cast<PointerType>(Arg.Ty)->getElementType(); local
109 Flags.setByValSize(DL.getTypeAllocSize(Ty ? Ty : ElementTy));
117 FrameAlign = Align(getTLI()->getByValTypeAlignment(ElementTy, DL));
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp2499 QualType ElementTy(T, 0);
2502 if (ElementTy->isConstantArrayType()) {
2504 getASTContext().getAsConstantArrayType(ElementTy);
2506 ElementTy = CAT->getElementType();
2507 } else if (ElementTy->isIncompleteArrayType()) {
2509 getASTContext().getAsIncompleteArrayType(ElementTy);
2511 ElementTy = IAT->getElementType();
2512 } else if (ElementTy->isVariableArrayType()) {
2514 getASTContext().getAsVariableArrayType(ElementTy);
2516 ElementTy
[all...]
H A DASTContext.cpp3920 QualType ASTContext::getConstantMatrixType(QualType ElementTy, unsigned NumRows, argument
3923 ConstantMatrixType::Profile(ID, ElementTy, NumRows, NumColumns,
3926 assert(MatrixType::isValidElementType(ElementTy) &&
3936 if (!ElementTy.isCanonical()) {
3938 getConstantMatrixType(getCanonicalType(ElementTy), NumRows, NumColumns);
3946 ConstantMatrixType(ElementTy, NumRows, NumColumns, Canonical);
3952 QualType ASTContext::getDependentSizedMatrixType(QualType ElementTy, argument
3956 QualType CanonElementTy = getCanonicalType(ElementTy);
3980 if (Canon->getElementType() == ElementTy && Canon->getRowExpr() == RowExpr &&
3986 DependentSizedMatrixType(*this, ElementTy, QualTyp
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp980 const CXXNewExpr *E, QualType ElementType, llvm::Type *ElementTy,
1074 ElementTy = ConvertTypeForMem(AllocType);
1075 CurPtr = Builder.CreateElementBitCast(CurPtr, ElementTy);
1274 Builder.CreateConstInBoundsGEP1_32(ElementTy, CurPtr.getPointer(), 1,
1287 QualType ElementType, llvm::Type *ElementTy,
1292 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements,
979 EmitNewArrayInitializer( const CXXNewExpr *E, QualType ElementType, llvm::Type *ElementTy, Address BeginPtr, llvm::Value *NumElements, llvm::Value *AllocSizeWithoutCookie) argument
1286 EmitNewInitializer(CodeGenFunction &CGF, const CXXNewExpr *E, QualType ElementType, llvm::Type *ElementTy, Address NewPtr, llvm::Value *NumElements, llvm::Value *AllocSizeWithoutCookie) argument
H A DCGRecordLayoutBuilder.cpp831 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); local
852 getDataLayout().getTypeAllocSizeInBits(ElementTy) &&
H A DCGExprConstant.cpp2319 QualType ElementTy = CAT->getElementType(); local
2322 ConstantEmitter::emitNullForMemory(*this, ElementTy);
H A DCGDebugInfo.cpp2754 llvm::DIType *ElementTy = getOrCreateType(Ty->getElementType(), Unit); local
2777 return DBuilder.createVectorType(Size, Align, ElementTy, SubscriptArray);
2785 llvm::DIType *ElementTy = getOrCreateType(Ty->getElementType(), Unit); local
2804 return DBuilder.createArrayType(Size, Align, ElementTy, SubscriptArray);
H A DCGOpenMPRuntime.cpp674 QualType ElementTy; local
678 llvm::Value *NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, DestAddr);
702 CharUnits ElementSize = CGF.getContext().getTypeSizeInChars(ElementTy);
726 SrcElementCurrent, ElementTy);
728 CGF.EmitAnyExprToMem(Init, DestElementCurrent, ElementTy.getQualifiers(),
5204 QualType ElementTy; local
5210 llvm::Value *NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, LHSAddr);
5227 CharUnits ElementSize = CGF.getContext().getTypeSizeInChars(ElementTy);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3992 using ElementTy = std::pair<TypeID, const std::set<std::string> *>;
3993 llvm::SmallVector<ElementTy, 8> StableOpenCLTypeExtMap;
4000 auto CompareByTypeID = [](const ElementTy &E1, const ElementTy &E2) -> bool {
4006 for (const ElementTy &E : StableOpenCLTypeExtMap) {
4025 using ElementTy = std::pair<DeclID, const std::set<std::string> *>;
4026 llvm::SmallVector<ElementTy, 8> StableOpenCLDeclExtMap;
4032 auto CompareByDeclID = [](const ElementTy &E1, const ElementTy &E2) -> bool {
4038 for (const ElementTy
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp1234 Type *ElementTy = Ty->getElementType(); local
1236 DL.getTypeAllocSize(Arg.ByValType ? Arg.ByValType : ElementTy);
1242 FrameAlign = Align(TLI.getByValTypeAlignment(ElementTy, DL));
H A DSelectionDAGBuilder.cpp6901 Type *ElementTy = I.getOperand(0)->getType(); local
6911 OpsStepConstants.push_back(DAG.getConstant(i, DL, MVT::getVT(ElementTy)));
6917 auto VecTy = MVT::getVT(FixedVectorType::get(ElementTy, VecWidth));
9236 Type *ElementTy = Ty->getElementType(); local
9239 Args[i].ByValType ? Args[i].ByValType : ElementTy);
9247 FrameAlign = Align(getByValTypeAlignment(ElementTy, DL));
9753 Type *ElementTy = Arg.getParamByValType(); local
9765 FrameAlign = TLI->getByValTypeAlignment(ElementTy, DL);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1083 template <typename SequentialTy, typename ElementTy>
1087 SmallVector<ElementTy, 16> Elts;
1096 template <typename SequentialTy, typename ElementTy>
1100 SmallVector<ElementTy, 16> Elts;
H A DCore.cpp1406 LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy,
1409 return wrap(ConstantArray::get(ArrayType::get(unwrap(ElementTy), Length), V));
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp2572 QualType Sema::BuildMatrixType(QualType ElementTy, Expr *NumRows, Expr *NumCols, argument
2578 if (!ElementTy->isDependentType() &&
2579 !MatrixType::isValidElementType(ElementTy)) {
2580 Diag(AttrLoc, diag::err_attribute_invalid_matrix_type) << ElementTy;
2586 return Context.getDependentSizedMatrixType(ElementTy, NumRows, NumCols,
2647 return Context.getConstantMatrixType(ElementTy, MatrixRows, MatrixColumns);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp4637 Type *ElementTy = A->getType()->getArrayElementType();
4638 if (!ElementTy->isPPC_FP128Ty())
4639 ArgAlign = DL.getTypeAllocSize(ElementTy);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h2029 LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DType.h3425 MatrixType(QualType ElementTy, QualType CanonElementTy);
3427 MatrixType(TypeClass TypeClass, QualType ElementTy, QualType CanonElementTy,

Completed in 787 milliseconds

12