Home
last modified time | relevance | path

Searched refs:ChunkSize (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpStack.cpp37 assert(Size < ChunkSize - sizeof(StackChunk) && "Object too large"); in grow()
39 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { in grow()
43 StackChunk *Next = new (std::malloc(ChunkSize)) StackChunk(Chunk); in grow()
H A DInterpStack.h117 static constexpr size_t ChunkSize = 1024 * 1024; variable
142 static_assert(sizeof(StackChunk) < ChunkSize, "Invalid chunk size");
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCAssembler.cpp619 const unsigned ChunkSize = VSize * NumPerChunk; in writeFragment() local
622 StringRef Ref(Data, ChunkSize); in writeFragment()
623 for (uint64_t I = 0, E = FragmentSize / ChunkSize; I != E; ++I) in writeFragment()
627 unsigned TrailingCount = FragmentSize % ChunkSize; in writeFragment()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h1660 Expr *ChunkSize = nullptr; variable
1721 void setChunkSize(Expr *E) { ChunkSize = E; } in setChunkSize()
1742 Expr *ChunkSize, Stmt *HelperChunkSize, in OMPScheduleClause() argument
1747 KindLoc(KLoc), CommaLoc(CommaLoc), ChunkSize(ChunkSize) { in OMPScheduleClause()
1796 Expr *getChunkSize() { return ChunkSize; } in getChunkSize()
1799 const Expr *getChunkSize() const { return ChunkSize; } in getChunkSize()
6623 Expr *ChunkSize = nullptr; variable
6648 void setChunkSize(Expr *E) { ChunkSize = E; } in setChunkSize()
6669 KindLoc(KLoc), CommaLoc(CommaLoc), ChunkSize(ChunkSize) { in OMPDistScheduleClause()
6692 Expr *getChunkSize() { return ChunkSize; } in getChunkSize()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp1177 ssize_t ChunkSize) { in readNativeFileToEOF() argument
1184 Buffer.resize_for_overwrite(Size + ChunkSize); in readNativeFileToEOF()
1186 FileHandle, MutableArrayRef(Buffer.begin() + Size, ChunkSize)); in readNativeFileToEOF()
H A Draw_ostream.cpp768 size_t ChunkSize = std::min(Size, MaxWriteSize); in write_impl() local
769 ssize_t ret = ::write(FD, Ptr, ChunkSize); in write_impl()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2536 bool NeedsBarrier, Value *ChunkSize) { in applyStaticChunkedWorkshareLoop() argument
2538 assert(ChunkSize && "Chunk size is required"); in applyStaticChunkedWorkshareLoop()
2574 Builder.CreateZExtOrTrunc(ChunkSize, InternalIVTy, "chunksize"); in applyStaticChunkedWorkshareLoop()
2908 bool NeedsBarrier, omp::ScheduleKind SchedKind, Value *ChunkSize, in applyWorkshareLoop() argument
2915 SchedKind, ChunkSize, HasSimdModifier, HasMonotonicModifier, in applyWorkshareLoop()
2922 assert(!ChunkSize && "No chunk size with static-chunked schedule"); in applyWorkshareLoop()
2925 NeedsBarrier, ChunkSize); in applyWorkshareLoop()
2932 NeedsBarrier, ChunkSize); in applyWorkshareLoop()
2935 ChunkSize); in applyWorkshareLoop()
2944 assert(!ChunkSize && in applyWorkshareLoop()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h964 Value *ChunkSize);
1045 Value *ChunkSize = nullptr, bool HasSimdModifier = false,
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileSystem.h1032 ssize_t ChunkSize = DefaultReadChunkSize);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp17505 Expr *ValExpr = ChunkSize; in ActOnOpenMPScheduleClause()
17507 if (ChunkSize) { in ActOnOpenMPScheduleClause()
17508 if (!ChunkSize->isValueDependent() && !ChunkSize->isTypeDependent() && in ActOnOpenMPScheduleClause()
17509 !ChunkSize->isInstantiationDependent() && in ActOnOpenMPScheduleClause()
17510 !ChunkSize->containsUnexpandedParameterPack()) { in ActOnOpenMPScheduleClause()
17511 SourceLocation ChunkSizeLoc = ChunkSize->getBeginLoc(); in ActOnOpenMPScheduleClause()
23111 Expr *ValExpr = ChunkSize; in ActOnOpenMPDistScheduleClause()
23113 if (ChunkSize) { in ActOnOpenMPDistScheduleClause()
23114 if (!ChunkSize->isValueDependent() && !ChunkSize->isTypeDependent() && in ActOnOpenMPDistScheduleClause()
23115 !ChunkSize->isInstantiationDependent() && in ActOnOpenMPDistScheduleClause()
[all …]
H A DTreeTransform.h1793 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc, in RebuildOMPScheduleClause() argument
1797 M1, M2, Kind, ChunkSize, StartLoc, LParenLoc, M1Loc, M2Loc, KindLoc, in RebuildOMPScheduleClause()
2126 Expr *ChunkSize, SourceLocation StartLoc, in RebuildOMPDistScheduleClause() argument
2130 Kind, ChunkSize, StartLoc, LParenLoc, KindLoc, CommaLoc, EndLoc); in RebuildOMPDistScheduleClause()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp737 uint64_t ChunkSize = Offset - CurrentOffset; in emitStackProbeInlineGenericBlock() local
738 if (ChunkSize == SlotSize) { in emitStackProbeInlineGenericBlock()
747 BuildStackAdjustment(MBB, MBBI, DL, -ChunkSize, /*InEpilogue=*/false) in emitStackProbeInlineGenericBlock()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp338 const uint32_t ChunkSize = 16; in writeSection() local
341 uint64_t DataSize = std::min<uint64_t>(Data.size(), ChunkSize); in writeSection()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp3605 constexpr size_t ChunkSize = in emitInlinees() local
3616 std::min(ChunkSize, SortedInlinees.size() - CurrentIndex); in emitInlinees()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp3348 llvm::APInt ChunkSize(32, 1); in getDefaultScheduleAndChunk() local
3349 ChunkExpr = IntegerLiteral::Create(CGF.getContext(), ChunkSize, in getDefaultScheduleAndChunk()
H A DCGStmtOpenMP.cpp3903 llvm::Value *ChunkSize = nullptr; in EmitOMPForDirective() local
3908 ChunkSize = EmitScalarExpr(ChunkSizeExpr); in EmitOMPForDirective()
3922 SchedKind, ChunkSize, /*HasSimdModifier=*/false, in EmitOMPForDirective()
H A DCGOpenMPRuntime.cpp2334 llvm::APInt ChunkSize(32, 1); in getDefaultScheduleAndChunk() local
2336 CGF.getContext(), ChunkSize, in getDefaultScheduleAndChunk()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3237 : BB(BB), ChunkSize(BB->size()), ChunkPos(ChunkSize) {} in BlockScheduling()
3483 int ChunkSize; member
12603 if (ChunkPos >= ChunkSize) { in allocateScheduleDataChunks()
12604 ScheduleDataChunks.push_back(std::make_unique<ScheduleData[]>(ChunkSize)); in allocateScheduleDataChunks()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h12233 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc,
12520 OpenMPDistScheduleClauseKind Kind, Expr *ChunkSize,