Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpStack.cpp60 assert(Size < ChunkSize - sizeof(StackChunk) && "Object too large"); in grow()
62 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { in grow()
66 StackChunk *Next = new (std::malloc(ChunkSize)) StackChunk(Chunk); in grow()
H A DInterpStack.h119 static constexpr size_t ChunkSize = 1024 * 1024; variable
144 static_assert(sizeof(StackChunk) < ChunkSize, "Invalid chunk size");
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCAssembler.cpp614 const unsigned ChunkSize = VSize * NumPerChunk; in writeFragment() local
617 StringRef Ref(Data, ChunkSize); in writeFragment()
618 for (uint64_t I = 0, E = FragmentSize / ChunkSize; I != E; ++I) in writeFragment()
622 unsigned TrailingCount = FragmentSize % ChunkSize; in writeFragment()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h1957 Expr *ChunkSize = nullptr; variable
2018 void setChunkSize(Expr *E) { ChunkSize = E; } in setChunkSize()
2039 Expr *ChunkSize, Stmt *HelperChunkSize, in OMPScheduleClause() argument
2044 KindLoc(KLoc), CommaLoc(CommaLoc), ChunkSize(ChunkSize) { in OMPScheduleClause()
2093 Expr *getChunkSize() { return ChunkSize; } in getChunkSize()
2096 const Expr *getChunkSize() const { return ChunkSize; } in getChunkSize()
2099 return child_range(reinterpret_cast<Stmt **>(&ChunkSize), in children()
2100 reinterpret_cast<Stmt **>(&ChunkSize) + 1); in children()
7249 Expr *ChunkSize = nullptr; variable
7274 void setChunkSize(Expr *E) { ChunkSize = E; } in setChunkSize()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DClauseT.h556 using ChunkSize = E;
558 std::tuple<Kind, OPT(ChunkSize)> t;
1044 using ChunkSize = E;
1048 std::tuple<Kind, OPT(OrderingModifier), OPT(ChunkModifier), OPT(ChunkSize)> t;
H A DOMPIRBuilder.h1078 Value *ChunkSize);
1162 Value *ChunkSize = nullptr, bool HasSimdModifier = false,
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp1175 ssize_t ChunkSize) { in readNativeFileToEOF() argument
1182 Buffer.resize_for_overwrite(Size + ChunkSize); in readNativeFileToEOF()
1184 FileHandle, MutableArrayRef(Buffer.begin() + Size, ChunkSize)); in readNativeFileToEOF()
H A Draw_ostream.cpp762 size_t ChunkSize = std::min(Size, MaxWriteSize); in write_impl() local
763 ssize_t ret = ::write(FD, Ptr, ChunkSize); in write_impl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h998 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc,
1314 OpenMPDistScheduleClauseKind Kind, Expr *ChunkSize,
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp354 const uint32_t ChunkSize = 16; in writeSection() local
357 uint64_t DataSize = std::min<uint64_t>(Data.size(), ChunkSize); in writeSection()
2919 const uint32_t ChunkSize = 16; in writeSection() local
2924 uint64_t DataSize = std::min<uint64_t>(Data.size(), ChunkSize); in writeSection()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp4348 Value *ChunkSize) { in applyStaticChunkedWorkshareLoop() argument
4350 assert(ChunkSize && "Chunk size is required"); in applyStaticChunkedWorkshareLoop()
4387 Builder.CreateZExtOrTrunc(ChunkSize, InternalIVTy, "chunksize"); in applyStaticChunkedWorkshareLoop()
4730 bool NeedsBarrier, omp::ScheduleKind SchedKind, Value *ChunkSize, in applyWorkshareLoop() argument
4737 SchedKind, ChunkSize, HasSimdModifier, HasMonotonicModifier, in applyWorkshareLoop()
4744 assert(!ChunkSize && "No chunk size with static-chunked schedule"); in applyWorkshareLoop()
4747 NeedsBarrier, ChunkSize); in applyWorkshareLoop()
4754 NeedsBarrier, ChunkSize); in applyWorkshareLoop()
4757 ChunkSize); in applyWorkshareLoop()
4766 assert(!ChunkSize && in applyWorkshareLoop()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileSystem.h1041 ssize_t ChunkSize = DefaultReadChunkSize);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp2139 llvm::APInt ChunkSize(32, 1); in getDefaultScheduleAndChunk() local
2140 ChunkExpr = IntegerLiteral::Create(CGF.getContext(), ChunkSize, in getDefaultScheduleAndChunk()
H A DCGStmtOpenMP.cpp4096 llvm::Value *ChunkSize = nullptr; in emitOMPForDirective() local
4101 ChunkSize = CGF.EmitScalarExpr(ChunkSizeExpr); in emitOMPForDirective()
4115 SchedKind, ChunkSize, /*HasSimdModifier=*/false, in emitOMPForDirective()
H A DCGOpenMPRuntime.cpp2313 llvm::APInt ChunkSize(32, 1); in getDefaultScheduleAndChunk() local
2315 CGF.getContext(), ChunkSize, in getDefaultScheduleAndChunk()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp16819 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc, in ActOnOpenMPScheduleClause() argument
16865 Expr *ValExpr = ChunkSize; in ActOnOpenMPScheduleClause()
16867 if (ChunkSize) { in ActOnOpenMPScheduleClause()
16868 if (!ChunkSize->isValueDependent() && !ChunkSize->isTypeDependent() && in ActOnOpenMPScheduleClause()
16869 !ChunkSize->isInstantiationDependent() && in ActOnOpenMPScheduleClause()
16870 !ChunkSize->containsUnexpandedParameterPack()) { in ActOnOpenMPScheduleClause()
16871 SourceLocation ChunkSizeLoc = ChunkSize->getBeginLoc(); in ActOnOpenMPScheduleClause()
16873 PerformOpenMPImplicitIntegerConversion(ChunkSizeLoc, ChunkSize); in ActOnOpenMPScheduleClause()
16886 << "schedule" << 1 << ChunkSize->getSourceRange(); in ActOnOpenMPScheduleClause()
22841 OpenMPDistScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc, in ActOnOpenMPDistScheduleClause() argument
[all …]
H A DTreeTransform.h1833 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc, in RebuildOMPScheduleClause() argument
1837 M1, M2, Kind, ChunkSize, StartLoc, LParenLoc, M1Loc, M2Loc, KindLoc, in RebuildOMPScheduleClause()
2177 Expr *ChunkSize, SourceLocation StartLoc, in RebuildOMPDistScheduleClause() argument
2181 Kind, ChunkSize, StartLoc, LParenLoc, KindLoc, CommaLoc, EndLoc); in RebuildOMPDistScheduleClause()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp771 uint64_t ChunkSize = Offset - CurrentOffset; in emitStackProbeInlineGenericBlock() local
772 if (ChunkSize == SlotSize) { in emitStackProbeInlineGenericBlock()
781 BuildStackAdjustment(MBB, MBBI, DL, -ChunkSize, /*InEpilogue=*/false) in emitStackProbeInlineGenericBlock()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp3637 constexpr size_t ChunkSize = in emitInlinees() local
3648 std::min(ChunkSize, SortedInlinees.size() - CurrentIndex); in emitInlinees()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp4753 : BB(BB), ChunkSize(BB->size()), ChunkPos(ChunkSize) {} in BlockScheduling()
5037 int ChunkSize; member
19568 if (ChunkPos >= ChunkSize) { in allocateScheduleDataChunks()
19569 ScheduleDataChunks.push_back(std::make_unique<ScheduleData[]>(ChunkSize)); in allocateScheduleDataChunks()