Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DOperator.cpp33 Offset += APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in accumulateConstantOffset()
DDataLayout.cpp746 Result += Layout->getElementOffset(FieldNo); in getIndexedOffset()
/external/llvm/include/llvm/IR/
DDataLayout.h496 uint64_t getElementOffset(unsigned Idx) const { in getElementOffset() function
502 return getElementOffset(Idx) * 8; in getElementOffsetInBits()
/external/llvm/lib/Target/
DTarget.cpp128 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h222 Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp400 BaseOffs += DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
866 const uint64_t V1Off = SL->getElementOffset(C1->getZExtValue()); in aliasSameBasePointerGEPs()
867 const uint64_t V2Off = SL->getElementOffset(C2->getZExtValue()); in aliasSameBasePointerGEPs()
DConstantFolding.cpp326 uint64_t CurEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
346 uint64_t NextEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
857 Offset -= APInt(BitWidth, SL.getElementOffset(ElIdx)); in SymbolicallyEvaluateGEP()
DInlineCost.cpp281 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
DScalarEvolutionExpander.cpp467 SE.getConstant(Ty, FullOffset - SL.getElementOffset(ElIdx)); in expandAddToGEP()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1931 Bytes = DL.getStructLayout(ST)->getElementOffset(0) + in bufferAggregateConstant()
1933 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
1935 Bytes = DL.getStructLayout(ST)->getElementOffset(i + 1) - in bufferAggregateConstant()
1936 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h441 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp333 BaseOffset += DL->getStructLayout(STy)->getElementOffset(Field); in isGEPFoldable()
DStraightLineStrengthReduce.cpp268 BaseOffset += DL->getStructLayout(STy)->getElementOffset(Field); in isGEPFoldable()
DScalarReplAggregates.cpp1854 Offset -= Layout->getElementOffset(EltIdx); in TypeHasComponent()
2033 Offset -= Layout->getElementOffset(Idx); in FindElementAndOffset()
2250 EltOffset = DL.getStructLayout(ST)->getElementOffset(i); in RewriteMemIntrinUserOfAlloca()
DSeparateConstOffsetFromGEP.cpp761 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
DSROA.cpp713 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in visitGetElementPtrInst()
1451 Offset -= APInt(Offset.getBitWidth(), SL->getElementOffset(Index)); in getNaturalGEPRecursively()
3270 Offset -= SL->getElementOffset(Index); in getTypePartition()
3299 if (SL->getElementOffset(EndIndex) != EndOffset) in getTypePartition()
DMemCpyOptimizer.cpp62 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetOffsetFromIndex()
/external/llvm/lib/CodeGen/
DAnalysis.cpp98 StartingOffset + SL->getElementOffset(EI - EB)); in ComputeValueVTs()
/external/clang/lib/CodeGen/
DCGCall.cpp1029 auto EltOffset = CharUnits::fromQuantity(Layout->getElementOffset(i)); in BuildAggStore()
1897 CharUnits::fromQuantity(ArgStructLayout->getElementOffset(FieldIndex)); in EmitFunctionProlog()
2073 auto Offset = CharUnits::fromQuantity(SrcLayout->getElementOffset(i)); in EmitFunctionProlog()
3201 CharUnits::fromQuantity(ArgMemoryLayout->getElementOffset(FieldIndex)); in EmitCall()
3391 auto Offset = CharUnits::fromQuantity(SrcLayout->getElementOffset(i)); in EmitCall()
DTargetInfo.cpp2638 IROffset -= SL->getElementOffset(Elt); in ContainsFloatAtOffset()
2725 IROffset -= SL->getElementOffset(FieldIdx); in GetINTEGERTypeAtOffset()
2794 assert(TD.getStructLayout(Result)->getElementOffset(1) == 8 && in GetX86_64ByValArgumentPair()
3246 getDataLayout().getStructLayout(ST)->getElementOffset(1)); in EmitVAArg()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1978 uint64_t PadSize = ((i == e-1 ? Size : Layout->getElementOffset(i+1)) in emitGlobalConstantStruct()
1979 - Layout->getElementOffset(i)) - FieldSize; in emitGlobalConstantStruct()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp566 GlobalLayout[Globals[I]] = CombinedGlobalLayout->getElementOffset(I * 2); in buildBitSetsFromGlobalVariables()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp1216 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i)); in InitializeMemory()
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp442 TmpOffset += SL->getElementOffset(Idx); in computeAddress()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp523 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue()); in EvaluateGEPOffsetExpression()
553 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue()); in EvaluateGEPOffsetExpression()

12