Searched refs:GepInst (Results 1 – 1 of 1) sorted by relevance
734 GetElementPtrInst *GepInst = dyn_cast<GetElementPtrInst>(I); in instrumentGetElementPtr() local736 if (GepInst == nullptr || GepInst->getNumIndices() == 1) { in instrumentGetElementPtr()740 Type *SourceTy = GepInst->getSourceElementType(); in instrumentGetElementPtr()746 Idx = dyn_cast<ConstantInt>(GepInst->getOperand(1)); in instrumentGetElementPtr()753 for (unsigned i = 1; i < GepInst->getNumIndices(); ++i) { in instrumentGetElementPtr()754 SmallVector<Value *, 8> IdxVec(GepInst->idx_begin(), in instrumentGetElementPtr()755 GepInst->idx_begin() + i); in instrumentGetElementPtr()770 Idx = cast<ConstantInt>(GepInst->getOperand(i+1)); in instrumentGetElementPtr()