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()
575 if (auto *GepInst = dyn_cast<GetElementPtrInst>(Ptr)) { in isHoistableLoad() local576 if (!hasVariantIndex(GepInst, L, R, SE)) { in isHoistableLoad()578 dyn_cast<LoadInst>(GepInst->getPointerOperand())) { in isHoistableLoad()