/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpStack.cpp | 38 assert(Size < ChunkSize - sizeof(StackChunk) && "Object too large"); in grow() 40 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { in grow() 44 StackChunk *Next = new (std::malloc(ChunkSize)) StackChunk(Chunk); in grow()
|
H A D | InterpStack.h | 117 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 D | MCAssembler.cpp | 712 const unsigned ChunkSize = VSize * NumPerChunk; in writeFragment() local 715 StringRef Ref(Data, ChunkSize); in writeFragment() 716 for (uint64_t I = 0, E = FragmentSize / ChunkSize; I != E; ++I) in writeFragment() 720 unsigned TrailingCount = FragmentSize % ChunkSize; in writeFragment()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | OpenMPClause.h | 1660 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() 1802 return child_range(reinterpret_cast<Stmt **>(&ChunkSize), in children() 1803 reinterpret_cast<Stmt **>(&ChunkSize) + 1); in children() 6663 Expr *ChunkSize = nullptr; variable 6688 void setChunkSize(Expr *E) { ChunkSize = E; } in setChunkSize() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
H A D | ClauseT.h | 555 using ChunkSize = E; 557 std::tuple<Kind, OPT(ChunkSize)> t; 1021 using ChunkSize = E; 1025 std::tuple<Kind, OPT(OrderingModifier), OPT(ChunkModifier), OPT(ChunkSize)> t;
|
H A D | OMPIRBuilder.h | 991 Value *ChunkSize); 1072 Value *ChunkSize = nullptr, bool HasSimdModifier = false,
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Path.cpp | 1176 ssize_t ChunkSize) { in readNativeFileToEOF() argument 1183 Buffer.resize_for_overwrite(Size + ChunkSize); in readNativeFileToEOF() 1185 FileHandle, MutableArrayRef(Buffer.begin() + Size, ChunkSize)); in readNativeFileToEOF()
|
H A D | raw_ostream.cpp | 765 size_t ChunkSize = std::min(Size, MaxWriteSize); in write_impl() local 766 ssize_t ret = ::write(FD, Ptr, ChunkSize); in write_impl()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaOpenMP.h | 953 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc, 1244 OpenMPDistScheduleClauseKind Kind, Expr *ChunkSize,
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObject.cpp | 357 const uint32_t ChunkSize = 16; in writeSection() local 360 uint64_t DataSize = std::min<uint64_t>(Data.size(), ChunkSize); in writeSection() 2913 const uint32_t ChunkSize = 16; in writeSection() local 2918 uint64_t DataSize = std::min<uint64_t>(Data.size(), ChunkSize); in writeSection()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 4076 bool NeedsBarrier, Value *ChunkSize) { in applyStaticChunkedWorkshareLoop() argument 4078 assert(ChunkSize && "Chunk size is required"); in applyStaticChunkedWorkshareLoop() 4114 Builder.CreateZExtOrTrunc(ChunkSize, InternalIVTy, "chunksize"); in applyStaticChunkedWorkshareLoop() 4448 bool NeedsBarrier, omp::ScheduleKind SchedKind, Value *ChunkSize, in applyWorkshareLoop() argument 4455 SchedKind, ChunkSize, HasSimdModifier, HasMonotonicModifier, in applyWorkshareLoop() 4462 assert(!ChunkSize && "No chunk size with static-chunked schedule"); in applyWorkshareLoop() 4465 NeedsBarrier, ChunkSize); in applyWorkshareLoop() 4472 NeedsBarrier, ChunkSize); in applyWorkshareLoop() 4475 ChunkSize); in applyWorkshareLoop() 4484 assert(!ChunkSize && in applyWorkshareLoop() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | FileSystem.h | 1031 ssize_t ChunkSize = DefaultReadChunkSize);
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 16236 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc, in ActOnOpenMPScheduleClause() argument 16282 Expr *ValExpr = ChunkSize; in ActOnOpenMPScheduleClause() 16284 if (ChunkSize) { in ActOnOpenMPScheduleClause() 16285 if (!ChunkSize->isValueDependent() && !ChunkSize->isTypeDependent() && in ActOnOpenMPScheduleClause() 16286 !ChunkSize->isInstantiationDependent() && in ActOnOpenMPScheduleClause() 16287 !ChunkSize->containsUnexpandedParameterPack()) { in ActOnOpenMPScheduleClause() 16288 SourceLocation ChunkSizeLoc = ChunkSize->getBeginLoc(); in ActOnOpenMPScheduleClause() 16290 PerformOpenMPImplicitIntegerConversion(ChunkSizeLoc, ChunkSize); in ActOnOpenMPScheduleClause() 16303 << "schedule" << 1 << ChunkSize->getSourceRange(); in ActOnOpenMPScheduleClause() 21932 OpenMPDistScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc, in ActOnOpenMPDistScheduleClause() argument [all …]
|
H A D | TreeTransform.h | 1816 OpenMPScheduleClauseKind Kind, Expr *ChunkSize, SourceLocation StartLoc, in RebuildOMPScheduleClause() argument 1820 M1, M2, Kind, ChunkSize, StartLoc, LParenLoc, M1Loc, M2Loc, KindLoc, in RebuildOMPScheduleClause() 2152 Expr *ChunkSize, SourceLocation StartLoc, in RebuildOMPDistScheduleClause() argument 2156 Kind, ChunkSize, StartLoc, LParenLoc, KindLoc, CommaLoc, EndLoc); in RebuildOMPDistScheduleClause()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntimeGPU.cpp | 2142 llvm::APInt ChunkSize(32, 1); in getDefaultScheduleAndChunk() local 2143 ChunkExpr = IntegerLiteral::Create(CGF.getContext(), ChunkSize, in getDefaultScheduleAndChunk()
|
H A D | CGStmtOpenMP.cpp | 3948 llvm::Value *ChunkSize = nullptr; in EmitOMPForDirective() local 3953 ChunkSize = EmitScalarExpr(ChunkSizeExpr); in EmitOMPForDirective() 3967 SchedKind, ChunkSize, /*HasSimdModifier=*/false, in EmitOMPForDirective()
|
H A D | CGOpenMPRuntime.cpp | 2337 llvm::APInt ChunkSize(32, 1); in getDefaultScheduleAndChunk() local 2339 CGF.getContext(), ChunkSize, in getDefaultScheduleAndChunk()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86FrameLowering.cpp | 736 uint64_t ChunkSize = Offset - CurrentOffset; in emitStackProbeInlineGenericBlock() local 737 if (ChunkSize == SlotSize) { in emitStackProbeInlineGenericBlock() 746 BuildStackAdjustment(MBB, MBBI, DL, -ChunkSize, /*InEpilogue=*/false) in emitStackProbeInlineGenericBlock()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 3654 : BB(BB), ChunkSize(BB->size()), ChunkPos(ChunkSize) {} in BlockScheduling() 3901 int ChunkSize; member 14615 if (ChunkPos >= ChunkSize) { in allocateScheduleDataChunks() 14616 ScheduleDataChunks.push_back(std::make_unique<ScheduleData[]>(ChunkSize)); in allocateScheduleDataChunks()
|