Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DDataLayout.h431 uint64_t getElementOffset(unsigned Idx) const { in getElementOffset() function
437 return getElementOffset(Idx)*8; in getElementOffsetInBits()
DOperator.h462 SL->getElementOffset(ElementIdx)); in accumulateConstantOffset()
/external/llvm/lib/Target/
DTarget.cpp129 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h211 Size = TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue());
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1910 Bytes = TD->getStructLayout(ST)->getElementOffset(0) + in bufferAggregateConstant()
1912 TD->getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
1914 Bytes = TD->getStructLayout(ST)->getElementOffset(i + 1) - in bufferAggregateConstant()
1915 TD->getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
/external/llvm/lib/Analysis/
DConstantFolding.cpp305 uint64_t CurEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
325 uint64_t NextEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
775 Offset -= APInt(BitWidth, SL.getElementOffset(ElIdx)); in SymbolicallyEvaluateGEP()
DValueTracking.cpp635 uint64_t Offset = SL->getElementOffset(Idx); in ComputeMaskedBits()
933 uint64_t ElementOffset = SL->getElementOffset(ElementIdx); in isGEPKnownNonNull()
DBasicAliasAnalysis.cpp341 BaseOffs += TD->getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
DScalarEvolutionExpander.cpp473 SE.getConstant(Ty, FullOffset - SL.getElementOffset(ElIdx)); in expandAddToGEP()
/external/llvm/lib/CodeGen/
DAnalysis.cpp86 StartingOffset + SL->getElementOffset(EI - EB)); in ComputeValueVTs()
/external/llvm/lib/IR/
DDataLayout.cpp652 Result += Layout->getElementOffset(FieldNo); in getIndexedOffset()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1839 Offset -= Layout->getElementOffset(EltIdx); in TypeHasComponent()
2016 Offset -= Layout->getElementOffset(Idx); in FindElementAndOffset()
2229 EltOffset = TD->getStructLayout(ST)->getElementOffset(i); in RewriteMemIntrinUserOfAlloca()
DMemCpyOptimizer.cpp58 Offset += TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetOffsetFromIndex()
DSROA.cpp1270 Offset -= APInt(Offset.getBitWidth(), SL->getElementOffset(Index)); in getNaturalGEPRecursively()
2929 Offset -= SL->getElementOffset(Index); in getTypePartition()
2958 if (SL->getElementOffset(EndIndex) != EndOffset) in getTypePartition()
DCodeGenPrepare.cpp1102 ConstantOffset += SL->getElementOffset(Idx); in MatchOperationAddr()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1749 uint64_t PadSize = ((i == e-1 ? Size : Layout->getElementOffset(i+1)) in emitGlobalConstantStruct()
1750 - Layout->getElementOffset(i)) - FieldSize; in emitGlobalConstantStruct()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp270 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp1149 InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i)); in InitializeMemory()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp487 TotalOffs += TD.getStructLayout(StTy)->getElementOffset(Field); in SelectGetElementPtr()
/external/clang/lib/CodeGen/
DTargetInfo.cpp1928 IROffset -= SL->getElementOffset(Elt); in ContainsFloatAtOffset()
2015 IROffset -= SL->getElementOffset(FieldIdx); in GetINTEGERTypeAtOffset()
2081 assert(TD.getStructLayout(Result)->getElementOffset(1) == 8 && in GetX86_64ByValArgumentPair()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp528 Offset += TD.getStructLayout(STy)->getElementOffset(CI->getZExtValue()); in EvaluateGEPOffsetExpression()
558 Offset += TD.getStructLayout(STy)->getElementOffset(CI->getZExtValue()); in EvaluateGEPOffsetExpression()
DInstructionCombining.cpp802 Offset -= SL->getElementOffset(Elt); in FindElementAtOffset()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1024 Total += SLO->getElementOffset(Index); in executeGEPOperation()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp431 Disp += SL->getElementOffset(cast<ConstantInt>(Op)->getZExtValue()); in X86SelectAddress()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp698 uint64_t FieldOffset = Layout.getElementOffset(i); in SRAGlobal()

12