/external/llvm/lib/Target/ |
D | Target.cpp | 122 return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset); in LLVMElementAtOffset() 128 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
|
/external/llvm/lib/IR/ |
D | Operator.cpp | 32 const StructLayout *SL = DL.getStructLayout(STy); in accumulateConstantOffset()
|
D | DataLayout.cpp | 556 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/ |
D | DataLayout.h | 451 const StructLayout *getStructLayout(StructType *Ty) const; 526 return getStructLayout(cast<StructType>(Ty))->getSizeInBits(); in getTypeSizeInBits()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 222 Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 815 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()
|
D | NaryReassociate.cpp | 333 BaseOffset += DL->getStructLayout(STy)->getElementOffset(Field); in isGEPFoldable()
|
D | StraightLineStrengthReduce.cpp | 268 BaseOffset += DL->getStructLayout(STy)->getElementOffset(Field); in isGEPFoldable()
|
D | SROA.cpp | 711 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()
|
D | SeparateConstOffsetFromGEP.cpp | 761 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
|
D | MemCpyOptimizer.cpp | 62 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetOffsetFromIndex()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 441 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 1931 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/ |
D | InstCombineLoadStoreAlloca.cpp | 539 auto *SL = DL.getStructLayout(ST); in unpackLoadToAggregate() 946 auto *SL = DL.getStructLayout(ST); in unpackStoreToAggregate()
|
/external/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 400 BaseOffs += DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression() 864 const StructLayout *SL = DL.getStructLayout(LastIndexedStruct); in aliasSameBasePointerGEPs()
|
D | MemoryBuiltins.cpp | 225 ElementSize = DL.getStructLayout(ST)->getSizeInBytes(); in computeArraySize()
|
D | ConstantFolding.cpp | 324 const StructLayout *SL = DL.getStructLayout(CS->getType()); in ReadDataFromGlobal() 847 const StructLayout &SL = *DL.getStructLayout(STy); in SymbolicallyEvaluateGEP()
|
D | InlineCost.cpp | 280 const StructLayout *SL = DL.getStructLayout(STy); in accumulateGEPOffset()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 92 const StructLayout *SL = DL.getStructLayout(STy); in ComputeValueVTs()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1026 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()
|
D | CGRecordLayoutBuilder.cpp | 757 const llvm::StructLayout *SL = getDataLayout().getStructLayout(ST); in ComputeRecordLayout()
|
D | TargetInfo.cpp | 2636 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/ |
D | ArgumentPromotion.cpp | 154 const StructLayout *Layout = DL.getStructLayout(StructTy); in isDenselyPacked()
|
D | GlobalOpt.cpp | 493 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()
|
D | LowerBitSets.cpp | 560 const StructLayout *CombinedGlobalLayout = DL.getStructLayout(NewTy); in buildBitSetsFromGlobalVariables()
|