Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetData.h339 uint64_t getElementOffset(unsigned Idx) const { in getElementOffset() function
345 return getElementOffset(Idx)*8; in getElementOffsetInBits()
/external/llvm/lib/IR/
DOperator.cpp39 Offset += APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in accumulateConstantOffset()
DDataLayout.cpp746 Result += Layout->getElementOffset(FieldNo); in getIndexedOffsetInType()
/external/llvm/include/llvm/IR/
DDataLayout.h494 uint64_t getElementOffset(unsigned Idx) const { in getElementOffset() function
500 return getElementOffset(Idx) * 8; in getElementOffsetInBits()
/external/swiftshader/third_party/LLVM/lib/Target/
DTarget.cpp103 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
DTargetData.cpp552 Result += Layout->getElementOffset(FieldNo); in getIndexedOffset()
/external/llvm/lib/Target/
DTarget.cpp140 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h217 Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp222 Offset += TD.getStructLayout(ST)->getElementOffset(CI->getZExtValue()); in IsConstantOffsetFromGlobal()
279 uint64_t CurEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
299 uint64_t NextEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
693 Offset -= APInt(BitWidth, SL.getElementOffset(ElIdx)); in SymbolicallyEvaluateGEP()
DValueTracking.cpp567 uint64_t Offset = SL->getElementOffset(Idx); in ComputeMaskedBits()
1507 Offset += TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetPointerBaseWithConstantOffset()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DAnalysis.cpp87 StartingOffset + SL->getElementOffset(EI - EB)); in ComputeValueVTs()
DELFWriter.cpp432 uint64_t padSize = ((i == e-1 ? Size : cvsLayout->getElementOffset(i+1)) in EmitGlobalConstantStruct()
433 - cvsLayout->getElementOffset(i)) - fieldSize; in EmitGlobalConstantStruct()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp423 DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
934 const uint64_t V1Off = SL->getElementOffset(C1->getZExtValue()); in aliasSameBasePointerGEPs()
935 const uint64_t V2Off = SL->getElementOffset(C2->getZExtValue()); in aliasSameBasePointerGEPs()
DConstantFolding.cpp333 uint64_t CurEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
353 uint64_t NextEltOffset = SL->getElementOffset(Index); in ReadDataFromGlobal()
889 Offset -= APInt(BitWidth, SL.getElementOffset(ElIdx)); in SymbolicallyEvaluateGEP()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DAddrModeMatcher.cpp229 ConstantOffset += SL->getElementOffset(Idx); in MatchOperationAddr()
/external/clang/lib/CodeGen/
DCGBuilder.h192 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index));
DCGCall.cpp1200 auto EltOffset = CharUnits::fromQuantity(Layout->getElementOffset(i)); in BuildAggStore()
2155 CharUnits::fromQuantity(ArgStructLayout->getElementOffset(FieldIndex)); in EmitFunctionProlog()
2350 auto Offset = CharUnits::fromQuantity(SrcLayout->getElementOffset(i)); in EmitFunctionProlog()
3548 CharUnits::fromQuantity(ArgMemoryLayout->getElementOffset(FieldIndex)); in EmitCall()
3761 auto Offset = CharUnits::fromQuantity(SrcLayout->getElementOffset(i)); in EmitCall()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1957 Bytes = DL.getStructLayout(ST)->getElementOffset(0) + in bufferAggregateConstant()
1959 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
1961 Bytes = DL.getStructLayout(ST)->getElementOffset(i + 1) - in bufferAggregateConstant()
1962 DL.getStructLayout(ST)->getElementOffset(i); in bufferAggregateConstant()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h477 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp564 auto EltAlign = MinAlign(Align, SL->getElementOffset(i)); in unpackLoadToAggregate()
1068 auto EltAlign = MinAlign(Align, SL->getElementOffset(i)); in unpackStoreToAggregate()
/external/llvm/lib/CodeGen/
DAnalysis.cpp97 StartingOffset + SL->getElementOffset(EI - EB)); in ComputeValueVTs()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1734 Offset -= Layout->getElementOffset(EltIdx); in TypeHasComponent()
1899 Offset -= Layout->getElementOffset(Idx); in FindElementAndOffset()
2086 EltOffset = TD->getStructLayout(ST)->getElementOffset(i); in RewriteMemIntrinUserOfAlloca()
DMemCpyOptimizer.cpp58 Offset += TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in GetOffsetFromIndex()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp424 Size = TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in EmitGEPOffset()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp761 DL->getStructLayout(StTy)->getElementOffset(Field); in accumulateByteOffset()

123