| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 84 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment() 154 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)), in accumulateConstantOffset() 215 CollectConstantOffset(APInt(BitWidth, SL->getElementOffset(ElementIdx)), in collectOffset()
|
| H A D | DataLayout.cpp | 937 Result += Layout->getElementOffset(FieldNo); in getIndexedOffsetInType() 989 Offset -= SL->getElementOffset(Index); in getGEPIndexForOffset()
|
| H A D | Value.cpp | 1012 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in getOffsetFromIndex()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalSplit.cpp | 83 unsigned SplitBegin = SL->getElementOffset(I); in splitGlobal() 86 : SL->getElementOffset(I + 1); in splitGlobal()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Local.cpp | 50 uint64_t Size = DL.getStructLayout(STy)->getElementOffset(OpValue); in emitGEPOffset()
|
| H A D | TypeMetadataUtils.cpp | 149 Offset - SL->getElementOffset(Op), M, in getPointerAtOffset()
|
| H A D | ModuleSummaryAnalysis.cpp | 675 auto Offset = SL->getElementOffset(EI.index()); in findFuncPointers()
|
| H A D | BasicAliasAnalysis.cpp | 634 Decomposed.Offset += DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
|
| H A D | ConstantFolding.cpp | 462 uint64_t CurEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal() 482 uint64_t NextEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 651 TypeSize getElementOffset(unsigned Idx) const { in getElementOffset() function 657 return getElementOffset(Idx) * 8; in getElementOffsetInBits()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ |
| H A D | Target.cpp | 136 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuilder.h | 177 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index)); 347 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index)); in CreatePreserveStructAccessIndex()
|
| H A D | CGDecl.cpp | 1065 unsigned CurOff = Layout->getElementOffset(i); in constStructWithPadding() 1257 CharUnits::fromQuantity(Layout->getElementOffset(i)); in emitStoresForConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroEarly.cpp | 70 DL.getStructLayout(SampleStruct)->getElementOffset(2), Alignment); in lowerCoroPromise()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | Analysis.cpp | 95 TypeSize EltOffset = SL ? SL->getElementOffset(EI - EB) in ComputeValueVTs() 189 uint64_t EltOffset = SL ? SL->getElementOffset(I) : 0; in computeValueLLTs()
|
| H A D | GlobalMerge.cpp | 546 MergedLayout->getElementOffset(StructIdxs[idx])); in doMerge()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1942 Bytes = DL.getStructLayout(ST)->getElementOffset(0) + in bufferAggregateConstant() 1944 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant() 1946 Bytes = DL.getStructLayout(ST)->getElementOffset(i + 1) - in bufferAggregateConstant() 1947 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 449 uint64_t SizeSoFar = Layout->getElementOffset(i); in fillConstantStruct()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 744 commonAlignment(Align, SL->getElementOffset(i)), Name + ".unpack"); in unpackLoadToAggregate() 1269 auto EltAlign = commonAlignment(Align, SL->getElementOffset(i)); in unpackStoreToAggregate()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 855 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
|
| H A D | SROA.cpp | 1125 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in visitGetElementPtrInst() 4193 Offset -= SL->getElementOffset(Index); in getTypePartition() 4222 if (SL->getElementOffset(EndIndex) != EndOffset) in getTypePartition()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | X86.cpp | 2377 IROffset -= SL->getElementOffset(Elt); in getFPTypeAtOffset() 2488 IROffset -= SL->getElementOffset(FieldIdx); in GetINTEGERTypeAtOffset() 2556 assert(TD.getStructLayout(Result)->getElementOffset(1) == 8 && in GetX86_64ByValArgumentPair()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1055 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 279 TmpOffset += SL->getElementOffset(Idx); in computeAddress()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 1189 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i)); in InitializeMemory()
|