Home
last modified time | relevance | path

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

123

/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DOperator.cpp45 const StructLayout *SL = DL.getStructLayout(STy); in getMaxPreservedAlignment()
117 const StructLayout *SL = DL.getStructLayout(STy); in accumulateConstantOffset()
180 const StructLayout *SL = DL.getStructLayout(STy); in collectOffset()
DDataLayout.cpp671 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const { in getStructLayout() function in DataLayout
759 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); in getAlignment()
889 const StructLayout *Layout = getStructLayout(STy); in getIndexedOffsetInType()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/
DTarget.cpp135 return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset); in LLVMElementAtOffset()
141 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
DLocal.h57 Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DDataLayout.h586 const StructLayout *getStructLayout(StructType *Ty) const;
670 getStructLayout(cast<StructType>(Ty))->getSizeInBits()); in getTypeSizeInBits()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DGlobalSplit.cpp72 const StructLayout *SL = DL.getStructLayout(Init->getType()); in splitGlobal()
DArgumentPromotion.cpp267 const StructLayout *SL = DL.getStructLayout(STy); in doPromotion()
397 const StructLayout *SL = DL.getStructLayout(STy); in doPromotion()
789 const StructLayout *Layout = DL.getStructLayout(StructTy); in isDenselyPacked()
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGBuilder.h193 const llvm::StructLayout *Layout = DL.getStructLayout(ElTy);
329 const llvm::StructLayout *Layout = DL.getStructLayout(ElTy); in CreatePreserveStructAccessIndex()
DCGRecordLayoutBuilder.cpp948 const llvm::StructLayout *SL = getDataLayout().getStructLayout(ST); in ComputeRecordLayout()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DTypeMetadataUtils.cpp139 const StructLayout *SL = DL.getStructLayout(C->getType()); in getPointerAtOffset()
DModuleSummaryAnalysis.cpp507 const StructLayout *SL = DL.getStructLayout(C->getType()); in findFuncPointers()
DMemoryBuiltins.cpp360 ElementSize = DL.getStructLayout(ST)->getSizeInBytes(); in computeArraySize()
DBasicAliasAnalysis.cpp526 Decomposed.Offset += DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp356 DL.getStructLayout(cast<StructType>(CS->getType()))->getSizeInBytes(); in getConstantFieldValue()
453 const StructLayout *Layout = DL.getStructLayout(CS->getType()); in fillConstantStruct()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroEarly.cpp69 DL.getStructLayout(SampleStruct)->getElementOffset(2), Alignment); in lowerCoroPromise()
DCoroFrame.cpp768 auto Layout = DL.getStructLayout(Ty); in finish()
887 Layout.getStructLayout(StructTy)->getElementOffsetInBits(I), in solveDIType()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DAnalysis.cpp92 const StructLayout *SL = Offsets ? DL.getStructLayout(STy) : nullptr; in ComputeValueVTs()
141 const StructLayout *SL = Offsets ? DL.getStructLayout(STy) : nullptr; in computeValueLLTs()
DGlobalMerge.cpp525 const StructLayout *MergedLayout = DL.getStructLayout(MergedTy); in doMerge()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULowerModuleLDSPass.cpp314 uint64_t Off = DL.getStructLayout(LDSTy)->getElementOffset(I); in processUsedLDS()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1941 Bytes = DL.getStructLayout(ST)->getElementOffset(0) + in bufferAggregateConstant()
1943 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
1945 Bytes = DL.getStructLayout(ST)->getElementOffset(i + 1) - in bufferAggregateConstant()
1946 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp662 auto *SL = DL.getStructLayout(ST); in unpackLoadToAggregate()
1187 auto *SL = DL.getStructLayout(ST); in unpackStoreToAggregate()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DSROA.cpp742 const StructLayout *SL = DL.getStructLayout(STy); in visitGetElementPtrInst()
1520 const StructLayout *SL = DL.getStructLayout(STy); in getNaturalGEPRecursively()
3644 const StructLayout *SL = DL.getStructLayout(STy); in stripAggregateTypeWrapping()
3721 const StructLayout *SL = DL.getStructLayout(STy); in getTypePartition()
3768 const StructLayout *SubSL = DL.getStructLayout(SubTy); in getTypePartition()
DSeparateConstOffsetFromGEP.cpp839 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h894 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp276 const StructLayout *SL = DL.getStructLayout(STy); in computeAddress()

123