Lines Matching refs:GEP
119 // Reassociate GEP for better CSE.
120 Instruction *tryReassociateGEP(GetElementPtrInst *GEP);
122 // Try splitting GEP at the I-th index and see whether either part can be
125 // \p IndexedType The element type indexed by GEP's I-th index. This is
127 // GEP->getIndexedType(GEP->getPointerOperand(), 0-th index,
129 GetElementPtrInst *tryReassociateGEPAtIndex(GetElementPtrInst *GEP,
132 // Given GEP's I-th index = LHS + RHS, see whether &Base[..][LHS][..] or
133 // &Base[..][RHS][..] can be CSE'ed and rewrite GEP accordingly.
134 GetElementPtrInst *tryReassociateGEPAtIndex(GetElementPtrInst *GEP,
163 // GEP's pointer size, i.e., whether Index needs to be sign-extended in order
164 // to be an index of GEP.
165 bool requiresSignExtension(Value *Index, GetElementPtrInst *GEP);