The SCEV ptrtoint expression matches llvm.cheri.cap.address.get and should expand to it.
cheri.cap.address.set(x, y) is equivalent to x + (-1)*(ptrtoint x) + y.
The SCEV ptrtoint expression matches llvm.cheri.cap.address.get and should expand to it.
cheri.cap.address.set(x, y) is equivalent to x + (-1)*(ptrtoint x) + y.