Lines Matching refs:GepI
106 bool isHandledGepForm(GetElementPtrInst *GepI);
107 void processGepInst(GetElementPtrInst *GepI, ValueToNodeMap &NM);
311 bool HexagonCommonGEP::isHandledGepForm(GetElementPtrInst *GepI) { in isHandledGepForm() argument
313 if (!GepI->getType()->isPointerTy()) in isHandledGepForm()
316 if (GepI->idx_begin() == GepI->idx_end()) in isHandledGepForm()
322 void HexagonCommonGEP::processGepInst(GetElementPtrInst *GepI, in processGepInst() argument
324 DEBUG(dbgs() << "Visiting GEP: " << *GepI << '\n'); in processGepInst()
326 Value *PtrOp = GepI->getPointerOperand(); in processGepInst()
338 N->Idx = *GepI->idx_begin(); in processGepInst()
343 for (Value::user_iterator UI = GepI->user_begin(), UE = GepI->user_end(); in processGepInst()
361 for (User::op_iterator OI = GepI->idx_begin()+1, OE = GepI->idx_end(); in processGepInst()
384 NM.insert(std::make_pair(GepI, PN)); in processGepInst()
402 GetElementPtrInst *GepI = cast<GetElementPtrInst>(J); in collect() local
403 if (isHandledGepForm(GepI)) in collect()
404 processGepInst(GepI, NM); in collect()