Home
last modified time | relevance | path

Searched refs:getElementOffset (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp98 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 DDataLayout.cpp937 Result += Layout->getElementOffset(FieldNo); in getIndexedOffsetInType()
989 Offset -= SL->getElementOffset(Index); in getGEPIndexForOffset()
H A DValue.cpp1013 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in getOffsetFromIndex()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp121 unsigned SplitBegin = SL->getElementOffset(I); in splitGlobal()
124 : SL->getElementOffset(I + 1); in splitGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLocal.cpp50 uint64_t Size = DL.getStructLayout(STy)->getElementOffset(OpValue); in emitGEPOffset()
H A DTypeMetadataUtils.cpp163 Offset - SL->getElementOffset(Op), M, in getPointerAtOffset()
H A DModuleSummaryAnalysis.cpp718 auto Offset = SL->getElementOffset(EI.index()); in findFuncPointers()
H A DConstantFolding.cpp462 uint64_t CurEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
482 uint64_t NextEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
H A DBasicAliasAnalysis.cpp665 Decomposed.Offset += DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h651 TypeSize getElementOffset(unsigned Idx) const { in getElementOffset() function
657 return getElementOffset(Idx) * 8; in getElementOffsetInBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTarget.cpp137 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h223 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index));
417 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index)); in CreatePreserveStructAccessIndex()
H A DCGDecl.cpp1067 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 DCoroEarly.cpp70 DL.getStructLayout(SampleStruct)->getElementOffset(2), Alignment); in lowerCoroPromise()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp99 SL ? SL->getElementOffset(EI - EB) : TypeSize::getZero(); in ComputeValueVTs()
152 uint64_t EltOffset = SL ? SL->getElementOffset(I) : 0; in computeValueLLTs()
H A DGlobalMerge.cpp565 MergedLayout->getElementOffset(StructIdxs[idx])); in doMerge()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1961 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 DBPFISelDAGToDAG.cpp456 uint64_t SizeSoFar = Layout->getElementOffset(i); in fillConstantStruct()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp743 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 DX86.cpp2395 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 DSeparateConstOffsetFromGEP.cpp855 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h1098 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp283 TmpOffset += SL->getElementOffset(Idx); in computeAddress()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp1189 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i)); in InitializeMemory()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3483 uint64_t PadSize = ((I == E - 1 ? Size : Layout->getElementOffset(I + 1)) - in emitGlobalConstantStruct()
3484 Layout->getElementOffset(I)) - in emitGlobalConstantStruct()

12