Implemented data locality for Swift

Change-Id: I13b15b9fabc6007d4218dd52cc123fa10c46dd45
Merge "Implemented data locality for Swift"