| /NextBSD/contrib/llvm/lib/Transforms/Scalar/ |
| HD | ScalarReplAggregates.cpp | 780 unsigned FromTypeSize = DL.getTypeAllocSize(FromType); in ConvertScalar_ExtractValue() 781 unsigned ToTypeSize = DL.getTypeAllocSize(ToType); in ConvertScalar_ExtractValue() 1508 uint64_t AllocaSize = DL.getTypeAllocSize(AI->getAllocatedType()); in performScalarRepl() 1634 isSafeMemAccess(Offset, DL.getTypeAllocSize(LIType), LIType, false, Info, in isSafeForScalarRepl() 1644 isSafeMemAccess(Offset, DL.getTypeAllocSize(SIType), SIType, true, Info, in isSafeForScalarRepl() 1694 isSafeMemAccess(Offset, DL.getTypeAllocSize(LIType), LIType, false, Info, in isSafePHISelectUseForScalarRepl() 1704 isSafeMemAccess(Offset, DL.getTypeAllocSize(SIType), SIType, true, Info, in isSafePHISelectUseForScalarRepl() 1811 MemSize == DL.getTypeAllocSize(Info.AI->getAllocatedType())) { in isSafeMemAccess() 1852 EltSize = DL.getTypeAllocSize(EltTy); in TypeHasComponent() 1856 EltSize = DL.getTypeAllocSize(EltTy); in TypeHasComponent() [all …]
|
| HD | NaryReassociate.cpp | 309 int64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in isGEPFoldable() 443 uint64_t IndexedSize = DL->getTypeAllocSize(IndexedType); in tryReassociateGEPAtIndex() 445 uint64_t ElementSize = DL->getTypeAllocSize(ElementType); in tryReassociateGEPAtIndex()
|
| HD | SeparateConstOffsetFromGEP.cpp | 713 ConstantOffset * DL->getTypeAllocSize(GTI.getIndexedType()); in accumulateByteOffset() 752 DL->getTypeAllocSize(GTI.getIndexedType())); in lowerToSingleIndexGEPs() 801 DL->getTypeAllocSize(GTI.getIndexedType())); in lowerToArithmetics() 962 DL->getTypeAllocSize(GEP->getType()->getElementType())); in splitGEP()
|
| HD | MemCpyOptimizer.cpp | 67 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()); in GetOffsetFromIndex() 612 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn() 627 uint64_t destSize = DL.getTypeAllocSize(A->getAllocatedType()) * in performCallSlotOptzn() 647 uint64_t destSize = DL.getTypeAllocSize(StructTy); in performCallSlotOptzn() 1077 uint64_t ByValSize = DL.getTypeAllocSize(ByValTy); in processByValArgument()
|
| HD | SROA.cpp | 642 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), AS(AS) {} in SliceBuilder() 723 DL.getTypeAllocSize(GTI.getIndexedType())); in visitGetElementPtrInst() 1646 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy)); in getNaturalGEPRecursively() 1668 if (Offset.uge(DL.getTypeAllocSize(ElementTy))) in getNaturalGEPRecursively() 1700 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy)); in getNaturalGEPWithOffset() 3391 uint64_t AllocSize = DL.getTypeAllocSize(Ty); in stripAggregateTypeWrapping() 3405 if (AllocSize > DL.getTypeAllocSize(InnerTy) || in stripAggregateTypeWrapping() 3427 if (Offset == 0 && DL.getTypeAllocSize(Ty) == Size) in getTypePartition() 3429 if (Offset > DL.getTypeAllocSize(Ty) || in getTypePartition() 3430 (DL.getTypeAllocSize(Ty) - Offset) < Size) in getTypePartition() [all …]
|
| HD | StraightLineStrengthReduce.cpp | 253 int64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in isGEPFoldable() 534 uint64_t ElementSize = DL->getTypeAllocSize(*GTI); in allocateCandidatesAndFindBasisForGEP() 568 DL->getTypeAllocSize( in emitBump()
|
| /NextBSD/contrib/llvm/lib/Target/Mips/ |
| HD | MipsTargetObjectFile.cpp | 110 return IsInSmallSection(TM.getDataLayout()->getTypeAllocSize(Ty)); in IsGlobalInSmallSectionImpl() 136 LocalSData && IsInSmallSection(TM.getDataLayout()->getTypeAllocSize( in IsConstantInSmallSection()
|
| /NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| HD | AsmPrinter.cpp | 379 uint64_t Size = DL->getTypeAllocSize(GV->getType()->getElementType()); in EmitGlobalVariable() 1264 TM.getDataLayout()->getTypeAllocSize(Ty); in EmitConstantPool() 1732 if (DL.getTypeAllocSize(Ty) == DL.getTypeAllocSize(Op->getType())) in lowerConstant() 1833 AP.TM.getDataLayout()->getTypeAllocSize( in emitGlobalConstantDataSequential() 1885 unsigned Size = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential() 1886 unsigned EmittedSize = DL.getTypeAllocSize(CDS->getType()->getElementType()) * in emitGlobalConstantDataSequential() 1901 uint64_t Bytes = DL.getTypeAllocSize(CA->getType()); in emitGlobalConstantArray() 1907 Offset += DL.getTypeAllocSize(CA->getOperand(i)->getType()); in emitGlobalConstantArray() 1917 unsigned Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstantVector() 1918 unsigned EmittedSize = DL.getTypeAllocSize(CV->getType()->getElementType()) * in emitGlobalConstantVector() [all …]
|
| /NextBSD/contrib/llvm/lib/CodeGen/ |
| HD | GlobalMerge.cpp | 198 return (DL.getTypeAllocSize(Ty1) < DL.getTypeAllocSize(Ty2)); in doMerge() 432 MergedSize += DL.getTypeAllocSize(Ty); in doMerge() 568 if (DL.getTypeAllocSize(Ty) < MaxOffset) { in doInitialization()
|
| /NextBSD/contrib/llvm/lib/Analysis/ |
| HD | VectorUtils.cpp | 227 unsigned GEPAllocSize = DL.getTypeAllocSize( in getGEPInductionOperand() 239 if (DL.getTypeAllocSize(*GEPTI) != GEPAllocSize) in getGEPInductionOperand() 318 DL.getTypeAllocSize(PtrTy->getElementType()); in getStrideFromPointer()
|
| HD | MemoryBuiltins.cpp | 220 unsigned ElementSize = DL.getTypeAllocSize(T); in computeArraySize() 432 APInt Size(IntTyBits, DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst() 451 APInt Size(IntTyBits, DL.getTypeAllocSize(PT->getElementType())); in visitArgument() 540 APInt Size(IntTyBits, DL.getTypeAllocSize(GV.getType()->getElementType())); in visitGlobalVariable() 669 DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
| HD | Loads.cpp | 110 if (ByteOffset + LoadSize <= DL.getTypeAllocSize(BaseType) && in isSafeToLoadUnconditionally()
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Operator.cpp | 40 DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateConstantOffset()
|
| HD | DataLayout.cpp | 59 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item in StructLayout() 488 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); in getAlignmentInfo() 751 Result += (uint64_t)arrayIdx * getTypeAllocSize(Ty); in getIndexedOffset()
|
| HD | Mangler.cpp | 102 ArgWords += RoundUpToAlignment(DL.getTypeAllocSize(Ty), PtrSize); in addByteCountSuffix()
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | DataLayout.h | 388 uint64_t getTypeAllocSize(Type *Ty) const { in getTypeAllocSize() function 399 return 8 * getTypeAllocSize(Ty); in getTypeAllocSizeInBits()
|
| /NextBSD/contrib/llvm/lib/Target/Hexagon/ |
| HD | HexagonTargetObjectFile.cpp | 78 return IsInSmallSection(TM.getDataLayout()->getTypeAllocSize(Ty)); in IsGlobalInSmallSection()
|
| /NextBSD/contrib/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineLoadStoreAlloca.cpp | 235 if (DL.getTypeAllocSize(AI.getAllocatedType()) == 0) { in visitAllocaInst() 253 DL.getTypeAllocSize(EntryAI->getAllocatedType()) != 0) { in visitAllocaInst() 586 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq() 598 uint64_t InitSize = DL.getTypeAllocSize(GV->getType()->getElementType()); in isObjectSizeLessThanOrEq() 662 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy); in canReplaceGEPIdxWithZero()
|
| HD | InstructionCombining.cpp | 911 if (int64_t TySize = DL.getTypeAllocSize(Ty)) { in FindElementAtOffset() 944 uint64_t EltSize = DL.getTypeAllocSize(AT->getElementType()); in FindElementAtOffset() 1339 DL.getTypeAllocSize(SeqTy->getElementType()) == 0) in visitGetElementPtrInst() 1539 uint64_t TyAllocSize = DL.getTypeAllocSize(Ty); in visitGetElementPtrInst() 1662 DL.getTypeAllocSize(SrcElTy->getArrayElementType()) == in visitGetElementPtrInst() 1663 DL.getTypeAllocSize(ResElTy)) { in visitGetElementPtrInst() 1684 uint64_t ResSize = DL.getTypeAllocSize(ResElTy); in visitGetElementPtrInst() 1685 uint64_t SrcSize = DL.getTypeAllocSize(SrcElTy); in visitGetElementPtrInst() 1722 uint64_t ResSize = DL.getTypeAllocSize(ResElTy); in visitGetElementPtrInst() 1724 DL.getTypeAllocSize(SrcElTy->getArrayElementType()); in visitGetElementPtrInst()
|
| /NextBSD/contrib/llvm/lib/Target/NVPTX/ |
| HD | NVPTXAsmPrinter.cpp | 372 unsigned totalsz = DL.getTypeAllocSize(Ty); in printReturnValStr() 1490 unsigned sz = TD->getTypeAllocSize(Ty); in emitFunctionParamList() 1571 unsigned sz = TD->getTypeAllocSize(ETy); in emitFunctionParamList() 1792 int s = TD->getTypeAllocSize(CPV->getType()); in bufferLEByte() 1884 unsigned int s = TD->getTypeAllocSize(CPV->getType()); in bufferLEByte() 1894 int ElementSize = TD->getTypeAllocSize(CPV->getType()); in bufferLEByte() 1938 TD->getTypeAllocSize(ST) - in bufferAggregateConstant() 2134 if (DL.getTypeAllocSize(Ty) == DL.getTypeAllocSize(Op->getType())) in lowerConstantForGV()
|
| /NextBSD/contrib/llvm/lib/Target/ |
| HD | Target.cpp | 99 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType()
|
| /NextBSD/contrib/llvm/lib/Target/AMDGPU/ |
| HD | AMDGPUPromoteAlloca.cpp | 91 Mod->getDataLayout().getTypeAllocSize(GVTy->getElementType()); in runOnFunction() 296 WorkGroupSize * Mod->getDataLayout().getTypeAllocSize(AllocaTy); in visitAlloca()
|
| /NextBSD/contrib/llvm/lib/Transforms/Instrumentation/ |
| HD | SafeStack.cpp | 406 uint64_t Size = DL->getTypeAllocSize(Ty) * CArraySize->getZExtValue(); in moveStaticAllocasToUnsafeStack() 460 uint64_t TySize = DL->getTypeAllocSize(Ty); in moveDynamicAllocasToUnsafeStack()
|
| /NextBSD/contrib/llvm/lib/Target/XCore/ |
| HD | XCoreTargetObjectFile.cpp | 127 TM.getDataLayout()->getTypeAllocSize(ObjType) < CodeModelLargeSize) { in SelectSectionForGlobal()
|
| /NextBSD/contrib/llvm/include/llvm/Transforms/Utils/ |
| HD | Local.h | 211 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask;
|