/external/llvm/lib/IR/ |
D | Operator.cpp | 33 Offset += APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in accumulateConstantOffset()
|
D | DataLayout.cpp | 746 Result += Layout->getElementOffset(FieldNo); in getIndexedOffset()
|
/external/llvm/include/llvm/IR/ |
D | DataLayout.h | 496 uint64_t getElementOffset(unsigned Idx) const { in getElementOffset() function 502 return getElementOffset(Idx) * 8; in getElementOffsetInBits()
|
/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 | 222 Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
|
/external/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 400 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()
|
D | ConstantFolding.cpp | 326 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()
|
D | InlineCost.cpp | 281 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
|
D | ScalarEvolutionExpander.cpp | 467 SE.getConstant(Ty, FullOffset - SL.getElementOffset(ElIdx)); in expandAddToGEP()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 1931 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/ |
D | TargetTransformInfoImpl.h | 441 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost()
|
/external/llvm/lib/Transforms/Scalar/ |
D | NaryReassociate.cpp | 333 BaseOffset += DL->getStructLayout(STy)->getElementOffset(Field); in isGEPFoldable()
|
D | StraightLineStrengthReduce.cpp | 268 BaseOffset += DL->getStructLayout(STy)->getElementOffset(Field); in isGEPFoldable()
|
D | ScalarReplAggregates.cpp | 1854 Offset -= Layout->getElementOffset(EltIdx); in TypeHasComponent() 2033 Offset -= Layout->getElementOffset(Idx); in FindElementAndOffset() 2250 EltOffset = DL.getStructLayout(ST)->getElementOffset(i); in RewriteMemIntrinUserOfAlloca()
|
D | SeparateConstOffsetFromGEP.cpp | 761 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()
|
D | SROA.cpp | 713 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()
|
D | MemCpyOptimizer.cpp | 62 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetOffsetFromIndex()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 98 StartingOffset + SL->getElementOffset(EI - EB)); in ComputeValueVTs()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1029 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()
|
D | TargetInfo.cpp | 2638 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/ |
D | AsmPrinter.cpp | 1978 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/ |
D | LowerBitSets.cpp | 566 GlobalLayout[Globals[I]] = CombinedGlobalLayout->getElementOffset(I * 2); in buildBitSetsFromGlobalVariables()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 1216 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i)); in InitializeMemory()
|
/external/llvm/lib/Target/Mips/ |
D | MipsFastISel.cpp | 442 TmpOffset += SL->getElementOffset(Idx); in computeAddress()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 523 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue()); in EvaluateGEPOffsetExpression() 553 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue()); in EvaluateGEPOffsetExpression()
|