Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/
DTarget.cpp122 return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset); in LLVMElementAtOffset()
128 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
/external/llvm/lib/IR/
DOperator.cpp32 const StructLayout *SL = DL.getStructLayout(STy); in accumulateConstantOffset()
DDataLayout.cpp556 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const { in getStructLayout() function in DataLayout
650 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); in getAlignment()
743 const StructLayout *Layout = getStructLayout(STy); in getIndexedOffset()
/external/llvm/include/llvm/IR/
DDataLayout.h451 const StructLayout *getStructLayout(StructType *Ty) const;
526 return getStructLayout(cast<StructType>(Ty))->getSizeInBits(); in getTypeSizeInBits()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h222 Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp815 const StructLayout &Layout = *DL.getStructLayout(ST); in ConvertScalar_ExtractValue()
945 const StructLayout &Layout = *DL.getStructLayout(ST); in ConvertScalar_InsertValue()
1850 const StructLayout *Layout = DL.getStructLayout(ST); in TypeHasComponent()
2030 const StructLayout *Layout = DL.getStructLayout(ST); in FindElementAndOffset()
2250 EltOffset = DL.getStructLayout(ST)->getElementOffset(i); in RewriteMemIntrinUserOfAlloca()
2374 const StructLayout *Layout = DL.getStructLayout(EltSTy); in RewriteStoreUserOfWholeAlloca()
2484 Layout = DL.getStructLayout(EltSTy); in RewriteLoadUserOfWholeAlloca()
2565 const StructLayout *SL = DL.getStructLayout(STy); in HasPadding()
DNaryReassociate.cpp333 BaseOffset += DL->getStructLayout(STy)->getElementOffset(Field); in isGEPFoldable()
DStraightLineStrengthReduce.cpp268 BaseOffset += DL->getStructLayout(STy)->getElementOffset(Field); in isGEPFoldable()
DSROA.cpp711 const StructLayout *SL = DL.getStructLayout(STy); in visitGetElementPtrInst()
1446 const StructLayout *SL = DL.getStructLayout(STy); in getNaturalGEPRecursively()
3187 const StructLayout *SL = DL.getStructLayout(STy); in stripAggregateTypeWrapping()
3262 const StructLayout *SL = DL.getStructLayout(STy); in getTypePartition()
3309 const StructLayout *SubSL = DL.getStructLayout(SubTy); in getTypePartition()
DSeparateConstOffsetFromGEP.cpp761 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
DMemCpyOptimizer.cpp62 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetOffsetFromIndex()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h441 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1931 Bytes = DL.getStructLayout(ST)->getElementOffset(0) + in bufferAggregateConstant()
1933 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
1935 Bytes = DL.getStructLayout(ST)->getElementOffset(i + 1) - in bufferAggregateConstant()
1936 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp539 auto *SL = DL.getStructLayout(ST); in unpackLoadToAggregate()
946 auto *SL = DL.getStructLayout(ST); in unpackStoreToAggregate()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp400 BaseOffs += DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
864 const StructLayout *SL = DL.getStructLayout(LastIndexedStruct); in aliasSameBasePointerGEPs()
DMemoryBuiltins.cpp225 ElementSize = DL.getStructLayout(ST)->getSizeInBytes(); in computeArraySize()
DConstantFolding.cpp324 const StructLayout *SL = DL.getStructLayout(CS->getType()); in ReadDataFromGlobal()
847 const StructLayout &SL = *DL.getStructLayout(STy); in SymbolicallyEvaluateGEP()
DInlineCost.cpp280 const StructLayout *SL = DL.getStructLayout(STy); in accumulateGEPOffset()
/external/llvm/lib/CodeGen/
DAnalysis.cpp92 const StructLayout *SL = DL.getStructLayout(STy); in ComputeValueVTs()
/external/clang/lib/CodeGen/
DCGCall.cpp1026 CGF.CGM.getDataLayout().getStructLayout(STy); in BuildAggStore()
1851 ArgStructLayout = CGM.getDataLayout().getStructLayout(FI.getArgStruct()); in EmitFunctionProlog()
2055 auto SrcLayout = CGM.getDataLayout().getStructLayout(STy); in EmitFunctionProlog()
3182 ArgMemoryLayout = CGM.getDataLayout().getStructLayout(ArgStruct); in EmitCall()
3388 auto SrcLayout = CGM.getDataLayout().getStructLayout(STy); in EmitCall()
DCGRecordLayoutBuilder.cpp757 const llvm::StructLayout *SL = getDataLayout().getStructLayout(ST); in ComputeRecordLayout()
DTargetInfo.cpp2636 const llvm::StructLayout *SL = TD.getStructLayout(STy); in ContainsFloatAtOffset()
2722 const llvm::StructLayout *SL = getDataLayout().getStructLayout(STy); in GetINTEGERTypeAtOffset()
2794 assert(TD.getStructLayout(Result)->getElementOffset(1) == 8 && in GetX86_64ByValArgumentPair()
3246 getDataLayout().getStructLayout(ST)->getElementOffset(1)); in EmitVAArg()
6626 const llvm::StructLayout *Layout = DL.getStructLayout(StrTy); in addStruct()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp154 const StructLayout *Layout = DL.getStructLayout(StructTy); in isDenselyPacked()
DGlobalOpt.cpp493 const StructLayout &Layout = *DL.getStructLayout(STy); in SRAGlobal()
1305 TypeSize = DL.getStructLayout(ST)->getSizeInBytes(); in PerformHeapAllocSRoA()
1533 unsigned TypeSize = DL.getStructLayout(AllocSTy)->getSizeInBytes(); in TryToOptimizeStoreOfMallocToGlobal()
DLowerBitSets.cpp560 const StructLayout *CombinedGlobalLayout = DL.getStructLayout(NewTy); in buildBitSetsFromGlobalVariables()

12