Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp85 unsigned SplitBegin = SL->getElementOffset(I); in splitGlobal()
88 : SL->getElementOffset(I + 1); in splitGlobal()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DOperator.cpp53 Offset += APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in accumulateConstantOffset()
H A DDataLayout.cpp804 Result += Layout->getElementOffset(FieldNo); in getIndexedOffsetInType()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDataLayout.h551 uint64_t getElementOffset(unsigned Idx) const { in getElementOffset() function
557 return getElementOffset(Idx) * 8; in getElementOffsetInBits()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/Utils/
H A DLocal.h59 Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
/freebsd-12.1/contrib/llvm/lib/Target/
H A DTarget.cpp140 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroEarly.cpp75 DL.getStructLayout(SampleStruct)->getElementOffset(2), Alignement); in lowerCoroPromise()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1979 Bytes = DL.getStructLayout(ST)->getElementOffset(0) + in bufferAggregateConstant()
1981 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
1983 Bytes = DL.getStructLayout(ST)->getElementOffset(i + 1) - in bufferAggregateConstant()
1984 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuilder.h181 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index));
H A DCGCall.cpp1283 auto EltOffset = CharUnits::fromQuantity(Layout->getElementOffset(i)); in BuildAggStore()
2317 CharUnits::fromQuantity(ArgStructLayout->getElementOffset(FieldIndex)); in EmitFunctionProlog()
2496 auto Offset = CharUnits::fromQuantity(SrcLayout->getElementOffset(i)); in EmitFunctionProlog()
3852 CharUnits::fromQuantity(ArgMemoryLayout->getElementOffset(FieldIndex)); in EmitCall()
4105 auto Offset = CharUnits::fromQuantity(SrcLayout->getElementOffset(i)); in EmitCall()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp512 DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
1182 const uint64_t V1Off = SL->getElementOffset(C1->getZExtValue()); in aliasSameBasePointerGEPs()
1183 const uint64_t V2Off = SL->getElementOffset(C2->getZExtValue()); in aliasSameBasePointerGEPs()
H A DConstantFolding.cpp422 uint64_t CurEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
442 uint64_t NextEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
955 Offset -= APInt(BitWidth, SL.getElementOffset(ElIdx)); in SymbolicallyEvaluateGEP()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DGlobalMerge.cpp533 MergedLayout->getElementOffset(StructIdxs[idx])); in doMerge()
H A DAnalysis.cpp96 StartingOffset + SL->getElementOffset(EI - EB)); in ComputeValueVTs()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp727 auto EltAlign = MinAlign(Align, SL->getElementOffset(i)); in unpackLoadToAggregate()
1256 auto EltAlign = MinAlign(Align, SL->getElementOffset(i)); in unpackStoreToAggregate()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp488 uint64_t SizeSoFar = Layout->getElementOffset(i); in fillConstantStruct()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h749 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp807 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
H A DSROA.cpp750 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in visitGetElementPtrInst()
1493 Offset -= APInt(Offset.getBitWidth(), SL->getElementOffset(Index)); in getNaturalGEPRecursively()
3488 Offset -= SL->getElementOffset(Index); in getTypePartition()
3517 if (SL->getElementOffset(EndIndex) != EndOffset) in getTypePartition()
H A DMemCpyOptimizer.cpp91 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetOffsetFromIndex()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DEfficiencySanitizer.cpp353 DL.getStructLayout(StructTy)->getElementOffset(i))); in createCacheFragAuxGV()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp164 StartingOffset + SL->getElementOffset(I)); in computeValueLLTs()
664 Offset += DL->getStructLayout(StTy)->getElementOffset(Field); in translateGetElementPtr()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2410 uint64_t PadSize = ((i == e-1 ? Size : Layout->getElementOffset(i+1)) in emitGlobalConstantStruct()
2411 - Layout->getElementOffset(i)) - FieldSize; in emitGlobalConstantStruct()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp274 TmpOffset += SL->getElementOffset(Idx); in computeAddress()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp1217 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i)); in InitializeMemory()

12