/external/llvm/include/llvm/IR/ |
D | DataLayout.h | 489 uint64_t getElementOffset(unsigned Idx) const { in getElementOffset() function 495 return getElementOffset(Idx) * 8; in getElementOffsetInBits()
|
D | Operator.h | 471 SL->getElementOffset(ElementIdx)); in accumulateConstantOffset()
|
/external/llvm/lib/Target/ |
D | Target.cpp | 128 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 221 Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
|
/external/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 356 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()
|
D | ConstantFolding.cpp | 327 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()
|
D | ValueTracking.cpp | 1347 uint64_t Offset = SL->getElementOffset(Idx); in computeKnownBits() 1654 uint64_t ElementOffset = SL->getElementOffset(ElementIdx); in isGEPKnownNonNull()
|
D | ScalarEvolutionExpander.cpp | 454 SE.getConstant(Ty, FullOffset - SL.getElementOffset(ElIdx)); in expandAddToGEP()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 1900 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/ |
D | Analysis.cpp | 96 StartingOffset + SL->getElementOffset(EI - EB)); in ComputeValueVTs()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 263 BaseOffset += DL->getStructLayout(STy)->getElementOffset(Field); in isGEPFoldable()
|
D | SeparateConstOffsetFromGEP.cpp | 718 DL.getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
|
D | ScalarReplAggregates.cpp | 1853 Offset -= Layout->getElementOffset(EltIdx); in TypeHasComponent() 2032 Offset -= Layout->getElementOffset(Idx); in FindElementAndOffset() 2249 EltOffset = DL.getStructLayout(ST)->getElementOffset(i); in RewriteMemIntrinUserOfAlloca()
|
D | MemCpyOptimizer.cpp | 61 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetOffsetFromIndex()
|
D | SROA.cpp | 717 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/ |
D | DataLayout.cpp | 741 Result += Layout->getElementOffset(FieldNo); in getIndexedOffset()
|
/external/llvm/lib/Transforms/IPO/ |
D | LowerBitSets.cpp | 526 GlobalLayout[Globals[I]] = CombinedGlobalLayout->getElementOffset(I * 2); in buildBitSetsFromGlobals()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1965 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/ |
D | InlineCost.cpp | 263 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
|
/external/llvm/lib/Target/Mips/ |
D | MipsFastISel.cpp | 393 TmpOffset += SL->getElementOffset(Idx); in computeAddress()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 1194 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i)); in InitializeMemory()
|
/external/lldb/source/Expression/ |
D | IRForTarget.cpp | 1414 …if (!MaterializeInitializer(data + struct_layout->getElementOffset(i), struct_initializer->getOper… in MaterializeInitializer()
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 2316 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/ |
D | InstCombineCompares.cpp | 528 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue()); in EvaluateGEPOffsetExpression() 558 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue()); in EvaluateGEPOffsetExpression()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFastISel.cpp | 333 TmpOffset += SL->getElementOffset(Idx); in PPCComputeAddress()
|