Home
last modified time | relevance | path

Searched refs:ElIdx (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Analysis/
DConstantFolding.cpp686 unsigned ElIdx = SL.getElementContainingOffset(Offset.getZExtValue()); in SymbolicallyEvaluateGEP() local
688 ElIdx)); in SymbolicallyEvaluateGEP()
689 Offset -= APInt(BitWidth, SL.getElementOffset(ElIdx)); in SymbolicallyEvaluateGEP()
690 Ty = STy->getTypeAtIndex(ElIdx); in SymbolicallyEvaluateGEP()
DScalarEvolutionExpander.cpp439 unsigned ElIdx = SL.getElementContainingOffset(FullOffset); in expandAddToGEP() local
441 ConstantInt::get(Type::getInt32Ty(Ty->getContext()), ElIdx)); in expandAddToGEP()
442 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP()
444 SE.getConstant(Ty, FullOffset - SL.getElementOffset(ElIdx)); in expandAddToGEP()