| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | SparseBitVector.h | 48 BITS_PER_ELEMENT = ElementSize 821 template <unsigned ElementSize> 827 template <unsigned ElementSize> 833 template <unsigned ElementSize> 839 template <unsigned ElementSize> 847 template <unsigned ElementSize> 848 inline SparseBitVector<ElementSize> 856 template <unsigned ElementSize> 857 inline SparseBitVector<ElementSize> 865 template <unsigned ElementSize> [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | RuntimeLibcalls.h | 84 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 89 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize); 94 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | StraightLineStrengthReduce.cpp | 219 Value *S, uint64_t ElementSize, 482 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize, in allocateCandidatesAndFindBasisForGEP() argument 490 IntPtrTy, Idx->getSExtValue() * (int64_t)ElementSize, true); in allocateCandidatesAndFindBasisForGEP() 496 uint64_t ElementSize, in factorArrayIndex() argument 501 ArrayIdx, ElementSize, GEP); in factorArrayIndex() 518 allocateCandidatesAndFindBasisForGEP(Base, RHS, LHS, ElementSize, GEP); in factorArrayIndex() 551 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in allocateCandidatesAndFindBasisForGEP() local 556 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() 567 factorArrayIndex(TruncatedArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() 593 APInt ElementSize( in emitBump() local [all …]
|
| H A D | SeparateConstOffsetFromGEP.cpp | 875 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToSingleIndexGEPs() local 878 if (ElementSize != 1) { in lowerToSingleIndexGEPs() 879 if (ElementSize.isPowerOf2()) { in lowerToSingleIndexGEPs() 881 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToSingleIndexGEPs() 883 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToSingleIndexGEPs() 936 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(), in lowerToArithmetics() local 939 if (ElementSize != 1) { in lowerToArithmetics() 940 if (ElementSize.isPowerOf2()) { in lowerToArithmetics() 942 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToArithmetics() 944 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToArithmetics()
|
| H A D | SROA.cpp | 1561 APInt ElementSize(Offset.getBitWidth(), in getNaturalGEPWithOffset() local 1563 if (ElementSize == 0) in getNaturalGEPWithOffset() 1978 uint64_t ElementSize = in isVectorPromotionViable() local 1983 if (ElementSize % 8) in isVectorPromotionViable() 1987 ElementSize /= 8; in isVectorPromotionViable() 2307 uint64_t ElementSize; member in llvm::sroa::AllocaSliceRewriter 3708 if (Size == ElementSize) in getTypePartition() 3710 assert(Size > ElementSize); in getTypePartition() 3733 if (Offset >= ElementSize) in getTypePartition() 3738 if ((Offset + Size) > ElementSize) in getTypePartition() [all …]
|
| H A D | NaryReassociate.cpp | 428 uint64_t ElementSize = DL->getTypeAllocSize(ElementType); in tryReassociateGEPAtIndex() local 443 if (IndexedSize % ElementSize != 0) in tryReassociateGEPAtIndex() 450 if (IndexedSize != ElementSize) { in tryReassociateGEPAtIndex() 452 RHS, ConstantInt::get(IntPtrTy, IndexedSize / ElementSize)); in tryReassociateGEPAtIndex()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegacyLegalizerInfo.cpp | 160 const uint16_t ElementSize = VectorSpecifiedActions.first; in computeTables() local 161 ElementSizesSeen.push_back({ElementSize, Legal}); in computeTables() 169 assert(BitsizeAndAction.first % ElementSize == 0); in computeTables() 170 const uint16_t NumElements = BitsizeAndAction.first / ElementSize; in computeTables() 174 Opcode, TypeIdx, ElementSize, in computeTables()
|
| H A D | IRTranslator.cpp | 245 uint64_t ElementSize = DL->getTypeAllocSize(AI.getAllocatedType()); in getOrCreateFrameIndex() local 247 ElementSize * cast<ConstantInt>(AI.getArraySize())->getZExtValue(); in getOrCreateFrameIndex() 1507 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in translateGetElementPtr() local 1512 Offset += ElementSize * CI->getSExtValue(); in translateGetElementPtr() 1537 if (ElementSize != 1) { in translateGetElementPtr() 1539 getLLTForType(*OffsetIRTy, *DL), ElementSize); in translateGetElementPtr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegacyLegalizerInfo.h | 356 const unsigned ElementSize, in setVectorNumElementAction() argument 359 if (NumElements2Actions[OpcodeIdx].find(ElementSize) == in setVectorNumElementAction() 361 NumElements2Actions[OpcodeIdx][ElementSize] = {{}}; in setVectorNumElementAction() 363 NumElements2Actions[OpcodeIdx].find(ElementSize)->second; in setVectorNumElementAction()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | DynamicExtent.cpp | 50 SVal ElementSize = getElementExtent(ElementTy, SVB); in getDynamicElementCount() local 53 SVB.evalBinOp(State, BO_Div, Size, ElementSize, SVB.getArrayIndexType()); in getDynamicElementCount()
|
| H A D | ExprEngineCallAndReturn.cpp | 706 SVal ElementSize = getElementExtent(CNE->getAllocatedType(), svalBuilder); in bindReturnValue() local 709 svalBuilder.evalBinOp(State, BO_Mul, ElementCount, ElementSize, in bindReturnValue()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1168 unsigned int ElementSize = 0; in printModuleLevelGV() local 1194 O << ElementSize / 8; in printModuleLevelGV() 1206 O << ElementSize; in printModuleLevelGV() 1215 if (ElementSize) { in printModuleLevelGV() 1217 O << ElementSize; in printModuleLevelGV() 1224 if (ElementSize) { in printModuleLevelGV() 1226 O << ElementSize; in printModuleLevelGV() 1341 int64_t ElementSize = 0; in emitPTXGlobalVariable() local 1355 if (ElementSize) { in emitPTXGlobalVariable() 1356 O << ElementSize; in emitPTXGlobalVariable() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | UDTLayout.h | 103 uint32_t getElementSize() const { return ElementSize; } in getElementSize() 106 uint32_t ElementSize = 0;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 142 Value *Ptr, Value *Val, Value *Size, Align Alignment, uint32_t ElementSize, in CreateElementUnorderedAtomicMemSet() argument 146 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemSet() 246 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemCpy() argument 248 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 250 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 255 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemCpy() 321 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag, in CreateElementUnorderedAtomicMemMove() argument 323 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove() 325 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemMove() 330 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemMove()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | SVEInstrFormats.td | 301 let ElementSize = pprty.ElementSize; 1707 let ElementSize = zprty.ElementSize; 1736 let ElementSize = zprty.ElementSize; 1882 let ElementSize = zprty.ElementSize; 1924 let ElementSize = zprty.ElementSize; 2075 let ElementSize = zprty.ElementSize; 2163 let ElementSize = zprty.ElementSize; 2250 let ElementSize = zprty.ElementSize; 2566 let ElementSize = zprty.ElementSize; 2684 let ElementSize = zprty.ElementSize; [all …]
|
| H A D | SMEInstrFormats.td | 708 let ElementSize = ZPR128.ElementSize; 729 let ElementSize = zpr_ty.ElementSize;
|
| H A D | AArch64ExpandPseudoInsts.cpp | 525 uint64_t ElementSize = TII->getElementSizeForOpcode(Opcode); in expand_DestructiveOp() local 527 switch (ElementSize) { in expand_DestructiveOp() 557 assert(ElementSize != AArch64::ElementSizeNone && in expand_DestructiveOp()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCAsmParser.h | 99 unsigned ElementSize = 0; member
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringBase.cpp | 609 RTLIB::Libcall RTLIB::getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC() argument 610 switch (ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC() 626 RTLIB::Libcall RTLIB::getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC() argument 627 switch (ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC() 643 RTLIB::Libcall RTLIB::getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC() argument 644 switch (ElementSize) { in getMEMSET_ELEMENT_UNORDERED_ATOMIC()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 358 unsigned ElementSize = DL.getTypeAllocSize(T); in computeArraySize() local 360 ElementSize = DL.getStructLayout(ST)->getSizeInBytes(); in computeArraySize() 366 if (ComputeMultiple(MallocArg, ElementSize, Multiple, LookThroughSExt)) in computeArraySize()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 900 int64_t ElementSize = 904 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize; 910 Scale = ElementSize;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 1139 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
| H A D | UDTLayout.cpp | 101 ElementSize = VTableType->getLength(); in VTableLayoutItem()
|
| /freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | NeonEmitter.cpp | 1585 unsigned ElementSize; in emitDagShuffle() member in Intrinsic::DagEmitter::emitDagShuffle::Rev 1588 Rev(unsigned ElementSize) : ElementSize(ElementSize) {} in emitDagShuffle() argument 1596 VectorSize /= ElementSize; in emitDagShuffle()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 1003 CharUnits ElementSize = getContext().getTypeSizeInChars(ElementType); in EmitNewArrayInitializer() local 1005 BeginPtr.getAlignment().alignmentOfArrayElement(ElementSize); in EmitNewArrayInitializer() 1061 ElementSize)); in EmitNewArrayInitializer() 1120 StartAlign.alignmentAtOffset((i + 1) * ElementSize)); in EmitNewArrayInitializer()
|