CostModel: initial checkin for code that estimates the cost of special shuffles.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171180 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem
2012-12-28 08:19:03 +00:00
parent 40ef8b7548
commit ae34b4280e
2 changed files with 18 additions and 0 deletions

View File

@@ -973,6 +973,8 @@ namespace llvm {
virtual unsigned getCastInstrCost(unsigned Opcode, Type *Dst,
Type *Src) const;
unsigned getShuffleCost(ShuffleKind Kind, Type *Tp, int Index) const;
};
}