HomePhabricator

[CodeGen] Refactor getMemBasePlusOffset & getObjectPtrOffset to accept a…

Authored by kmclaughlin on Aug 11 2020, 3:38 AM.

Description

[CodeGen] Refactor getMemBasePlusOffset & getObjectPtrOffset to accept a TypeSize

Changes the Offset arguments to both functions from int64_t to TypeSize
& updates all uses of the functions to create the offset using TypeSize::Fixed()

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D85220