Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DDataLayout.h489 uint64_t getElementOffset(unsigned Idx) const { in getElementOffset() function
495 return getElementOffset(Idx) * 8; in getElementOffsetInBits()
DOperator.h471 SL->getElementOffset(ElementIdx)); in accumulateConstantOffset()
/external/llvm/lib/Target/
DTarget.cpp128 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h221 Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp356 BaseOffs += DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
962 const uint64_t V1Off = SL->getElementOffset(C1->getZExtValue()); in aliasSameBasePointerGEPs()
963 const uint64_t V2Off = SL->getElementOffset(C2->getZExtValue()); in aliasSameBasePointerGEPs()
DConstantFolding.cpp327 uint64_t CurEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
347 uint64_t NextEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
854 Offset -= APInt(BitWidth, SL.getElementOffset(ElIdx)); in SymbolicallyEvaluateGEP()
DValueTracking.cpp1347 uint64_t Offset = SL->getElementOffset(Idx); in computeKnownBits()
1654 uint64_t ElementOffset = SL->getElementOffset(ElementIdx); in isGEPKnownNonNull()
DScalarEvolutionExpander.cpp454 SE.getConstant(Ty, FullOffset - SL.getElementOffset(ElIdx)); in expandAddToGEP()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1900 Bytes = TD->getStructLayout(ST)->getElementOffset(0) + in bufferAggregateConstant()
1902 TD->getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
1904 Bytes = TD->getStructLayout(ST)->getElementOffset(i + 1) - in bufferAggregateConstant()
1905 TD->getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
/external/llvm/lib/CodeGen/
DAnalysis.cpp96 StartingOffset + SL->getElementOffset(EI - EB)); in ComputeValueVTs()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp263 BaseOffset += DL->getStructLayout(STy)->getElementOffset(Field); in isGEPFoldable()
DSeparateConstOffsetFromGEP.cpp718 DL.getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
DScalarReplAggregates.cpp1853 Offset -= Layout->getElementOffset(EltIdx); in TypeHasComponent()
2032 Offset -= Layout->getElementOffset(Idx); in FindElementAndOffset()
2249 EltOffset = DL.getStructLayout(ST)->getElementOffset(i); in RewriteMemIntrinUserOfAlloca()
DMemCpyOptimizer.cpp61 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetOffsetFromIndex()
DSROA.cpp717 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in visitGetElementPtrInst()
1665 Offset -= APInt(Offset.getBitWidth(), SL->getElementOffset(Index)); in getNaturalGEPRecursively()
3430 Offset -= SL->getElementOffset(Index); in getTypePartition()
3459 if (SL->getElementOffset(EndIndex) != EndOffset) in getTypePartition()
/external/llvm/lib/IR/
DDataLayout.cpp741 Result += Layout->getElementOffset(FieldNo); in getIndexedOffset()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp526 GlobalLayout[Globals[I]] = CombinedGlobalLayout->getElementOffset(I * 2); in buildBitSetsFromGlobals()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1965 uint64_t PadSize = ((i == e-1 ? Size : Layout->getElementOffset(i+1)) in emitGlobalConstantStruct()
1966 - Layout->getElementOffset(i)) - FieldSize; in emitGlobalConstantStruct()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp263 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp393 TmpOffset += SL->getElementOffset(Idx); in computeAddress()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp1194 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i)); in InitializeMemory()
/external/lldb/source/Expression/
DIRForTarget.cpp1414 …if (!MaterializeInitializer(data + struct_layout->getElementOffset(i), struct_initializer->getOper… in MaterializeInitializer()
/external/clang/lib/CodeGen/
DTargetInfo.cpp2316 IROffset -= SL->getElementOffset(Elt); in ContainsFloatAtOffset()
2403 IROffset -= SL->getElementOffset(FieldIdx); in GetINTEGERTypeAtOffset()
2469 assert(TD.getStructLayout(Result)->getElementOffset(1) == 8 && in GetX86_64ByValArgumentPair()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp528 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue()); in EvaluateGEPOffsetExpression()
558 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue()); in EvaluateGEPOffsetExpression()
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp333 TmpOffset += SL->getElementOffset(Idx); in PPCComputeAddress()

12