Home
last modified time | relevance | path

Searched refs:Chunk (Results 1 – 25 of 160) sorted by relevance

1234567

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DInterpStack.cpp21 if (Chunk && Chunk->Next) in clear()
22 free(Chunk->Next); in clear()
23 if (Chunk) in clear()
24 free(Chunk); in clear()
25 Chunk = nullptr; in clear()
32 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { in grow()
33 if (Chunk && Chunk->Next) { in grow()
34 Chunk = Chunk->Next; in grow()
36 StackChunk *Next = new (malloc(ChunkSize)) StackChunk(Chunk); in grow()
37 if (Chunk) in grow()
[all …]
H A DInterpStack.h56 void *top() { return Chunk ? peek(0) : nullptr; } in top()
105 StackChunk *Chunk = nullptr; variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ExpandImm.cpp30 static bool canUseOrr(uint64_t Chunk, uint64_t &Encoding) { in canUseOrr() argument
31 Chunk = (Chunk << 48) | (Chunk << 32) | (Chunk << 16) | Chunk; in canUseOrr()
33 return AArch64_AM::processLogicalImmediate(Chunk, 64, Encoding); in canUseOrr()
54 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks() local
55 Chunk != End; ++Chunk) { in tryToreplicateChunks()
56 const uint64_t ChunkVal = Chunk->first; in tryToreplicateChunks()
57 const unsigned Count = Chunk->second; in tryToreplicateChunks()
107 static bool isStartChunk(uint64_t Chunk) { in isStartChunk() argument
108 if (Chunk == 0 || Chunk == std::numeric_limits<uint64_t>::max()) in isStartChunk()
111 return isMask_64(~Chunk); in isStartChunk()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp174 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) in Chunk() function in CodeCompletionString::Chunk
247 CodeCompletionString::Chunk
248 CodeCompletionString::Chunk::CreateText(const char *Text) { in CreateText()
249 return Chunk(CK_Text, Text); in CreateText()
252 CodeCompletionString::Chunk
253 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) { in CreateOptional()
254 Chunk Result; in CreateOptional()
260 CodeCompletionString::Chunk
261 CodeCompletionString::Chunk::CreatePlaceholder(const char *Placeholder) { in CreatePlaceholder()
262 return Chunk(CK_Placeholder, Placeholder); in CreatePlaceholder()
[all …]
H A DSemaTemplateVariadic.cpp917 const DeclaratorChunk &Chunk = D.getTypeObject(I); in containsUnexpandedParameterPacks() local
918 switch (Chunk.Kind) { in containsUnexpandedParameterPacks()
928 if (Chunk.Arr.NumElts && in containsUnexpandedParameterPacks()
929 Chunk.Arr.NumElts->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
933 for (unsigned i = 0, e = Chunk.Fun.NumParams; i != e; ++i) { in containsUnexpandedParameterPacks()
934 ParmVarDecl *Param = cast<ParmVarDecl>(Chunk.Fun.Params[i].Param); in containsUnexpandedParameterPacks()
940 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks()
941 for (unsigned i = 0; i != Chunk.Fun.getNumExceptions(); ++i) { in containsUnexpandedParameterPacks()
942 if (Chunk.Fun.Exceptions[i] in containsUnexpandedParameterPacks()
947 } else if (isComputedNoexcept(Chunk.Fun.getExceptionSpecType()) && in containsUnexpandedParameterPacks()
[all …]
H A DSemaType.cpp4360 static bool IsNoDerefableChunk(DeclaratorChunk Chunk) { in IsNoDerefableChunk() argument
4361 return (Chunk.Kind == DeclaratorChunk::Pointer || in IsNoDerefableChunk()
4362 Chunk.Kind == DeclaratorChunk::Array); in IsNoDerefableChunk()
5556 const DeclaratorChunk &Chunk = D.getTypeObject(I); in GetFullTypeForDeclarator() local
5557 assert(Chunk.Kind == DeclaratorChunk::Function); in GetFullTypeForDeclarator()
5559 if (Chunk.Fun.hasRefQualifier()) in GetFullTypeForDeclarator()
5560 RemovalLocs.push_back(Chunk.Fun.getRefQualifierLoc()); in GetFullTypeForDeclarator()
5562 if (Chunk.Fun.hasMethodTypeQualifiers()) in GetFullTypeForDeclarator()
5563 Chunk.Fun.MethodQualifiers->forEachQualifier( in GetFullTypeForDeclarator()
6056 const DeclaratorChunk &Chunk; member in __anonfc6727221111::DeclaratorLocFiller
[all …]
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dmemmgr.c73 typedef struct Chunk struct
79 struct Chunk *next; argument
80 } Chunk; typedef
116 static Chunk *
121 Chunk *chnk; in alloc_chunk()
129 unsigned nsz = ALIGN (sizeof (Chunk)) + sz; in alloc_chunk()
144 chnk = (Chunk*) (ptr + chunksz - ALIGN (sizeof (Chunk))); in alloc_chunk()
149 chnk->next = (Chunk*) NULL; in alloc_chunk()
160 Chunk *chnk; in __collector_newHeap()
180 for (Chunk *chnk = heap->chain[0]; chnk;) in __collector_deleteHeap()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Dmemmgr.c73 typedef struct Chunk struct
79 struct Chunk *next; argument
80 } Chunk; typedef
116 static Chunk *
121 Chunk *chnk; in alloc_chunk()
129 unsigned nsz = ALIGN (sizeof (Chunk)) + sz; in alloc_chunk()
144 chnk = (Chunk*) (ptr + chunksz - ALIGN (sizeof (Chunk))); in alloc_chunk()
149 chnk->next = (Chunk*) NULL; in alloc_chunk()
160 Chunk *chnk; in __collector_newHeap()
180 for (Chunk *chnk = heap->chain[0]; chnk;) in __collector_deleteHeap()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/
H A DDelta.h26 struct Chunk { struct
41 friend bool operator!=(const Chunk &C1, const Chunk &C2) { argument
46 friend bool operator<(const Chunk &C1, const Chunk &C2) {
60 ArrayRef<Chunk> ChunksToKeep;
63 explicit Oracle(ArrayRef<Chunk> ChunksToKeep) : ChunksToKeep(ChunksToKeep) {} in Oracle()
105 std::function<void(const std::vector<Chunk> &, Module *)>
H A DDelta.cpp68 static bool increaseGranularity(std::vector<Chunk> &Chunks) { in increaseGranularity()
70 std::vector<Chunk> NewChunks; in increaseGranularity()
100 std::function<void(const std::vector<Chunk> &, Module *)> in runDeltaPass() argument
119 std::vector<Chunk> ChunksStillConsideredInteresting = {{1, Targets}}; in runDeltaPass()
126 std::set<Chunk> UninterestingChunks; in runDeltaPass()
127 for (Chunk &ChunkToCheckForUninterestingness : in runDeltaPass()
133 std::vector<Chunk> CurrentChunks; in runDeltaPass()
137 std::back_inserter(CurrentChunks), [&](const Chunk &C) { in runDeltaPass()
160 for (const Chunk &C : UninterestingChunks) in runDeltaPass()
178 [&UninterestingChunks](const Chunk &C) { in runDeltaPass()
H A DReduceOperandBundles.cpp45 explicit OperandBundleRemapper(ArrayRef<Chunk> ChunksToKeep) in OperandBundleRemapper()
99 static void extractOperandBundesFromModule(std::vector<Chunk> ChunksToKeep, in extractOperandBundesFromModule()
H A DReduceAttributes.cpp59 explicit AttributeRemapper(ArrayRef<Chunk> ChunksToKeep) : O(ChunksToKeep) {} in AttributeRemapper()
170 static void extractAttributesFromModule(std::vector<Chunk> ChunksToKeep, in extractAttributesFromModule()
H A DReduceModuleInlineAsm.cpp20 static void clearModuleInlineAsm(std::vector<Chunk> ChunksToKeep, in clearModuleInlineAsm()
H A DReduceAliases.cpp23 static void extractAliasesFromModule(const std::vector<Chunk> &ChunksToKeep, in extractAliasesFromModule()
H A DReduceGlobalValues.cpp25 static void extractGVsFromModule(std::vector<Chunk> ChunksToKeep, in extractGVsFromModule()
H A DReduceGlobalVarInitializers.cpp21 static void extractGVsFromModule(std::vector<Chunk> ChunksToKeep, in extractGVsFromModule()
H A DReduceFunctionBodies.cpp23 extractFunctionBodiesFromModule(const std::vector<Chunk> &ChunksToKeep, in extractFunctionBodiesFromModule()
H A DReduceSpecialGlobals.cpp30 extractSpecialGlobalsFromModule(const std::vector<Chunk> &ChunksToKeep, in extractSpecialGlobalsFromModule()
H A DReduceFunctions.cpp26 static void extractFunctionsFromModule(const std::vector<Chunk> &ChunksToKeep, in extractFunctionsFromModule()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h179 struct Chunk { struct
217 Chunk(ChunkKind K, bool Implicit) : Kind(K), IsImplicit(Implicit) {} in Chunk() argument
218 virtual ~Chunk();
221 struct Section : public Chunk {
235 Section(ChunkKind Kind, bool IsImplicit = false) : Chunk(Kind, IsImplicit) {} in Chunk() function
237 static bool classof(const Chunk *S) { in classof()
279 struct Fill : Chunk {
283 Fill() : Chunk(ChunkKind::Fill, /*Implicit=*/false) {} in Fill()
285 static bool classof(const Chunk *S) { return S->Kind == ChunkKind::Fill; } in classof()
288 struct SectionHeaderTable : Chunk {
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h519 struct Chunk { struct
537 Chunk() : Text(nullptr) {} in Chunk() argument
539 explicit Chunk(ChunkKind Kind, const char *Text = "");
542 static Chunk CreateText(const char *Text);
545 static Chunk CreateOptional(CodeCompletionString *Optional);
548 static Chunk CreatePlaceholder(const char *Placeholder);
551 static Chunk CreateInformative(const char *Informative);
554 static Chunk CreateResultType(const char *ResultType);
557 static Chunk CreateCurrentParameter(const char *CurrentParameter);
583 CodeCompletionString(const Chunk *Chunks, unsigned NumChunks,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DBinaryStreamWriter.cpp73 ArrayRef<uint8_t> Chunk; in writeStreamRef() local
74 if (auto EC = SrcReader.readLongestContiguousChunk(Chunk)) in writeStreamRef()
76 if (auto EC = writeBytes(Chunk)) in writeStreamRef()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Delf2yaml.cpp52 dumpProgramHeaders(ArrayRef<std::unique_ptr<ELFYAML::Chunk>> Sections);
55 dumpDWARFSections(std::vector<std::unique_ptr<ELFYAML::Chunk>> &Sections);
61 Expected<std::vector<std::unique_ptr<ELFYAML::Chunk>>> dumpSections();
235 std::vector<std::unique_ptr<ELFYAML::Chunk>> &V, in dumpSectionOffsets()
246 for (const std::unique_ptr<ELFYAML::Chunk> &C : in dumpSectionOffsets()
343 Expected<std::vector<std::unique_ptr<ELFYAML::Chunk>>> ChunksOrErr = in dump()
347 std::vector<std::unique_ptr<ELFYAML::Chunk>> Chunks = std::move(*ChunksOrErr); in dump()
351 for (const std::unique_ptr<ELFYAML::Chunk> &C : in dump()
357 llvm::stable_sort(Chunks, [&](const std::unique_ptr<ELFYAML::Chunk> &A, in dump()
358 const std::unique_ptr<ELFYAML::Chunk> &B) { in dump()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp122 APInt Chunk = Val.ashr(ShiftVal).sextOrTrunc(PlatRegSize); in getIntMatCost() local
123 InstSeq MatSeq = generateInstSeq(Chunk.getSExtValue(), IsRV64); in getIntMatCost()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h1107 llvm::Value *Chunk = nullptr; member
1109 DispatchRTInput(llvm::Value *LB, llvm::Value *UB, llvm::Value *Chunk) in DispatchRTInput()
1110 : LB(LB), UB(UB), Chunk(Chunk) {} in DispatchRTInput()
1159 llvm::Value *Chunk = nullptr; member
1162 llvm::Value *Chunk = nullptr)
1164 UB(UB), ST(ST), Chunk(Chunk) {} in IVSize()
1760 llvm::Value *&Chunk) const {} in getDefaultDistScheduleAndChunk() argument

1234567