llvm-project/llvm/lib
Florian Hahn 9e778e6c73 [LV] Move getScalarizationOverhead and vector call cost computations to CM. (NFC)
This reduces the number of parameters we need to pass in and they seem a
natural fit in LoopVectorizationCostModel. Also simplifies things for
D59995.

As a follow up refactoring, we could only expose a expose a
shouldUseVectorIntrinsic() helper in LoopVectorizationCostModel, instead
of calling getVectorCallCost/getVectorIntrinsicCost in
InnerLoopVectorizer/VPRecipeBuilder.

Reviewers: Ayal, hsaito, dcaballe, rengolin

Reviewed By: rengolin

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

llvm-svn: 360758
2019-05-15 10:05:49 +00:00
..
Analysis [LVI][CVP] Add support for abs/nabs select pattern flavor 2019-05-14 18:53:47 +00:00
AsmParser Fix uninitialized variable analyzer warning. NFCI. 2019-05-11 11:08:24 +00:00
BinaryFormat [XCOFF] Add functionality for parsing AIX XCOFF object file headers 2019-04-04 00:53:21 +00:00
Bitcode [IR] Disallow llvm.global_ctors and llvm.global_dtors of the 2-field form in textual format 2019-05-15 02:35:32 +00:00
CodeGen [[DAGCombiner][NFC] Add a comment. 2019-05-15 08:21:18 +00:00
DebugInfo DebugInfo: Only move types out of type units if they're named or type united 2019-05-10 19:15:29 +00:00
Demangle llvm-undname: Fix assert-on->4GiB-string-literal, found by oss-fuzz 2019-04-24 16:09:38 +00:00
ExecutionEngine [JITLink][MachO] Honor the no-dead-strip flag on nlist entries. 2019-05-13 20:52:30 +00:00
FuzzMutate [opaque pointer types] Pass value type to LoadInst creation. 2019-02-01 20:44:24 +00:00
Fuzzer
IR [IR] Disallow llvm.global_ctors and llvm.global_dtors of the 2-field form in textual format 2019-05-15 02:35:32 +00:00
IRReader [IRReader] Expose getLazyIRModule 2019-02-11 22:01:13 +00:00
LTO [ThinLTO] Don't internalize weak writeable variables 2019-05-13 11:53:05 +00:00
LineEditor Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Linker [Linker] Fix crash handling appending linkage 2019-03-20 19:20:07 +00:00
MC [MC][ELF] Copy top 3 bits of st_other to .symver aliases 2019-05-10 17:09:25 +00:00
MCA [MCA] Remove dead assignment. NFC 2019-05-08 10:28:56 +00:00
Object AArch64: support binutils-like things on arm64_32. 2019-05-14 11:25:44 +00:00
ObjectYAML [COFF] Fix .bss section size bug in obj2yaml / yaml2obj 2019-05-10 21:53:44 +00:00
Option Option spell checking: Penalize delimiter flags if input has no argument 2019-05-01 16:45:15 +00:00
Passes [NewPM] Port HWASan and Kernel HWASan 2019-05-14 21:17:21 +00:00
ProfileData Fix a few -Werror warnings: 2019-04-30 21:44:21 +00:00
Remarks [Remarks] Add string deduplication using a string table 2019-04-24 00:06:24 +00:00
Support [APFloat] APFloat::Storage::Storage - fix use after move 2019-05-14 14:13:30 +00:00
TableGen TableGen: support #ifndef in addition to #ifdef. 2019-05-14 13:04:25 +00:00
Target [X86] Use OR32mi8Locked instead of LOCK_OR32mi8 in emitLockedStackOp. 2019-05-15 04:15:46 +00:00
Testing [Testing] Move clangd::Annotations to llvm testing support 2019-04-25 10:08:31 +00:00
TextAPI [TextAPI] Fix Symbol::dump which was failing to append the SymbolKind string. 2019-04-29 18:25:04 +00:00
ToolDrivers [llvm-ar][libObject] Fix relative paths when nesting thin archives. 2019-02-13 23:39:41 +00:00
Transforms [LV] Move getScalarizationOverhead and vector call cost computations to CM. (NFC) 2019-05-15 10:05:49 +00:00
WindowsManifest Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
XRay Use llvm::stable_sort 2019-04-23 14:51:27 +00:00
CMakeLists.txt [OptRemarks] Make OptRemarks more generic: rename OptRemarks to Remarks 2019-03-05 20:45:17 +00:00
LLVMBuild.txt [OptRemarks] Make OptRemarks more generic: rename OptRemarks to Remarks 2019-03-05 20:45:17 +00:00