Searched refs:NewElts (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | SmallVector.cpp | 26 void *NewElts; in grow_pod() local 28 NewElts = malloc(NewCapacityInBytes); in grow_pod() 31 memcpy(NewElts, this->BeginX, CurSizeBytes); in grow_pod() 34 NewElts = realloc(this->BeginX, NewCapacityInBytes); in grow_pod() 36 assert(NewElts && "Out of memory"); in grow_pod() 38 this->EndX = (char*)NewElts+CurSizeBytes; in grow_pod() 39 this->BeginX = NewElts; in grow_pod()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | SmallVector.cpp | 52 void *NewElts; in grow_pod() local 54 NewElts = safe_malloc(NewCapacity * TSize); in grow_pod() 57 memcpy(NewElts, this->BeginX, size() * TSize); in grow_pod() 60 NewElts = safe_realloc(this->BeginX, NewCapacity * TSize); in grow_pod() 63 this->BeginX = NewElts; in grow_pod()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypesGeneric.cpp | 379 SmallVector<SDValue, 16> NewElts; in ExpandOp_BUILD_VECTOR() local 380 NewElts.reserve(NumElts*2); in ExpandOp_BUILD_VECTOR() 387 NewElts.push_back(Lo); in ExpandOp_BUILD_VECTOR() 388 NewElts.push_back(Hi); in ExpandOp_BUILD_VECTOR() 391 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NewElts.size()); in ExpandOp_BUILD_VECTOR() 392 SDValue NewVec = DAG.getBuildVector(NewVecVT, dl, NewElts); in ExpandOp_BUILD_VECTOR()
|
D | LegalizeVectorTypes.cpp | 1776 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE() local 1790 unsigned FirstMaskIdx = High * NewElts; in SplitVecRes_VECTOR_SHUFFLE() 1792 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE() 1797 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE() 1806 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE() 1829 Ops.push_back(Idx + OpNo * NewElts); in SplitVecRes_VECTOR_SHUFFLE() 1837 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE() 1842 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE() 1851 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
|
D | LegalizeDAG.cpp | 4678 SmallVector<SDValue, 8> NewElts; in PromoteNode() local 4679 NewElts.push_back(CastVal); in PromoteNode() 4681 NewElts.push_back(Undef); in PromoteNode() 4683 SDValue Concat = DAG.getNode(ISD::CONCAT_VECTORS, SL, NVT, NewElts); in PromoteNode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | SmallVector.h | 240 T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T))); in grow() local 243 this->uninitialized_move(this->begin(), this->end(), NewElts); in grow() 252 this->setEnd(NewElts+CurSize); in grow() 253 this->BeginX = NewElts; in grow()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | SmallVector.h | 240 T *NewElts = static_cast<T*>(llvm::safe_malloc(NewCapacity*sizeof(T))); in grow() local 243 this->uninitialized_move(this->begin(), this->end(), NewElts); in grow() 252 this->BeginX = NewElts; in grow()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 1151 unsigned NewElts = MoreTy.getNumElements(); in moreElementsVectorSrc() local 1153 unsigned NumParts = NewElts / OldElts; in moreElementsVectorSrc() 1156 if (NumParts * OldElts == NewElts) { in moreElementsVectorSrc() 2603 unsigned NewElts = NarrowTy.isVector() ? NarrowTy.getNumElements() : 1; in fewerElementsVectorCmp() local 2607 NumParts = NarrowTy.isVector() ? (OldElts / NewElts) : DstTy.getNumElements(); in fewerElementsVectorCmp() 2613 unsigned NewElts = NarrowTy.isVector() ? NarrowTy.getNumElements() : 1; in fewerElementsVectorCmp() local 2616 NumParts = NarrowTy.isVector() ? (OldElts / NewElts) : in fewerElementsVectorCmp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 8958 SDValue NewElts[2]; in performFCanonicalizeCombine() local 8967 NewElts[I] = getCanonicalConstantFP(DAG, SL, EltVT, in performFCanonicalizeCombine() 8971 NewElts[I] = Op; in performFCanonicalizeCombine() 8973 NewElts[I] = DAG.getNode(ISD::FCANONICALIZE, SL, EltVT, Op); in performFCanonicalizeCombine() 8980 if (NewElts[0].isUndef()) { in performFCanonicalizeCombine() 8981 if (isa<ConstantFPSDNode>(NewElts[1])) in performFCanonicalizeCombine() 8982 NewElts[0] = isa<ConstantFPSDNode>(NewElts[1]) ? in performFCanonicalizeCombine() 8983 NewElts[1]: DAG.getConstantFP(0.0f, SL, EltVT); in performFCanonicalizeCombine() 8986 if (NewElts[1].isUndef()) { in performFCanonicalizeCombine() 8987 NewElts[1] = isa<ConstantFPSDNode>(NewElts[0]) ? in performFCanonicalizeCombine() [all …]
|