Home
last modified time | relevance | path

Searched refs:ElementSize (Results 1 – 25 of 46) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSparseBitVector.h41 template <unsigned ElementSize = 128> struct SparseBitVectorElement {
47 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE,
48 BITS_PER_ELEMENT = ElementSize
254 template <unsigned ElementSize = 128>
256 using ElementList = std::list<SparseBitVectorElement<ElementSize>>;
260 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE
279 const_cast<SparseBitVector<ElementSize> *>(this)->Elements.begin(); in FindLowerBoundImpl()
281 const_cast<SparseBitVector<ElementSize> *>(this)->Elements.end(); in FindLowerBoundImpl()
322 const SparseBitVector<ElementSize> *BitVector = nullptr;
334 typename SparseBitVectorElement<ElementSize>::BitWord Bits;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp206 Value *S, uint64_t ElementSize,
221 void factorArrayIndex(Value *ArrayIdx, const SCEV *Base, uint64_t ElementSize,
471 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize, in allocateCandidatesAndFindBasisForGEP() argument
479 IntPtrTy, Idx->getSExtValue() * (int64_t)ElementSize, true); in allocateCandidatesAndFindBasisForGEP()
485 uint64_t ElementSize, in factorArrayIndex() argument
490 ArrayIdx, ElementSize, GEP); in factorArrayIndex()
507 allocateCandidatesAndFindBasisForGEP(Base, RHS, LHS, ElementSize, GEP); in factorArrayIndex()
514 allocateCandidatesAndFindBasisForGEP(Base, PowerOf2, LHS, ElementSize, GEP); in factorArrayIndex()
540 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in allocateCandidatesAndFindBasisForGEP() local
545 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP()
[all …]
DSeparateConstOffsetFromGEP.cpp843 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToSingleIndexGEPs() local
846 if (ElementSize != 1) { in lowerToSingleIndexGEPs()
847 if (ElementSize.isPowerOf2()) { in lowerToSingleIndexGEPs()
849 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToSingleIndexGEPs()
851 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToSingleIndexGEPs()
904 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToArithmetics() local
907 if (ElementSize != 1) { in lowerToArithmetics()
908 if (ElementSize.isPowerOf2()) { in lowerToArithmetics()
910 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToArithmetics()
912 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToArithmetics()
DSROA.cpp1487 APInt ElementSize(Offset.getBitWidth(), ElementSizeInBits / 8); in getNaturalGEPRecursively() local
1488 APInt NumSkippedElements = Offset.sdiv(ElementSize); in getNaturalGEPRecursively()
1491 Offset -= NumSkippedElements * ElementSize; in getNaturalGEPRecursively()
1499 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy)); in getNaturalGEPRecursively() local
1500 APInt NumSkippedElements = Offset.sdiv(ElementSize); in getNaturalGEPRecursively()
1504 Offset -= NumSkippedElements * ElementSize; in getNaturalGEPRecursively()
1553 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy)); in getNaturalGEPWithOffset() local
1554 if (ElementSize == 0) in getNaturalGEPWithOffset()
1556 APInt NumSkippedElements = Offset.sdiv(ElementSize); in getNaturalGEPWithOffset()
1558 Offset -= NumSkippedElements * ElementSize; in getNaturalGEPWithOffset()
[all …]
DNaryReassociate.cpp404 uint64_t ElementSize = DL->getTypeAllocSize(ElementType); in tryReassociateGEPAtIndex() local
419 if (IndexedSize % ElementSize != 0) in tryReassociateGEPAtIndex()
426 if (IndexedSize != ElementSize) { in tryReassociateGEPAtIndex()
428 RHS, ConstantInt::get(IntPtrTy, IndexedSize / ElementSize)); in tryReassociateGEPAtIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DRuntimeLibcalls.h66 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
71 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
76 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIRBuilder.cpp128 Value *Ptr, Value *Val, Value *Size, Align Alignment, uint32_t ElementSize, in CreateElementUnorderedAtomicMemSet() argument
132 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemSet()
205 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemCpy() argument
207 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy()
209 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy()
214 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemCpy()
280 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemMove() argument
282 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove()
284 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove()
289 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemMove()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1177 unsigned int ElementSize = 0; in printModuleLevelGV() local
1188 ElementSize = DL.getTypeStoreSize(ETy); in printModuleLevelGV()
1196 AggBuffer aggBuffer(ElementSize, O, *this); in printModuleLevelGV()
1203 O << ElementSize / 8; in printModuleLevelGV()
1208 O << ElementSize / 4; in printModuleLevelGV()
1215 O << ElementSize; in printModuleLevelGV()
1224 if (ElementSize) { in printModuleLevelGV()
1226 O << ElementSize; in printModuleLevelGV()
1233 if (ElementSize) { in printModuleLevelGV()
1235 O << ElementSize; in printModuleLevelGV()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/
DUDTLayout.h103 uint32_t getElementSize() const { return ElementSize; } in getElementSize()
106 uint32_t ElementSize = 0;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerInfo.cpp344 const uint16_t ElementSize = VectorSpecifiedActions.first; in computeTables() local
345 ElementSizesSeen.push_back({ElementSize, Legal}); in computeTables()
353 assert(BitsizeAndAction.first % ElementSize == 0); in computeTables()
354 const uint16_t NumElements = BitsizeAndAction.first / ElementSize; in computeTables()
358 Opcode, TypeIdx, ElementSize, in computeTables()
DIRTranslator.cpp228 uint64_t ElementSize = DL->getTypeAllocSize(AI.getAllocatedType()); in getOrCreateFrameIndex() local
230 ElementSize * cast<ConstantInt>(AI.getArraySize())->getZExtValue(); in getOrCreateFrameIndex()
1076 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in translateGetElementPtr() local
1081 Offset += ElementSize * CI->getSExtValue(); in translateGetElementPtr()
1100 if (ElementSize != 1) { in translateGetElementPtr()
1102 getLLTForType(*OffsetIRTy, *DL), ElementSize); in translateGetElementPtr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DSVEInstrFormats.td570 let ElementSize = ElementSizeNone;
684 let ElementSize = ElementSizeNone;
1139 let ElementSize = ElementSizeNone;
1276 let ElementSize = ElementSizeNone;
1398 let ElementSize = zprty.ElementSize;
1427 let ElementSize = zprty.ElementSize;
1470 let ElementSize = ElementSizeNone;
1555 let ElementSize = zprty.ElementSize;
1590 let ElementSize = zprty.ElementSize;
1624 let ElementSize = ElementSizeNone;
[all …]
/third_party/mesa3d/src/mesa/main/
Dglthread_varray.c61 vao->Attrib[i].ElementSize = elem_size; in _mesa_glthread_reset_vao()
355 vao->Attrib[attrib].ElementSize = elem_size; in attrib_pointer()
408 vao->Attrib[i].ElementSize = elem_size; in attrib_format()
Dglthread.h82 GLuint ElementSize; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLImage.cpp47 case ImageInfo::ElementSize: in getInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h476 uint32_t ElementSize, MDNode *TBAATag = nullptr,
480 Align(Alignment), ElementSize,
486 uint32_t ElementSize,
491 Align(Alignment), ElementSize,
500 uint32_t ElementSize, MDNode *TBAATag = nullptr,
504 ElementSize, TBAATag, ScopeTag,
510 uint32_t ElementSize,
573 uint64_t Size, uint32_t ElementSize, MDNode *TBAATag = nullptr,
577 Dst, DstAlign, Src, SrcAlign, getInt64(Size), ElementSize, TBAATag,
583 uint32_t ElementSize, MDNode *TBAATag = nullptr,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h783 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); in getGEPCost() local
786 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize; in getGEPCost()
792 Scale = ElementSize; in getGEPCost()
DValueTracking.h302 unsigned ElementSize, uint64_t Offset = 0);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h1230 const unsigned ElementSize, in setVectorNumElementAction() argument
1233 if (NumElements2Actions[OpcodeIdx].find(ElementSize) == in setVectorNumElementAction()
1235 NumElements2Actions[OpcodeIdx][ElementSize] = {{}}; in setVectorNumElementAction()
1237 NumElements2Actions[OpcodeIdx].find(ElementSize)->second; in setVectorNumElementAction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp484 RTLIB::Libcall RTLIB::getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC() argument
485 switch (ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC()
501 RTLIB::Libcall RTLIB::getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC() argument
502 switch (ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC()
518 RTLIB::Libcall RTLIB::getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC() argument
519 switch (ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryBuiltins.cpp337 unsigned ElementSize = DL.getTypeAllocSize(T); in computeArraySize() local
339 ElementSize = DL.getStructLayout(ST)->getSizeInBytes(); in computeArraySize()
345 if (ComputeMultiple(MallocArg, ElementSize, Multiple, LookThroughSExt)) in computeArraySize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp1139 unsigned ElementSize = in InitializeMemory() local
1142 InitializeMemory(CP->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory()
1152 unsigned ElementSize = in InitializeMemory() local
1155 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DUDTLayout.cpp101 ElementSize = VTableType->getLength(); in VTableLayoutItem()
/third_party/skia/third_party/externals/angle2/src/common/
DPackedCLEnums_autogen.cpp1136 return ImageInfo::ElementSize; in FromCLenum()
1166 case ImageInfo::ElementSize: in ToCLenum()
1199 case ImageInfo::ElementSize: in operator <<()
DPackedCLEnums_autogen.h234 ElementSize = 1, enumerator

12