[VP] getVPMemoryOpCost interface
authorBardia Mahjour <bmahjour@ca.ibm.com>
Mon, 6 Dec 2021 16:22:25 +0000 (11:22 -0500)
committerBardia Mahjour <bmahjour@ca.ibm.com>
Mon, 6 Dec 2021 16:27:07 +0000 (11:27 -0500)
commitdfcfd14070bd75b33f57026ef0d1d1b83c64d787
tree1d81c423df93104da044ab6d076c421fb5442762
parentdcdb07abce278a65e1a8df164ce9b942da6ebd23
[VP] getVPMemoryOpCost interface

Added TTI queries for the cost of a VP Memory operation, and added Opcode,
DataType and Alignment to the hasActiveVectorLength() interface.

Reviewed By: Roland Froese

Differential Revision: https://reviews.llvm.org/D109416
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp