Searched refs:GepInst (Results 1 – 2 of 2) 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()
748 GetElementPtrInst *GepInst = dyn_cast<GetElementPtrInst>(I); in instrumentGetElementPtr() local750 if (GepInst == nullptr || GepInst->getNumIndices() == 1) { in instrumentGetElementPtr()754 Type *SourceTy = GepInst->getSourceElementType(); in instrumentGetElementPtr()760 Idx = dyn_cast<ConstantInt>(GepInst->getOperand(1)); in instrumentGetElementPtr()767 for (unsigned i = 1; i < GepInst->getNumIndices(); ++i) { in instrumentGetElementPtr()768 SmallVector<Value *, 8> IdxVec(GepInst->idx_begin(), in instrumentGetElementPtr()769 GepInst->idx_begin() + i); in instrumentGetElementPtr()784 Idx = cast<ConstantInt>(GepInst->getOperand(i+1)); in instrumentGetElementPtr()