Home
last modified time | relevance | path

Searched refs:CurSize (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntervalMap.h337 /// @param CurSize Array of current node sizes, will be overwritten.
341 unsigned CurSize[], const unsigned NewSize[]) { in adjustSiblingSizes() argument
344 if (CurSize[n] == NewSize[n]) in adjustSiblingSizes()
347 int d = Node[n]->adjustFromLeftSib(CurSize[n], *Node[m], CurSize[m], in adjustSiblingSizes()
348 NewSize[n] - CurSize[n]); in adjustSiblingSizes()
349 CurSize[m] -= d; in adjustSiblingSizes()
350 CurSize[n] += d; in adjustSiblingSizes()
352 if (CurSize[n] >= NewSize[n]) in adjustSiblingSizes()
362 if (CurSize[ in adjustSiblingSizes()
2020 unsigned CurSize[4]; overflow() local
[all...]
H A DSmallVector.h1026 size_t CurSize = this->size(); variable
1027 if (CurSize >= RHSSize) {
1049 CurSize = 0;
1051 } else if (CurSize) {
1053 std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
1057 this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
1058 this->begin()+CurSize);
1079 size_t CurSize = this->size(); variable
1080 if (CurSize >= RHSSize) {
1103 CurSize = 0;
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Support/
H A DBumpVector.h236 size_t CurSize = size(); in grow() local
252 memcpy(NewElts, Begin, CurSize * sizeof(T)); in grow()
259 End = NewElts+CurSize; in grow()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp262 unsigned CurSize; in ParseSectionName() local
264 CurSize = getTok().getIdentifier().size() + 2; in ParseSectionName()
267 CurSize = getTok().getIdentifier().size(); in ParseSectionName()
270 CurSize = getTok().getString().size(); in ParseSectionName()
273 Size += CurSize; in ParseSectionName()
277 if (PrevLoc.getPointer() + CurSize != getTok().getLoc().getPointer()) in ParseSectionName()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTVector.h382 size_t CurSize = size(); in grow() local
398 memcpy(NewElts, Begin, CurSize * sizeof(T)); in grow()
404 End = NewElts+CurSize; in grow()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DIntervalMap.cpp121 const unsigned *CurSize, unsigned NewSize[], in distribute() argument
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp70 size_t CurSize = IRMutator::getModuleSize(M); in mutateModule() local
74 Strategy->getWeight(CurSize, MaxSize, RS.totalWeight())); in mutateModule()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2443 int CurSize = length(ValTy); in vresize() local
2444 if (CurSize == NewSize) in vresize()
2447 if (CurSize > NewSize) in vresize()
2451 std::iota(SMask.begin(), SMask.begin() + CurSize, 0); in vresize()
2452 std::fill(SMask.begin() + CurSize, SMask.end(), CurSize); in vresize()
2453 Value *PadVec = Builder.CreateVectorSplat(CurSize, Pad, "spt"); in vresize()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1125 unsigned CurSize = CGM.getDataLayout().getTypeAllocSize(C->getType()); in VisitCastExpr() local
1128 assert(CurSize <= TotalSize && "Union size mismatch!"); in VisitCastExpr()
1129 if (unsigned NumPadBytes = TotalSize - CurSize) { in VisitCastExpr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp23522 for (unsigned CurSize = Shuffles.size(); CurSize > 1; CurSize /= 2) { in reduceBuildVecToShuffle() local
23523 if (CurSize % 2) { in reduceBuildVecToShuffle()
23524 Shuffles[CurSize] = DAG.getUNDEF(VT); in reduceBuildVecToShuffle()
23525 CurSize++; in reduceBuildVecToShuffle()
23527 for (unsigned In = 0, Len = CurSize / 2; In < Len; ++In) { in reduceBuildVecToShuffle()