| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 100 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment() 183 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)), in accumulateConstantOffset() 247 CollectConstantOffset(APInt(BitWidth, SL->getElementOffset(ElementIdx)), in collectOffset()
|
| H A D | DataLayout.cpp | 909 Result += Layout->getElementOffset(FieldNo); in getIndexedOffsetInType() 961 Offset -= SL->getElementOffset(Index); in getGEPIndexForOffset()
|
| H A D | Value.cpp | 1041 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in getOffsetFromIndex()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalSplit.cpp | 120 unsigned SplitBegin = SL->getElementOffset(I); in splitGlobal() 123 : SL->getElementOffset(I + 1); in splitGlobal()
|
| /freebsd/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 | 168 Offset - SL->getElementOffset(Op), M, in getPointerAtOffset()
|
| H A D | ModuleSummaryAnalysis.cpp | 767 auto Offset = SL->getElementOffset(EI.index()); in findFuncPointers()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 657 TypeSize getElementOffset(unsigned Idx) const { in getElementOffset() function 663 return getElementOffset(Idx) * 8; in getElementOffsetInBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ |
| H A D | Target.cpp | 137 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 746 Addr, IC.Builder.CreateTypeSize(IdxType, SL->getElementOffset(i)), in unpackLoadToAggregate() 750 commonAlignment(Align, SL->getElementOffset(i).getKnownMinValue()), in unpackLoadToAggregate() 1301 Addr, IC.Builder.CreateTypeSize(IdxType, SL->getElementOffset(i)), in unpackStoreToAggregate() 1305 commonAlignment(Align, SL->getElementOffset(i).getKnownMinValue()); in unpackStoreToAggregate()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuilder.h | 228 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index)); 423 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index)); in CreatePreserveStructAccessIndex()
|
| H A D | CGDecl.cpp | 1059 unsigned CurOff = Layout->getElementOffset(i); in constStructWithPadding() 1254 CharUnits::fromQuantity(Layout->getElementOffset(i)); in emitStoresForConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | Analysis.cpp | 99 SL ? SL->getElementOffset(EI - EB) : TypeSize::getZero(); in ComputeValueVTs() 152 uint64_t EltOffset = SL ? SL->getElementOffset(I) : 0; in computeValueLLTs()
|
| H A D | GlobalMerge.cpp | 579 MergedLayout->getElementOffset(StructIdxs[idx])); in doMerge()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroEarly.cpp | 70 DL.getStructLayout(SampleStruct)->getElementOffset(2), Alignment); in lowerCoroPromise()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1710 ? DL.getStructLayout(ST)->getElementOffset(0) + in bufferAggregateConstant() 1712 : DL.getStructLayout(ST)->getElementOffset(I + 1); in bufferAggregateConstant() 1713 int Bytes = EndOffset - DL.getStructLayout(ST)->getElementOffset(I); in bufferAggregateConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 452 uint64_t SizeSoFar = Layout->getElementOffset(i); in fillConstantStruct()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/ |
| H A D | CIRTypes.cpp | 359 uint64_t RecordType::getElementOffset(const ::mlir::DataLayout &dataLayout, in getElementOffset() function in RecordType
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | X86.cpp | 2411 IROffset -= SL->getElementOffset(Elt); in getFPTypeAtOffset() 2522 IROffset -= SL->getElementOffset(FieldIdx); in GetINTEGERTypeAtOffset() 2590 assert(TD.getStructLayout(Result)->getElementOffset(1) == 8 && in GetX86_64ByValArgumentPair()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 885 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/ |
| H A D | CIRTypes.td | 614 uint64_t getElementOffset(const mlir::DataLayout &dataLayout,
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 3834 uint64_t PadSize = ((I == E - 1 ? Size : Layout->getElementOffset(I + 1)) - in emitGlobalConstantStruct() 3835 Layout->getElementOffset(I)) - in emitGlobalConstantStruct() 4063 uint64_t GapToNext = Layout->getElementOffset(i + 1) - SizeSoFar; in emitGlobalConstantImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 277 TmpOffset += SL->getElementOffset(Idx); in computeAddress()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 1185 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i)); in InitializeMemory()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1270 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost()
|