/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Operator.cpp | 98 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment() 177 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)), in accumulateConstantOffset() 238 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 | 1013 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in getOffsetFromIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalSplit.cpp | 121 unsigned SplitBegin = SL->getElementOffset(I); in splitGlobal() 124 : 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 | 163 Offset - SL->getElementOffset(Op), M, in getPointerAtOffset()
|
H A D | ModuleSummaryAnalysis.cpp | 718 auto Offset = SL->getElementOffset(EI.index()); in findFuncPointers()
|
H A D | ConstantFolding.cpp | 462 uint64_t CurEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal() 482 uint64_t NextEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
|
H A D | BasicAliasAnalysis.cpp | 665 Decomposed.Offset += DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
|
/freebsd/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/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/clang/lib/CodeGen/ |
H A D | CGBuilder.h | 223 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index)); 417 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index)); in CreatePreserveStructAccessIndex()
|
H A D | CGDecl.cpp | 1067 unsigned CurOff = Layout->getElementOffset(i); in constStructWithPadding() 1259 CharUnits::fromQuantity(Layout->getElementOffset(i)); in emitStoresForConstant()
|
/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/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 | 565 MergedLayout->getElementOffset(StructIdxs[idx])); in doMerge()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1961 Bytes = DL.getStructLayout(ST)->getElementOffset(0) + in bufferAggregateConstant() 1963 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant() 1965 Bytes = DL.getStructLayout(ST)->getElementOffset(i + 1) - in bufferAggregateConstant() 1966 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFISelDAGToDAG.cpp | 456 uint64_t SizeSoFar = Layout->getElementOffset(i); in fillConstantStruct()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 743 commonAlignment(Align, SL->getElementOffset(i)), Name + ".unpack"); in unpackLoadToAggregate() 1268 auto EltAlign = commonAlignment(Align, SL->getElementOffset(i)); in unpackStoreToAggregate()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | X86.cpp | 2395 IROffset -= SL->getElementOffset(Elt); in getFPTypeAtOffset() 2506 IROffset -= SL->getElementOffset(FieldIdx); in GetINTEGERTypeAtOffset() 2574 assert(TD.getStructLayout(Result)->getElementOffset(1) == 8 && in GetX86_64ByValArgumentPair()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SeparateConstOffsetFromGEP.cpp | 855 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 1098 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFastISel.cpp | 283 TmpOffset += SL->getElementOffset(Idx); in computeAddress()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 1189 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i)); in InitializeMemory()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 3483 uint64_t PadSize = ((I == E - 1 ? Size : Layout->getElementOffset(I + 1)) - in emitGlobalConstantStruct() 3484 Layout->getElementOffset(I)) - in emitGlobalConstantStruct()
|