Home
last modified time | relevance | path

Searched refs:getTypeAllocSize (Results 1 – 25 of 123) sorted by relevance

12345

/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp100 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty)); in isGlobalInSmallSectionImpl()
118 return isInSmallSection(DL.getTypeAllocSize(CN->getType())); in isConstantInSmallSection()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp148 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty)); in IsGlobalInSmallSectionImpl()
174 LocalSData && IsInSmallSection(DL.getTypeAllocSize(CN->getType()))); in IsConstantInSmallSection()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DGlobalMerge.cpp225 return DL.getTypeAllocSize(GV1->getValueType()) < in doMerge()
226 DL.getTypeAllocSize(GV2->getValueType()); in doMerge()
469 MergedSize += DL.getTypeAllocSize(Ty); in doMerge()
640 if (DL.getTypeAllocSize(Ty) < MaxOffset) { in doInitialization()
H A DInterleavedLoadCombinePass.cpp695 unsigned Size = DL.getTypeAllocSize(VTy->getElementType()); in isInterleaved()
747 unsigned NewSize = DL.getTypeAllocSize(Result.VTy->getElementType()); in computeFromBCI()
748 unsigned OldSize = DL.getTypeAllocSize(VTy->getElementType()); in computeFromBCI()
1021 unsigned ResultSize = DL.getTypeAllocSize(GEP.getResultElementType()); in computePolynomialFromPointer()
1058 unsigned Size = DL.getTypeAllocSize(C0->VTy->getElementType()); in findPattern()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1360 uint64_t Size = DL.getTypeAllocSize(GA->getValueType()); in emitGlobalIndirectSymbol()
1721 Offset = NewOffset + getDataLayout().getTypeAllocSize(Ty); in EmitConstantPool()
2202 if (DL.getTypeAllocSize(Ty) == DL.getTypeAllocSize(Op->getType())) in lowerConstant()
2330 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential()
2356 unsigned Size = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential()
2372 uint64_t Bytes = DL.getTypeAllocSize(CA->getType()); in emitGlobalConstantArray()
2388 unsigned Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstantVector()
2399 unsigned Size = DL.getTypeAllocSize(CS->getType()); in emitGlobalConstantStruct()
2409 uint64_t FieldSize = DL.getTypeAllocSize(Field->getType()); in emitGlobalConstantStruct()
2624 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstantImpl()
[all …]
/freebsd-12.1/contrib/llvm/lib/Linker/
H A DLinkModules.cpp195 uint64_t DstSize = DstDL.getTypeAllocSize(DstGV->getValueType()); in computeResultingSelectionKind()
196 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind()
296 uint64_t DestSize = DL.getTypeAllocSize(Dest.getValueType()); in shouldLinkFromSource()
297 uint64_t SrcSize = DL.getTypeAllocSize(Src.getValueType()); in shouldLinkFromSource()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DOperator.cpp60 DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateConstantOffset()
H A DDataLayout.cpp68 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item in StructLayout()
536 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); in getAlignmentInfo()
808 Result += arrayIdx * getTypeAllocSize(GTI.getIndexedType()); in getIndexedOffsetInType()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp390 total_size = DL.getTypeAllocSize(CA->getType()->getElementType()) * in getConstantFieldValue()
423 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in fillGenericConstant()
464 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray()
476 Offset += DL.getTypeAllocSize(CA->getOperand(i)->getType()); in fillConstantArray()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineFunction.cpp62 LDSSize += DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal()
H A DAMDGPURewriteOutArguments.cpp172 if (DL->getTypeAllocSize(SrcEltTy) != DL->getTypeAllocSize(DestEltTy)) in checkArgumentUses()
H A DAMDGPUInline.cpp135 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in getInlineThreshold()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp365 unsigned totalsz = DL.getTypeAllocSize(Ty); in printReturnValStr()
1505 unsigned sz = DL.getTypeAllocSize(Ty); in emitFunctionParamList()
1603 unsigned sz = DL.getTypeAllocSize(ETy); in emitFunctionParamList()
1818 int s = DL.getTypeAllocSize(CPV->getType()); in bufferLEByte()
1916 unsigned int s = DL.getTypeAllocSize(CPV->getType()); in bufferLEByte()
1925 int ElementSize = DL.getTypeAllocSize(CPV->getType()); in bufferLEByte()
1949 for (unsigned I = 0, E = DL.getTypeAllocSize(CPV->getType()); I < E; ++I) { in bufferAggregateConstant()
1980 DL.getTypeAllocSize(ST) - in bufferAggregateConstant()
2104 if (DL.getTypeAllocSize(Ty) == DL.getTypeAllocSize(Op->getType())) in lowerConstantForGV()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp286 unsigned ElementSize = DL.getTypeAllocSize(T); in computeArraySize()
556 APInt Size(IntTyBits, DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
581 APInt Size(IntTyBits, DL.getTypeAllocSize(PT->getElementType())); in visitArgument()
687 APInt Size(IntTyBits, DL.getTypeAllocSize(GV.getType()->getElementType())); in visitGlobalVariable()
838 DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
H A DLoopAccessAnalysis.cpp1065 int64_t Size = DL.getTypeAllocSize(PtrTy->getElementType()); in getPtrStride()
1367 uint64_t DistTypeSize = DL.getTypeAllocSize(Dist.getType()); in isSafeDependenceDistance()
1368 uint64_t ProductTypeSize = DL.getTypeAllocSize(Product->getType()); in isSafeDependenceDistance()
1484 uint64_t TypeByteSize = DL.getTypeAllocSize(ATy); in isDependent()
1488 if (TypeByteSize == DL.getTypeAllocSize(BTy) && in isDependent()
2257 uint64_t StrideTypeSize = DL.getTypeAllocSize(StrideExpr->getType()); in collectStridedAccess()
2258 uint64_t BETypeSize = DL.getTypeAllocSize(BETakenCount->getType()); in collectStridedAccess()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDataLayout.h436 uint64_t getTypeAllocSize(Type *Ty) const { in getTypeAllocSize() function
447 return 8 * getTypeAllocSize(Ty); in getTypeAllocSizeInBits()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp354 if (DL.getTypeAllocSize(AI.getAllocatedType()) == 0) { in visitAllocaInst()
372 DL.getTypeAllocSize(EntryAI->getAllocatedType()) != 0) { in visitAllocaInst()
760 auto EltSize = DL.getTypeAllocSize(ET); in unpackLoadToAggregate()
841 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq()
853 uint64_t InitSize = DL.getTypeAllocSize(GV->getValueType()); in isObjectSizeLessThanOrEq()
915 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy); in canReplaceGEPIdxWithZero()
1283 auto EltSize = DL.getTypeAllocSize(AT->getElementType()); in unpackStoreToAggregate()
H A DInstructionCombining.cpp1063 if (int64_t TySize = DL.getTypeAllocSize(Ty)) { in FindElementAtOffset()
1096 uint64_t EltSize = DL.getTypeAllocSize(AT->getElementType()); in FindElementAtOffset()
1588 if (EltTy->isSized() && DL.getTypeAllocSize(EltTy) == 0) in visitGetElementPtrInst()
1836 uint64_t TyAllocSize = DL.getTypeAllocSize(GEPEltType); in visitGetElementPtrInst()
1953 DL.getTypeAllocSize(SrcEltTy->getArrayElementType()) == in visitGetElementPtrInst()
1954 DL.getTypeAllocSize(GEPEltType)) { in visitGetElementPtrInst()
1974 uint64_t ResSize = DL.getTypeAllocSize(GEPEltType); in visitGetElementPtrInst()
1975 uint64_t SrcSize = DL.getTypeAllocSize(SrcEltTy); in visitGetElementPtrInst()
2014 uint64_t ResSize = DL.getTypeAllocSize(GEPEltType); in visitGetElementPtrInst()
2016 DL.getTypeAllocSize(SrcEltTy->getArrayElementType()); in visitGetElementPtrInst()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/Utils/
H A DLocal.h48 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask;
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp798 ConstantOffset * DL->getTypeAllocSize(GTI.getIndexedType()); in accumulateByteOffset()
844 DL->getTypeAllocSize(GTI.getIndexedType())); in lowerToSingleIndexGEPs()
905 DL->getTypeAllocSize(GTI.getIndexedType())); in lowerToArithmetics()
1068 DL->getTypeAllocSize(GEP->getResultElementType())); in splitGEP()
H A DSROA.cpp1495 if (Offset.uge(DL.getTypeAllocSize(ElementTy))) in getNaturalGEPRecursively()
3407 uint64_t AllocSize = DL.getTypeAllocSize(Ty); in stripAggregateTypeWrapping()
3421 if (AllocSize > DL.getTypeAllocSize(InnerTy) || in stripAggregateTypeWrapping()
3443 if (Offset == 0 && DL.getTypeAllocSize(Ty) == Size) in getTypePartition()
3445 if (Offset > DL.getTypeAllocSize(Ty) || in getTypePartition()
3446 (DL.getTypeAllocSize(Ty) - Offset) < Size) in getTypePartition()
3451 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy); in getTypePartition()
3491 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy); in getTypePartition()
4055 if (DL.getTypeAllocSize(CommonUseTy) >= P.size()) in rewritePartition()
4067 assert(DL.getTypeAllocSize(SliceTy) >= P.size()); in rewritePartition()
[all …]
H A DMemCpyOptimizer.cpp97 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()); in GetOffsetFromIndex()
839 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn()
854 uint64_t destSize = DL.getTypeAllocSize(A->getAllocatedType()) * in performCallSlotOptzn()
878 uint64_t destSize = DL.getTypeAllocSize(StructTy); in performCallSlotOptzn()
1341 uint64_t ByValSize = DL.getTypeAllocSize(ByValTy); in processByValArgument()
H A DNaryReassociate.cpp402 uint64_t IndexedSize = DL->getTypeAllocSize(IndexedType); in tryReassociateGEPAtIndex()
404 uint64_t ElementSize = DL->getTypeAllocSize(ElementType); in tryReassociateGEPAtIndex()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp262 unsigned Size = GVar->getParent()->getDataLayout().getTypeAllocSize(GType); in isGlobalInSmallSection()
326 return DL.getTypeAllocSize(const_cast<Type*>(Ty)); in getSmallestAddressableSize()
/freebsd-12.1/contrib/llvm/lib/Target/
H A DTarget.cpp111 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType()

12345