Searched refs:ElementIdx (Results 1 – 5 of 5) sorted by relevance
50 unsigned ElementIdx = OpC->getZExtValue(); in accumulateConstantOffset() local52 Offset += APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in accumulateConstantOffset()
504 unsigned ElementIdx = cast<ConstantInt>(GEP->getOperand(2))->getZExtValue(); in SRAGlobal() local505 if (NewGlobals.count(ElementIdx) == 1) in SRAGlobal()507 assert(NewGlobals.count(ElementIdx) == 0); in SRAGlobal()511 ElTy = STy->getElementType(ElementIdx); in SRAGlobal()516 Constant *In = Init->getAggregateElement(ElementIdx); in SRAGlobal()521 GV->getName() + "." + Twine(ElementIdx), GV->getThreadLocalMode(), in SRAGlobal()525 NewGlobals.insert(std::make_pair(ElementIdx, NGV)); in SRAGlobal()533 uint64_t FieldOffset = Layout.getElementOffset(ElementIdx); in SRAGlobal()536 Align(DL.getABITypeAlignment(STy->getElementType(ElementIdx)))) in SRAGlobal()541 uint64_t FragmentOffsetInBits = Layout.getElementOffsetInBits(ElementIdx); in SRAGlobal()[all …]
691 unsigned ElementIdx = OpC->getZExtValue(); in accumulateGEPOffset() local693 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
1954 unsigned ElementIdx = OpC->getZExtValue(); in isGEPKnownNonNull() local1956 uint64_t ElementOffset = SL->getElementOffset(ElementIdx); in isGEPKnownNonNull()
747 unsigned ElementIdx = OpC->getZExtValue(); in visitGetElementPtrInst() local750 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in visitGetElementPtrInst()