Searched refs:ChunkSize (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpStack.cpp30 assert(Size < ChunkSize - sizeof(StackChunk) && "Object too large");
32 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) {
36 StackChunk *Next = new (malloc(ChunkSize)) StackChunk(Chunk);
H A DInterpStack.h80 static constexpr size_t ChunkSize = 1024 * 1024; member in class:clang::interp::final
102 static_assert(sizeof(StackChunk) < ChunkSize, "Invalid chunk size"); member in class:clang::interp::final
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DMemoryBuffer.cpp212 const ssize_t ChunkSize = 4096*4; local
213 SmallString<ChunkSize> Buffer;
216 Buffer.reserve(Buffer.size() + ChunkSize);
218 FD, makeMutableArrayRef(Buffer.end(), ChunkSize));
H A Draw_ostream.cpp711 size_t ChunkSize = std::min(Size, MaxWriteSize); local
712 ssize_t ret = ::write(FD, Ptr, ChunkSize);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h1304 Expr *ChunkSize = nullptr; member in class:clang::OMPScheduleClause
1365 void setChunkSize(Expr *E) { ChunkSize = E; }
1369 /// expression \a ChunkSize.
1377 /// \param ChunkSize Chunk size.
1386 Expr *ChunkSize, Stmt *HelperChunkSize,
1391 ChunkSize(ChunkSize) {
1440 Expr *getChunkSize() { return ChunkSize; }
1443 const Expr *getChunkSize() const { return ChunkSize; }
1446 return child_range(reinterpret_cast<Stmt **>(&ChunkSize),
1383 OMPScheduleClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation KLoc, SourceLocation CommaLoc, SourceLocation EndLoc, OpenMPScheduleClauseKind Kind, Expr *ChunkSize, Stmt *HelperChunkSize, OpenMPScheduleClauseModifier M1, SourceLocation M1Loc, OpenMPScheduleClauseModifier M2, SourceLocation M2Loc) argument
5566 Expr *ChunkSize = nullptr; member in class:clang::OMPDistScheduleClause
5605 OMPDistScheduleClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation KLoc, SourceLocation CommaLoc, SourceLocation EndLoc, OpenMPDistScheduleClauseKind Kind, Expr *ChunkSize, Stmt *HelperChunkSize) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCAssembler.cpp596 // Set ChunkSize to largest multiple of VSize in Data
597 const unsigned ChunkSize = VSize * NumPerChunk; local
600 StringRef Ref(Data, ChunkSize);
601 for (uint64_t I = 0, E = FragmentSize / ChunkSize; I != E; ++I)
605 unsigned TrailingCount = FragmentSize % ChunkSize;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp12136 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc,
12180 Expr *ValExpr = ChunkSize;
12182 if (ChunkSize) {
12183 if (!ChunkSize->isValueDependent() && !ChunkSize->isTypeDependent() &&
12184 !ChunkSize->isInstantiationDependent() &&
12185 !ChunkSize->containsUnexpandedParameterPack()) {
12186 SourceLocation ChunkSizeLoc = ChunkSize->getBeginLoc();
12188 PerformOpenMPImplicitIntegerConversion(ChunkSizeLoc, ChunkSize);
12201 << "schedule" << 1 << ChunkSize
[all...]
H A DTreeTransform.h1641 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc,
1645 M1, M2, Kind, ChunkSize, StartLoc, LParenLoc, M1Loc, M2Loc, KindLoc,
1949 Expr *ChunkSize, SourceLocation StartLoc,
1953 Kind, ChunkSize, StartLoc, LParenLoc, KindLoc, CommaLoc, EndLoc);
1639 RebuildOMPScheduleClause( OpenMPScheduleClauseModifier M1, OpenMPScheduleClauseModifier M2, OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation M1Loc, SourceLocation M2Loc, SourceLocation KindLoc, SourceLocation CommaLoc, SourceLocation EndLoc) argument
1948 RebuildOMPDistScheduleClause(OpenMPDistScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation KindLoc, SourceLocation CommaLoc, SourceLocation EndLoc) argument
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp311 const uint32_t ChunkSize = 16; local
314 uint64_t DataSize = std::min<uint64_t>(Data.size(), ChunkSize);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1936 : BB(BB), ChunkSize(BB->size()), ChunkPos(ChunkSize) {}
2111 int ChunkSize; member in struct:llvm::slpvectorizer::BlockScheduling
4943 if (ChunkPos >= ChunkSize) {
4944 ScheduleDataChunks.push_back(std::make_unique<ScheduleData[]>(ChunkSize));
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeNVPTX.cpp4855 llvm::APInt ChunkSize(32, 1);
4856 ChunkExpr = IntegerLiteral::Create(CGF.getContext(), ChunkSize,
H A DCGOpenMPRuntime.cpp3508 llvm::APInt ChunkSize(32, 1);
3510 CGF.getContext(), ChunkSize,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10279 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc,
10456 OpenMPDistScheduleClauseKind Kind, Expr *ChunkSize,

Completed in 625 milliseconds