1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Analysis/CostModel/X86
Sam Parker bd45b479b7 [CostModel] Modify BasicTTI getCastInstrCost
Fix the assumption that all bitcasts of the same type sizes are free.
We now only assume that bitcasts between ints and ptrs of the same
size are free. This allows TTImpl to just call the concrete
implementation of getCastInstrCost.

Differential Revision: https://reviews.llvm.org/D78918
2020-05-13 07:26:08 +01:00
..
aggregates.ll
alternate-shuffle-cost.ll
arith-fix.ll [CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not add a split/join cost if source type and the destination type both have a SplitVector action 2020-05-01 18:55:23 -07:00
arith-fma.ll
arith-fp.ll [TTI] Add DemandedElts to getScalarizationOverhead 2020-04-29 12:00:38 +01:00
arith-overflow.ll [CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not add a split/join cost if source type and the destination type both have a SplitVector action 2020-05-01 18:55:23 -07:00
arith-ssat.ll
arith-usat.ll
arith.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
bitreverse.ll
bswap.ll
cast.ll [CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not add a split/join cost if source type and the destination type both have a SplitVector action 2020-05-01 18:55:23 -07:00
costmodel.ll
ctlz.ll
ctpop.ll
cttz.ll [CostModel][X86] Improve ISD::CTTZ costs accounting for BSF/TZCNT implementations 2020-03-13 16:51:13 +00:00
div.ll
extend.ll [CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not add a split/join cost if source type and the destination type both have a SplitVector action 2020-05-01 18:55:23 -07:00
fcmp.ll
fmaxnum.ll [X86][SSE] Add more accurate costs for fmaxnum/fminnum codegen 2020-03-10 11:59:40 +00:00
fminnum.ll [X86][SSE] Add more accurate costs for fmaxnum/fminnum codegen 2020-03-10 11:59:40 +00:00
fptosi.ll [CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not add a split/join cost if source type and the destination type both have a SplitVector action 2020-05-01 18:55:23 -07:00
fptoui.ll [CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not add a split/join cost if source type and the destination type both have a SplitVector action 2020-05-01 18:55:23 -07:00
fround.ll [TTI] Add DemandedElts to getScalarizationOverhead 2020-04-29 12:00:38 +01:00
fshl.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
fshr.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
gep.ll
i32.ll
icmp.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
insert-extract-at-zero.ll
interleave-load-i32.ll
interleave-store-i32.ll
interleaved-load-float.ll
interleaved-load-i8.ll
interleaved-load-store-double.ll
interleaved-load-store-i64.ll
interleaved-store-i8.ll
intrinsic-cost.ll [TTI] Add DemandedElts to getScalarizationOverhead 2020-04-29 12:00:38 +01:00
lit.local.cfg
load_store.ll [TTI] Add DemandedElts to getScalarizationOverhead 2020-04-29 12:00:38 +01:00
loop_v2.ll
masked-intrinsic-cost.ll [CostModel] Modify BasicTTI getCastInstrCost 2020-05-13 07:26:08 +01:00
min-legal-vector-width.ll [CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not add a split/join cost if source type and the destination type both have a SplitVector action 2020-05-01 18:55:23 -07:00
reduce-add.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
reduce-and.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
reduce-fmax.ll [X86] Improve min/max reduction costs. 2020-04-09 17:28:50 -07:00
reduce-fmin.ll [X86] Improve min/max reduction costs. 2020-04-09 17:28:50 -07:00
reduce-mul.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
reduce-or.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
reduce-smax.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
reduce-smin.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
reduce-umax.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
reduce-umin.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
reduce-xor.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
reduction.ll [X86] More accurately model the cost of horizontal reductions. 2020-03-22 14:20:15 -07:00
rem.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
scalarize.ll
shuffle-broadcast.ll [CostModel][X86] Add shuffle costs for some common sub-128bit vectors 2020-04-09 19:57:06 +01:00
shuffle-extract_subvector.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
shuffle-insert_subvector.ll [X86][CostModel] Bump the cost of vpermw/vpermt2b/vperm2w 2020-04-30 11:32:25 -07:00
shuffle-reverse.ll [X86][CostModel] Bump the cost of vpermw/vpermt2b/vperm2w 2020-04-30 11:32:25 -07:00
shuffle-single-src.ll [X86][CostModel] Bump the cost of vpermw/vpermt2b/vperm2w 2020-04-30 11:32:25 -07:00
shuffle-transpose.ll [X86][CostModel] Bump the cost of vpermw/vpermt2b/vperm2w 2020-04-30 11:32:25 -07:00
shuffle-two-src.ll [X86][CostModel] Bump the cost of vpermw/vpermt2b/vperm2w 2020-04-30 11:32:25 -07:00
sitofp.ll [CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not add a split/join cost if source type and the destination type both have a SplitVector action 2020-05-01 18:55:23 -07:00
size-cost.ll [x86] add size cost tests for casts and binops; NFC 2020-04-06 12:38:15 -04:00
slm-arith-costs.ll
sse-itoi.ll [X86][CostModel] Update truncate costs for some narrow vector cases to match their wider version. 2020-04-27 13:47:48 -07:00
strided-load-i8.ll [X86][CostModel] Bump the cost of vpermw/vpermt2b/vperm2w 2020-04-30 11:32:25 -07:00
strided-load-i16.ll [X86][CostModel] Bump the cost of vpermw/vpermt2b/vperm2w 2020-04-30 11:32:25 -07:00
strided-load-i32.ll
strided-load-i64.ll
testshiftashr.ll
testshiftlshr.ll
testshiftshl.ll
tiny.ll
trunc.ll [CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not add a split/join cost if source type and the destination type both have a SplitVector action 2020-05-01 18:55:23 -07:00
uitofp.ll [CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not add a split/join cost if source type and the destination type both have a SplitVector action 2020-05-01 18:55:23 -07:00
uniformshift.ll
vdiv-cost.ll
vector_gep.ll
vector-extract.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
vector-insert.ll [X86] Make v32i16/v64i8 legal types without avx512bw. Use custom splitting instead. 2020-04-15 12:17:18 -07:00
vectorized-loop.ll
vselect-cost.ll [CostModel][X86] Remove comments that begin with a filecheck prefix. 2020-04-13 18:39:24 +01:00
vshift-ashr-cost.ll [CostModel][X86] Improve extract/insert element costs (PR43605) 2020-02-27 15:54:13 +00:00
vshift-lshr-cost.ll [CostModel][X86] Improve extract/insert element costs (PR43605) 2020-02-27 15:54:13 +00:00
vshift-shl-cost.ll [CostModel][X86] Improve extract/insert element costs (PR43605) 2020-02-27 15:54:13 +00:00