| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 46 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment() 120 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)), in accumulateConstantOffset() 182 CollectConstantOffset(APInt(BitWidth, SL->getElementOffset(ElementIdx)), in collectOffset()
|
| H A D | DataLayout.cpp | 892 Result += Layout->getElementOffset(FieldNo); in getIndexedOffsetInType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalSplit.cpp | 85 unsigned SplitBegin = SL->getElementOffset(I); in splitGlobal() 88 : SL->getElementOffset(I + 1); in splitGlobal()
|
| H A D | ArgumentPromotion.cpp | 275 commonAlignment(StructAlign, SL->getElementOffset(i)); in doPromotion() 405 Align Alignment = commonAlignment(StructAlign, SL->getElementOffset(i)); in doPromotion()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/ |
| H A D | Local.h | 57 Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 634 uint64_t getElementOffset(unsigned Idx) const { in getElementOffset() function 640 return getElementOffset(Idx) * 8; in getElementOffsetInBits()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ |
| H A D | Target.cpp | 141 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuilder.h | 193 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index)); 329 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index)); in CreatePreserveStructAccessIndex()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeMetadataUtils.cpp | 145 Offset - SL->getElementOffset(Op), M); in getPointerAtOffset()
|
| H A D | ModuleSummaryAnalysis.cpp | 510 auto Offset = SL->getElementOffset(EI.index()); in findFuncPointers()
|
| H A D | ConstantFolding.cpp | 475 uint64_t CurEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal() 495 uint64_t NextEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal() 1044 Offset -= APInt(BitWidth, SL.getElementOffset(ElIdx)); in SymbolicallyEvaluateGEP()
|
| H A D | BasicAliasAnalysis.cpp | 526 Decomposed.Offset += DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroEarly.cpp | 69 DL.getStructLayout(SampleStruct)->getElementOffset(2), Alignment); in lowerCoroPromise()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | Analysis.cpp | 98 uint64_t EltOffset = SL ? SL->getElementOffset(EI - EB) : 0; in ComputeValueVTs() 143 uint64_t EltOffset = SL ? SL->getElementOffset(I) : 0; in computeValueLLTs()
|
| H A D | GlobalMerge.cpp | 536 MergedLayout->getElementOffset(StructIdxs[idx])); in doMerge()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerModuleLDSPass.cpp | 314 uint64_t Off = DL.getStructLayout(LDSTy)->getElementOffset(I); in processUsedLDS()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1941 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-13.1/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 456 uint64_t SizeSoFar = Layout->getElementOffset(i); in fillConstantStruct()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 681 commonAlignment(Align, SL->getElementOffset(i)), Name + ".unpack"); in unpackLoadToAggregate() 1209 auto EltAlign = commonAlignment(Align, SL->getElementOffset(i)); in unpackStoreToAggregate()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 839 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
|
| H A D | SROA.cpp | 744 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in visitGetElementPtrInst() 1525 Offset -= APInt(Offset.getBitWidth(), SL->getElementOffset(Index)); in getNaturalGEPRecursively() 3729 Offset -= SL->getElementOffset(Index); in getTypePartition() 3758 if (SL->getElementOffset(EndIndex) != EndOffset) in getTypePartition()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 894 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 278 TmpOffset += SL->getElementOffset(Idx); in computeAddress()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 1163 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i)); in InitializeMemory()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 2783 uint64_t PadSize = ((i == e-1 ? Size : Layout->getElementOffset(i+1)) in emitGlobalConstantStruct() 2784 - Layout->getElementOffset(i)) - FieldSize; in emitGlobalConstantStruct()
|