Home
last modified time | relevance | path

Searched defs:ArraySize (Results 1 – 25 of 36) sorted by relevance

12

/llvm-project/compiler-rt/lib/scudo/standalone/tests/
H A Dchecksum_test.cpp16 scudo::uptr ArraySize) { in computeSoftwareChecksum()
24 scudo::uptr ArraySize) { in computeHardwareChecksum()
37 const scudo::uptr ArraySize = ARRAY_SIZE(Array); in verifyChecksumFunctionBitFlip() local
/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProBoundsConstantArrayIndexCheck.cpp118 llvm::APInt ArraySize = SizeArg.getAsIntegral(); in check() local
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp328 State = checkVLA(C, State, VLA, ArraySize); in checkPreStmt() local
288 SVal ArraySize; checkPreStmt() local
[all...]
H A DCheckSecuritySyntaxOnly.cpp687 uint64_t ArraySize = BR.getContext().getTypeSize(Array) / 8; in checkCall_strcpy() local
/llvm-project/llvm/lib/Support/
H A DSmallPtrSet.cpp67 unsigned ArraySize = CurArraySize; FindBucketFor() local
/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dchunk.h23 inline u16 computeChecksum(u32 Seed, uptr Value, uptr *Array, uptr ArraySize) { in computeChecksum()
/llvm-project/clang/lib/Parse/
H A DParseInit.cpp444 llvm::APSInt ArraySize = in createEmbedExpr() local
/llvm-project/clang-tools-extra/clang-tidy/modernize/
H A DMakeSmartPtrCheck.cpp288 if (const auto *ArraySize = New->getArraySize().value_or(nullptr)) { in replaceNew() local
H A DLoopConvertUtils.cpp445 llvm::APSInt ArraySize(ConstType->getSize()); in arrayMatchesBoundExpr() local
/llvm-project/clang/lib/CodeGen/Targets/
H A DLoongArch.cpp149 uint64_t ArraySize = ATy->getZExtSize(); in detectFARsEligibleStructHelper() local
H A DRISCV.cpp155 uint64_t ArraySize = ATy->getZExtSize(); detectFPCCEligibleStructHelper() local
/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp788 Value *ArraySize = I.getArraySize(); visitAllocaInst() local
1146 Value *ArraySize = Builder.CreateZExtOrTrunc( visitAllocaInst() local
/llvm-project/llvm/lib/CodeGen/
H A DSafeStack.cpp663 Value *ArraySize = AI->getArraySize(); in moveDynamicAllocasToUnsafeStack() local
/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp543 uint64_t ArraySize = GEP->getSourceElementType()->getArrayNumElements(); tryToRecognizeTableBasedCttz() local
/llvm-project/clang/lib/Sema/
H A DSemaType.cpp1957 checkArraySize(Sema & S,Expr * & ArraySize,llvm::APSInt & SizeVal,unsigned VLADiag,bool VLAIsError) checkArraySize() argument
2028 BuildArrayType(QualType T,ArraySizeModifier ASM,Expr * ArraySize,unsigned Quals,SourceRange Brackets,DeclarationName Entity) BuildArrayType() argument
2134 __anonf9e1d30a0402(const Expr *ArraySize, ASTContext &Context) BuildArrayType() argument
2366 BuildExtVectorType(QualType T,Expr * ArraySize,SourceLocation AttrLoc) BuildExtVectorType() argument
4682 Expr *ArraySize = static_cast<Expr*>(ATI.NumElts); GetFullTypeForDeclarator() local
[all...]
H A DSemaExprCXX.cpp1912 std::optional<Expr *> ArraySize; ActOnCXXNew() local
2036 BuildCXXNew(SourceRange Range,bool UseGlobal,SourceLocation PlacementLParen,MultiExprArg PlacementArgs,SourceLocation PlacementRParen,SourceRange TypeIdParens,QualType AllocType,TypeSourceInfo * AllocTypeInfo,std::optional<Expr * > ArraySize,SourceRange DirectInitRange,Expr * Initializer) BuildCXXNew() argument
2201 Expr *ArraySize; BuildCXXNew() member in Sema::BuildCXXNew::SizeConvertDiagnoser
2204 SizeConvertDiagnoser(Expr * ArraySize) BuildCXXNew() argument
[all...]
/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp303 if (!isConstantOne(ArraySize)) { in CreateMalloc() argument
346 CreateMalloc(Type * IntPtrTy,Type * AllocTy,Value * AllocSize,Value * ArraySize,Function * MallocF,const Twine & Name) CreateMalloc() argument
[all...]
H A DInstructions.cpp1210 AllocaInst(Type * Ty,unsigned AddrSpace,Value * ArraySize,const Twine & Name,InsertPosition InsertBefore) AllocaInst() argument
1216 AllocaInst(Type * Ty,unsigned AddrSpace,Value * ArraySize,Align Align,const Twine & Name,InsertPosition InsertBefore) AllocaInst() argument
/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp76 CreateTempAllocaWithoutCast(llvm::Type * Ty,CharUnits Align,const Twine & Name,llvm::Value * ArraySize) CreateTempAllocaWithoutCast() argument
86 CreateTempAlloca(llvm::Type * Ty,CharUnits Align,const Twine & Name,llvm::Value * ArraySize,RawAddress * AllocaAddr) CreateTempAlloca() argument
117 CreateTempAlloca(llvm::Type * Ty,const Twine & Name,llvm::Value * ArraySize) CreateTempAlloca() argument
686 EmitTypeCheck(TypeCheckKind TCK,SourceLocation Loc,llvm::Value * Ptr,QualType Ty,CharUnits Alignment,SanitizerSet SkippedChecks,llvm::Value * ArraySize) EmitTypeCheck() argument
[all...]
H A DCGOpenMPRuntimeGPU.cpp157 llvm::APInt ArraySize(32, BufSize); in buildRecordForGlobalizedVars() local
/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1773 uint64_t ArraySize = lowerTypeArray() local
1791 uint64_t ArraySize = Ty->getSizeInBits() >> 3; lowerTypeString() local
/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h2846 OMP_ARRAY_TYPE(VarName,ElemTy,ArraySize) global() argument
/llvm-project/clang/lib/AST/
H A DExprCXX.cpp233 CXXNewExpr(bool IsGlobalNew,FunctionDecl * OperatorNew,FunctionDecl * OperatorDelete,bool ShouldPassAlignment,bool UsualArrayDeleteWantsSize,ArrayRef<Expr * > PlacementArgs,SourceRange TypeIdParens,std::optional<Expr * > ArraySize,CXXNewInitializationStyle InitializationStyle,Expr * Initializer,QualType Ty,TypeSourceInfo * AllocatedTypeInfo,SourceRange Range,SourceRange DirectInitRange) CXXNewExpr() argument
296 Create(const ASTContext & Ctx,bool IsGlobalNew,FunctionDecl * OperatorNew,FunctionDecl * OperatorDelete,bool ShouldPassAlignment,bool UsualArrayDeleteWantsSize,ArrayRef<Expr * > PlacementArgs,SourceRange TypeIdParens,std::optional<Expr * > ArraySize,CXXNewInitializationStyle InitializationStyle,Expr * Initializer,QualType Ty,TypeSourceInfo * AllocatedTypeInfo,SourceRange Range,SourceRange DirectInitRange) Create() argument
/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp1125 Value *ArraySize = nullptr; visitAllocaInst() local
/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp394 unsigned ArraySize = 16 / Size; getMemSetPatternValue() local

12