This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch stable in repository llvm.
from 330f4f1 Updating branches/google/stable to r273260 adds db2950f Define a isPositionIndependent helper for ARMAsmPrinter. NFC. adds 17236ae Switch to using an API that handles non-ASCII paths appropria [...] adds 1ab4e74 Strip trailing whitespace adds 1582ea9 [codeview] Fix DenseMap pointer invalidation bug adds b4f51c3 This is part of the effort for asan to support Windows 64 bit [...] adds 7e4cf0a [AArch64] Switch regression tests to test features not CPUs adds 3dd50d3 fix indentation adds a992667 [AArch64] Restore codegen for AArch64 Cortex-A72/A73 after NFCI adds 86a9578 [AArch64] Change the preferred alignment for char and short t [...] adds 8d600b5 [StackProtector] Fix computation of GSCookieOffset and EHCook [...] adds f08563e Fix typo, NFC adds 5d6de09 [AArch64] Fix merge-store.ll regression test after r273271 adds f855e05 llvm-ar: correct typo adds b6e8ad3 [codeview] Add support for splitting field list records over 64KB adds 11e2958 Add MemoryAccess creation and PHI creation APIs to MemorySSA adds 604d393 Fix PR28219: Use profile summary from reader and not compute it adds 1e67d66 [build] Make sure to link main executable with pthreads adds 1963865 Delete some dead code. adds 6e37dd7 Add back some dead code. adds a710d0d [NVPTX] Improve lowering of byval args of device functions. adds 4e93d1c [X86] Make arithmetic operations cost model test saner. NFC. adds 7d5ce4d AMDGPU: Add implicitarg.ptr intrinsic. adds fe07a9a AMDGPU: Remove gcc builtin names from workitem intrinsics adds 95ba829 Delete more dead code. adds 6a96160 Update llvm-obdump(1) to print FAT_MAGIC_64 for Darwin’s 64-b [...] adds 1037ef2 [Coverage] Clarify ownership of a MemoryBuffer in the reader (NFC) adds 1fb090e [Kryo] Enable loop prefetcher. adds b24e29e Make DeadMachineInstructionElim preserve CFG adds 38ae857 [build] Fixed build break for OCaml bindings. adds 3071cc9 Clang format change /NFC adds 99e2e27 IR: Allow metadata attachments on declarations, and fix lazy [...] adds b523d2b [asan] Do not instrument pointers with address space attributes adds 8e1c16d [codeview] Add missing test from r273294 adds 41bcea9 [codeview] Improve names of types in scopes and member function ids adds 2816573 AMDGPU: Fix gcc warnings adds 06dbef9 Add an option to enable MBFI dot viewer for a given function adds 98c9164 [OCaml] Add functions for accessing metadata nodes. adds d319cd6 llvm-ar: be more clever about default format adds 8d6ae33 [X86] Remove GCC builtins from masked integer cmp and ucmp in [...] adds e5ebd46 [LTO] Move UpdateCompilerUsed.h from lib/ to include/ adds 117a36f Delete more dead code. adds d140aab [SDAG] Remove FixedArgs parameter from CallLoweringInfo::setCallee adds ccfdf6d Regenerated test adds a4c4406 [llvm-readobj] - Teach llvm-readobj to print dependencies of [...] adds 5259810 [InstSimplify] regenerate checks adds bb348ab [SLPVectorizer][X86] Added ceil/floor/nearbyint/rint/trunc ve [...] adds 0993083 [InstSimplify] add ashr tests including vector types adds 5e371d9 NFC. Move Verifier::verifyIntrinsicType to Intrinsics.h adds b2b7d8b Upgrade old memset/memcpy signatures (without isVolatile argu [...] adds 126491e llvm-ar: reduce some duplication, NFC adds 27717d0 [MBFI]: show branch probability in DOT graph adds 9247221 [codeview] Remove ClassInfoMap adds 065537a [Hexagon] Handle expansion of cmpxchg adds 4648477 [SystemZ] Recognize RISBG opportunities involving a truncate adds 7f4f1f6 [BFI]: NFC refactoring adds fefbc8f [codeview] Defer emission of all referenced complete records adds f317b6e [asan] Do not instrument accesses to profiling globals adds b0625ca [codeview] Fix trivial bug in OneMethodRecord::isIntroducingVirtual adds b92f7d2 Add whitespace to check commit access adds 6ef0451 AMDGPU: Make FrameLowering stack alignment 16 adds f3416e6 Removing whitespace from test commit rL273447 adds 2ec3f6d [codeview] Add IntroducingVirtual debug info flag adds ef86963 AMDGPU: Add convergent flag to INLINEASM instruction. adds 123be93 Preserve DebugInfo when replacing values in DAGCombiner adds 5e5a33d Start using shouldAssumeDSOLocal on Hexagon. adds 577fa41 [AArch64] Remove an overly aggressive assert. adds efa1f7f [ValueTracking] improve ComputeNumSignBits for vector constants adds 9e588d8 [MBFI]: Add a new suboption for graph viewer adds e93d6b1 [UpdateCompilerUsed] API rename and cleanup, suggested by Rafaael. adds c7a10fc [Hexagon] Add SDAG preprocessing step to expose shifted addre [...] adds e228570 AMDGPU: Fix verifier errors in SILowerControlFlow adds e46cd3a AMDGPU: Run verifier after 2nd run of SIShrinkInstructions adds 2772584 IR: Introduce Module::global_objects(). adds c81dea1 Update header documentation for API deliberately made public adds 9010765 [IRObjectFile] Propagate .weak attribute correctly for ASM symbols. adds 83b162c [codeview] Fix the alignment padding that we add to list records adds 57b5696 [MachO] Adding a few missing swapStruct functions adds d8b7c9f [CMake] LLVM_BINARY_DIR was not being properly set in LLVMCon [...] adds 9b666b1 Do not require __STDC_LIMIT_MACROS and others adds 10551df [codeview] Write LF_UDT_SRC_LINE records (PR28251) adds 7cde679 AMDGPU/SI: Define an intrinsic to expose ds_swizzle_b32 adds 4f8f710 Extract a few variables to make 'if' smaller. NFC. adds bf7782c Use shouldAssumeDSOLocal. adds 700dff7 [ImplicitNullChecks] Hoist trivial depdendencies if possible adds 1a713c6 [MachO] Finish moving fat header swap functions to MachO.h adds e97bf81 [pdb] Treat a stream size of ~0U as 0 adds 42fe7e4 [PM]: LoopAccessInfo simple refactoring adds 26f1dde Prune some includes from headers and sink some inline functions adds d017561 Fix instance of -Wdelete-incomplete adds 6398eb7 Add one more missing MCObjectWriter.h include adds e68240c Change that to include MCMachObjectWriter.h adds 4b8bee1 [RS4GC] Use StringRef; NFC adds fddf7f5 AMDGPU: Fix liveness when expanding m0 loop adds 22644bb [codeview] Add EFLAGS to the list of CodeView register numbers adds d73d2ca [llvm-cov] Fix a buggy lit test adds 7cbcee7 Revert r273456, "Preserve DebugInfo when replacing values in [...] adds 788062d [IRObjectFile] Try to be defensive, add a break. adds 7867935 [ADT] Add a range variant of std::transform adds e77d9ad [SCCP] Don't assume all Constants are ConstantInt adds eeb0d63 Fix unused variable warning by folding the temporary into the [...] adds 8552cfd AMDGPU: readlane/writelane do not read exec adds 5783163 Use C++ comments for large block comment. adds 07997a9 [libFuzzer] Add standard license info and comment header to A [...] adds 5ec082b Fix doubly included header adds 7c2609a [LLVM][MIPS] Introduce 64 bit atomic check in CheckAtomic.cmake adds 42bb389 Add missing include. Should fix modules builds. adds 6b0bf92 [modules] Good ol' JIT is gone. adds 0b27eaf [X86] Add assert to ensure only 128-bit vector types are used [...] adds 12d48c9 [AVX512] Remove masked unpack intrinsics and autoupgrade to v [...] adds f8f2c7f [ARM] Do not test for CPUs, use SubtargetFeatures (Part 1). NFCI adds 2c8eca9 [IfConversion] Bugfix: Don't use undef flag while adding use [...] adds 7e4530e [mips] Fix dext/dins definitions adds a4a23ea [AMDGPU] Remove exit-on-error in test (PR27761) adds 53391f4 [misched] Extend scheduler to handle unsupported features adds c412e39 [llc] Remove exit-on-error flag (PR27759) adds 47c3c00 [mips][ias] Integers are not registers. adds b0b7bd4 [ARM] Use member initializers in ARMSubtarget. NFCI adds 43733c2 [mips] Don't derive the default ABI from the CPU in the backend. adds 3ae5db8 Allow DeadStoreElimination to track combinations of partial l [...] adds c1faee3 [X86][AVX512] Added AVX512F vector sign extend tests adds 85d2541 [AMDGPU] Enable absolute expression initializer for amd_kerne [...] adds b5514ec [LoopUnrollAnalyzer] Fix a bug in UnrolledInstAnalyzer::visitLoad. adds 00fb6ab Explicitly specify the ANSI version of these Win32 APIs. Whil [...] adds f84be78 Revert "[misched] Extend scheduler to handle unsupported features" adds 249d639 [SystemZ] Let z13 also support FeatureMiscellaneousExtensions. adds 8f92645 Remangle intrinsics names when types are renamed adds e90638d [docs] Bump minimum version of CMake in its own doc adds 1fa3fc6 Fix an old memset signature in 2009-09-01-PostRAProlog.ll tes [...] adds 99faa52 Revert r273568 "Remangle intrinsics names when types are renamed" adds ca74a50 Revert r273567 "[SystemZ] Let z13 also support FeatureMiscell [...] adds 26de1b8 NFC, add an "end namespace" comment for consistency adds bac9cdf Change the email address for commit access requests to my llv [...] adds d9ba941 [codeview] Emit retained types adds 525757e Upgrade other old memset/memcpy signatures in tests causing b [...] adds e8da13b [ARM] Lower (select_cc k k (select_cc ~k ~k x)) into (SSAT l_k x) adds bcf03bb [TableGen] Use StringRef::compare instead of != and <. NFC. adds ba911c4 [ValueTracking] simplify logic in ComputeNumSignBits (NFCI) adds 218e584 Preserve DebugInfo when replacing values in DAGCombiner adds 49816e0 [IRCE] Use getTerminator instead of rbegin; NFC adds bad5ba7 [SCEV] Don't unnecessarily namespace; NFC adds fdd3c34 Prevent generation of temp file in test from r273585. adds 06876d2 Fix the wasm build by including EndianStream.h adds ec3f141 Typo. adds f7e90f8 [X86] Extract HiPE prologue constants into metadata adds a918066 [codeview] Fix letter casing in FileCheck regexes adds d8c0071 Refactor duplicated code. NFC. adds 39639d9 [CFLAA] Use better interprocedural function summaries. adds 22a6a11 Default to using the Unicode version of Win32 APIs instead of [...] adds 8e5f167 Attempt to fix breakage caused by r273596. adds dfb588c AMDGPU: Add option to disable spilling SGPRs to VGPRs. adds dce5fb2 InstCombine rule to fold trunc when value available adds 205ddae Convert test to FileCheck. adds 8bbe924 [libfuzzer] moving is_ascii handler inside mutation dispatcher. adds 805aa9b Refactor to use shouldAssumeDSOLocal. NFC. adds f71f365 Attempt #2 to unbreak bots broken by r273596. adds e41c71e Uses shouldAssumeDSOLocal. adds 680b0dd MachineScheduler: Improve debug messages adds ffdf177 Codegen: LICM Remove check for exactly 1 register def. adds da15505 Codegen: [X86] preservere memory refs for folded umul_lohi adds 55eeb45 MachineScheduler: Followup to debug message changes adds f444c52 [CMake] Add LLVM runtimes directory adds 46c1e8f [yaml2macho] Removing asserts in favor of explicit yaml parse error adds 6ee5dc2 [LCG] Make the name of an SCC include more of the functions in it. adds b234de3 [codeview] Add classes and unions to the Local/Global UDTs lists adds 072362b [MachOYAML] Use a temporary to avoid gcc strict-aliasing warning adds 6898ae0 Support/ELF: Add R_AMDGPU_GOTPCREL relocation adds ae6762b [AArch64] Model the cost of vector by element FP multiplies o [...] adds 379e6dc [ARM] Use aapcs_vfp for ___truncdfhf2 on v7k. adds 6706133 [llvm-cov] Rename SourceCoverageView::LineCoverageInfo to Lin [...] adds cc9ef12 [llvm-cov] Add SourceNames to SourceCoverageViews, NFC adds 1bbbb81 [llvm-cov] Use getOptions() instead of Options in SourceCover [...] adds 7161bf8 [CFLAA] Propagate StratifiedAttrs in interproc. analysis. adds ff42ad5 Attempt to fix MSVC breakage caused by r273636. adds 1d084df BitcodeWriter: Remove redundant (and incorrect) check for whe [...] adds fa7c6a0 Teaching SimplifyCFG to recognize the Or-Mask trick that Inst [...] adds 9825ba7 Temporary hack to clean a file from buildbots. adds 5187623 [llvm-cov] Fix two warnings adds b966943 [X86] Combine two nearby calls to isSingleInputShuffleVector. NFC adds 30ef1b33 Switch more loops to be range-based adds 8970c88 Use the same underlying type for bitfields adds 759ed7e AMDGPU: Cleanup subtarget handling. adds 9af2418 AMDGPU: Remove disable-irstructurizer subtarget feature adds 8b2f86f AMDGPU: Un-xfail and add tests adds a606472 Remove hack introduced by r273641. adds 11c2d4b AMDGPU: Add stub custom CodeGenPrepare pass adds 111ec25 Revert "Revert "[misched] Extend scheduler to handle unsuppor [...] adds 84a20400 Add FixedSizeStorage to TrailingObjects; NFC adds f333491 [mips] Use --check-prefixes where appropriate. NFC. adds 29f4c94 Revert r273664 adds 6d0a0a4 [LICM] Avoid repeating expensive call while promoting loads. NFC adds ce19c35 clang-format a region. NFC. adds da1fb5d Merge two identical if branches. NFC. adds fa5b3f7 Merge two identical if branches. NFC. adds 7758422 Use existing predicate. NFC. adds 238d855 [MachineDominatorTree] Add a MDT verifier. adds c0b76e3 Make sure Format is always initialized. adds 7fb0066 ExecutionEngine: add preliminary support for COFF ARM adds 8324138 ExecutionEngine: silence unused value warning adds 2630656 NFC. Move verifyIntrinsicIsVarArg from verifier to Intrinsic: [...] adds 140d9e6 Remangle intrinsics names when types are renamed adds 1d3ab3a [LV] Preserve order of dependences in interleaved accesses analysis adds f327997 [codeview] Emit base class information from DW_TAG_inheritance nodes adds 7ba5baa [MDT] Always verify machine dominfo if expensive checking is [...] adds b892430 [codeview] Use one byte for S_FRAMECOOKIE CookieKind and add [...] adds 43c5139 Linker: Copy metadata when linking declarations. adds 20c9609 [codeview] Emit parameter variables in the right order adds d4e43ba Use FileCheck. NFC. adds 546c8eb Codegen: Fix broken assumption in Tail Merge. adds 317de7c Thread Expected<...> up from libObject’s getSymbolAddress() f [...] adds efe34a4 [InstCombine] consolidate commutation variants of matchSelect [...] adds c0b6cd2 Revert "InstCombine rule to fold trunc when value available" adds fddccef Use shouldAssumeDSOLocal in isOffsetFoldingLegal. adds cc2e81e [InstCombine] refactor optional bitcasting in matchSelectFrom [...] adds 2f7c4b2 Revert r273545, "[IfConversion] Bugfix: Don't use undef flag [...] adds 28ea976 [AArch64] Adjust the model for the vector by element FP multi [...] adds 82c356c [CodeView] Healthy paranoia around strings adds 7748b99 SimplifyInstruction does not imply DCE adds f3f8fc6 [PM] Port PreISelIntrinsicLowering to the new PM adds 1fdd592 [InstCombine] use m_APInt; NFCI adds 5e751c7 [X86] Remove dead ISD opcodes. NFC. adds 26f3c3b [ARM] Remove dead SDNodes. NFC. adds e92acf1 [obj2yaml] [yaml2obj] Support for MachO Universal binaries adds 536b1bc [APInt] Don't shift into the sign bit adds 122fe57 [MemorySSA] Move code around a bit. NFC. adds 783d353 Add missing dependency to LLVMPasses adds 5b01931 [MachO] Fixing copy-paste error from r273719 adds ab8ffad Add support for musl-libc on ARM Linux. adds 87d5e72 [APInt] Don't shift into the sign bit adds dba9146 IR: New representation for CFI and virtual call optimization [...] adds cb2753f [IndVarSimplify] Run clang-format over some oddly formatted bits adds 99719f4 [Hexagon] Simplify (+fix) instruction selection for indexed l [...] adds d9ae082 Fix documentation for FindAvailableLoadedValue. adds 72fda70 Fix the type signature of DwarfExpression::Add.*Constant to s [...] adds 8a380d8 Fix unused variable warning in -asserts builds. adds 3cc0721 Simplify. NFC. adds cf2cc47 Fix lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener. [...] adds 336eefd Revert r273711, it caused PR28298. adds 153829f [MBP] show function name in debug dump adds 51f85a4 Hookup ProfileSummary with SampleProfilerLoader adds 840a0dd [PM] Port float2int to the new pass manager adds 0791b66 AMDGPU: Define a schedule class for COPY. adds 0a621f4 Silence a -Wsign-compare warning adds c1fd19f Reinstate r273711 adds f011e37 MachineScheduler: Fully compare top/bottom candidates adds 02296e2 IR: Introduce llvm.type.checked.load intrinsic. adds 7360cd1 It isn't meaningful for a transform to preserve another trans [...] adds 115455e The absence of noreturn doesn't ensure mayReturn adds 1096c78 [LoopUnswitch] Avoid exponential behavior adds 1874db9 [PlaceSafepoints] Don't call undef in test case; NFC adds 16fa6f1 AMDGPU/SI: Make sure not to fold offsets into local address s [...] adds 2feb69e MachineScheduler: Remember top/bottom choice in bidirectional [...] adds a9bf312 [llvm-cov] Separate presentation logic from formatting logic, NFC adds 005f32a llvm-ar: add some tests for llvm-ar default selection adds 20c7a48 [AMDGPU] Emit debugger prologue and emit the rest of the debu [...] adds 49b4592 Try to fix the MSVC build adds a6154f9 [llvm-cov] Flesh out some doxygen comments, NFC adds 5e86ac7 [llvm-cov] Make an API more consistent, NFC adds db39d89 Fix a typo in FindAvailableLoadedValue, introduced by r273734 [...] adds ae15013 [SimplifyCFG] Replace calls to null/undef with unreachable adds 35fad14 [InstSimplify] Replace calls to null with undef adds 46e1183 [SimplifyCFG] Stop inserting calls to llvm.trap for UB adds db5173a Revert "[SimplifyCFG] Stop inserting calls to llvm.trap for UB" adds 23ee217 Just a small cleanup adds 9ee91f9 Reapply r273664 with workaround for MSVC adds 0a04f70 [cmake] Port the llvm-config option --build-mode to LLVMConfi [...] adds 5f5bb03 update tests to use FileCheck adds d207fc4 AMDGPU/R600: Fix GlobalValue regressions. adds 6895c6a [X86] Pull similar bitcasts on different paths to earlier sha [...] adds 9a17918 [X86] Convert ==/!= comparisons with -1 for checking undef in [...] adds e435661 [llvm-cov] Simplify the way expansion views are rendered (NFC) adds 6ea11a4 [Object, COFF] An import data directory might not consist sol [...] adds 8a49ff8 [RSForGC] Bring findBasePointer up to code; NFC adds b97d91e [RSForGC] Get rid of the unnecessary MeetBDVStates struct; NFC adds ec3d727 [RSForGC] Bring meetBDVStateImpl up to code; NFC adds 19d3a6d [RSForGC] Bring analyzeParsePointLiveness up to code; NFC adds 18f0630 [RSForGC] Bring containsGCPtrType, isGCPointerType up to code; NFC adds 52dba4b [RSForGC] Bring recomputeLiveInValues up to code; NFC adds 7ed3ae5 [RSForGC] Bring computeLiveInValues up to code; NFC adds 4c6d1ee [RSForGC] Bring computeLiveOutSeed up to code; NFC adds ac356fc [RSForGC] Bring computeLiveInValues up to code; NFC adds e693206 [RSForGC] Bring the BDVState struct up to code; NFC adds 075766d [LoopUnswitch] Unswitch on conditions feeding into guards adds 63e75c4 [SelectionDAG] Use DAG.getCommutedVectorShuffle instead of re [...] adds e8326f9 [X86] Replace calls to isSingleInputShuffleMask with just che [...] adds caddfac [X86] Rewrite lowerVectorShuffleWithPSHUFB to not require a Z [...] adds 3204b80 [RSForGC] Appease MSVC adds 9aed97c [codeview] Improved array type support. adds 5288df5 Apply clang-tidy's modernize-loop-convert to most of lib/Transforms. adds 1d63a7d Fixed build failure (due to unused variable error) in r273807. adds 1c56f09 Fixed build failure (due to unused variable error) in r273807. adds 36a5f73 [CodeExtractor] Merge DEBUG statements in an attempt to fix t [...] adds e96e21f Apply clang-tidy's modernize-loop-convert to most of lib/IR. adds dd1d7a4 Apply clang-tidy's modernize-loop-convert to lib/MC. adds 96caeda Revert r273807 (and r273809, r273810), it caused PR28311 adds 8d0d2b6 Apply clang-tidy's modernize-loop-convert to lib/Analysis. adds 9200e60 [lit] Add SANITIZER_IGNORE_CVE_2016_2143 to pass_vars. adds 73b2bb0 Refactor a duplicated predicate. NFC. adds 608ab75 Use isPositionIndependent predicate. NFC. adds 678eac4 Use isPositionIndependent predicate. adds 9dfcab0 Use isPositionIndependent. NFC. adds a0e4284 Use isPositionIndependent predicate. NFC. adds 5a5bead add tests for potential select transforms adds 00fd9cb Mips: Fix access to private functions. adds baa0bfe [ConstantFolding] Fix bitcast vector of i1. adds 7c1d489 [X86][AVX] Peek through bitcasts to find the source of broadcasts adds b256e8a [mips][micromips] Implement LD, LLD, LWU, SD, DSRL, DSRL32 an [...] adds 7fe7e46 APInt: remove unsued param in private method. NFC adds 01b8445 CachePruning: correct comment about file order. NFC adds 92eaa56 [ARM] Do not test for CPUs, use SubtargetFeatures (Part 2). NFCI adds 7ca89ec [gold] Fix test to not assume it runs on x86 hardware. adds 886cd3a [sparc] Simplify slow and verbose string matching code to sta [...] adds 58ebb2d Reformat blank lines. adds 9a3b139 Reformat. adds c4cd97e SIMachineFunctionInfo.cpp: Appease msc18 to use std::array. adds 1abadbf Fixed consecutive memory access detection in Loop Vectorizer. [...] adds 98cea81 Removed extra test from the prev commit. adds 8f7d823 [msan] Tighten up type in StoreList. NFC. adds 8430ca2 [IRBuilder] Drop unused CreateInvoke overloads. adds 706f4ac Add an explanation on how mips is special in here. adds 3334c59 Use the isPositionIndependent predicate. NFC. adds 7a6104f Simplify getLabelAccessInfo. adds b0c59ab Fix "not all control paths return a value" warning on MSVC adds e50b5c5 [ARM] Use member initializers in ARMSubtarget. NFCI adds 9040edc Removed duplicate assertions note adds 47347b8 Use the isPositionIndependent predicate. NFC. adds 97f8745 [Sparc] Formatting and commenting changes per review. adds 665d497 Move isPositionIndependent up to AsmPrinter. adds 56b08a5 Last line of file missing on previous check-in. adds ebad00c Revert 273848, it caused PR28329 adds 4a90581 [ARM] Fix Thumb text sections' flags under COFF/Windows adds 4cc8cc2 [mips] Add instruction itineraries for LSA, DLSA adds 339dc3d [Hexagon] Equally-sized vectors are equivalent in ISel (except vNi1) adds ff74d23 [SystemZ] Avoid generating 2 XOR instructions for (and (xor x [...] adds b41eaf7 [asan] fix false dynamic-stack-buffer-overflow report with co [...] adds 17c3914 [X86][SSE] Added extra broadcast tests to cover PR28327 adds 9227558 Support arbitrary addrspace pointers in masked load/store intrinsics adds 78b1ab7 [PM] Port PartialInlining to the new PM adds be0da39 Revert -r273892 "Support arbitrary addrspace pointers in mask [...] adds 0c5a6a8 Use isPositionIndependent(). NFC. adds d96514b [InstCombine] use m_APInt for div --> ashr fold The APInt mat [...] adds 89fca4c X86 Lowering - Fixed a crash in ICMP scalar instruction adds 8c57f91 Refactor duplicated condition. adds 9577f28 Factor out buildMemorySSA from getWalker. NFC. adds ecb9fc5 [CFLAA] Use unsigned numbers for bit-shifts. adds 4d57062 Use isPositionIndependent(). NFC. adds 85a9211e [InstCombine] refactor sdiv by APInt transforms (NFC) adds c01c8eb Use isPositionIndependent(). NFC. adds bd288e1 DAGCombiner: Don't narrow volatile vector loads + extract adds 1d88d3b Verifier: Reject non-float !fpmath adds 9cf90e6 [yaml2obj] Remove --format option in favor of YAML tags adds 5123c14 AMDGPU: Fix verifier errors with undef vector indices adds 7dd3b55 [yaml2obj] Missed updating a few test cases in r273915 adds beb8cd9 Fixed crash of SLP Vectorizer on KNL adds bc84e94 Teach shouldAssumeDSOLocal about tls. adds 76e2771 Only emit extension for zeroext/signext arguments if type is [...] adds 87796a3 add tests for PR28153 adds dca409d AMDGPU: Move subtarget feature checks into passes adds 1e5e32b [llvm-ar] Ignore -plugin option. adds d35aece AMDGPU: Implement per-function subtargets adds edc588d Delete the IsStatic predicate. adds aac1238 Convert a few more comparisons to isPositionIndependent(). NFC. adds 0546208 Change all but the last ErrorOr<...> use for MachOUniversalBi [...] adds e4c2111 AMDGPU: Set MinInstAlignment adds 95c869b [Sparc] Atomics pass changes to make work with SparcV8 back-ends. adds 230a1ed [InstCombine] shrink type of sdiv if dividend is sexted and c [...] adds a932483 Fix size computation of array allocation in inline cost analysis adds 27a476b [MC] Garbage collect dead API: createELFObjectTargetWriter(). adds bf8070b [CFLAA] Make MSVC happy. NFC. adds d980ed0 Move shouldAssumeDSOLocal to Target. adds 5e49c0d Fix typo. adds 77e1655 [PM] Improve the debugging and logging facilities of the CGSC [...] adds f64136c Document the ability to perform multi-line pattern matching i [...] adds b0b8d0a AMDGPU: Fix global isel build adds 97b2584 Remove stray comment. NFC. adds 2aa8ecf [BFI]: code cleanup adds 0347ce7 [llvm-cov] Add a format option for the 'show' sub-command (mo [...] adds aba058f [llvm-cov] clang-format a line, NFC adds ba1a097 [llvm-cov] Use -check-prefixes in a test (NFC) adds b979c03 [llvm-cov] Add an -output-dir option for the show sub-command adds 5dcd187 [PM] Sink the module parsing from the fixture to the test as [...] adds ce2862c [PM] Normalize FIXMEs for missing PreserveCFG to have the sam [...] adds aa99e51 AArch64: Remove unnecessary namespace llvm; NFC adds 1bf162a AMDGPU: Fix out of bounds indirect indexing errors adds 69821cb Revert "[llvm-cov] Add an -output-dir option for the show sub [...] adds 9ad3314 NFC. Fix popular typo in comment 'deferencing' --> 'dereferen [...] adds 40a78f8 Reapply "[llvm-cov] Add an -output-dir option for the show su [...] adds edd67d6 [llvm-cov] Simplify; NFC adds 6fff479 [BFI]: graph viewer code refactoring adds b168c25 [LLE] Don't hoist conditionally executed loads adds f2c927d [BFI]: enhance BFI graph dump adds 514f9dc [X86 Target Lowering] Merged ICMP test. adds cc075cf [BFI/MBFI]: cfg graph view with color scheme adds f5d0848 [X86][SSE] Added support for combining target shuffles to (V) [...] adds 6a84436 [gold] Really fix test to run on non x86 platforms. adds eff905a Add missing includes. adds f62d1a8 Use isPositionIndependent(). NFC. adds 0863671 [modules] Separate intrinsic_gen dependent headers from modul [...] adds 970b0c8 Fixed MSVC unresolved symbol error due to an incorrectly decl [...] adds 05bd016 Convert 2 more uses to shouldAssumeDSOLocal(). NFC. adds 7b928ec Fix "not all control paths return a value" warning on MSVC adds 9349754 [X86][AVX] Peek through bitcasts to find the source of broadc [...] adds 6a26759 [SystemZ] Save/restore r6 and r7 if function contains landing pad. adds a57faa4 Delete dead code. NFC. adds 3315ba7 Convert more cases to isPositionIndependent(). NFC. adds b13ddb1 Don't pass Reloc::Model to places that already have it. NFC. adds eeeea1e Don't pass a Reloc::Model to GVIsIndirectSymbol. adds 89493fd [X86] Make WRPKRU/RDPKRU pass -verify-machineinstrs adds e017372 [llvm-cov] Move a check into a helper method (NFC) adds c5fab6a [llvm-cov] Rename ShowFormat to Format (NFC) adds 75f03af [llvm-cov] Avoid copying file paths multiple times (NFC) adds 184c224 [llvm-cov] Minor cleanups (NFC) adds 028d73c [llvm-cov] Create an index of reports in -output-dir mode adds bd1991e AMDGPU: Remove unused function adds 927f3f9 AMDGPU: Fix typo adds 558b25f [X86] Reorder source list alphabetically. NFC. adds 8c043bf Typos. NFC. adds 364fc29 AMDGPU: Fix global isel crashes adds cfa7009 [X86] Update a test with more explicit checks. NFC. adds 041fc26 [lanai] Update ELF number to correspond to the assigned number. adds 48917c9 Support arbitrary addrspace pointers in masked load/store intrinsics adds 0eb410f minimize regression tests and update checks adds b4ca424 minimize regression tests and update checks adds c90294d Fix typo adds d6a559c Update llvm command line parser to support subcommands. adds c4cbe67 Use isPositionIndependent in a few more places. adds b102a31 X86FrameLowering: Check subregs when deciding prolog kill flags adds 24aa476 Fix "not all control paths return a value" warning on MSVC adds a1bfbb7 [SystemZ] Use NILL instruction instead of NILF where possible adds efed5fb [YAML] Fix YAML tags appearing before the start of sequence elements adds 527613b Relax the clearance calculating for breaking partial register [...] adds ba713e3 Revert r274054 to try to appease the bot adds 98f00b7 [ARM] Fix 28282: cost computation for constant hoisting adds baaf6e5 Codegen: [MBP] Add messages to asserts. NFC adds 6ae4c20 [Diag] Fix file comment adds c827f2c Finish cleaning up most of the error handling in libObject’s [...] adds 9530134 [bugpoint] Disabling one transform shouldn't prevent reportin [...] adds 2d7feeb [bugpoint] Treat token type the same as ehpad w.r.t deletion adds 34618d9 [bugpoint] Simplify code by moving exception to only caller adds 3cb7bf5 [Object] Fix a -Wpessimizing-move error; clang-format; NFC adds cd29c6b [llvm-cov] Minor cleanups to prepare for the html format patch adds 67d87be [bugpoint] Extract helper functions for readability [NFCI] adds 997e1fa [Triple] Add isLittleEndian(). adds c29dedc [bugpoint] Unwrap one level of wrapper functions [NFC] adds bb79b8e [bugpoint] Delete a stale comment. adds e2f7f59 Revert "[InstCombine] Avoid combining the bitcast of a var th [...] adds 4cd293c [CodeGen] Make ShuffleVectorSDNode::commuteMask take a Mutabl [...] adds a48b560 [DAGCombine] Add test cases to show that DAG combining an OR [...] adds 7268ea5 [DAGCombine] Teach DAG combine to handle ORs of shuffles invo [...] adds d68165e [ValueTracking] Teach computeKnownBits for PHI nodes to compu [...] adds 6818d39 [Diag] Add getter shouldAlwaysPrint. NFC adds c590a00 Revert "[ValueTracking] Teach computeKnownBits for PHI nodes [...] adds 0282a55 Revert "[Coverage] Clarify ownership of a MemoryBuffer in the [...] adds 174360e Revert "[Coverage] Move logic to encode filenames and mapping [...] adds d565c87 [SystemZ] Add floating-point test data class instructions. adds f7282f8 Reverted patch 273864 adds d28b49f [X86] Regenerated popcnt combine tests adds 38b2095 [X86][SSE2] Added _mm_loadu_si64 test to match llvm\tools\cla [...] adds a40782d [Docs][CodeGenerator] Don't specify the number of operands in [...] adds 6264e53 Update tests to use at least darwin9. adds 99b4877 Drop support for creating $stubs. adds 108515e [ManagedStatic] Reimplement double-checked locking with std::atomic. adds 651e3ff [llvm-cov] Do not allow ".." to escape the coverage sub-directory adds 80221c6 Fix a typo; NFC adds f98b39d [llvm-cov] Disable PGO name compression in a test file adds cdfe078 [X86] Lower blended PACKUSes using appropriate types. adds 0cd4101 Use LLVM_ATTRIBUTE_UNUSED instead of void casts; NFC adds 8682068 [LLVMConfig.cmake.in] Create a new variable LLVM_CONFIG_EXPOR [...] adds 7925338 Revert r272251, it caused PR28348. adds 45b6d08 Add a regression test for PR28348. adds bdd649e [llvm-cov] Change some FileCheck prefixes to make tests reusa [...] adds c21113e [InstCombine] Add full tests for FoldAndOfFCmps and FoldOrOfFCmps adds f362d3a Don't verify inputs to the Linker if ODR merging. adds a4d5658 Permit memory operands in ins/outs instructions adds 23b1498 [Triple] Reimplement isLittleEndian(). Now it works for arm too. adds 1c953b5 [InstCombine, NFC] Change the generated variable names by cre [...] adds b76b470 [InstCombine] Simplify and correct folding fcmps with the sam [...] adds 0b21d88 Change Archive::create() from ErrorOr<...> to Expected<...> a [...] adds 6a40504 StackColoring for SafeStack. adds a872e23 Revert r273313 "[NVPTX] Improve lowering of byval args of dev [...] adds eb2c1eb Resubmit "Update llvm command line parser to support subcommands." adds d378d97 [llvm-cov] Use relative paths to file reports in -output-dir mode adds c6364a5 [LLVMConfig.cmake] LLVM_CONFIG_EXPORTED_TARGETS => LLVM_EXPOR [...] adds 0ae4012 [LV] Improve accuracy and formatting of function comment adds d9613da Object: Replace NewArchiveIterator with a simpler NewArchiveM [...] adds 5ba0a2e Add move constructor and move assignment to fix MSVC build. adds b8a533d PrologEpilogInserter: Some code cleanup; NFC adds cd92e27 regenerate checks adds 567409d CodeGen: Use MachineInstr& in TargetInstrInfo, NFC adds 63e0af7 [SystemZ] Split up PerformDAGCombine. [NFC] adds aa5c099 add vector tests to show missing transform adds e1a95d0 CodeGen: Add an explicit BuildMI overload for MachineInstr& adds 6b50e12 RegisterScavenging: Code cleanup; NFC adds 0350314 [CMake] Introduce a LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY flag. adds 2e8079d [CFLAA] Add support for ModRef queries. adds 5c54a09 [ADT] Add a new data structure for managing a priority workli [...] adds b4b9bfa [SCEV] Compute max be count from shift operator only if all e [...] adds 18b9b9a [CodeView] Implement support for bitfields in LLVM adds 8c91459 Use ShuffleVectorSDNode::isSplat member method instead of sta [...] adds a822c61 [AArch64] Add Broadcom Vulcan scheduling model. adds 1f07eb9 [SystemZ] Let z13 also support FeatureMiscellaneousExtensions. adds 809018e Delete unused includes. NFC. adds 1e7d61d Don't repeat names in comments. NFC. adds 4112128 [CMake] -fmodules-local-submodule-visibility is a cc1-only option. adds 30bf9ca [InstCombine] extend matchSelectFromAndOr() to work with i1 s [...] adds 2f457b8 [InstCombine] use ConstantExpr::getBitCast() instead of creat [...] adds aac735c Test commit adds 86ef16a [InstCombine] shrink switch conditions better (PR24766) adds fe4360e [DSE] Fix bug in partial overwrite tracking adds 858a9e5 fix formatting, add TODO; NFC adds 6e9bd6a [exceptions] Upgrade exception handlers when stack protector is used adds 640d4fd [CMake] Move the -Xclang option before -fmodules-cache-path T [...] adds 39952bd Revert "[CMake] Move the -Xclang option before -fmodules-cache-path" adds c49768f [CMake] Add an LLVM_ENABLE_MODULE_DEBUGGING flag for building [...] adds 3a4681d Update llvm-pdbdump to use subcommands. adds 91d41f9 [pdb] Re-add code to write PDB files. adds 3df7687 [Support] Fix a bug in ErrorList::join / joinErrors. adds c1715ee revert http://reviews.llvm.org/D21101 adds 9931d67 Delete MCCodeGenInfo. adds 66b1dac CodeGen: Add the other BuildMI overload for MachineInstr& adds 693c332 Refine the set of UniformAfterVectorization instructions. adds c530a20 Add an artificial line-0 debug location when the compiler emi [...] adds 348a232 Introduce a *draft* of a code of conduct for the LLVM communi [...] adds 410bcd4 [CMake] Module builds depend on target intrinsics_gen to be b [...] adds f6653a3 [libFuzzer] Let user specify extra stats file. adds 7b7d4b7 AMDGPU: Add m0 vgpr load loop block as successor adds 6bcca1a SLPVectorizer: Move propagateMetadata to VectorUtils adds d560010 Don't use unchecked dyn_cast adds c909aaf Test commit. adds a204da2 CodeGen: Use MachineInstr& in TargetLowering, NFC adds 5f0f4b6 [TableGen] Use a SmallVector for Record::Values to avoid debu [...] adds 8b7ef5c Remove non-ASCII characters (silly smart quotes). Thanks to H [...] adds e475645 CodeGen: Use MachineInstr& in IfConversion, NFC adds b6b73f6 CodeGen: Use MachineInstr& in ExpandISelPseudos, NFC adds 8b86030 Add LoadStoreVectorizer pass adds 8a1fda1 CodeGen: Use MachineInstr& in LDVImpl::handleDebugValue, NFC adds 6feb5c9 CodeGen: Use MachineInstr& in HoistSpillHelper, NFC adds 34f70b6 LoadStoreVectorizer: Skip optnone functions adds 14a454a CodeGen: Use range-based for in LiveVariables, NFC adds a076358 CodeGen: Use MachineInstr& in LocalStackSlotAllocation, NFC adds 531c987 LoadStoreVectorizer: Check skipFunction first. adds fdab22c CodeGen: Use MachineInstr& in MachineTraceMetrics, NFC adds 03941cc7 CodeGen: Use MachineInstr& more in MachineTraceMetrics, NFC adds 0954e3a [LAA] Fix alphabetical sorting of headers. NFC adds dbcbdf3 CodeGen: Use MachineInstr& in MachineSink, NFC adds a354e21 Target: Remove unused arguments from overrideSchedPolicy, NFC adds 164e0c1 code hoisting pass based on GVN adds 9de35f8 LoadStoreVectorizer: Fix crashes on sub-byte types adds 378e169 LoadStoreVectorizer: if one element of a vector is integer, d [...] adds 5ec7ee3 [PDB] Indicate which type record failed hash validation adds 1199c8c [pdb] Avoid reporting an error when the module symbol stream [...] adds 5bcaf78 CodeGen: Use MachineInstr& in PrologEpilogInserter, NFC adds ed5a96f CodeGen: Use MachineInstr& in PostRAHazardRecognizer, NFC adds 4dc595b AMDGPU: Implement getLoadStoreVecRegBitWidth adds 968deaa Define a module map entry for DebugInfo/CodeView. adds e16c630 CodeGen: Use MachineInstr& in PostRASchedulerList, NFC adds 1b7dbea CodeGen: Remove implicit iterator conversions in PHIElimination, NFC adds 7e961b6 LoadStoreVectorizer: Use AA metadata adds 4383a51 CodeGen: Use MachineInstr& in LiveVariables API, NFC adds d88fd12 Revert "code hoisting pass based on GVN" adds 0b5646a LoadStoreVectorizer: Fix assert when merging pointer ops adds d8f310c LoadStoreVectorizer: Check TTI for vec reg bit width adds 2623a06 LoadStoreVectorizer: Don't increase alignment with no align set adds af38636 LoadStoreVectorizer: improvements: better pointer analysis adds bd79db2 [codeview] Add DISubprogram::ThisAdjustment adds 842d411 add tests for bugs fixed by the GVN hoist pass adds 29aa9b3 Revert "Define a module map entry for DebugInfo/CodeView." adds 4797f78 AMDGPU: Add option to run the load/store vectorizer adds c48ea44 Revert "add tests for bugs fixed by the GVN hoist pass" adds 036eb7c [MBP] method interface cleanup adds 6adce08 [PM] refactor LoopAccessInfo code part-2 adds 84607f6 80-column and comment fixups. adds dea5ff1 Add support for allowing us to create uniquely identified "CO [...] adds a8fbaf1 [CodeGen,Target] Remove the version of DAG.getVectorShuffle t [...] adds bc65305 [CodeGen] Cleanup getVectorShuffle a bit to take advantage of [...] adds d69d548 Update libdeps; AMDGPUCodeGen requires LLVMVectorize. adds ad58f8c [AMDGPU] Assembler: support SDWA for VOPC instructions adds 2619d46 Resubmit r268719 - AMDGPU/SI: Add amdgpu_kernel calling conve [...] adds fc44a8b function_refify. NFC. adds b5755a8 [ARM] Refactor Thumb2 mul instruction descs adds e612411 [CMake] Add LLVM_BUILD_32_BITS to LLVMConfig.cmake adds ce5fdc0 CodeGen: Use MachineInstr& in RegAllocFast, NFC adds effa4cc CodeGen: Use MachineInstr& in SlotIndexes.cpp, NFC adds 2cafa02 CodeGen: Avoid iterator conversion in UnreachableBlockElim, NFC adds 74ae23a Do not count debug instructions when counting number of uses [...] adds 5e7e598 Reapply "Define a module map entry for DebugInfo/CodeView." adds f634f61 CodeGen: Use MachineInstr& in ScheduleDAGIntrs, NFC adds 1032b93 CodeGen: Avoid implicit conversions in TargetInstrInfo, NFC adds b9e2bc1 fix documentation comments; NFC adds 7aad63c CodeGen: Use MachineInstr& in RegisterCoalescer, NFC adds 2b0881d Make extract_symbols.py be compatible with Python 3 adds 8a6eecb Revert r274347 "[ARM] Refactor Thumb2 mul instruction descs" adds d941e1c Specify mtriple for the frame-order.ll test. adds a7c46f7 AMDGPU/SI: Enable testing several variants for si scheduler adds f2d09fc [codeview] Assert that our CV type records are valid adds ec8e96e [pdb] Check the display name for <unnamed-tag>, not the linkage name adds 7993722 [Hexagon] Use MachineOperand::readsReg instead of isUse adds 364f249 [Hexagon] Revert r274381: that was actually wrong adds 1e53a5f Address two correctness issues in LoadStoreVectorizer adds f0a4c11 IR: Set TargetPrefix for some X86 and AArch64 intrinsics wher [...] adds 613f199 [codeview] Don't record UDTs for anonymous structs adds df58717 AMDGPU: Improve load/store of illegal types. adds dcfa1b5 [msan] Fix __msan_maybe_ for non-standard type sizes. adds d4452f8 AMDGPU: Expand unaligned accesses early adds 6e4fd14 AMDGPU: Add feature for unaligned access adds 0c69559 [CodeView] Pretty print anonymous scopes adds 7239fbb [CodeView] Include the offset of nested members adds db64d82 PeepholeOptimizer: Relax assert adds 4a37139 TII: Fix inlineasm size counting comments as insts adds c1be1f5 LoadStoreVectorizer: Fix warning about extra semicolon adds 5efb713 [codeview] Set the Nested and Scoped ClassOptions based on th [...] adds 3fae04d [PM] Port ConstantHoisting to the new Pass Manager adds 0e9b65e Add RenderScript ArchType adds 6cbcb9e [SystemZ] Move misplaced SystemZ::TDC to non-memory opcode range. adds bafbf2b [esan|cfrag] Add counters for struct array accesses adds 5c691e2 Use arrays or initializer lists to feed ArrayRefs instead of [...] adds 63ed024 [X86][AVX512] Add fast-isel shuffle tests adds 6c48317 [X86][AVX512] Add test cases that should lower to MOVSLDUP/MOVSHDUP adds 2e1720f [X86][AVX512] Add support for lowering shuffles to MOVDDUP/MO [...] adds b4e5335 [Hexagon] Create global std::map lazily. adds cced733 [DIBuilder] Remove dead code. NFC. adds c964a30 [X86][AVX512] Autoupgrade the MOVDDUP/MOVSLDUP/MOVSHDUP intrinsics adds ea9886a [PM] Fix a small typo from when I ported JumpThreading adds f9c643b New Kaleidoscope chapter: Creating object files adds 1dcb078 [X86][AVX512] Converted the MOVDDUP/MOVSLDUP/MOVSHDUP masked [...] adds 91a1df2 [X86][AVX512] Add support for 512-bit PSHUFB lowering adds 197a751 [PM] Preparatory cleanups to ArgumentPromotion. adds 2cea4e6 [PM] Some preparatory refactoring to minimize the diff of D21921 adds 3e60eea [X86][AVX512VL] Add fast-isel MOVDDUP/MOVSLDUP/MOVSHDUP shuff [...] adds e0f2f60 fix some various typos in the doc adds c032bad [X86][AVX512] Add support for lowering shuffles to VPERMILPD adds bbe7316 Fix spelling. adds 10b22c8 [PM] Port LoopAccessInfo analysis to new PM adds 6f6a939 Fix wrong comment adds e82e4dd Remove dead TLI arg of isKnownNonNull and propagate deadness. NFC. adds ad5ea26 [PM] Some preparatory refactoring to minimize the diff of D21921 adds 9cbcb75 PR28400: Partly undo r274440 to bring test-suite back to life [...] adds 66251d4 [X86][AVX512] Add support for lowering shuffles to VPERMILPS adds 50f3e3a [X86][AVX512] Add support for masked shuffle comments adds b4d7428 add vector bool select tests and regenerate checks for scalar [...] adds a145cca [X86][AVX512] Add support for PMOVZX masked shuffle comments adds 2f0ee90 [X86][AVX512] Add support for VPERM/VSHUF masked shuffle comments adds d9a17d1 fix formatting; NFC adds b7dea04 [X86][AVX512] Add support for UNPCK masked shuffle comments adds a9403e9 [InstCombine] enable vector select of bools -> logic folds adds 260d596 [X86][AVX512] Add support for VPALIGNR/PSHUFD/PSHUFHW/PSHUFLW [...] adds 91d79de [X86][AVX] Renamed VPERMILPI shuffle comment macros to be mor [...] adds 7a63dcf [X86][AVX512] Add support for 512-bit shuffle decoding of VPE [...] adds 4ad0017 [X86][AVX512] Add support for VPERMPD/VPERMQ masked shuffle comments adds e2d151c [MBB] add a missing corner case in UpdateTerminator() adds 410b9a9 [X86] Add tests to show that the DAG combine for OR of shuffl [...] adds 4eca4cb [CodeGen] Teach OR combine of shuffles involving zero vectors [...] adds 41188e6 [X86][AVX512] Add support for 512-bit shuffle lowering to VPE [...] adds e22e44a [X86][AVX2] Merge unary permute matching behind the same V2.i [...] adds e52fac8 [X86] Add shuffle mask rescaling helper function. NFCI. adds 7810e66 Reformat. adds ef2b8e7 Untabify. adds 6f43963 Reformat comment lines. adds 283ee81 Reformat blank lines. adds 061feda [CodeGen] Make the code that detects a if a shuffle is really [...] adds b07f540 Add writeonly IR attribute adds e13dc30 [X86][AVX512] Added VPERMILPD/VPERMILPS intrinsics fast-isel [...] adds d32de81 Fixed warning caused by r274402. adds 53af872 [X86][AVX512] Autoupgrade the VPERMILPD/VPERMILPS intrinsics adds 79fc52e [X86][AVX512] Added VPERMPD/VPERMQ intrinsics fast-isel gener [...] adds f371ead [X86][AVX512] Autoupgrade the VPERMPD/VPERMQ intrinsics adds eb181e8 [Thumb] Reapply r272251 with a fix for PR28348 adds 298a9a8 Revert "[Thumb] Reapply r272251 with a fix for PR28348" adds a3dab3c [TableGen] Remove dead code. NFCI. adds fa06bbb AMDGPU/R600: Add indentation to VTX and TEX fetch asm strings adds b40225f [AVX512] Remove masked VPERMD/VPERMQ/VPERMILPS/VPERMILPD intr [...] adds b076231 [X86][AVX512] Add support for lowering shuffles to VSHUFPD adds b60390b AMDGPU/SI: Remove hack for selecting < 32-bit loads to MUBUF [...] adds cd583a8 [IR,X86] Remove some intrinsic prefixes earlier in the auto-u [...] adds 960bd9a [Support][Error] Make logAllUnhandledErrors take a Twine for [...] adds 25cd212 AMDGPU/R600: Add PatFrags for selecting the correct vtx id for loads adds e88f1b3 Object: support empty UID/GID fields adds ae50a14 test: relax the match on the timestamp adds d102112 [X86][AVX512VL] Added VSHUFPD/VSHUFPS intrinsics fast-isel ge [...] adds feff58b [X86][AVX512] Added VSHUFPD intrinsics fast-isel generic IR tests adds ba988eb [PowerPC] - Legalize vector types by widening instead of inte [...] adds e8f8c00 [mips][ias] Don't break apart and reconstruct StringRef's for [...] adds d7446bc [X86][AVX512] Added BROADCAST intrinsics fast-isel generic IR tests adds af36918 Revert r274536: [mips][ias] Don't break apart and reconstruct [...] adds 14cceb3 [Thumb] Reapply r272251 with a fix for PR28348 (mk 2) adds 723b078 [X86][AVX512BW] Added BROADCAST intrinsics fast-isel generic [...] adds 3ee8690 [CMake] Adjust export_executable_symbols to cope with non-tar [...] adds 4acd383 [mips][ias] Remove k_PhysReg since it's not possible to creat [...] adds 41c9c2b [X86][AVX512] Autoupgrade the BROADCAST intrinsics adds fff3769 [AMDGPU] Assembler: Fix parsing error with floating-point lit [...] adds 23457a4 [LLVM][INTRINSICS] adding intrinsics of CLFLUSHOPT adds c02af97 [X86][AVX512] Remove vector BROADCAST builtins. adds 580521d [AMDGPU] rename DS_1A1D_Off8_NORET to DS_1A2D_Off8_NORET as d [...] adds 5011892 [LV] Refactor integer induction widening (NFC) adds db74125 AMDGPU/SI: Remove address space query functions from AMDGPUDA [...] adds 28ad504 [MC/Darwin] Fix a -Wmisleading-indentation warning, reported [...] adds 6de48c5 AMDGPU: Fix folding SGPRs into madak/madmk src0 adds 911d377 AArch64: use correct SDValue # when looking for bitfield placement. adds 18a21c4 DAGCombiner: Fold away vector extract of insert with the same index adds 374dd7c ARM: fix `-mlong-calls` for WoA adds 319708c [X86][AVX512] Fixed decoding of permd/permpd variable mask sh [...] adds 88147b7 [X86][AVX2] Add support for target shuffle combining to BROADCAST adds 2973862 Revert r259387: "AArch64: Implement missed conditional compar [...] adds 7c103a2 Transfer ownership of the gold plugin. adds edff068 TableGen: promote "code" type from syntactic sugar. adds 69ada66 AArch64: TableGenerate system instruction operands. adds 4205e17 [asan] Add a hidden option for Mach-O global metadata livenes [...] adds 1a8f788 AMDGPU: Remove unnecessary string usage in AsmPrinter adds d97d7ea Fix an ordering problem in r274431 adds 2442068 [X86][AVX2] Simplified BROADCAST combining to avoid repeated [...] adds 4d4806b TableGen: avoid string copy. adds 2c95e5c AArch64: try to fix optimized build failure. adds 3b5b98a [CFLAA] Split into Anders+Steens analysis. adds a3d4e37 [MSSA] Fix typo. NFC. adds 02af278 [CFLAA] Split the CFL graph out from CFLSteens. NFC. adds cc48e0f [CFLAA] Split out more things from CFLSteens. NFC. adds 669ea65 [AVX512] Remove GCC builtins from the vplzcntd/q intrinsics s [...] adds dad636e Fix handling of forward unreachable but reverse-reachable blo [...] adds 99cec95 [X86] Remove GCC builtin names from sse/avx packed fp cmp int [...] adds 8c21fe9 Vector GEP test: renamed + some comments adds a2a1a4f AMDGPU: Fix return of non-void-returning shaders adds 0a272cb AVX-512: Optimization for patterns with i1 scalar type adds f94a00c Reverted 274613 due to compilation failue. adds 96303e0 [ARM] Do not test for CPUs, use SubtargetFeatures (Part 3). NFCI adds 06a4440 [ARM] Do not test for CPUs, use SubtargetFeatures. Also remov [...] adds 6425742 [AMDGPU] Assembler: regression tests for bug 28413. NFC adds 15b950c Re-commit of 274613. adds 59cdf46 [LV] Don't widen trivial induction variables adds 76700e4 Emit CodeView type records for nested classes. adds 2b2f63ae [X86][SSE] Added test cases for missed opportunities to combi [...] adds c233a9a Revert "Emit CodeView type records for nested classes." adds 9f28902 fix typo; NFC adds 3fb0b9e Prune RelocVisitor.h include to avoid including COFF.h from MCJIT.h adds 3dfcaf6 Disable hash verification of enums. adds a905a4f Add a default parameter for getRegisteredOptions. adds c7432f9 [TTI] The cost model should not assume vector casts get compl [...] adds 0cb64ba [DAGCombiner] Fix visitSTORE to continue processing current S [...] adds d1168ef Ensure all uses of permute instructions feed vector stores adds 8bf0aed [pdb] Round trip the PDB stream between YAML and binary PDB. adds 02fbf49 [X86][SSE] Fixed typo in insertps lowering. adds d459f38 NFC changed names in FunctionImport adds b22cfb7 [SystemZ] Remove AND mask of bottom 6 bits when result is use [...] adds aec1b87 [X86] Sort cast cost tables. NFC. adds 5dab38c TailDuplicator: Remove live-in updating logic adds 631c7c3 Work around PR28400 a bit harder. adds 368e7e3 [x86] fix cost of SINT_TO_FP for i32 --> float (PR21356, PR28434) adds cc4d10b [Conduct] Refine what "rare cases" means wrt violations outsi [...] adds 9b917c5 [DSE] Avoid iterator invalidation bugs. adds 0b9a17f Retry: "Emit CodeView type records for nested classes." adds bf52e2c NVPTX: Make the llvm.nvvm.shfl intrinsics and builtin names c [...] adds 45d8d9a NVPTX: Replace uses of cuda.syncthreads with nvvm.barrier0 adds 1a6ed75 [esan|wset] Fix incorrect memory size assert adds a5ef55b Add 'thinlto_src_module' metadata to imported function adds d6ed0ff [InstCombine] use more specific pattern matchers; NFCI adds 41ba9f9 [LIR] Fix mis-compilation with unwinding. adds ab677c5 [NVPTX] Add sm_60, sm_61, sm_62 targets to LLVM. adds cc3da7f [CodeView] Unions are always sealed adds 7bae266 [CodeView] Emit an appropriate symbol kind for globals adds b2ad34a Add initial support for R_386_GOT32X. adds 705101d [MemorySSA] Reinstate the legacy printer and verifier. adds 2a63bae AArch64: Replace a RegScavenger instance with LivePhysRegs adds 99c9d50 AArch64: Change modeling of zero cycle zeroing. adds 55c8c00 [llvm-cov] Add support for creating html reports adds d5975bb [X86] Transform setcc + movzbl into xorl + setcc adds 5293241 Add testing coverage for r274582. adds 0e9a272 Minor formatting change, NFC adds 96ba0f6 [InstCombine] enhance (select X, C1, C2 --> ext X) to handle vectors adds 365d2a7 ThinLTO: Add test cases for promote+internalize. adds 878a24f Minor code cleanup. NFC. adds bfbdf0d fix documentation comment. NFC. adds 9afbd6f [PM] Port CorrelatedValuePropagation adds 09cf9fc Fix missing member initializers adds f79d978 [PM] Port TailCallElim adds c6ae958 Remove unnecessary subtarget parameters in PPCTargetLowering. adds 4890b34 Sink call to get the MachineFunction into EmitTailCallStoreFP [...] adds 4978b37 Remove the plumbing of 64-bitness from PrepareTailCall and fu [...] adds aa13ea4 [PM] Avoid getResult on a higher level in LoopAccessAnalysis adds 2ae148c Remove the plumbing for isDarwinABI from the PrepareTailCall [...] adds 147d36a Use the MachineFunction that we've already queried for in the [...] adds 77bb5f9 Remove the plumbing for isDarwinABI from EmitTailCallLoadFPAn [...] adds f32cbbe Rename argument for consistency. adds 761e40a Use the class definition for useSoftFloat. adds 2b24567 Use the class version of getPointerTy rather than getting bac [...] adds b821e27 ThinLTO: Remove check for multiple modules before applying we [...] adds 2bbac40 [esan:cfrag] Add option -esan-aux-field-info adds c4b1cdd Define endianness-aware type for Elf_Chdr. adds 3ceb124 [CodeView] Implement support for thread-local variables adds 407fc99 Fixed a bug in vectorizing GEP before gather/scatter intrinsic. adds a268e97 [AVX512] Zero extend the result of vpcmpeq/vpcmpgt and simila [...] adds a609ccd [LoopAccessAnalysis] Fix an integer overflow adds 954c015 [LCG] Hoist the definitions of the stream operator friends to [...] adds 0862928 [ARM] Do not test for CPUs, use SubtargetFeatures. Also remov [...] adds 5ab922c Code size optimisation: don't rewrite fputs to fwrite when op [...] adds d8e3a80 Don't crash trying to relax 32 loads on COFF. adds 73a50c1 [AMDGPU] fix ds_write_src2 encoding (bz26027) adds 69d2b17 Addressing post-commit comments for not rewriting fputs: move [...] adds 849253f save type in local var; NFCI adds e58b508 [SystemZ] Fix regression when handling conditional calls adds 2e53b18 fix formatting; NFC adds ca632c9 Revert "[AArch64] Change the preferred alignment for char and [...] adds cde945c NVPTX: Remove the legacy ptx intrinsics adds bbbc2c2 Revert r274692 to check whether this is what breaks windows s [...] adds f3b3b0c [LoopStrengthReduce] Fix -Wmisleading-indentation. Reported by GCC6. adds 415b201 tests: accept different TargetOpcode values. adds 1a68871 [LibFuzzer] Unbreak the build on macOS which was broken by r272858. adds fc0de02 [NVVM] Rename __nvvm_bar0 builtin back to __syncthreads. adds 28925b5 ThinLTO: Do not take into account whether a definition has mu [...] adds 9e4419d Include SelectionDAGISel in the opt-bisect process adds cb5f19e GlobalISel: remove redundant property setting. NFC. adds d72bce1 [AArch64] Change the preferred alignment for char and short t [...] adds a159545 Clang-format LoadStoreVectorizer adds 9a468ef Add a reference for Elf_Chdr type. adds adafb27 Add a missing semicolon. adds 6a6fa34 [DSE] Remove dead stores in end blocks containing fence adds d0de2d9 [PM] Port InstSimplify to the new pass manager. adds ac3d934 Add checks to the MachOObjectFile() constructor to make sure [...] adds a161bdd [tsan] Try harder to not instrument gcov counters adds 664a3a9 Recommit r274692 - [X86] Transform setcc + movzbl into xorl + setcc adds 261c94d [lanai] Use peephole optimizer to generate more conditional A [...] adds 838850c Fix LTO document adds 62b7b48 Temporarily remove one test run line to unblock PPC bots. adds 803eb9a Temporarily remove a test case to unblock PPC bots. adds 179856d ARM: support high registers in __builtin_longjmp on WoA adds d810dc4 AMDGPU: Cleanup. Use definesRegister instead of manual loop adds b13c425 AMDGPU: Move si_mask_branch register operand to be a use adds 5c1170f Add an assertion for the value enumerator (bitcode writer) NFC adds 302c35d [PM] Port UnreachableBlockElim to the new Pass Manager adds b1a79e7 [X86] Remove intrinsics that already have autoupgrade support. adds 60316c0 [AVX512] Remove and autoupgrade a duplicate set of 512-bit ma [...] adds 3e6afe9 Bug 28444: Fix assertion when extract_vector_elt has mismatched type adds 6d5efdd [X86][SSE] Accept any shuffle mask that is all zeroes adds 319ce32 [AArch64] Macro fusion of simple ALU ops with branches for Br [...] adds b4070c3 [modules] Add missing includes. adds c1abfa1 Code size optimisation: don't expand a div to a mul and and a [...] adds 3696ecc [X86][SSE] Improve constant folding tests for CVTSD/CVTSS/CVT [...] adds 2349423 Addressing post-commit comments regarding not expanding UDIV; [...] adds 10c8524 [AMDGPU] fix ds_swizzle_b32 opcode for VI (bz 28371) adds ed84189 InstCombine rule to fold truncs whose value is available adds d83fc58 Do not expand SDIV when compiling for minimum code size adds 715f7dd [Sparc] Leon errata fix passes. adds 08f72ed regenerate checks adds f760df8 Make a std::string copy of StringRef Name so that it remains [...] adds b3f12d9 Move setName after accessing Name adds e2a3d08 minimize tests adds cfac770 [SystemZ] Add support for missing instructions adds a3314a5 PeepholeOptimizer: Make pass name match DEBUG_TYPE adds 700f702 [CodeGen, TargetPassConfig] Remove a race from createRegAllocPass adds 66a4c6a add vector tests to show missing transform adds fbfe050 [DSE] Minor refactor based on D21007. NFC. adds ec4eff9 [SystemZ] Add support for the .word directive. adds ed35fda Try to fix compilation error in DebugInfoPDBTests. adds 0be32ac [InstCombine] allow or(sext(A), B) --> A ? -1 : B transform f [...] adds 4b4ad23 [X86][AVX] Added combine test that should simplify to insertps adds 161b6ac AMDGPU: Minor adjustment to r274817 adds 4465b12 add test to show multi-use output adds c3d3821 CodeGen: Use MachineInstr& in RegisterScavenging, NFC adds 5475a5b [SLPVectorizer][X86] Added fma vectorization tests adds 6973077 IR: Set a TargetPrefix for nvvm intrinsics adds 48900df [InstCombine] check for one-use before turning simple logic o [...] adds fccaf97 CodeGen: Use MachineInstr& in StackSlotColoring, NFC adds ccb7a2f CodeGen: Avoid iterator conversions in TwoAddressInstructionP [...] adds 04671b9 Target: Avoid getFirstTerminator() => pointer, NFC adds cc2c87f SelectionDAG: Avoid implicit iterator conversions in FastISel, NFC adds f360e3f AMDGPU: Make infinite loop clear, NFC adds a60f808 SelectionDAG: Avoid implicit iterator conversions in Schedule [...] adds 9ea0ae7 SelectionDAG: Avoid implicit iterator conversions in Selectio [...] adds a5b3bc1 [SCCP] Fold constants as we build them whne visiting cast ins [...] adds 83b2ab7 AMDGPU: Remove implicit iterator conversions, NFC adds 86a3f78 SelectionDAG: Avoid implicit iterator conversions in Selectio [...] adds bc06f80 [X86][AVX2] Add support for target shuffle combining to VPERM [...] adds 0a70e9a [CrossDSOCFI] Change the pass so that it doesn't require doIn [...] adds 5de74a6 AsmPrinter: Avoid implicit iterator conversions in DbgValueHi [...] adds a3dcb9e WebAssembly: Avoid implicit iterator conversions, NFC adds 35be20e Sparc: Avoid implicit iterator conversions, NFC adds b7b00a8 [X86] Added bitreverse tests for non-legal types adds d0a0cfa [X86] Regenerated bitreverse tests to demonstrate what is going on. adds b2e9a53 Revert r274829, it caused PR28472. adds 432e623 Remove inline hints computation from SampleProfile.cpp adds 5604263 TableGen: Update style in CodeGenIntrinsics. NFC adds c347f0a ARM: Remove implicit iterator conversions, NFC adds 76a0e1d Remove duplicate inclusion /NFC adds d225a0f add tests for multi-use folding to select adds 662b8f1 AArch64: Avoid implicit iterator conversions, NFC adds d1c620b adjust test so it won't completely optimize away adds b6e263b [InstCombine] don't form select from logic ops if it's unlike [...] adds e042fe5 Rename LoopAccessAnalysis to LoopAccessLegacyAnalysis /NFC adds 4eae278 Allow dead insts to be kept in DeadRemat only when they are r [...] adds d1e9f00 add another multi-use test for logic->select transform adds 0795ebd NVPTX: Avoid implicit iterator conversions, NFC adds adab4dd [InstCombine] don't form select from bitcasted logic ops if b [...] adds 3f1460a MSP430: Avoid implicit iterator conversions, NFC adds fd5a3b4 [PM] name the new PM LAA class LoopAccessAnalysis (LAA) /NFC adds a898ac8 [LAA] Port test to the new PM adds 532fc83 [BFI] Minor cleanup. NFC adds db12f54 Reapply r274829 with fix for FP vectors adds d20cb43 Add 'thinlto_src_module' md with asserts or -enable-import-metadata adds 5e2ec03 AMDGPU: Remove unused control flow intrinsic adds 82974e1 [TTI] Expose TTI::getGEPCost and use it in SLSR and NaryReassociate. adds 230dab1 [MC, COFF] Permit a variable to be redefined adds ccc4444 Lanai: Avoid implicit iterator conversions, NFC adds add1bef Revert "InstCombine rule to fold truncs whose value is available" adds a9730bc [lanai] Update test to use peephole-opt and not peephole-opts adds a745089 Revert "Add 'thinlto_src_module' md with asserts or -enable-i [...] adds 8969dd9 Add 'thinlto_src_module' md with asserts or -enable-import-metadata adds eba0dbb Added REQUIRES to TestingGuide documentation adds 93ad397 AsmPrinter: Fix emitKill() not flush()ing a raw_string_ostream adds 79519fe VirtRegMap: Replace some identity copies with KILL instructions. adds cb5d6ec AMDGPU: Simplify isSchedulingBoundary adds c395502 AMDGPU: Improve offset folding for register indexing adds c7bb08f LivePhysRegs: addLiveOuts() can skip addPristines() in ret block adds d0ae989 [CFLAA] Simplify CFLGraphBuilder. NFC. adds 654ec29 [CFLAA] Move the graph builder out from CFLSteens. NFC. adds fff81b2 [PM] Port LoopSimplify to the new pass manager. adds eb2d425 [PM] Fix a think-o. mv {Scalar,Vectorize}/SLPVectorize.h adds d0506b5 [CFLAA] Make a constant variable `const`. NFC. adds 0dd611b [PM] Port CrossDSOCFI to the new pass manager. adds c3bccfa [LoopSimplify] Remove a comment which is unlikely to age well. adds fd05163 [X86] Remove and autoupgrade 512-bit non-temporal store intrinsics. adds 629ff79 [X86] Remove sse41 extract intrinsics. They are not used by c [...] adds 9ddc329 AMDGPU: Fix fdiv lowering when f32 denormals supported adds ba3380e AMDGPU: Prune AMDGPUAsmParser in libdeps. adds b3013ff AMDGPU: Simplify tests with per function subtargets adds 86a94a3 AMDGPU: Merge / reorganize tests adds a894cad [ArgPromote] Use function_ref and for-range loops. adds 762cdd4 Revert "AMDGPU: Remove unused control flow intrinsic" adds 8711de2 AMDGPU: Move R600 only pieces into R600 classes adds 99de733 [lanai] Treat .t as optional in assembly parser for RR operan [...] adds ed029b0 fix documentation comments; NFC adds 9dd11bf [SLSR] Fix crash on handling 128-bit integers. adds 01d1f77 [COFF, Dwarf] Don't emit DW_AT_location for dllimported entities adds 5058883 [X86][SSE] Regenerate vector shift tests adds 74da774 [X86][SSE] Use scaleShuffleMask helper. NFCI. adds a6e64b3 [X86][SSE] Add support for target shuffle combining to INSERTPS adds 81fe784 [SCCP] Remove wrong and misleading vector handling code. adds de764bb Fix up an include guard. adds 89419a6 [PM] Port LoopVectorize to the new PM. adds 58bb5a7 [docs] Fix up a broken link. adds 4c6356e [SCCP] Rename undefined -> unknown. adds 76b8ab5 [cmake] Create the LLVM_BUILD_UTILS option. adds ff80230 [cmake] Change lli-child-target to use add_llvm_utility inste [...] adds 7aa4746 [llvm-pdbdump] Propagate errors a little more consistently adds 65dccf7 [pdb] Sanity check the stream map adds 67b9ec9 [AVX512] Add support for lowering to 512-bit SHUFPS. adds 0f313e5 [codeview] Drop unused private inheritance. adds a27e16e Give helper classes/functions internal linkage. NFC. adds 7ea0bde reformat, fix comments/names; NFCI adds 80f3984 [SystemZ] Utilize Test Data Class instructions. adds 25fcf3e [Support] Make helper function static. NFC. adds cc3ff76 [X86][SSE] Added tests for combining shuffles to PSHUFLW/PSHUFHW adds d539eb3 [x86, SSE, AVX] add tests for icmp+zext (PR28484) adds 2495a35 fix documentation comments; NFC adds 8f101a7 [X86][SSE] Add support for target shuffle combining to PSHUFL [...] adds e2b4643 AMDGPU/R600: Add implicitarg.ptr intrinsic adds 03c714d [DAG] make isConstantSplatVector() available to the rest of lowering adds ba7f24f Update the LangRef description of the 'returned' attribute adds 772d850 Let FuncAttrs infer the 'returned' argument attribute adds 668cef0 [X86][SSE] Relax type assertions for matchVectorShuffleAsInsertPS adds 9a51ef1 Add getReturnedArgOperand to Call/InvokeInst, CallSite adds 8b01a2f Don't use a SmallSet for returned attribute inference adds b7a19e9 Add a 'Returned' intrinsic property corresponding to the 'ret [...] adds 4cb3366 BasicAA should look through functions with returned arguments adds d90d613 Teach computeKnownBits to look through returned-argument functions adds 837551f Teach SCEV to look through returned-argument functions adds 0017f36 Teach isDereferenceablePointer to look through returned-argum [...] adds b0d6772 Pointer-comparison folding should look through returned-argum [...] adds 939b324 Allow BasicBlockEdge to be used in DenseMap adds 7f9e1e0 Revert r275027 - Let FuncAttrs infer the 'returned' argument [...] adds c09e328 [X86] Add the AVX512 SET0 pseudos to foldMemoryOperandImpl si [...] adds b6d6904 [AVX512] Use vpternlog with an immediate of 0xff to create 51 [...] adds c7f7810 [AVX512] Add support for 512-bit ANDN now that all ones build [...] adds 02c0f02 AVX-512: DAG lowering for scalar MIN/MAX commutable ops adds 279cd1e [mips][microMIPS] Implement LDC1, SDC1, LDC2, SDC2, LWC1, SWC [...] adds 20ad730 [AMDGPU][llvm-mc] Quickfix for r272748 to enable labels in br [...] adds aee0f14 Provide support for preserving assembly comments adds a1057f0 [X86][SSE] Generalise target shuffle combine of shuffles usin [...] adds edd3a2f [x86] update checks adds 0f5a9cf AliasAnalysis: unify getModRefInfo(I, CS) semantics with othe [...] adds bd10da1 [Sink] Don't move calls to readonly functions across stores adds 064f863 [x86] specify triple to avoid bot failures adds 6b00c9f Fix branch relaxation in 16-bit mode. adds 5822c7a Add missing include from previous commit adds b02ab09 [x86] make some of the tests 256-bit for testing diversity adds a47e4c7 Tune the weight propagation algorithm for sample profile. adds bc3b9e5 Implement callsite-hotness based inline cost for Sample-based PGO adds abd1b54 [LowerTypeTests] Don't rely on doInitialization(). adds 8116318 [IR] Stop a -Wsign-compare warning from firing adds 1c6f7ab Fix the assertion failure caused by http://reviews.llvm.org/D22118 adds 9ba010e [lanai] Add more tests for assembly of conditional ALU ops adds eb06640 [PM/IPO] Port LowerTypeTests to the new PassManager. adds ef6651a [SLSR] Call getPointerSizeInBits with the correct address space. adds 84af877 [SCCP] Try to follow the DRY principle, use `OpSt`. adds 2738e9c [SystemZ] Recognize Load On Condition Immediate (LOCHI/LOGHI) [...] adds fdc8303 [IPRA] Properly compute register usage at call sites. adds 7c19248 [X86] Disable FixupSetCC for CodeGenOpt::None adds 87c883d Add TLI.allowsMisalignedMemoryAccesses to LoadStoreVectorizer adds 7228de8 fix documentation comments; NFC adds 9d25b66 [X86] Fix tailcall return address clobber bug. adds 9423d77 Codegen: Fix comment in BranchFolding.cpp adds b1fce5c [X86] Make some cast costs more precise adds a48da98 AMDGPU: fix local stack slot allocation bugs adds 35e1d10 [pdb] Add a pdb2yaml option to not dump file headers. adds ae108ee Refactor the PDB writing to use a builder approach adds ac1e47a AMDGPU: Treat texture gather instructions more like other MIM [...] adds 1f1f6a6 ARM: validate immediate branch targets in AsmParser. adds 334778a Correct ordering of loads/stores. adds f84fc6d New pass manager for LICM. adds 9e93706 [CFLAA] Simplify CFLGraphBuilder. NFC. adds 45e997d Add a libLTO API to query a memory buffer and check if it con [...] adds 581370e Attempt to make buildbots happy. adds e5d9c7f AMDGPU: Remove superfluous string attributes from tests adds 3b18241 Do not use bool in C header lto.h, use lto_bool_t instead adds 405b7d7 AMDGPU: Enable trackLivenessAfterRegAlloc adds 2a09a5f AMDGPU: Fix missing scc def on control flow pseudos adds 27c36c3 AMDGPU: Cleanup pseudoinstructions adds a911edd Teach FastISel about thiscall (and, hence, about callee-pop). adds cf91a6f SystemZ: Avoid implicit iterator conversions, NFC adds 199b94e [X86,IR] Remove unnecessary or unused LLVMContext parameter f [...] adds 721fe5d Mips: Avoid implicit iterator conversions, NFC adds 8c13ec2 Hexagon: Avoid implicit iterator conversions, NFC adds 95b9bf1 [Kryo] Enable ZCZeroing feature adds e56d369 llvm/test/CodeGen/AMDGPU/selected-stack-object.ll REQUIRES +A [...] adds bf38a6c Print remarks from WholeProgramDevirt pass for each call site. adds 5453d5cd Fix libdeps in r275125. LTO tools require BitReader. adds a17edeb X86: Avoid implicit iterator conversions, NFC adds ce6dd1b Re-enable TPI hash verification for enum records. adds f8df5fd Dump enum unique names. adds affa7d0 [AVX512] Remove masked logic op intrinsics and autoupgrade th [...] adds c0c43ac16 Revert "New pass manager for LICM." adds 4d01feb AMDGPU: Unify MOVRELSOffset and MOVRELDOffset adds dd79b0c [codeview] Improved array type support. adds 695eea8 [PowerPC] Cannonicalize applicable vector shift immediates as swaps adds aef0a9b [AArch64] Set FMOVS0 and FMOVD0 as isAsCheapAsAMove when needed. adds 72d33ec [MC] Flip llc's assembly comment preservation flag to have co [...] adds 22693d9 auto-generate checks adds a6934f3 auto-generate checks adds fdd8338 auto-generate checks adds 5e370cb add tests for missing DeMorgan's Law folds adds f5c9f76 [PGO] Don't include full file path in static function profile [...] adds 29e2ed1 Add print/dump routines to LiveInterval::SubRange adds bbfa7fe Fix printing of debugging information in LiveIntervals::shrinkToUses adds 4a97c8d AMDGPU: Add LLVM IR Intrinsic for v_lerp_u8 adds 455e991 AMDGPU: Set isConvergent on v_cmpx* instructions adds 1efbc7f BranchFolding: Use LivePhysReg to update live in lists. adds 2ba4d7a [PM] Port LoopIdiomRecognize Pass to new PM adds 3f7a1b2 AMDGPU: Fix verifier error with kill intrinsic adds 332447d X86FixupBWInsts: No need for forward liveness analysis. adds 136d48b [LoopVectorize] Assorted cleanups adds e0deca8 [SCCP] Constant fold structs if all the lattice value are constant. adds 9ecfb53 [X86][AVX] Add support for target shuffle combining to VPERM2 [...] adds 7615994 [LoopAccessAnalysis] Some minor cleanups adds e2a2e27 Review fixes to lit documentation adds cb071cb [Power9] Add codegen for VSX word insert/extract instructions adds e0c5cea Refactor indirect call promotion profitability analysis (NFC) adds 6449d7c [LV] Remove wrong assumption about LCSSA adds be82bf9 The test case I added is PowerPC specific but I accidentally [...] adds f27edbb Remove unused variable to fix bot failure from r275216 adds 8a85be7 AMDGPU: Follow up to r275203 adds 5ae8ffe GlobalISel: freeze reserved regs after IRTranslator. adds e1d0bc8e New pass manager for LICM. adds e06fe02 Add missing files for r275222 adds babacbf [LV] Do not invalidate use-lists we're iterating over. adds f0bd87e Remove another unused variable from r275216 adds c8ce9e5 Fix ScalarEvolutionExpander step scaling bug adds b0db48d [X86] Remove some seemingly unnecessary patterns that support [...] adds d232ff0 [LoopVectorize] Further cleanups adds 4f80506 [ConstantFold] Don't incorrectly infer inbounds on array GEP adds 43ac9a4 vim: add local_unnamed_addr keyword adds 17c5ce91 [IR] Make getIndexedOffsetInType return a signed result adds 90c5cb8 [ThinLTO/gold] ThinLTO internalization fixes adds 75f3342 vim: separate the keywords into one per line adds 0c6dbcc [ConstantFolding] Cleanups adds 15e85ff [BFI] Add new LazyBFI analysis pass adds 671faaf [ConstantFolding] Don't treat negative GEP offsets as positive adds d664280 AMDGPU: WQM cleanups adds e6aa9db AMDGPU: Fold out no-op kill intrinsics adds 9da4a63 fix incorrect xref in sphinx doc adds 1998d45 [X86][SSE] Check for lane crossing shuffles before trying to [...] adds 929d54b [MC] Fix lexing ordering in assembly label parsing to preserv [...] adds dcf0053 Rename llc's -fpreserve-as-comments flag -preserve-as-comments. adds fab569e AMDGPU/SI: Add support for R_AMDGPU_GOTPCREL adds c0ce580 [X86][AVX] Add support for target shuffle combining to VPERMI [...] adds 15e9450 [X86][AVX512] Add support for VPERMILPD/VPERMILPS variable sh [...] adds 549def0 [ConstantFolding] Use sdiv_ov adds 2ca896a [x86][SSE/AVX] optimize pcmp results better (PR28484) adds 929c941 [ThinLTO/gold] Enable symbol resolution in distributed backend case adds e01c096 PatchableFunction: Skip pseudos that do not create code adds c0ba7ba PR28516: Fix LangRef description of call and invoke to match [...] adds c949e6e Fix for Bug 26903, adds support to inline __builtin_mempcpy adds 6b62d37 AMDGPU/SI: Emit the number of SGPR and VGPR spills adds c45e912 [InstCombine] extend vector select matching for non-splat constants adds 7377153 Fix warnings in FunctionTest.cpp. adds 972586b [ADT] Add LLVM_MARK_AS_BITMASK_ENUM, used to enable bitwise o [...] adds 00e79db Fix warning in ObjectTransformLayerTest. adds 73aacfb Move mempcpy_call.ll to X86 subdirectory adds 59b5dbc Fix header comment in unittests/CodeGen/DIEHashTest.cpp. adds d7113ae add test for zexty xor sandwich adds d60c722 Regenerate test adds f296054 [X86][SSE] Regenerate truncated shift test adds a8caac0 add more tests for zexty xor sandwiches adds b9ed6a6 Reverting r275284 due to platform-specific test failures adds 06c68c2 [SCCP] Use early return. NFCI. adds c57350c [SCCP] Factor out common code. adds ff53425 AMDGPU: Remove last AMDIL intrinsics adds 2b1c1c1 Define a module map entry for ProfileData. adds 3d35f0d [MIR] Print on the given output instead of stderr. adds 9b42aca [Object] Change Archive::child_iterator for better interop wi [...] adds 2c9bd4f Extended LoadStoreVectorizer to vectorize subchains. adds ba51593 Mark the textual headers in the module map for ProfileData adds a48eee2 Fix a TODO in X86CallFrameOptimization to not rely on a codeg [...] adds 9240c45 [llvm-cov] Use a thread pool to speed up report generation (NFC) adds 2ba3aa2 [LAA] Don't hold on to AliasAnalysis in the analysis result adds 703303a [LAA] Don't hold on to LoopInfo in the analysis result adds f5d4047 [LAA] Don't hold on to DataLayout in the analysis result adds cf7c29e Add a triple to fix test on bots after 275320. adds d790364 MIRYamlMapping: Update stale comment adds 13b8667 MIRParser: Move MachineFunction reference into PFS; NFC adds ff8bc4a [MI] Fix MachineInstr::isInvariantLoad. adds 6e665c8 [MI] Clean up some loops over MachineInstr::memoperands(). NFC adds 88a264d [MIR] Fix one GlobalISel test case that I missed in r275314. adds e12bf89 [LAA] Don't hold on to TargetLibraryInfo in the analysis result adds 81c98a7 [LAA] Don't hold on to DominatorTree in the analysis result adds fa8c832 [Coverage] Mark a few methods const (NFC) adds 6ee27ad [Coverage] Return an ArrayRef to avoid copies (NFC) adds 1fed24e [SCCP] Have the logic for replacing insts with constant in a [...] adds a38e7e4 [DAG] Correctly chain masked loads adds 67cca86 MIRParser: Move SlotMapping and SourceMgr refs to PFS; NFC adds 95c81ed Fix copy/paste bug in r275340. adds d2dd1e2 Move a transform from InstCombine to InstSimplify. adds 46fef91 [ConstantFolding] Extend FoldReinterpretLoadFromConstPtr to h [...] adds 47acfe6 [JumpThreading] Delete commented out debug code; NFC adds bf8318c [IPRA] Set callee saved registers to none for local function [...] adds f167a26 Add EnableIPRA to TargetOptions, and move the cl::opt -enable [...] adds 7f0ddc4 Force a semicolon at the end of the LLVM_ENABLE_BITMASK_ENUMS [...] adds 3dc0c3e [ConstantFolding] Fold masked loads adds 5daf897 [Object] Revert r275316, Archive::child_iterator changes, whi [...] adds 57df85b Synchronize LLVM and clang's ObjCDeclSpec::ObjCPropertyAttrib [...] adds 18d2e0e MIRParser: Fix MIRParser not reporting nullptr on error. adds 0f630b6 [SCCP] Generalize tryToReplaceInstWithConstant to work also w [...] adds d800b69 Add missing test for r275347 "[IPRA] Set callee saved registe [...] adds 939d9e2 [Scalarizer] PR28108: Skip over nullptr rather than crashing on it. adds 0e9e4ec Teach fast isel about thiscall (and callee-pop) calls. adds aacf2fb [Object] Re-apply r275316 now that I have the corresponding L [...] adds 20837ca [IPSCCP] Constant fold struct argument/instructions when all [...] adds ba1a49d clarify a bit. adds fb51249 [SCCP] Pass a Value * instead of templating this function. NFC. adds cee9af9 XRay: Add entry and exit sleds adds 5906ff8 AMDGPU: Remove dead code adds fb5f780 AMDGPU: Fix test not actually testing anything adds 759af1e AMDGPU: Remove unused intrinsics adds 04e6d26 AMDGPU/R600: Remove intrinsics with no tests and no users adds 4d120e9 AMDGPU/R600: Delete/rename intrinsics no longer used by mesa adds 940c907 [X86] Fix stupid typo in isel lowering. adds cc0d731 [AVX512] Implement EXTLOAD lowering with patterns to select e [...] adds 6d67ce1 Simplify llvm.masked.load w/ undef masks adds 84f3bec [InstCombine] Masked loads with undef masks can fold to normal loads adds 05488db This implements a more optimal algorithm for selecting a base [...] adds b37f656 [X86][AVX2] VBROADCASTSSrr/VBROADCASTSSYrr require AVX2 not AVX adds 5185c2b [X86][AVX] Regenerate broadcast upgrade tests adds f585634 Remove extra ';' to appease -Wpedantic adds 2128e74 [X86][AVX] Add VBROADCASTF128/VBROADCASTI128 shuffle comments [...] adds 16129fc code hoisting pass based on GVN adds 2bb340c [X86][AVX] Add 128-bit wide shuffle tests that should combine [...] adds 4fab1d4 This converts a signed remainder instruction to unsigned rema [...] adds 1625786 [X86][AVX] Add support for narrowing 128-bit+ shuffle mask el [...] adds 9e2c1ae Speculatively fix the sphinx build, which does not think the [...] adds 1ab1308 Upgrade all the .arcconfigs to https. adds ce80415 [mips] SelectionDAGISel subclasses now follow the optimizatio [...] adds 3c493e7 [X86][AVX2] Allow VPERMPD/VPERMQ shuffles to call combineShuffle adds 6c0d1b7 Remove trailing whitespace. adds 0f2cee6 [X86][AVX] Added an additional vperm2f128 memory folding test adds cccdd2e Teach fast isel calls and rets about stdcall. adds bc38653 [LV] Avoid unnecessary IV scalar-to-vector-to-scalar conversions adds 037f8a7 Revert r275401, it caused PR28551. adds e76c5af Revert r275411, it cause PR28552. adds 1c81036 [AMDGPU] Assembler: fix row_bcast parsing adds 8b85118 [GlobalISel] Fix #include ordering/spacing. NFC. adds cf03606 [TableGen] Cleanup Record comments. NFC. adds 27cc0cc [TableGen] Autobrief-ize Record. NFC. adds 1ac61e28 [X86] Don't mark addressing mode operands as "outs". NFC-ish. adds 6a16f1b [X86] Decode MPX BND registers. adds b19f420 Delete some trailing whitespace. adds 3d6b13f Don't optimize movs to pushes in -O0 builds. adds 6e4b75d GlobalsAA: Functions with the argmemonly attribute won't read [...] adds 5591e3d ARM: fix vmov.i64 immediate validity check adds f66cee6 [CodeGen] Refactor MachineMemOperand's Flags enum. adds e53b5c2 auto-generate checks adds 3eef398 [CodeGen] s/constexpr/LLVM_CONSTEXPR/ in MachineMemOperand.h. adds 4d45f1e X86: handle external tail calls in Windows JIT adds 3ce0513 [CodeGen] Simplify reg bank/class union is+get into dyn_cast. NFC. adds e9edae4 [GlobalISel] Fix G_OR opcode after the addition of a TargetOpcode. adds 99b3da6 [X86][MC] Fix bracket expression parsing in intel-style assembly. adds ec8a2f2 [sanitizer-coverage] make sure that calls to __sanitizer_cov_ [...] adds 505d1e7 TableGen: Fix a confusing use of both i and I as variables. NFC adds d4faf8f [CodeGen] Refactor MachineMemOperand::Flags's target-specific flags. adds fa907d3 [PM] Port Dead Loop Deletion Pass to the new PM adds 8bd1db4 Add debugging code to the packetizer adds c87d751 [JumpThreading] PRE unordered loads adds 7846f45 [AArch64] Adjust the scheduling model for Exynos-M1. adds 1a360b3 [Hexagon] Packetize function call arguments with tail call in [...] adds d1a73a0 s/constexpr/LLVM_CONSTEXPR in AArch64InstrInfo.cpp. adds f5f726b [ValueTracking] Use Instruction::getFunction; NFC adds a43274d Add recently added TargetOptions::EnableIPRA member to operator== adds f3702b6 [SCCP] Pass the Solver by reference, copies are expensive ... adds 36105c0 [Object] Change Archive::findSym to return an Expected<Option [...] adds 2fa0c58 don't repeat function names in comments; NFC adds 843f7ad [LV] Allow interleaved accesses in loops with predicated blocks adds d69942c [LV] Rename StrideAccesses to AccessStrideInfo (NFC) adds b0786ec [ThinLTO/gold] Perform index-based weak/linkonce resolution adds ef2acb5 Move legacy LTO interface headers to legacy/ directory. new ccc5d2d Updating branches/google/stable to r275480
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .arcconfig | 2 +- .gitignore | 2 + CMakeLists.txt | 23 +- CODE_OWNERS.TXT | 8 +- bindings/ocaml/llvm/llvm.ml | 2 + bindings/ocaml/llvm/llvm.mli | 4 + bindings/ocaml/llvm/llvm_ocaml.c | 11 + cmake/config-ix.cmake | 8 +- cmake/modules/AddLLVM.cmake | 48 +- cmake/modules/AddOCaml.cmake | 8 +- cmake/modules/CMakeLists.txt | 2 + cmake/modules/CheckAtomic.cmake | 37 + cmake/modules/HandleLLVMOptions.cmake | 24 +- cmake/modules/LLVMConfig.cmake.in | 7 +- cmake/modules/LLVMExternalProjectUtils.cmake | 40 +- docs/AMDGPUUsage.rst | 8 +- docs/AliasAnalysis.rst | 3 +- docs/Atomics.rst | 2 +- docs/BitCodeFormat.rst | 10 - docs/BitSets.rst | 221 - docs/CMake.rst | 5 +- docs/CodeGenerator.rst | 29 +- docs/CodeOfConduct.rst | 112 + docs/CommandGuide/FileCheck.rst | 19 + docs/CommandGuide/llvm-cov.rst | 12 + docs/DeveloperPolicy.rst | 4 +- docs/LangRef.rst | 152 +- docs/LinkTimeOptimization.rst | 4 +- docs/MergeFunctions.rst | 2 +- docs/NVPTXUsage.rst | 2 +- docs/ProgrammersManual.rst | 4 +- docs/ReportingGuide.rst | 143 + docs/SourceLevelDebugging.rst | 8 +- docs/TableGen/LangRef.rst | 2 +- docs/TestingGuide.rst | 17 + docs/TypeMetadata.rst | 226 + docs/index.rst | 4 +- docs/tutorial/BuildingAJIT1.rst | 4 +- docs/tutorial/BuildingAJIT2.rst | 2 +- docs/tutorial/LangImpl01.rst | 293 + docs/tutorial/LangImpl02.rst | 735 ++ docs/tutorial/LangImpl03.rst | 567 ++ docs/tutorial/LangImpl04.rst | 610 ++ .../{LangImpl5-cfg.png => LangImpl05-cfg.png} | Bin docs/tutorial/LangImpl05.rst | 790 ++ docs/tutorial/LangImpl06.rst | 768 ++ docs/tutorial/LangImpl07.rst | 881 +++ docs/tutorial/LangImpl08.rst | 218 + docs/tutorial/LangImpl09.rst | 462 ++ docs/tutorial/LangImpl1.rst | 290 - docs/tutorial/{LangImpl9.rst => LangImpl10.rst} | 0 docs/tutorial/LangImpl2.rst | 735 -- docs/tutorial/LangImpl3.rst | 567 -- docs/tutorial/LangImpl4.rst | 610 -- docs/tutorial/LangImpl5.rst | 790 -- docs/tutorial/LangImpl6.rst | 768 -- docs/tutorial/LangImpl7.rst | 881 --- docs/tutorial/LangImpl8.rst | 462 -- docs/tutorial/OCamlLangImpl5.rst | 2 +- examples/Kaleidoscope/Chapter8/CMakeLists.txt | 6 +- examples/Kaleidoscope/Chapter8/toy.cpp | 416 +- examples/Kaleidoscope/Chapter9/CMakeLists.txt | 13 + examples/Kaleidoscope/Chapter9/toy.cpp | 1445 ++++ include/llvm-c/lto.h | 17 +- include/llvm/ADT/APInt.h | 4 +- include/llvm/ADT/BitmaskEnum.h | 153 + include/llvm/ADT/PriorityWorklist.h | 224 + include/llvm/ADT/STLExtras.h | 8 + include/llvm/ADT/SetVector.h | 2 +- include/llvm/ADT/Triple.h | 104 +- include/llvm/Analysis/AliasAnalysis.h | 13 + include/llvm/Analysis/AliasSetTracker.h | 2 +- include/llvm/Analysis/BitSetUtils.h | 38 - include/llvm/Analysis/BlockFrequencyInfo.h | 7 +- include/llvm/Analysis/BlockFrequencyInfoImpl.h | 121 + include/llvm/Analysis/CFLAliasAnalysis.h | 149 - include/llvm/Analysis/CFLAndersAliasAnalysis.h | 85 + include/llvm/Analysis/CFLSteensAliasAnalysis.h | 167 + include/llvm/Analysis/CGSCCPassManager.h | 40 +- .../llvm/Analysis/IndirectCallPromotionAnalysis.h | 67 + .../llvm/Analysis}/IndirectCallSiteVisitor.h | 0 include/llvm/Analysis/Interval.h | 10 +- include/llvm/Analysis/LazyBlockFrequencyInfo.h | 125 + include/llvm/Analysis/LazyCallGraph.h | 93 +- include/llvm/Analysis/Loads.h | 49 +- include/llvm/Analysis/LoopAccessAnalysis.h | 113 +- include/llvm/Analysis/ScalarEvolutionExpressions.h | 6 +- include/llvm/Analysis/TargetTransformInfo.h | 30 + include/llvm/Analysis/TargetTransformInfoImpl.h | 18 +- include/llvm/Analysis/TypeMetadataUtils.h | 45 + include/llvm/Analysis/ValueTracking.h | 14 +- include/llvm/Analysis/VectorUtils.h | 11 +- include/llvm/Bitcode/LLVMBitCodes.h | 7 +- include/llvm/Bitcode/ReaderWriter.h | 5 + include/llvm/CodeGen/Analysis.h | 3 - include/llvm/CodeGen/AsmPrinter.h | 2 + include/llvm/CodeGen/BasicTTIImpl.h | 44 +- include/llvm/CodeGen/FunctionLoweringInfo.h | 2 +- include/llvm/CodeGen/ISDOpcodes.h | 46 +- include/llvm/CodeGen/LiveInterval.h | 9 + include/llvm/CodeGen/LivePhysRegs.h | 9 +- include/llvm/CodeGen/LiveRangeEdit.h | 6 +- include/llvm/CodeGen/LiveVariables.h | 49 +- include/llvm/CodeGen/MIRYamlMapping.h | 3 - include/llvm/CodeGen/MachineBlockFrequencyInfo.h | 4 + include/llvm/CodeGen/MachineDominators.h | 23 + include/llvm/CodeGen/MachineInstr.h | 5 + include/llvm/CodeGen/MachineInstrBuilder.h | 46 +- include/llvm/CodeGen/MachineMemOperand.h | 62 +- include/llvm/CodeGen/MachineModuleInfoImpls.h | 10 - include/llvm/CodeGen/MachineRegisterInfo.h | 15 +- include/llvm/CodeGen/MachineScheduler.h | 44 +- include/llvm/CodeGen/PBQP/Graph.h | 3 + include/llvm/CodeGen/Passes.h | 4 + include/llvm/CodeGen/PreISelIntrinsicLowering.h | 26 + include/llvm/CodeGen/RegisterScavenging.h | 9 +- include/llvm/CodeGen/SelectionDAG.h | 48 +- include/llvm/CodeGen/SelectionDAGNodes.h | 26 +- include/llvm/CodeGen/SlotIndexes.h | 2 +- include/llvm/CodeGen/TailDuplicator.h | 1 - include/llvm/CodeGen/UnreachableBlockElim.h | 37 + include/llvm/CodeGen/WinEHFuncInfo.h | 1 + include/llvm/DebugInfo/CodeView/ByteStream.h | 2 + include/llvm/DebugInfo/CodeView/CodeView.h | 2 +- include/llvm/DebugInfo/CodeView/EnumTables.h | 2 +- .../DebugInfo/CodeView/FieldListRecordBuilder.h | 2 +- .../llvm/DebugInfo/CodeView/ListRecordBuilder.h | 23 +- include/llvm/DebugInfo/CodeView/StreamInterface.h | 2 + include/llvm/DebugInfo/CodeView/StreamRef.h | 14 +- include/llvm/DebugInfo/CodeView/SymbolRecord.h | 3 +- include/llvm/DebugInfo/CodeView/TypeRecord.h | 33 +- .../llvm/DebugInfo/CodeView/TypeRecordBuilder.h | 8 +- include/llvm/DebugInfo/CodeView/TypeRecords.def | 2 +- .../llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h | 4 +- include/llvm/DebugInfo/DIContext.h | 1 - include/llvm/DebugInfo/PDB/Raw/DbiStream.h | 32 +- include/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h | 55 + include/llvm/DebugInfo/PDB/Raw/IPDBFile.h | 4 +- include/llvm/DebugInfo/PDB/Raw/InfoStream.h | 12 + include/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h | 50 + include/llvm/DebugInfo/PDB/Raw/MappedBlockStream.h | 5 +- include/llvm/DebugInfo/PDB/Raw/ModStream.h | 2 + include/llvm/DebugInfo/PDB/Raw/NameMap.h | 2 + include/llvm/DebugInfo/PDB/Raw/PDBFile.h | 20 +- include/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h | 60 + include/llvm/DebugInfo/PDB/Raw/PublicsStream.h | 2 + include/llvm/DebugInfo/PDB/Raw/SymbolStream.h | 2 + include/llvm/DebugInfo/PDB/Raw/TpiStream.h | 2 + include/llvm/ExecutionEngine/ExecutionEngine.h | 1 - .../llvm/ExecutionEngine/Orc/LazyEmittingLayer.h | 9 +- include/llvm/IR/Attributes.h | 6 +- include/llvm/IR/Attributes.td | 3 + include/llvm/IR/CallSite.h | 12 + include/llvm/IR/DIBuilder.h | 24 +- include/llvm/IR/DataLayout.h | 2 +- include/llvm/IR/DebugInfoFlags.def | 3 +- include/llvm/IR/DebugInfoMetadata.h | 67 +- include/llvm/IR/DiagnosticInfo.h | 8 +- include/llvm/IR/Dominators.h | 21 + include/llvm/IR/Function.h | 8 + include/llvm/IR/GlobalObject.h | 6 + include/llvm/IR/IRBuilder.h | 26 +- include/llvm/IR/InlineAsm.h | 1 + include/llvm/IR/InstrTypes.h | 4 + include/llvm/IR/Instruction.h | 15 +- include/llvm/IR/Instructions.h | 28 + include/llvm/IR/Intrinsics.h | 20 + include/llvm/IR/Intrinsics.td | 32 +- include/llvm/IR/IntrinsicsAArch64.td | 2 +- include/llvm/IR/IntrinsicsAMDGPU.td | 76 +- include/llvm/IR/IntrinsicsNVVM.td | 200 +- include/llvm/IR/IntrinsicsSystemZ.td | 11 + include/llvm/IR/IntrinsicsX86.td | 592 +- include/llvm/IR/LLVMContext.h | 1 + include/llvm/IR/Module.h | 71 +- include/llvm/IR/UseListOrder.h | 1 + include/llvm/InitializePasses.h | 27 +- include/llvm/LTO/LTO.h | 1 - include/llvm/LTO/{ => legacy}/LTOCodeGenerator.h | 0 include/llvm/LTO/{ => legacy}/LTOModule.h | 0 .../llvm/LTO/{ => legacy}/ThinLTOCodeGenerator.h | 0 include/llvm/LTO/legacy/UpdateCompilerUsed.h | 32 + include/llvm/LinkAllPasses.h | 7 +- include/llvm/MC/MCAsmBackend.h | 11 +- include/llvm/MC/MCAsmInfo.h | 11 + include/llvm/MC/MCCodeGenInfo.h | 50 - include/llvm/MC/MCContext.h | 32 +- include/llvm/MC/MCELFObjectWriter.h | 1 + include/llvm/MC/MCLinkerOptimizationHint.h | 25 +- include/llvm/MC/MCStreamer.h | 8 +- include/llvm/MC/MCSymbol.h | 4 +- include/llvm/MC/MCSymbolMachO.h | 1 + include/llvm/MC/MCTargetOptions.h | 4 + include/llvm/Object/Archive.h | 46 +- include/llvm/Object/ArchiveWriter.h | 43 +- include/llvm/Object/COFF.h | 8 +- include/llvm/Object/ELFObjectFile.h | 6 +- include/llvm/Object/ELFTypes.h | 21 + include/llvm/Object/IRObjectFile.h | 3 +- include/llvm/Object/MachO.h | 2 +- include/llvm/Object/MachOUniversal.h | 13 +- include/llvm/Object/ObjectFile.h | 6 +- include/llvm/ObjectYAML/MachOYAML.h | 34 + include/llvm/ObjectYAML/ObjectYAML.h | 35 + include/llvm/PassAnalysisSupport.h | 6 +- .../llvm/ProfileData/Coverage/CoverageMapping.h | 6 +- .../ProfileData/Coverage/CoverageMappingWriter.h | 24 +- include/llvm/ProfileData/ProfileCommon.h | 1 + include/llvm/Support/CommandLine.h | 87 +- include/llvm/Support/DataTypes.h.cmake | 15 +- include/llvm/Support/Dwarf.h | 7 +- include/llvm/Support/ELF.h | 6 +- include/llvm/Support/ELFRelocs/AMDGPU.def | 1 + include/llvm/Support/Error.h | 21 +- include/llvm/Support/GenericDomTree.h | 22 +- include/llvm/Support/MachO.h | 22 + include/llvm/Support/ManagedStatic.h | 42 +- include/llvm/Support/OnDiskHashTable.h | 2 +- include/llvm/Support/TargetRegistry.h | 75 +- include/llvm/Support/TrailingObjects.h | 45 + include/llvm/TableGen/Record.h | 217 +- include/llvm/TableGen/SearchableTable.td | 41 + include/llvm/Target/GenericOpcodes.td | 3 - include/llvm/Target/Target.td | 15 + include/llvm/Target/TargetFrameLowering.h | 14 + include/llvm/Target/TargetInstrInfo.h | 207 +- include/llvm/Target/TargetLowering.h | 23 +- include/llvm/Target/TargetMachine.h | 13 +- include/llvm/Target/TargetOpcodes.def | 15 +- include/llvm/Target/TargetOptions.h | 9 +- include/llvm/Target/TargetSchedule.td | 16 + include/llvm/Target/TargetSelectionDAG.td | 3 + include/llvm/Target/TargetSubtargetInfo.h | 1 - include/llvm/Transforms/IPO.h | 8 +- include/llvm/Transforms/IPO/CrossDSOCFI.h | 28 + include/llvm/Transforms/IPO/LowerBitSets.h | 205 - include/llvm/Transforms/IPO/LowerTypeTests.h | 213 + include/llvm/Transforms/IPO/PartialInlining.h | 32 + include/llvm/Transforms/IPO/WholeProgramDevirt.h | 37 +- include/llvm/Transforms/Scalar/ConstantHoisting.h | 149 + .../Transforms/Scalar/CorrelatedValuePropagation.h | 24 + include/llvm/Transforms/Scalar/Float2Int.h | 51 + include/llvm/Transforms/Scalar/LICM.h | 48 + include/llvm/Transforms/Scalar/LoopDeletion.h | 38 + .../llvm/Transforms/Scalar/LoopIdiomRecognize.h | 31 + include/llvm/Transforms/Scalar/SLPVectorizer.h | 113 - .../Transforms/Scalar/TailRecursionElimination.h | 66 + include/llvm/Transforms/Utils/LoopSimplify.h | 65 + include/llvm/Transforms/Utils/LoopUtils.h | 8 - include/llvm/Transforms/Utils/MemorySSA.h | 125 +- .../llvm/Transforms/Utils/SimplifyInstructions.h | 31 + include/llvm/Transforms/Vectorize.h | 7 + include/llvm/Transforms/Vectorize/LoopVectorize.h | 103 + include/llvm/Transforms/Vectorize/SLPVectorizer.h | 113 + include/llvm/module.modulemap | 59 +- lib/Analysis/AliasAnalysis.cpp | 26 +- lib/Analysis/AliasAnalysisEvaluator.cpp | 39 +- lib/Analysis/AliasAnalysisSummary.cpp | 105 + lib/Analysis/AliasAnalysisSummary.h | 191 + lib/Analysis/AliasSetTracker.cpp | 19 +- lib/Analysis/Analysis.cpp | 4 +- lib/Analysis/BasicAliasAnalysis.cpp | 49 +- lib/Analysis/BitSetUtils.cpp | 82 - lib/Analysis/BlockFrequencyInfo.cpp | 121 +- lib/Analysis/BlockFrequencyInfoImpl.cpp | 16 + lib/Analysis/CFLAliasAnalysis.cpp | 985 --- lib/Analysis/CFLAndersAliasAnalysis.cpp | 60 + lib/Analysis/CFLGraph.h | 533 ++ lib/Analysis/CFLSteensAliasAnalysis.cpp | 442 ++ lib/Analysis/CMakeLists.txt | 8 +- lib/Analysis/CallGraph.cpp | 18 +- lib/Analysis/CallGraphSCCPass.cpp | 8 +- lib/Analysis/ConstantFolding.cpp | 222 +- lib/Analysis/CostModel.cpp | 9 +- lib/Analysis/DependenceAnalysis.cpp | 16 +- lib/Analysis/GlobalsModRef.cpp | 2 +- lib/Analysis/IVUsers.cpp | 17 +- lib/Analysis/IndirectCallPromotionAnalysis.cpp | 109 + lib/Analysis/InlineCost.cpp | 16 +- lib/Analysis/InstructionSimplify.cpp | 40 +- lib/Analysis/Interval.cpp | 15 +- lib/Analysis/IntervalPartition.cpp | 5 +- lib/Analysis/LLVMBuild.txt | 2 +- lib/Analysis/LazyBlockFrequencyInfo.cpp | 68 + lib/Analysis/LazyCallGraph.cpp | 13 +- lib/Analysis/LazyValueInfo.cpp | 92 +- lib/Analysis/Loads.cpp | 51 +- lib/Analysis/LoopAccessAnalysis.cpp | 215 +- lib/Analysis/LoopInfo.cpp | 9 +- lib/Analysis/LoopPass.cpp | 4 +- lib/Analysis/LoopUnrollAnalyzer.cpp | 2 +- lib/Analysis/MemDepPrinter.cpp | 14 +- lib/Analysis/MemoryBuiltins.cpp | 35 +- lib/Analysis/MemoryDependenceAnalysis.cpp | 6 +- lib/Analysis/ModuleSummaryAnalysis.cpp | 11 +- lib/Analysis/RegionPrinter.cpp | 4 +- lib/Analysis/ScalarEvolution.cpp | 48 +- lib/Analysis/ScalarEvolutionExpander.cpp | 7 + lib/Analysis/SparsePropagation.cpp | 4 +- lib/Analysis/StratifiedSets.h | 40 +- lib/Analysis/TargetTransformInfo.cpp | 21 + lib/Analysis/TypeMetadataUtils.cpp | 118 + lib/Analysis/ValueTracking.cpp | 98 +- lib/Analysis/VectorUtils.cpp | 41 + lib/AsmParser/LLLexer.cpp | 1 + lib/AsmParser/LLParser.cpp | 38 +- lib/AsmParser/LLToken.h | 1 + lib/Bitcode/Reader/BitcodeReader.cpp | 208 +- lib/Bitcode/Writer/BitcodeWriter.cpp | 40 +- lib/Bitcode/Writer/ValueEnumerator.cpp | 25 +- lib/Bitcode/Writer/ValueEnumerator.h | 4 +- lib/CodeGen/Analysis.cpp | 43 - lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 41 +- lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 673 +- lib/CodeGen/AsmPrinter/CodeViewDebug.h | 42 +- .../AsmPrinter/DbgValueHistoryCalculator.cpp | 4 +- lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | 29 + lib/CodeGen/AsmPrinter/DebugHandlerBase.h | 3 + lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 101 +- lib/CodeGen/AsmPrinter/DwarfExpression.cpp | 4 +- lib/CodeGen/AsmPrinter/DwarfExpression.h | 4 +- lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 48 +- lib/CodeGen/AsmPrinter/WinException.cpp | 37 +- lib/CodeGen/BranchFolding.cpp | 66 +- lib/CodeGen/BranchFolding.h | 8 +- lib/CodeGen/CMakeLists.txt | 3 + lib/CodeGen/CalcSpillWeights.cpp | 2 +- lib/CodeGen/CodeGen.cpp | 5 +- lib/CodeGen/DFAPacketizer.cpp | 25 + lib/CodeGen/DeadMachineInstructionElim.cpp | 5 + lib/CodeGen/ExecutionDepsFix.cpp | 14 +- lib/CodeGen/ExpandISelPseudos.cpp | 7 +- lib/CodeGen/ExpandPostRAPseudos.cpp | 10 +- lib/CodeGen/GlobalISel/IRTranslator.cpp | 5 + lib/CodeGen/GlobalISel/RegisterBank.cpp | 1 - lib/CodeGen/GlobalISel/RegisterBankInfo.cpp | 4 +- lib/CodeGen/IfConversion.cpp | 18 +- lib/CodeGen/ImplicitNullChecks.cpp | 187 +- lib/CodeGen/InlineSpiller.cpp | 77 +- lib/CodeGen/LLVMTargetMachine.cpp | 9 +- lib/CodeGen/LiveDebugVariables.cpp | 27 +- lib/CodeGen/LiveInterval.cpp | 28 +- lib/CodeGen/LiveIntervalAnalysis.cpp | 2 +- lib/CodeGen/LivePhysRegs.cpp | 17 +- lib/CodeGen/LiveRangeEdit.cpp | 27 +- lib/CodeGen/LiveVariables.cpp | 54 +- lib/CodeGen/LocalStackSlotAllocation.cpp | 64 +- lib/CodeGen/MIRParser/MIParser.cpp | 114 +- lib/CodeGen/MIRParser/MIParser.h | 55 +- lib/CodeGen/MIRParser/MIRParser.cpp | 173 +- lib/CodeGen/MachineBasicBlock.cpp | 32 +- lib/CodeGen/MachineBlockFrequencyInfo.cpp | 119 +- lib/CodeGen/MachineBlockPlacement.cpp | 53 +- lib/CodeGen/MachineCSE.cpp | 7 +- lib/CodeGen/MachineDominators.cpp | 30 + lib/CodeGen/MachineFunction.cpp | 7 +- lib/CodeGen/MachineInstr.cpp | 41 +- lib/CodeGen/MachineLICM.cpp | 23 +- lib/CodeGen/MachineRegisterInfo.cpp | 5 +- lib/CodeGen/MachineScheduler.cpp | 278 +- lib/CodeGen/MachineSink.cpp | 99 +- lib/CodeGen/MachineTraceMetrics.cpp | 62 +- lib/CodeGen/MachineVerifier.cpp | 12 +- lib/CodeGen/PHIElimination.cpp | 16 +- lib/CodeGen/PatchableFunction.cpp | 29 +- lib/CodeGen/PeepholeOptimizer.cpp | 30 +- lib/CodeGen/PostRAHazardRecognizer.cpp | 10 +- lib/CodeGen/PostRASchedulerList.cpp | 12 +- lib/CodeGen/PreISelIntrinsicLowering.cpp | 31 +- lib/CodeGen/PrologEpilogInserter.cpp | 114 +- lib/CodeGen/RegAllocFast.cpp | 64 +- lib/CodeGen/RegAllocGreedy.cpp | 4 +- lib/CodeGen/RegUsageInfoCollector.cpp | 30 +- lib/CodeGen/RegisterCoalescer.cpp | 87 +- lib/CodeGen/RegisterScavenging.cpp | 93 +- lib/CodeGen/SafeStack.cpp | 89 +- lib/CodeGen/SafeStackColoring.cpp | 289 + lib/CodeGen/SafeStackColoring.h | 149 + lib/CodeGen/SafeStackLayout.cpp | 138 + lib/CodeGen/SafeStackLayout.h | 68 + lib/CodeGen/ScheduleDAGInstrs.cpp | 88 +- lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 283 +- lib/CodeGen/SelectionDAG/FastISel.cpp | 8 +- lib/CodeGen/SelectionDAG/InstrEmitter.cpp | 5 +- lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 42 +- lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 2 +- lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | 90 +- lib/CodeGen/SelectionDAG/LegalizeTypes.h | 169 +- lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | 5 +- lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 51 +- lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp | 2 +- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 153 +- lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 111 +- lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 1 - lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 25 +- lib/CodeGen/SelectionDAG/TargetLowering.cpp | 32 +- lib/CodeGen/SlotIndexes.cpp | 31 +- lib/CodeGen/SplitKit.cpp | 10 +- lib/CodeGen/SplitKit.h | 6 +- lib/CodeGen/StackProtector.cpp | 3 +- lib/CodeGen/StackSlotColoring.cpp | 34 +- lib/CodeGen/TailDuplicator.cpp | 20 +- lib/CodeGen/TargetFrameLoweringImpl.cpp | 13 +- lib/CodeGen/TargetInstrInfo.cpp | 335 +- lib/CodeGen/TargetLoweringBase.cpp | 5 +- lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 18 +- lib/CodeGen/TargetPassConfig.cpp | 68 +- lib/CodeGen/TargetSchedule.cpp | 20 +- lib/CodeGen/TwoAddressInstructionPass.cpp | 148 +- lib/CodeGen/UnreachableBlockElim.cpp | 66 +- lib/CodeGen/VirtRegMap.cpp | 36 +- lib/CodeGen/XRayInstrumentation.cpp | 96 + lib/DebugInfo/CodeView/ByteStream.cpp | 4 + lib/DebugInfo/CodeView/EnumTables.cpp | 4 +- lib/DebugInfo/CodeView/ListRecordBuilder.cpp | 89 +- lib/DebugInfo/CodeView/SymbolDumper.cpp | 3 + lib/DebugInfo/CodeView/TypeDumper.cpp | 14 + lib/DebugInfo/CodeView/TypeRecord.cpp | 20 +- lib/DebugInfo/CodeView/TypeRecordBuilder.cpp | 11 +- lib/DebugInfo/CodeView/TypeTableBuilder.cpp | 4 +- lib/DebugInfo/DWARF/DWARFContext.cpp | 12 +- lib/DebugInfo/PDB/CMakeLists.txt | 3 + lib/DebugInfo/PDB/Raw/DbiStream.cpp | 53 +- lib/DebugInfo/PDB/Raw/DbiStreamBuilder.cpp | 76 + lib/DebugInfo/PDB/Raw/InfoStream.cpp | 32 +- lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp | 54 + lib/DebugInfo/PDB/Raw/MappedBlockStream.cpp | 21 +- lib/DebugInfo/PDB/Raw/ModStream.cpp | 5 + lib/DebugInfo/PDB/Raw/NameMap.cpp | 20 + lib/DebugInfo/PDB/Raw/PDBFile.cpp | 178 +- lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp | 127 + lib/DebugInfo/PDB/Raw/PublicsStream.cpp | 2 + lib/DebugInfo/PDB/Raw/RawSession.cpp | 2 + lib/DebugInfo/PDB/Raw/SymbolStream.cpp | 2 + lib/DebugInfo/PDB/Raw/TpiStream.cpp | 14 +- lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp | 7 +- lib/DebugInfo/Symbolize/Symbolize.cpp | 1 + lib/ExecutionEngine/ExecutionEngine.cpp | 6 +- .../IntelJITEvents/IntelJITEventListener.cpp | 7 +- lib/ExecutionEngine/MCJIT/MCJIT.cpp | 11 +- lib/ExecutionEngine/Orc/OrcMCJITReplacement.h | 11 +- lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 30 +- .../RuntimeDyld/RuntimeDyldCOFF.cpp | 11 +- lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h | 3 + .../RuntimeDyld/Targets/RuntimeDyldCOFFI386.h | 6 +- .../RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h | 291 + lib/Fuzzer/FuzzerDriver.cpp | 4 +- lib/Fuzzer/FuzzerInternal.h | 71 +- lib/Fuzzer/FuzzerLoop.cpp | 10 +- lib/Fuzzer/FuzzerMutate.cpp | 8 +- lib/Fuzzer/FuzzerTraceState.cpp | 9 +- lib/Fuzzer/afl/afl_driver.cpp | 182 +- lib/Fuzzer/test/AFLDriverTest.cpp | 10 + lib/Fuzzer/test/FuzzerUnittest.cpp | 23 +- lib/Fuzzer/test/afl-driver-extra-stats.test | 28 + lib/Fuzzer/test/afl-driver-stderr.test | 10 + lib/Fuzzer/test/afl-driver.test | 10 - lib/IR/AsmWriter.cpp | 44 +- lib/IR/AttributeImpl.h | 13 +- lib/IR/Attributes.cpp | 56 +- lib/IR/AutoUpgrade.cpp | 613 +- lib/IR/BasicBlock.cpp | 4 +- lib/IR/ConstantFold.cpp | 101 +- lib/IR/Constants.cpp | 4 +- lib/IR/Core.cpp | 4 +- lib/IR/DIBuilder.cpp | 61 +- lib/IR/DataLayout.cpp | 10 +- lib/IR/DebugInfoMetadata.cpp | 22 +- lib/IR/DiagnosticInfo.cpp | 4 +- lib/IR/Function.cpp | 202 +- lib/IR/IRBuilder.cpp | 25 +- lib/IR/Instruction.cpp | 6 - lib/IR/Instructions.cpp | 26 + lib/IR/LLVMContext.cpp | 4 + lib/IR/LLVMContextImpl.cpp | 7 +- lib/IR/LLVMContextImpl.h | 23 +- lib/IR/MDBuilder.cpp | 2 +- lib/IR/Metadata.cpp | 55 +- lib/IR/TypeFinder.cpp | 18 +- lib/IR/Value.cpp | 12 + lib/IR/ValueSymbolTable.cpp | 10 +- lib/IR/Verifier.cpp | 220 +- lib/LTO/LTO.cpp | 20 +- lib/LTO/LTOCodeGenerator.cpp | 10 +- lib/LTO/LTOModule.cpp | 2 +- lib/LTO/ThinLTOCodeGenerator.cpp | 25 +- lib/LTO/UpdateCompilerUsed.cpp | 5 +- lib/LTO/UpdateCompilerUsed.h | 34 - lib/LibDriver/LibDriver.cpp | 16 +- lib/Linker/IRMover.cpp | 20 +- lib/MC/CMakeLists.txt | 1 - lib/MC/ConstantPools.cpp | 17 +- lib/MC/ELFObjectWriter.cpp | 8 - lib/MC/MCAsmInfo.cpp | 1 + lib/MC/MCAsmStreamer.cpp | 60 +- lib/MC/MCAssembler.cpp | 2 +- lib/MC/MCCodeGenInfo.cpp | 23 - lib/MC/MCCodeView.cpp | 1 + lib/MC/MCContext.cpp | 22 +- lib/MC/MCDwarf.cpp | 44 +- lib/MC/MCELFStreamer.cpp | 1 + lib/MC/MCLinkerOptimizationHint.cpp | 31 +- lib/MC/MCObjectFileInfo.cpp | 7 +- lib/MC/MCObjectStreamer.cpp | 4 +- lib/MC/MCParser/AsmParser.cpp | 27 +- lib/MC/MCParser/DarwinAsmParser.cpp | 4 +- lib/MC/MCParser/ELFAsmParser.cpp | 5 +- lib/MC/MCStreamer.cpp | 3 + lib/MC/WinCOFFObjectWriter.cpp | 52 +- lib/MC/WinCOFFStreamer.cpp | 30 +- lib/Object/Archive.cpp | 95 +- lib/Object/ArchiveWriter.cpp | 180 +- lib/Object/Binary.cpp | 4 +- lib/Object/COFFObjectFile.cpp | 50 +- lib/Object/IRObjectFile.cpp | 17 +- lib/Object/MachOObjectFile.cpp | 21 +- lib/Object/MachOUniversal.cpp | 80 +- lib/Object/Object.cpp | 11 +- lib/Object/RecordStreamer.cpp | 14 +- lib/Object/RecordStreamer.h | 4 +- lib/ObjectYAML/CMakeLists.txt | 1 + lib/ObjectYAML/COFFYAML.cpp | 1 + lib/ObjectYAML/ELFYAML.cpp | 1 + lib/ObjectYAML/MachOYAML.cpp | 49 +- lib/ObjectYAML/ObjectYAML.cpp | 57 + lib/Passes/LLVMBuild.txt | 2 +- lib/Passes/PassBuilder.cpp | 31 +- lib/Passes/PassRegistry.def | 22 +- lib/ProfileData/Coverage/CoverageMapping.cpp | 2 +- lib/ProfileData/Coverage/CoverageMappingWriter.cpp | 57 +- lib/ProfileData/InstrProf.cpp | 15 +- lib/Support/APInt.cpp | 8 +- lib/Support/CachePruning.cpp | 6 +- lib/Support/CommandLine.cpp | 481 +- lib/Support/Dwarf.cpp | 6 + lib/Support/Error.cpp | 20 + lib/Support/Host.cpp | 4 +- lib/Support/ManagedStatic.cpp | 15 +- lib/Support/Triple.cpp | 225 +- lib/Support/Windows/Path.inc | 21 +- lib/Support/Windows/Signals.inc | 6 +- lib/Support/Windows/WindowsSupport.h | 10 +- lib/Support/YAMLTraits.cpp | 23 +- lib/TableGen/Record.cpp | 95 +- lib/TableGen/TGParser.cpp | 4 +- lib/Target/AArch64/AArch64.td | 41 +- lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp | 22 +- lib/Target/AArch64/AArch64AdvSIMDScalarPass.cpp | 50 +- lib/Target/AArch64/AArch64AsmPrinter.cpp | 61 +- lib/Target/AArch64/AArch64BranchRelaxation.cpp | 22 +- .../AArch64/AArch64CleanupLocalDynamicTLSPass.cpp | 22 +- lib/Target/AArch64/AArch64CollectLOH.cpp | 15 +- lib/Target/AArch64/AArch64ConditionOptimizer.cpp | 10 +- lib/Target/AArch64/AArch64ConditionalCompares.cpp | 6 +- lib/Target/AArch64/AArch64FrameLowering.cpp | 42 +- lib/Target/AArch64/AArch64ISelDAGToDAG.cpp | 54 +- lib/Target/AArch64/AArch64ISelLowering.cpp | 95 +- lib/Target/AArch64/AArch64ISelLowering.h | 6 +- lib/Target/AArch64/AArch64InstrFormats.td | 5 +- lib/Target/AArch64/AArch64InstrInfo.cpp | 393 +- lib/Target/AArch64/AArch64InstrInfo.h | 70 +- lib/Target/AArch64/AArch64InstrInfo.td | 25 +- lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp | 304 +- lib/Target/AArch64/AArch64MachineFunctionInfo.h | 8 +- lib/Target/AArch64/AArch64PromoteConstant.cpp | 20 - lib/Target/AArch64/AArch64RegisterInfo.cpp | 4 - lib/Target/AArch64/AArch64SchedCyclone.td | 6 +- lib/Target/AArch64/AArch64SchedM1.td | 10 +- lib/Target/AArch64/AArch64SchedVulcan.td | 855 ++ lib/Target/AArch64/AArch64Schedule.td | 6 +- lib/Target/AArch64/AArch64SelectionDAGInfo.cpp | 2 +- lib/Target/AArch64/AArch64StorePairSuppress.cpp | 4 +- lib/Target/AArch64/AArch64Subtarget.cpp | 17 +- lib/Target/AArch64/AArch64Subtarget.h | 5 +- lib/Target/AArch64/AArch64SystemOperands.td | 1018 +++ lib/Target/AArch64/AArch64TargetMachine.cpp | 7 +- lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp | 91 +- lib/Target/AArch64/CMakeLists.txt | 2 + .../AArch64/Disassembler/AArch64Disassembler.cpp | 11 +- .../AArch64/InstPrinter/AArch64InstPrinter.cpp | 70 +- .../AArch64/MCTargetDesc/AArch64AsmBackend.cpp | 4 +- .../AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp | 53 - .../AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp | 13 +- lib/Target/AArch64/Utils/AArch64BaseInfo.cpp | 957 +-- lib/Target/AArch64/Utils/AArch64BaseInfo.h | 1011 +-- lib/Target/AMDGPU/AMDGPU.h | 5 +- lib/Target/AMDGPU/AMDGPU.td | 25 +- lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | 63 +- lib/Target/AMDGPU/AMDGPUAsmPrinter.h | 10 + lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp | 82 + lib/Target/AMDGPU/AMDGPUFrameLowering.cpp | 22 +- lib/Target/AMDGPU/AMDGPUFrameLowering.h | 10 +- lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | 222 +- lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 176 +- lib/Target/AMDGPU/AMDGPUISelLowering.h | 16 +- lib/Target/AMDGPU/AMDGPUInstrInfo.cpp | 98 +- lib/Target/AMDGPU/AMDGPUInstrInfo.h | 27 +- lib/Target/AMDGPU/AMDGPUInstrInfo.td | 5 +- lib/Target/AMDGPU/AMDGPUInstructions.td | 172 +- lib/Target/AMDGPU/AMDGPUIntrinsics.td | 10 - lib/Target/AMDGPU/AMDGPUMCInstLower.cpp | 47 +- lib/Target/AMDGPU/AMDGPUMachineFunction.cpp | 10 +- lib/Target/AMDGPU/AMDGPUMachineFunction.h | 5 +- lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp | 6 +- lib/Target/AMDGPU/AMDGPURegisterInfo.cpp | 19 +- lib/Target/AMDGPU/AMDGPURegisterInfo.h | 17 - lib/Target/AMDGPU/AMDGPUSubtarget.cpp | 216 +- lib/Target/AMDGPU/AMDGPUSubtarget.h | 396 +- lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | 209 +- lib/Target/AMDGPU/AMDGPUTargetMachine.h | 32 +- lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp | 22 + lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h | 10 +- lib/Target/AMDGPU/AMDILCFGStructurizer.cpp | 162 +- lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | 104 +- lib/Target/AMDGPU/CMakeLists.txt | 3 +- lib/Target/AMDGPU/CaymanInstructions.td | 40 +- lib/Target/AMDGPU/EvergreenInstructions.td | 50 +- lib/Target/AMDGPU/GCNHazardRecognizer.cpp | 28 +- lib/Target/AMDGPU/GCNHazardRecognizer.h | 7 +- .../AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp | 82 +- lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h | 5 +- lib/Target/AMDGPU/LLVMBuild.txt | 2 +- .../AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp | 3 +- .../AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp | 9 + lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp | 1 + .../AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp | 11 - .../AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp | 14 +- lib/Target/AMDGPU/R600ClauseMergePass.cpp | 118 +- lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp | 90 +- lib/Target/AMDGPU/R600EmitClauseMarkers.cpp | 63 +- lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp | 30 +- lib/Target/AMDGPU/R600FrameLowering.cpp | 15 + lib/Target/AMDGPU/R600FrameLowering.h | 30 + lib/Target/AMDGPU/R600ISelLowering.cpp | 479 +- lib/Target/AMDGPU/R600ISelLowering.h | 15 +- lib/Target/AMDGPU/R600InstrInfo.cpp | 326 +- lib/Target/AMDGPU/R600InstrInfo.h | 127 +- lib/Target/AMDGPU/R600Instructions.td | 80 +- lib/Target/AMDGPU/R600Intrinsics.td | 45 +- lib/Target/AMDGPU/R600MachineScheduler.cpp | 136 +- lib/Target/AMDGPU/R600MachineScheduler.h | 5 +- lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp | 37 +- lib/Target/AMDGPU/R600Packetizer.cpp | 35 +- lib/Target/AMDGPU/R600RegisterInfo.cpp | 11 +- lib/Target/AMDGPU/R600RegisterInfo.h | 9 +- .../AMDGPU/R600TextureIntrinsicsReplacer.cpp | 303 - lib/Target/AMDGPU/SIDebuggerInsertNops.cpp | 6 +- lib/Target/AMDGPU/SIDefines.h | 14 +- lib/Target/AMDGPU/SIFixSGPRCopies.cpp | 7 +- lib/Target/AMDGPU/SIFoldOperands.cpp | 15 +- lib/Target/AMDGPU/SIFrameLowering.cpp | 60 +- lib/Target/AMDGPU/SIFrameLowering.h | 6 + lib/Target/AMDGPU/SIISelLowering.cpp | 440 +- lib/Target/AMDGPU/SIISelLowering.h | 22 +- lib/Target/AMDGPU/SIInsertWaits.cpp | 20 +- lib/Target/AMDGPU/SIInstrFormats.td | 20 +- lib/Target/AMDGPU/SIInstrInfo.cpp | 974 ++- lib/Target/AMDGPU/SIInstrInfo.h | 136 +- lib/Target/AMDGPU/SIInstrInfo.td | 351 +- lib/Target/AMDGPU/SIInstructions.td | 257 +- lib/Target/AMDGPU/SILoadStoreOptimizer.cpp | 27 +- lib/Target/AMDGPU/SILowerControlFlow.cpp | 481 +- lib/Target/AMDGPU/SILowerI1Copies.cpp | 7 +- lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | 38 +- lib/Target/AMDGPU/SIMachineFunctionInfo.h | 81 +- lib/Target/AMDGPU/SIMachineScheduler.cpp | 20 +- lib/Target/AMDGPU/SIRegisterInfo.cpp | 67 +- lib/Target/AMDGPU/SIRegisterInfo.h | 14 +- lib/Target/AMDGPU/SISchedule.td | 16 + lib/Target/AMDGPU/SIShrinkInstructions.cpp | 9 +- lib/Target/AMDGPU/SIWholeQuadMode.cpp | 116 +- lib/Target/AMDGPU/Utils/AMDKernelCodeTInfo.h | 8 +- lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp | 33 +- lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.h | 3 +- lib/Target/AMDGPU/VIInstrFormats.td | 4 + lib/Target/ARM/A15SDOptimizer.cpp | 2 +- lib/Target/ARM/ARM.td | 104 +- lib/Target/ARM/ARMAsmPrinter.cpp | 46 +- lib/Target/ARM/ARMAsmPrinter.h | 1 + lib/Target/ARM/ARMBaseInstrInfo.cpp | 1146 +-- lib/Target/ARM/ARMBaseInstrInfo.h | 86 +- lib/Target/ARM/ARMConstantIslandPass.cpp | 77 +- lib/Target/ARM/ARMExpandPseudoInsts.cpp | 2 +- lib/Target/ARM/ARMFastISel.cpp | 48 +- lib/Target/ARM/ARMFrameLowering.cpp | 62 +- lib/Target/ARM/ARMHazardRecognizer.cpp | 3 +- lib/Target/ARM/ARMISelDAGToDAG.cpp | 20 +- lib/Target/ARM/ARMISelLowering.cpp | 395 +- lib/Target/ARM/ARMISelLowering.h | 22 +- lib/Target/ARM/ARMInstrInfo.cpp | 18 +- lib/Target/ARM/ARMInstrInfo.h | 3 +- lib/Target/ARM/ARMInstrInfo.td | 80 +- lib/Target/ARM/ARMInstrThumb.td | 41 +- lib/Target/ARM/ARMInstrThumb2.td | 12 +- lib/Target/ARM/ARMLoadStoreOptimizer.cpp | 94 +- lib/Target/ARM/ARMMCInstLower.cpp | 2 +- lib/Target/ARM/ARMScheduleA9.td | 4 +- lib/Target/ARM/ARMScheduleSwift.td | 2 +- lib/Target/ARM/ARMSelectionDAGInfo.cpp | 2 +- lib/Target/ARM/ARMSubtarget.cpp | 123 +- lib/Target/ARM/ARMSubtarget.h | 243 +- lib/Target/ARM/ARMTargetMachine.cpp | 5 +- lib/Target/ARM/ARMTargetTransformInfo.cpp | 19 +- lib/Target/ARM/ARMTargetTransformInfo.h | 8 +- lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 30 +- lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | 4 +- lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h | 3 +- lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp | 55 +- lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp | 12 - lib/Target/ARM/MLxExpansionPass.cpp | 3 +- lib/Target/ARM/Thumb1FrameLowering.cpp | 33 +- lib/Target/ARM/Thumb1InstrInfo.cpp | 13 +- lib/Target/ARM/Thumb1InstrInfo.h | 3 +- lib/Target/ARM/Thumb2InstrInfo.cpp | 12 +- lib/Target/ARM/Thumb2InstrInfo.h | 3 +- lib/Target/ARM/Thumb2SizeReduction.cpp | 6 +- lib/Target/AVR/AVRISelLowering.h | 2 +- lib/Target/AVR/AVRInstrInfo.cpp | 24 +- lib/Target/AVR/AVRInstrInfo.h | 4 +- lib/Target/BPF/BPFAsmPrinter.cpp | 28 - lib/Target/BPF/BPFISelLowering.cpp | 20 +- lib/Target/BPF/BPFISelLowering.h | 2 +- lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp | 3 +- lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp | 1 + lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp | 12 - lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp | 13 - lib/Target/Hexagon/BitTracker.cpp | 84 +- lib/Target/Hexagon/BitTracker.h | 10 +- lib/Target/Hexagon/HexagonBitSimplify.cpp | 22 +- lib/Target/Hexagon/HexagonBitTracker.cpp | 77 +- lib/Target/Hexagon/HexagonBitTracker.h | 8 +- lib/Target/Hexagon/HexagonCFGOptimizer.cpp | 28 +- lib/Target/Hexagon/HexagonCopyToCombine.cpp | 168 +- lib/Target/Hexagon/HexagonExpandCondsets.cpp | 130 +- lib/Target/Hexagon/HexagonFixupHwLoops.cpp | 12 +- lib/Target/Hexagon/HexagonFrameLowering.cpp | 14 +- lib/Target/Hexagon/HexagonGenMux.cpp | 12 +- lib/Target/Hexagon/HexagonGenPredicate.cpp | 13 +- lib/Target/Hexagon/HexagonHardwareLoops.cpp | 10 +- lib/Target/Hexagon/HexagonISelDAGToDAG.cpp | 547 +- lib/Target/Hexagon/HexagonISelLowering.cpp | 57 +- lib/Target/Hexagon/HexagonISelLowering.h | 7 +- lib/Target/Hexagon/HexagonInstrInfo.cpp | 817 +- lib/Target/Hexagon/HexagonInstrInfo.h | 28 +- lib/Target/Hexagon/HexagonInstrInfoVector.td | 55 +- lib/Target/Hexagon/HexagonNewValueJump.cpp | 136 +- lib/Target/Hexagon/HexagonOptAddrMode.cpp | 37 - lib/Target/Hexagon/HexagonPeephole.cpp | 94 +- lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp | 2 +- .../Hexagon/HexagonSplitConst32AndConst64.cpp | 53 +- lib/Target/Hexagon/HexagonSplitDouble.cpp | 2 +- lib/Target/Hexagon/HexagonVLIWPacketizer.cpp | 38 +- .../Hexagon/MCTargetDesc/HexagonAsmBackend.cpp | 5 +- .../Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp | 6 +- .../Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp | 14 - lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp | 60 +- lib/Target/Lanai/CMakeLists.txt | 1 - .../Lanai/Disassembler/LanaiDisassembler.cpp | 13 + lib/Target/Lanai/InstPrinter/LanaiInstPrinter.cpp | 20 +- lib/Target/Lanai/InstPrinter/LanaiInstPrinter.h | 1 + lib/Target/Lanai/LanaiAsmPrinter.cpp | 12 +- lib/Target/Lanai/LanaiFrameLowering.cpp | 12 +- lib/Target/Lanai/LanaiISelLowering.cpp | 170 + lib/Target/Lanai/LanaiISelLowering.h | 2 + lib/Target/Lanai/LanaiInstrInfo.cpp | 456 +- lib/Target/Lanai/LanaiInstrInfo.h | 61 +- lib/Target/Lanai/LanaiInstrInfo.td | 60 +- lib/Target/Lanai/LanaiRegisterInfo.cpp | 15 +- lib/Target/Lanai/LanaiSetflagAluCombiner.cpp | 294 - lib/Target/Lanai/LanaiTargetMachine.cpp | 2 - lib/Target/Lanai/MCTargetDesc/LanaiAsmBackend.cpp | 3 +- lib/Target/Lanai/MCTargetDesc/LanaiBaseInfo.h | 26 - .../Lanai/MCTargetDesc/LanaiMCTargetDesc.cpp | 14 - .../MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp | 14 - lib/Target/MSP430/MSP430BranchSelector.cpp | 20 +- lib/Target/MSP430/MSP430FrameLowering.cpp | 31 +- lib/Target/MSP430/MSP430ISelLowering.cpp | 39 +- lib/Target/MSP430/MSP430ISelLowering.h | 7 +- lib/Target/MSP430/MSP430InstrInfo.cpp | 10 +- lib/Target/MSP430/MSP430InstrInfo.h | 2 +- lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 124 +- lib/Target/Mips/Disassembler/MipsDisassembler.cpp | 43 + lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp | 31 +- lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h | 3 +- lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp | 17 + lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h | 3 + lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp | 12 - lib/Target/Mips/MicroMips32r6InstrFormats.td | 32 + lib/Target/Mips/MicroMips32r6InstrInfo.td | 75 + lib/Target/Mips/MicroMips64r6InstrFormats.td | 35 +- lib/Target/Mips/MicroMips64r6InstrInfo.td | 73 +- lib/Target/Mips/MicroMipsInstrFPU.td | 31 +- lib/Target/Mips/MicroMipsInstrFormats.td | 2 +- lib/Target/Mips/MicroMipsInstrInfo.td | 48 +- lib/Target/Mips/Mips.h | 2 +- lib/Target/Mips/Mips16HardFloat.cpp | 6 +- lib/Target/Mips/Mips16ISelDAGToDAG.cpp | 7 +- lib/Target/Mips/Mips16ISelDAGToDAG.h | 6 +- lib/Target/Mips/Mips16ISelLowering.cpp | 135 +- lib/Target/Mips/Mips16ISelLowering.h | 28 +- lib/Target/Mips/Mips16InstrInfo.cpp | 12 +- lib/Target/Mips/Mips16InstrInfo.h | 6 +- lib/Target/Mips/Mips32r6InstrInfo.td | 19 +- lib/Target/Mips/Mips64InstrInfo.td | 60 +- lib/Target/Mips/Mips64r6InstrInfo.td | 6 +- lib/Target/Mips/MipsAsmPrinter.cpp | 5 +- lib/Target/Mips/MipsConstantIslandPass.cpp | 94 +- lib/Target/Mips/MipsDelaySlotFiller.cpp | 6 +- lib/Target/Mips/MipsFastISel.cpp | 2 +- lib/Target/Mips/MipsHazardSchedule.cpp | 4 +- lib/Target/Mips/MipsISelDAGToDAG.cpp | 14 +- lib/Target/Mips/MipsISelDAGToDAG.h | 12 +- lib/Target/Mips/MipsISelLowering.cpp | 151 +- lib/Target/Mips/MipsISelLowering.h | 34 +- lib/Target/Mips/MipsInstrFPU.td | 60 +- lib/Target/Mips/MipsInstrInfo.cpp | 12 +- lib/Target/Mips/MipsInstrInfo.h | 2 +- lib/Target/Mips/MipsInstrInfo.td | 55 +- lib/Target/Mips/MipsLongBranch.cpp | 18 +- lib/Target/Mips/MipsMSAInstrInfo.td | 13 +- lib/Target/Mips/MipsSEISelDAGToDAG.cpp | 35 +- lib/Target/Mips/MipsSEISelDAGToDAG.h | 20 +- lib/Target/Mips/MipsSEISelLowering.cpp | 158 +- lib/Target/Mips/MipsSEISelLowering.h | 24 +- lib/Target/Mips/MipsSEInstrInfo.cpp | 39 +- lib/Target/Mips/MipsSEInstrInfo.h | 6 +- lib/Target/Mips/MipsSubtarget.cpp | 6 +- lib/Target/Mips/MipsSubtarget.h | 1 + lib/Target/Mips/MipsTargetMachine.cpp | 6 +- .../NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp | 14 - lib/Target/NVPTX/NVPTX.td | 14 +- lib/Target/NVPTX/NVPTXFrameLowering.cpp | 2 +- lib/Target/NVPTX/NVPTXGenericToNVVM.cpp | 5 +- lib/Target/NVPTX/NVPTXISelLowering.cpp | 4 +- lib/Target/NVPTX/NVPTXInstrInfo.cpp | 34 +- lib/Target/NVPTX/NVPTXIntrinsics.td | 225 +- lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp | 9 +- lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp | 2 +- lib/Target/NVPTX/NVVMIntrRange.cpp | 14 +- lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp | 4 +- .../PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp | 12 +- lib/Target/PowerPC/PPC.h | 19 +- lib/Target/PowerPC/PPC.td | 33 +- lib/Target/PowerPC/PPCAsmPrinter.cpp | 200 +- lib/Target/PowerPC/PPCBranchSelector.cpp | 9 +- lib/Target/PowerPC/PPCFastISel.cpp | 4 +- lib/Target/PowerPC/PPCFrameLowering.cpp | 4 +- lib/Target/PowerPC/PPCISelLowering.cpp | 805 +- lib/Target/PowerPC/PPCISelLowering.h | 90 +- lib/Target/PowerPC/PPCInstrInfo.cpp | 205 +- lib/Target/PowerPC/PPCInstrInfo.h | 36 +- lib/Target/PowerPC/PPCInstrInfo.td | 12 +- lib/Target/PowerPC/PPCInstrVSX.td | 106 +- lib/Target/PowerPC/PPCMCInstLower.cpp | 34 +- lib/Target/PowerPC/PPCRegisterInfo.cpp | 10 +- lib/Target/PowerPC/PPCSubtarget.cpp | 24 +- lib/Target/PowerPC/PPCSubtarget.h | 2 - lib/Target/PowerPC/PPCTLSDynamicCall.cpp | 5 +- lib/Target/PowerPC/PPCTargetMachine.cpp | 4 +- lib/Target/PowerPC/PPCVSXSwapRemoval.cpp | 20 + lib/Target/PowerPC/README_P9.txt | 6 + lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp | 1 + lib/Target/Sparc/LeonFeatures.td | 115 +- lib/Target/Sparc/LeonPasses.cpp | 870 ++- lib/Target/Sparc/LeonPasses.h | 149 +- lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp | 3 +- .../Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp | 1 + .../Sparc/MCTargetDesc/SparcMCTargetDesc.cpp | 35 +- lib/Target/Sparc/Sparc.td | 144 +- lib/Target/Sparc/SparcAsmPrinter.cpp | 2 +- lib/Target/Sparc/SparcISelLowering.cpp | 100 +- lib/Target/Sparc/SparcISelLowering.h | 10 +- lib/Target/Sparc/SparcInstrInfo.cpp | 53 +- lib/Target/Sparc/SparcInstrInfo.h | 6 +- lib/Target/Sparc/SparcSubtarget.cpp | 9 +- lib/Target/Sparc/SparcSubtarget.h | 20 +- lib/Target/Sparc/SparcTargetMachine.cpp | 50 +- lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp | 3 + lib/Target/SystemZ/CMakeLists.txt | 1 + .../SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp | 3 +- .../SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp | 16 +- lib/Target/SystemZ/README.txt | 6 +- lib/Target/SystemZ/SystemZ.h | 41 + lib/Target/SystemZ/SystemZElimCompare.cpp | 146 +- lib/Target/SystemZ/SystemZFrameLowering.cpp | 6 + lib/Target/SystemZ/SystemZISelDAGToDAG.cpp | 25 +- lib/Target/SystemZ/SystemZISelLowering.cpp | 614 +- lib/Target/SystemZ/SystemZISelLowering.h | 49 +- lib/Target/SystemZ/SystemZInstrFP.td | 7 + lib/Target/SystemZ/SystemZInstrFormats.td | 120 +- lib/Target/SystemZ/SystemZInstrInfo.cpp | 334 +- lib/Target/SystemZ/SystemZInstrInfo.h | 47 +- lib/Target/SystemZ/SystemZInstrInfo.td | 69 +- lib/Target/SystemZ/SystemZLDCleanup.cpp | 4 +- lib/Target/SystemZ/SystemZLongBranch.cpp | 14 +- lib/Target/SystemZ/SystemZOperators.td | 3 + lib/Target/SystemZ/SystemZProcessors.td | 8 +- lib/Target/SystemZ/SystemZSubtarget.cpp | 14 +- lib/Target/SystemZ/SystemZSubtarget.h | 7 +- lib/Target/SystemZ/SystemZTDC.cpp | 382 + lib/Target/SystemZ/SystemZTargetMachine.cpp | 3 + lib/Target/TargetLoweringObjectFile.cpp | 14 +- lib/Target/TargetMachine.cpp | 110 +- .../MCTargetDesc/WebAssemblyAsmBackend.cpp | 3 +- .../MCTargetDesc/WebAssemblyMCCodeEmitter.cpp | 1 + .../MCTargetDesc/WebAssemblyMCTargetDesc.cpp | 12 +- lib/Target/WebAssembly/WebAssemblyArgumentMove.cpp | 14 +- lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp | 8 +- lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp | 12 +- lib/Target/WebAssembly/WebAssemblyInstrInfo.h | 4 +- lib/Target/WebAssembly/WebAssemblyRegStackify.cpp | 82 +- lib/Target/X86/AsmParser/X86AsmParser.cpp | 17 +- lib/Target/X86/CMakeLists.txt | 9 +- .../X86/Disassembler/X86DisassemblerDecoder.cpp | 12 +- .../X86/Disassembler/X86DisassemblerDecoder.h | 7 + lib/Target/X86/InstPrinter/X86InstComments.cpp | 282 +- lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | 85 +- lib/Target/X86/MCTargetDesc/X86BaseInfo.h | 5 - lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp | 25 +- lib/Target/X86/MCTargetDesc/X86FixupKinds.h | 2 + lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp | 7 +- lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp | 17 +- .../X86/MCTargetDesc/X86MachObjectWriter.cpp | 1 + .../X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp | 2 + lib/Target/X86/Utils/X86ShuffleDecode.cpp | 32 +- lib/Target/X86/Utils/X86ShuffleDecode.h | 7 +- lib/Target/X86/X86.h | 3 + lib/Target/X86/X86AsmPrinter.cpp | 43 +- lib/Target/X86/X86AsmPrinter.h | 41 +- lib/Target/X86/X86CallFrameOptimization.cpp | 38 +- lib/Target/X86/X86ExpandPseudo.cpp | 19 +- lib/Target/X86/X86FastISel.cpp | 47 +- lib/Target/X86/X86FixupBWInsts.cpp | 35 - lib/Target/X86/X86FixupLEAs.cpp | 112 +- lib/Target/X86/X86FixupSetCC.cpp | 186 + lib/Target/X86/X86FloatingPoint.cpp | 238 +- lib/Target/X86/X86FrameLowering.cpp | 97 +- lib/Target/X86/X86ISelDAGToDAG.cpp | 16 +- lib/Target/X86/X86ISelLowering.cpp | 1640 ++-- lib/Target/X86/X86ISelLowering.h | 44 +- lib/Target/X86/X86InstrAVX512.td | 247 +- lib/Target/X86/X86InstrCompiler.td | 14 +- lib/Target/X86/X86InstrFragmentsSIMD.td | 8 - lib/Target/X86/X86InstrInfo.cpp | 1089 +-- lib/Target/X86/X86InstrInfo.h | 139 +- lib/Target/X86/X86InstrInfo.td | 33 +- lib/Target/X86/X86InstrSSE.td | 23 +- lib/Target/X86/X86IntrinsicsInfo.h | 177 +- lib/Target/X86/X86MCInstLower.cpp | 173 +- lib/Target/X86/X86OptimizeLEAs.cpp | 5 +- lib/Target/X86/X86PadShortFunction.cpp | 6 +- lib/Target/X86/X86SelectionDAGInfo.cpp | 3 +- lib/Target/X86/X86ShuffleDecodeConstantPool.cpp | 16 +- lib/Target/X86/X86Subtarget.cpp | 13 +- lib/Target/X86/X86Subtarget.h | 4 +- lib/Target/X86/X86TargetMachine.cpp | 7 +- lib/Target/X86/X86TargetTransformInfo.cpp | 266 +- lib/Target/X86/X86VZeroUpper.cpp | 28 +- lib/Target/X86/X86WinEHState.cpp | 48 +- .../XCore/MCTargetDesc/XCoreMCTargetDesc.cpp | 15 +- lib/Target/XCore/XCoreISelLowering.cpp | 24 +- lib/Target/XCore/XCoreISelLowering.h | 4 +- lib/Target/XCore/XCoreInstrInfo.cpp | 35 +- lib/Target/XCore/XCoreInstrInfo.h | 4 +- lib/Target/XCore/XCoreLowerThreadLocal.cpp | 8 +- lib/Target/XCore/XCoreSelectionDAGInfo.cpp | 2 +- lib/Transforms/IPO/ArgumentPromotion.cpp | 162 +- lib/Transforms/IPO/CMakeLists.txt | 2 +- lib/Transforms/IPO/CrossDSOCFI.cpp | 86 +- lib/Transforms/IPO/DeadArgumentElimination.cpp | 17 +- lib/Transforms/IPO/ExtractGV.cpp | 12 +- lib/Transforms/IPO/FunctionAttrs.cpp | 88 +- lib/Transforms/IPO/FunctionImport.cpp | 47 +- lib/Transforms/IPO/GlobalDCE.cpp | 19 +- lib/Transforms/IPO/GlobalOpt.cpp | 6 +- lib/Transforms/IPO/IPConstantPropagation.cpp | 16 +- lib/Transforms/IPO/IPO.cpp | 4 +- lib/Transforms/IPO/LoopExtractor.cpp | 24 +- lib/Transforms/IPO/LowerBitSets.cpp | 1060 --- lib/Transforms/IPO/LowerTypeTests.cpp | 1020 +++ lib/Transforms/IPO/MergeFunctions.cpp | 8 +- lib/Transforms/IPO/PartialInlining.cpp | 73 +- lib/Transforms/IPO/PassManagerBuilder.cpp | 44 +- lib/Transforms/IPO/PruneEH.cpp | 48 +- lib/Transforms/IPO/SampleProfile.cpp | 122 +- lib/Transforms/IPO/StripSymbols.cpp | 10 +- lib/Transforms/IPO/WholeProgramDevirt.cpp | 308 +- lib/Transforms/InstCombine/InstCombineAddSub.cpp | 31 +- lib/Transforms/InstCombine/InstCombineAndOrXor.cpp | 361 +- lib/Transforms/InstCombine/InstCombineCalls.cpp | 33 +- lib/Transforms/InstCombine/InstCombineCasts.cpp | 113 - lib/Transforms/InstCombine/InstCombineInternal.h | 1 - .../InstCombine/InstCombineMulDivRem.cpp | 36 +- lib/Transforms/InstCombine/InstCombineSelect.cpp | 94 +- .../InstCombine/InstCombineSimplifyDemanded.cpp | 57 +- .../InstCombine/InstructionCombining.cpp | 47 +- .../Instrumentation/AddressSanitizer.cpp | 66 +- lib/Transforms/Instrumentation/BoundsChecking.cpp | 5 +- .../Instrumentation/DataFlowSanitizer.cpp | 26 +- .../Instrumentation/EfficiencySanitizer.cpp | 235 +- lib/Transforms/Instrumentation/GCOVProfiling.cpp | 44 +- .../Instrumentation/IndirectCallPromotion.cpp | 83 +- lib/Transforms/Instrumentation/MemorySanitizer.cpp | 28 +- .../Instrumentation/PGOInstrumentation.cpp | 7 +- .../Instrumentation/SanitizerCoverage.cpp | 3 +- lib/Transforms/Instrumentation/ThreadSanitizer.cpp | 17 +- lib/Transforms/ObjCARC/ObjCARCOpts.cpp | 20 +- lib/Transforms/Scalar/ADCE.cpp | 3 +- lib/Transforms/Scalar/BDCE.cpp | 3 +- lib/Transforms/Scalar/ConstantHoisting.cpp | 288 +- .../Scalar/CorrelatedValuePropagation.cpp | 116 +- lib/Transforms/Scalar/DeadStoreElimination.cpp | 248 +- lib/Transforms/Scalar/EarlyCSE.cpp | 17 +- lib/Transforms/Scalar/Float2Int.cpp | 87 +- lib/Transforms/Scalar/GVN.cpp | 21 +- lib/Transforms/Scalar/IndVarSimplify.cpp | 34 +- .../Scalar/InductiveRangeCheckElimination.cpp | 10 +- lib/Transforms/Scalar/JumpThreading.cpp | 31 +- lib/Transforms/Scalar/LICM.cpp | 188 +- lib/Transforms/Scalar/LoopDataPrefetch.cpp | 10 +- lib/Transforms/Scalar/LoopDeletion.cpp | 139 +- lib/Transforms/Scalar/LoopDistribute.cpp | 19 +- lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 130 +- lib/Transforms/Scalar/LoopInterchange.cpp | 51 +- lib/Transforms/Scalar/LoopLoadElimination.cpp | 25 +- lib/Transforms/Scalar/LoopRerollPass.cpp | 23 +- lib/Transforms/Scalar/LoopRotation.cpp | 24 +- lib/Transforms/Scalar/LoopStrengthReduce.cpp | 23 +- lib/Transforms/Scalar/LoopUnswitch.cpp | 84 +- lib/Transforms/Scalar/LoopVersioningLICM.cpp | 8 +- lib/Transforms/Scalar/MemCpyOptimizer.cpp | 7 +- lib/Transforms/Scalar/MergedLoadStoreMotion.cpp | 12 +- lib/Transforms/Scalar/NaryReassociate.cpp | 45 +- lib/Transforms/Scalar/PlaceSafepoints.cpp | 8 +- lib/Transforms/Scalar/Reassociate.cpp | 13 +- lib/Transforms/Scalar/Reg2Mem.cpp | 24 +- lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | 418 +- lib/Transforms/Scalar/SCCP.cpp | 365 +- lib/Transforms/Scalar/Scalar.cpp | 12 +- lib/Transforms/Scalar/Scalarizer.cpp | 22 +- .../Scalar/SeparateConstOffsetFromGEP.cpp | 14 +- lib/Transforms/Scalar/Sink.cpp | 13 +- .../Scalar/StraightLineStrengthReduce.cpp | 72 +- lib/Transforms/Scalar/StructurizeCFG.cpp | 42 +- lib/Transforms/Scalar/TailRecursionElimination.cpp | 29 +- lib/Transforms/Utils/BasicBlockUtils.cpp | 36 +- lib/Transforms/Utils/CloneFunction.cpp | 15 +- lib/Transforms/Utils/CloneModule.cpp | 27 +- lib/Transforms/Utils/CodeExtractor.cpp | 105 +- lib/Transforms/Utils/InlineFunction.cpp | 26 +- lib/Transforms/Utils/InstructionNamer.cpp | 14 +- lib/Transforms/Utils/LCSSA.cpp | 3 +- lib/Transforms/Utils/Local.cpp | 76 +- lib/Transforms/Utils/LoopSimplify.cpp | 38 +- lib/Transforms/Utils/LoopUnroll.cpp | 12 +- lib/Transforms/Utils/LoopVersioning.cpp | 12 +- lib/Transforms/Utils/LowerInvoke.cpp | 8 +- lib/Transforms/Utils/LowerSwitch.cpp | 10 +- lib/Transforms/Utils/Mem2Reg.cpp | 10 +- lib/Transforms/Utils/MemorySSA.cpp | 315 +- lib/Transforms/Utils/SimplifyCFG.cpp | 83 +- lib/Transforms/Utils/SimplifyInstructions.cpp | 106 +- lib/Transforms/Utils/SimplifyLibCalls.cpp | 5 + lib/Transforms/Utils/UnifyFunctionExitNodes.cpp | 9 +- lib/Transforms/Utils/Utils.cpp | 1 + lib/Transforms/Utils/ValueMapper.cpp | 30 - lib/Transforms/Vectorize/CMakeLists.txt | 3 +- lib/Transforms/Vectorize/LoadStoreVectorizer.cpp | 999 +++ lib/Transforms/Vectorize/LoopVectorize.cpp | 1862 +++-- lib/Transforms/Vectorize/SLPVectorizer.cpp | 129 +- lib/Transforms/Vectorize/Vectorize.cpp | 1 + runtimes/CMakeLists.txt | 90 + test/Analysis/BasicAA/cs-cs.ll | 43 +- test/Analysis/BasicAA/returned.ll | 45 + test/Analysis/BlockFrequencyInfo/basic.ll | 1 + .../Steensgaard/arguments-globals.ll | 20 + .../CFLAliasAnalysis/Steensgaard/arguments.ll | 15 + .../Steensgaard/asm-global-bugfix.ll | 16 + .../CFLAliasAnalysis/Steensgaard/attr-escape.ll | 94 + .../Steensgaard/basic-interproc.ll | 22 + .../CFLAliasAnalysis/Steensgaard/branch-alias.ll | 73 + .../CFLAliasAnalysis/Steensgaard/const-expr-gep.ll | 57 + .../Steensgaard/constant-over-index.ll | 30 + .../Analysis/CFLAliasAnalysis/Steensgaard/empty.ll | 12 + .../Steensgaard/full-store-partial-alias.ll | 39 + .../Steensgaard/gep-index-no-alias.ll | 14 + .../Steensgaard/gep-signed-arithmetic.ll | 19 + .../Steensgaard/interproc-arg-deref-escape.ll | 33 + .../Steensgaard/interproc-arg-escape.ll | 31 + .../Steensgaard/interproc-ret-arg.ll | 23 + .../interproc-ret-deref-arg-multilevel.ll | 46 + .../Steensgaard/interproc-ret-deref-arg.ll | 30 + .../Steensgaard/interproc-ret-escape.ll | 33 + .../interproc-ret-ref-arg-multilevel.ll | 51 + .../Steensgaard/interproc-ret-ref-arg.ll | 36 + .../Steensgaard/interproc-ret-unknown.ll | 38 + .../Steensgaard/interproc-store-arg-multilevel.ll | 48 + .../Steensgaard/interproc-store-arg-unknown.ll | 32 + .../Steensgaard/interproc-store-arg.ll | 36 + .../Steensgaard/malloc-and-free.ll | 30 + .../Steensgaard/multilevel-combine.ll | 31 + .../CFLAliasAnalysis/Steensgaard/multilevel.ll | 30 + .../Steensgaard/must-and-partial.ll | 54 + .../Steensgaard/opaque-call-alias.ll | 20 + .../CFLAliasAnalysis/Steensgaard/phi-and-select.ll | 36 + .../CFLAliasAnalysis/Steensgaard/pr27213.ll | 39 + .../CFLAliasAnalysis/Steensgaard/simple.ll | 18 + .../Steensgaard/stratified-attrs-indexing.ll | 33 + test/Analysis/CFLAliasAnalysis/Steensgaard/va.ll | 32 + .../Analysis/CFLAliasAnalysis/arguments-globals.ll | 20 - test/Analysis/CFLAliasAnalysis/arguments.ll | 15 - .../Analysis/CFLAliasAnalysis/asm-global-bugfix.ll | 16 - test/Analysis/CFLAliasAnalysis/attr-escape.ll | 94 - test/Analysis/CFLAliasAnalysis/basic-interproc.ll | 22 - test/Analysis/CFLAliasAnalysis/branch-alias.ll | 73 - test/Analysis/CFLAliasAnalysis/const-expr-gep.ll | 57 - .../CFLAliasAnalysis/constant-over-index.ll | 30 - test/Analysis/CFLAliasAnalysis/empty.ll | 12 - .../CFLAliasAnalysis/full-store-partial-alias.ll | 39 - .../CFLAliasAnalysis/gep-index-no-alias.ll | 14 - .../CFLAliasAnalysis/gep-signed-arithmetic.ll | 19 - .../Analysis/CFLAliasAnalysis/interproc-ret-arg.ll | 21 - .../interproc-ret-deref-arg-multilevel.ll | 50 - .../CFLAliasAnalysis/interproc-ret-deref-arg.ll | 33 - .../interproc-ret-ref-arg-multilevel.ll | 52 - .../CFLAliasAnalysis/interproc-ret-ref-arg.ll | 37 - .../CFLAliasAnalysis/interproc-ret-unknown.ll | 27 - .../interproc-store-arg-multilevel.ll | 49 - .../interproc-store-arg-unknown.ll | 35 - .../CFLAliasAnalysis/interproc-store-arg.ll | 37 - test/Analysis/CFLAliasAnalysis/malloc-and-free.ll | 30 - .../CFLAliasAnalysis/multilevel-combine.ll | 31 - test/Analysis/CFLAliasAnalysis/multilevel.ll | 30 - test/Analysis/CFLAliasAnalysis/must-and-partial.ll | 54 - .../Analysis/CFLAliasAnalysis/opaque-call-alias.ll | 20 - test/Analysis/CFLAliasAnalysis/phi-and-select.ll | 36 - test/Analysis/CFLAliasAnalysis/pr27213.ll | 39 - test/Analysis/CFLAliasAnalysis/simple.ll | 18 - .../CFLAliasAnalysis/stratified-attrs-indexing.ll | 33 - test/Analysis/CFLAliasAnalysis/va.ll | 32 - test/Analysis/CostModel/ARM/cast.ll | 176 +- test/Analysis/CostModel/PowerPC/ext.ll | 2 +- test/Analysis/CostModel/PowerPC/load_store.ll | 2 +- test/Analysis/CostModel/X86/arith.ll | 211 +- test/Analysis/CostModel/X86/cast.ll | 18 +- .../CostModel/X86/masked-intrinsic-cost.ll | 56 +- test/Analysis/CostModel/X86/sitofp.ll | 136 +- test/Analysis/CostModel/X86/uitofp.ll | 142 +- test/Analysis/DivergenceAnalysis/NVPTX/diverge.ll | 4 +- test/Analysis/GlobalsModRef/func-memattributes.ll | 31 + .../backward-dep-different-types.ll | 1 + .../LoopAccessAnalysis/forward-loop-carried.ll | 1 + .../LoopAccessAnalysis/forward-loop-independent.ll | 1 + .../LoopAccessAnalysis/independent-interleaved.ll | 1 + .../memcheck-for-loop-invariant.ll | 1 + .../multiple-strides-rt-memory-checks.ll | 1 + .../LoopAccessAnalysis/non-wrapping-pointer.ll | 1 + test/Analysis/LoopAccessAnalysis/nullptr.ll | 1 + .../LoopAccessAnalysis/number-of-memchecks.ll | 1 + .../pointer-with-unknown-bounds.ll | 1 + .../LoopAccessAnalysis/resort-to-memchecks-only.ll | 1 + .../LoopAccessAnalysis/reverse-memcheck-bounds.ll | 1 + test/Analysis/LoopAccessAnalysis/safe-no-checks.ll | 1 + .../LoopAccessAnalysis/safe-with-dep-distance.ll | 1 + .../store-to-invariant-check1.ll | 16 +- .../store-to-invariant-check2.ll | 1 + .../store-to-invariant-check3.ll | 1 + .../LoopAccessAnalysis/stride-access-dependence.ll | 3 +- .../LoopAccessAnalysis/underlying-objects-1.ll | 1 + .../LoopAccessAnalysis/underlying-objects-2.ll | 1 + .../LoopAccessAnalysis/unsafe-and-rt-checks.ll | 1 + .../wrapping-pointer-versioning.ll | 1 + .../ScalarEvolution/exhaustive-trip-counts.ll | 26 + .../ScalarEvolution/incorrect-offset-scaling.ll | 48 + test/Analysis/ScalarEvolution/returned.ll | 16 + .../ValueTracking/memory-dereferenceable.ll | 5 +- test/Assembler/auto_upgrade_intrinsics.ll | 18 + test/Assembler/disubprogram.ll | 4 +- test/Assembler/getelementptr.ll | 10 + test/Assembler/metadata-decl.ll | 11 + test/Assembler/metadata.ll | 9 +- test/Bindings/OCaml/core.ml | 1 + test/Bindings/llvm-c/Inputs/invalid.ll.bc | Bin 688 -> 688 bytes test/Bindings/llvm-c/invalid-bitcode.test | 4 +- test/Bitcode/attributes.ll | 11 +- test/Bitcode/compatibility.ll | 7 +- test/Bitcode/invalid.ll | 2 +- test/Bitcode/invalid.ll.bc | Bin 688 -> 688 bytes test/Bitcode/thinlto-summary-globalvar.ll | 5 + test/Bitcode/upgrade-subprogram-this.ll | 30 + test/Bitcode/upgrade-subprogram-this.ll.bc | Bin 0 -> 1084 bytes .../AArch64/GlobalISel/arm64-irtranslator.ll | 2 +- .../AArch64/aarch64-a57-fp-load-balancing.ll | 14 +- test/CodeGen/AArch64/aarch64-gep-opt.ll | 3 + .../aarch64-tryBitfieldInsertOpFromOr-crash.ll | 36 + test/CodeGen/AArch64/arm64-ccmp.ll | 79 +- test/CodeGen/AArch64/arm64-collect-loh.ll | 22 + test/CodeGen/AArch64/arm64-convert-v4f64.ll | 4 +- test/CodeGen/AArch64/arm64-regress-opt-cmp.mir | 2 +- test/CodeGen/AArch64/arm64-zero-cycle-zeroing.ll | 72 +- test/CodeGen/AArch64/bitfield-insert.ll | 19 +- test/CodeGen/AArch64/bitreverse.ll | 2 +- test/CodeGen/AArch64/branch-folder-merge-mmos.ll | 2 +- test/CodeGen/AArch64/cxx-tlscc.ll | 6 +- test/CodeGen/AArch64/exynos-quad-ldp-stp.ll | 28 - test/CodeGen/AArch64/fp-cond-sel.ll | 4 +- test/CodeGen/AArch64/merge-store-dependency.ll | 63 + test/CodeGen/AArch64/merge-store.ll | 77 +- test/CodeGen/AArch64/misched-fusion.ll | 10 +- test/CodeGen/AArch64/no-quad-ldp-stp.ll | 29 + test/CodeGen/AArch64/preferred-alignment.ll | 28 + test/CodeGen/AArch64/remat.ll | 1 + test/CodeGen/AArch64/special-reg.ll | 2 +- test/CodeGen/AArch64/sqrt-fastmath.ll | 2 + test/CodeGen/AArch64/stackmap-frame-setup.ll | 4 +- test/CodeGen/AArch64/tailmerging_in_mbp.ll | 2 +- test/CodeGen/AArch64/vcvt-oversize.ll | 5 +- test/CodeGen/AArch64/vector-fcopysign.ll | 18 +- test/CodeGen/AMDGPU/add.ll | 21 +- test/CodeGen/AMDGPU/address-space.ll | 31 - test/CodeGen/AMDGPU/amdgcn.work-item-intrinsics.ll | 114 + test/CodeGen/AMDGPU/amdgpu-codegenprepare.ll | 8 + test/CodeGen/AMDGPU/amdgpu.private-memory.ll | 8 +- .../amdgpu.work-item-intrinsics.deprecated.ll | 268 + test/CodeGen/AMDGPU/and.ll | 2 +- test/CodeGen/AMDGPU/atomic_cmp_swap_local.ll | 4 +- test/CodeGen/AMDGPU/big_alu.ll | 2274 +++--- test/CodeGen/AMDGPU/captured-frame-index.ll | 2 +- test/CodeGen/AMDGPU/cf-loop-on-constant.ll | 121 + test/CodeGen/AMDGPU/cgp-addressing-modes.ll | 34 +- test/CodeGen/AMDGPU/commute-shifts.ll | 2 +- test/CodeGen/AMDGPU/convergent-inlineasm.ll | 45 + test/CodeGen/AMDGPU/copy-illegal-type.ll | 104 +- test/CodeGen/AMDGPU/ctlz.ll | 4 +- test/CodeGen/AMDGPU/ctlz_zero_undef.ll | 2 +- test/CodeGen/AMDGPU/ctpop64.ll | 21 +- test/CodeGen/AMDGPU/cvt_f32_ubyte.ll | 70 +- test/CodeGen/AMDGPU/debugger-emit-prologue.ll | 80 + test/CodeGen/AMDGPU/debugger-insert-nops.ll | 2 +- test/CodeGen/AMDGPU/debugger-reserve-regs.ll | 2 +- test/CodeGen/AMDGPU/default-fp-mode.ll | 78 +- test/CodeGen/AMDGPU/detect-dead-lanes.mir | 2 +- test/CodeGen/AMDGPU/dot4-folding.ll | 27 - .../ds-negative-offset-addressing-mode-loop.ll | 2 +- test/CodeGen/AMDGPU/ds_read2.ll | 2 +- test/CodeGen/AMDGPU/ds_read2_offset_order.ll | 1 - test/CodeGen/AMDGPU/ds_read2_superreg.ll | 2 +- test/CodeGen/AMDGPU/ds_read2st64.ll | 4 +- test/CodeGen/AMDGPU/ds_write2.ll | 2 +- test/CodeGen/AMDGPU/ds_write2st64.ll | 2 +- test/CodeGen/AMDGPU/dynamic_stackalloc.ll | 6 +- test/CodeGen/AMDGPU/extload-private.ll | 6 +- .../extract-vector-elt-build-vector-combine.ll | 126 + test/CodeGen/AMDGPU/extractelt-to-trunc.ll | 34 + test/CodeGen/AMDGPU/fcanonicalize.ll | 75 +- test/CodeGen/AMDGPU/fdiv.ll | 29 +- test/CodeGen/AMDGPU/fetch-limits.r600.ll | 64 +- test/CodeGen/AMDGPU/fetch-limits.r700+.ll | 78 +- test/CodeGen/AMDGPU/ffloor.f64.ll | 21 +- test/CodeGen/AMDGPU/fmed3.ll | 18 +- test/CodeGen/AMDGPU/fmul.ll | 49 +- test/CodeGen/AMDGPU/fneg-fabs.f64.ll | 2 +- test/CodeGen/AMDGPU/fsqrt.f64.ll | 26 + test/CodeGen/AMDGPU/fsqrt.ll | 154 +- test/CodeGen/AMDGPU/ftrunc.f64.ll | 4 +- test/CodeGen/AMDGPU/global-variable-relocs.ll | 203 + test/CodeGen/AMDGPU/global-zero-initializer.ll | 18 - test/CodeGen/AMDGPU/gv-offset-folding.ll | 21 + test/CodeGen/AMDGPU/half.ll | 85 +- test/CodeGen/AMDGPU/hsa-fp-mode.ll | 68 +- test/CodeGen/AMDGPU/hsa-func.ll | 61 + test/CodeGen/AMDGPU/hsa-note-no-func.ll | 2 +- test/CodeGen/AMDGPU/hsa.ll | 4 +- test/CodeGen/AMDGPU/indirect-addressing-si.ll | 312 + test/CodeGen/AMDGPU/indirect-addressing-undef.mir | 327 + test/CodeGen/AMDGPU/inline-asm.ll | 106 + test/CodeGen/AMDGPU/insert_vector_elt.ll | 32 +- test/CodeGen/AMDGPU/literals.ll | 4 +- test/CodeGen/AMDGPU/llvm.AMDGPU.clamp.ll | 13 +- test/CodeGen/AMDGPU/llvm.AMDGPU.cube.ll | 78 +- test/CodeGen/AMDGPU/llvm.AMDGPU.cvt_f32_ubyte.ll | 107 - test/CodeGen/AMDGPU/llvm.AMDGPU.rsq.clamped.f64.ll | 5 +- test/CodeGen/AMDGPU/llvm.AMDGPU.tex.ll | 42 - test/CodeGen/AMDGPU/llvm.SI.gather4.ll | 19 +- test/CodeGen/AMDGPU/llvm.SI.sendmsg-m0.ll | 19 +- test/CodeGen/AMDGPU/llvm.amdgcn.ds.swizzle.ll | 15 + .../AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll | 13 + test/CodeGen/AMDGPU/llvm.amdgcn.lerp.ll | 14 + test/CodeGen/AMDGPU/llvm.amdgcn.rcp.ll | 123 +- test/CodeGen/AMDGPU/llvm.amdgcn.rsq.clamp.ll | 3 +- test/CodeGen/AMDGPU/llvm.amdgpu.dp4.ll | 11 - test/CodeGen/AMDGPU/llvm.dbg.value.ll | 2 +- test/CodeGen/AMDGPU/llvm.r600.dot4.ll | 11 + test/CodeGen/AMDGPU/llvm.r600.tex.ll | 65 + test/CodeGen/AMDGPU/llvm.sin.ll | 90 +- test/CodeGen/AMDGPU/llvm.sqrt.ll | 117 - test/CodeGen/AMDGPU/load-constant-i16.ll | 386 +- test/CodeGen/AMDGPU/load-constant-i32.ll | 12 +- test/CodeGen/AMDGPU/load-constant-i64.ll | 12 +- test/CodeGen/AMDGPU/load-constant-i8.ll | 78 +- test/CodeGen/AMDGPU/load-global-f64.ll | 16 +- test/CodeGen/AMDGPU/load-global-i16.ll | 394 +- test/CodeGen/AMDGPU/load-global-i32.ll | 10 +- test/CodeGen/AMDGPU/load-global-i64.ll | 19 +- test/CodeGen/AMDGPU/load-global-i8.ll | 33 +- test/CodeGen/AMDGPU/load-input-fold.ll | 4 +- test/CodeGen/AMDGPU/load-local-f32.ll | 5 +- test/CodeGen/AMDGPU/load-local-i16.ll | 226 +- test/CodeGen/AMDGPU/load-local-i32.ll | 4 +- test/CodeGen/AMDGPU/load-local-i8.ll | 18 +- test/CodeGen/AMDGPU/load-weird-sizes.ll | 31 + test/CodeGen/AMDGPU/local-stack-slot-bug.ll | 22 + test/CodeGen/AMDGPU/mad24-get-global-id.ll | 36 + test/CodeGen/AMDGPU/madak.ll | 29 + test/CodeGen/AMDGPU/max-literals.ll | 6 +- .../AMDGPU/move-addr64-rsrc-dead-subreg-writes.ll | 4 +- test/CodeGen/AMDGPU/mubuf.ll | 5 +- .../AMDGPU/no-initializer-constant-addrspace.ll | 15 +- test/CodeGen/AMDGPU/no-shrink-extloads.ll | 12 + test/CodeGen/AMDGPU/parallelandifcollapse.ll | 3 +- test/CodeGen/AMDGPU/predicate-dp4.ll | 4 +- test/CodeGen/AMDGPU/predicates.ll | 2 +- test/CodeGen/AMDGPU/private-memory-broken.ll | 4 +- .../AMDGPU/promote-alloca-bitcast-function.ll | 3 +- test/CodeGen/AMDGPU/promote-alloca-lifetime.ll | 24 + .../AMDGPU/promote-alloca-unhandled-intrinsic.ll | 8 +- test/CodeGen/AMDGPU/pv-packing.ll | 6 +- test/CodeGen/AMDGPU/pv.ll | 8 +- ...-infinite-loop-bug-while-reorganizing-vector.ll | 93 +- test/CodeGen/AMDGPU/r600.work-item-intrinsics.ll | 107 + test/CodeGen/AMDGPU/rename-independent-subregs.mir | 2 +- test/CodeGen/AMDGPU/ret_jump.ll | 22 +- test/CodeGen/AMDGPU/rv7x0_count3.ll | 77 +- test/CodeGen/AMDGPU/scalar_to_vector.ll | 21 +- test/CodeGen/AMDGPU/schedule-kernel-arg-loads.ll | 4 +- test/CodeGen/AMDGPU/selected-stack-object.ll | 15 + test/CodeGen/AMDGPU/sext-in-reg-failure-r600.ll | 22 + test/CodeGen/AMDGPU/sext-in-reg.ll | 36 +- test/CodeGen/AMDGPU/sgpr-copy.ll | 7 +- test/CodeGen/AMDGPU/shared-op-cycle.ll | 4 +- test/CodeGen/AMDGPU/shift-and-i128-ubfe.ll | 36 +- test/CodeGen/AMDGPU/shl_add_constant.ll | 8 +- test/CodeGen/AMDGPU/si-annotate-cf-assertion.ll | 25 - test/CodeGen/AMDGPU/si-annotate-cf.ll | 81 + test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll | 4 +- .../si-instr-info-correct-implicit-operands.ll | 2 +- test/CodeGen/AMDGPU/si-spill-cf.ll | 21 +- test/CodeGen/AMDGPU/si-triv-disjoint-mem-access.ll | 2 +- test/CodeGen/AMDGPU/si-vector-hang.ll | 2 +- test/CodeGen/AMDGPU/skip-if-dead.ll | 255 + test/CodeGen/AMDGPU/split-smrd.ll | 4 +- test/CodeGen/AMDGPU/sra.ll | 4 +- test/CodeGen/AMDGPU/store-barrier.ll | 6 +- test/CodeGen/AMDGPU/store.ll | 53 +- test/CodeGen/AMDGPU/structurize.ll | 2 +- test/CodeGen/AMDGPU/structurize1.ll | 2 +- test/CodeGen/AMDGPU/sub.ll | 24 +- test/CodeGen/AMDGPU/subreg-coalescer-crash.ll | 2 +- test/CodeGen/AMDGPU/target-cpu.ll | 112 + test/CodeGen/AMDGPU/trunc-bitcast-vector.ll | 3 +- test/CodeGen/AMDGPU/trunc-store.ll | 34 +- test/CodeGen/AMDGPU/unaligned-load-store.ll | 637 +- .../AMDGPU/unhandled-loop-condition-assertion.ll | 16 +- test/CodeGen/AMDGPU/v_mac.ll | 75 +- test/CodeGen/AMDGPU/vector-extract-insert.ll | 84 + .../AMDGPU/vgpr-spill-emergency-stack-slot.ll | 4 +- test/CodeGen/AMDGPU/work-item-intrinsics.ll | 201 - test/CodeGen/AMDGPU/wqm.ll | 10 +- test/CodeGen/AMDGPU/wrong-transalu-pos-fix.ll | 2 +- test/CodeGen/ARM/Windows/builtin_longjmp.ll | 8 +- test/CodeGen/ARM/Windows/long-calls.ll | 2 +- test/CodeGen/ARM/arm-eabi.ll | 8 + test/CodeGen/ARM/arm-shrink-wrapping.ll | 2 +- test/CodeGen/ARM/default-float-abi.ll | 3 + test/CodeGen/ARM/divmod-eabi.ll | 1 + test/CodeGen/ARM/ehabi.ll | 16 + test/CodeGen/ARM/fp16.ll | 2 + test/CodeGen/ARM/memfunc.ll | 2 + test/CodeGen/ARM/ssat.ll | 215 + test/CodeGen/ARM/thumb1-ldst-opt.ll | 2 +- test/CodeGen/ARM/urem-opt-size.ll | 45 + test/CodeGen/ARM/v7k-libcalls.ll | 9 + test/CodeGen/ARM/widen-vmovs.ll | 2 +- test/CodeGen/Hexagon/Atomics.ll | 13 + test/CodeGen/Hexagon/bitconvert-vector.ll | 27 + test/CodeGen/Hexagon/packetize-tailcall-arg.ll | 22 + test/CodeGen/Hexagon/pic-local.ll | 19 + test/CodeGen/Hexagon/store-shift.ll | 50 + test/CodeGen/Hexagon/vload-postinc-sel.ll | 52 + test/CodeGen/Lanai/combined_alu_setcc.ll | 170 - test/CodeGen/Lanai/sub-cmp-peephole.ll | 109 + test/CodeGen/MIR/AArch64/cfi-def-cfa.mir | 2 +- .../AArch64/generic-virtual-registers-error.mir | 5 +- test/CodeGen/MIR/AArch64/machine-dead-copy.mir | 2 +- test/CodeGen/MIR/AArch64/machine-scheduler.mir | 2 +- test/CodeGen/MIR/AArch64/multiple-lhs-operands.mir | 2 +- .../MIR/AArch64/stack-object-local-offset.mir | 2 +- test/CodeGen/MIR/AArch64/target-flags.mir | 2 +- test/CodeGen/MIR/AMDGPU/target-index-operands.mir | 2 +- test/CodeGen/MIR/ARM/ARMLoadStoreDBG.mir | 2 +- test/CodeGen/MIR/ARM/bundled-instructions.mir | 2 +- test/CodeGen/MIR/ARM/cfi-same-value.mir | 2 +- test/CodeGen/MIR/ARM/imm-peephole-arm.mir | 2 +- test/CodeGen/MIR/ARM/imm-peephole-thumb.mir | 2 +- test/CodeGen/MIR/Generic/basic-blocks.mir | 2 +- test/CodeGen/MIR/Generic/frame-info.mir | 2 +- test/CodeGen/MIR/Generic/llvmIR.mir | 2 +- test/CodeGen/MIR/Generic/llvmIRMissing.mir | 2 +- .../machine-basic-block-ir-block-reference.mir | 2 +- test/CodeGen/MIR/Generic/machine-function.mir | 2 +- test/CodeGen/MIR/Generic/multiRunPass.mir | 12 +- test/CodeGen/MIR/Generic/register-info.mir | 2 +- test/CodeGen/MIR/Hexagon/anti-dep-partial.mir | 2 +- .../{DebugInfo => CodeGen/MIR}/Lanai/lit.local.cfg | 0 test/CodeGen/MIR/Lanai/peephole-compare.mir | 714 ++ test/CodeGen/MIR/Mips/memory-operands.mir | 2 +- .../NVPTX/floating-point-immediate-operands.mir | 2 +- .../MIR/PowerPC/unordered-implicit-registers.mir | 2 +- test/CodeGen/MIR/X86/basic-block-liveins.mir | 2 +- test/CodeGen/MIR/X86/block-address-operands.mir | 2 +- test/CodeGen/MIR/X86/callee-saved-info.mir | 2 +- test/CodeGen/MIR/X86/cfi-def-cfa-offset.mir | 2 +- test/CodeGen/MIR/X86/cfi-def-cfa-register.mir | 2 +- test/CodeGen/MIR/X86/cfi-offset.mir | 2 +- test/CodeGen/MIR/X86/constant-pool.mir | 2 +- test/CodeGen/MIR/X86/dead-register-flag.mir | 2 +- .../MIR/X86/early-clobber-register-flag.mir | 2 +- test/CodeGen/MIR/X86/external-symbol-operands.mir | 2 +- .../MIR/X86/fixed-stack-memory-operands.mir | 2 +- test/CodeGen/MIR/X86/fixed-stack-objects.mir | 2 +- .../MIR/X86/frame-info-save-restore-points.mir | 2 +- .../MIR/X86/frame-info-stack-references.mir | 2 +- .../MIR/X86/frame-setup-instruction-flag.mir | 2 +- test/CodeGen/MIR/X86/function-liveins.mir | 2 +- test/CodeGen/MIR/X86/generic-virtual-registers.mir | 2 +- test/CodeGen/MIR/X86/global-value-operands.mir | 2 +- test/CodeGen/MIR/X86/immediate-operands.mir | 2 +- test/CodeGen/MIR/X86/implicit-register-flag.mir | 2 +- test/CodeGen/MIR/X86/inline-asm-registers.mir | 2 +- .../MIR/X86/instructions-debug-location.mir | 2 +- test/CodeGen/MIR/X86/jump-table-info.mir | 2 +- test/CodeGen/MIR/X86/killed-register-flag.mir | 2 +- test/CodeGen/MIR/X86/liveout-register-mask.mir | 2 +- .../MIR/X86/machine-basic-block-operands.mir | 2 +- test/CodeGen/MIR/X86/machine-instructions.mir | 2 +- test/CodeGen/MIR/X86/memory-operands.mir | 2 +- test/CodeGen/MIR/X86/metadata-operands.mir | 2 +- test/CodeGen/MIR/X86/named-registers.mir | 2 +- test/CodeGen/MIR/X86/newline-handling.mir | 2 +- test/CodeGen/MIR/X86/null-register-operands.mir | 2 +- test/CodeGen/MIR/X86/register-mask-operands.mir | 2 +- .../MIR/X86/simple-register-allocation-hints.mir | 2 +- .../MIR/X86/spill-slot-fixed-stack-objects.mir | 2 +- test/CodeGen/MIR/X86/stack-object-debug-info.mir | 2 +- test/CodeGen/MIR/X86/stack-object-operands.mir | 2 +- test/CodeGen/MIR/X86/stack-objects.mir | 2 +- .../CodeGen/MIR/X86/subregister-index-operands.mir | 2 +- test/CodeGen/MIR/X86/subregister-operands.mir | 2 +- .../MIR/X86/successor-basic-blocks-weights.mir | 2 +- test/CodeGen/MIR/X86/successor-basic-blocks.mir | 2 +- test/CodeGen/MIR/X86/undef-register-flag.mir | 2 +- .../MIR/X86/used-physical-register-info.mir | 2 +- .../MIR/X86/variable-sized-stack-objects.mir | 2 +- test/CodeGen/MIR/X86/virtual-registers.mir | 2 +- test/CodeGen/Mips/Fast-ISel/callabi.ll | 4 +- .../CodeGen/Mips/Fast-ISel/check-disabled-mcpus.ll | 12 +- test/CodeGen/Mips/abicalls.ll | 8 +- test/CodeGen/Mips/adjust-callstack-sp.ll | 12 +- test/CodeGen/Mips/analyzebranch.ll | 14 +- test/CodeGen/Mips/assertzext-trunc.ll | 28 +- test/CodeGen/Mips/atomic.ll | 40 +- test/CodeGen/Mips/atomicCmpSwapPW.ll | 6 +- test/CodeGen/Mips/buildpairextractelementf64.ll | 12 +- test/CodeGen/Mips/cconv/arguments-float.ll | 16 +- test/CodeGen/Mips/cconv/arguments-fp128.ll | 8 +- .../Mips/cconv/arguments-hard-float-varargs.ll | 16 +- test/CodeGen/Mips/cconv/arguments-hard-float.ll | 16 +- test/CodeGen/Mips/cconv/arguments-hard-fp128.ll | 8 +- ...rguments-small-structures-bigger-than-32bits.ll | 8 +- test/CodeGen/Mips/cconv/arguments-struct.ll | 16 +- test/CodeGen/Mips/cconv/arguments-varargs.ll | 16 +- test/CodeGen/Mips/cconv/arguments.ll | 16 +- test/CodeGen/Mips/cconv/callee-saved-float.ll | 37 +- test/CodeGen/Mips/cconv/callee-saved-fpxx.ll | 16 +- test/CodeGen/Mips/cconv/callee-saved.ll | 32 +- test/CodeGen/Mips/cconv/memory-layout.ll | 16 +- test/CodeGen/Mips/cconv/reserved-space.ll | 16 +- test/CodeGen/Mips/cconv/return-float.ll | 16 +- test/CodeGen/Mips/cconv/return-hard-float.ll | 20 +- test/CodeGen/Mips/cconv/return-hard-fp128.ll | 8 +- test/CodeGen/Mips/cconv/return-hard-struct-f128.ll | 8 +- test/CodeGen/Mips/cconv/return-struct.ll | 16 +- test/CodeGen/Mips/cconv/return.ll | 16 +- test/CodeGen/Mips/cconv/roundl-call.ll | 24 +- test/CodeGen/Mips/cconv/stack-alignment.ll | 16 +- test/CodeGen/Mips/cfi_offset.ll | 12 +- test/CodeGen/Mips/check-adde-redundant-moves.ll | 18 +- test/CodeGen/Mips/cmov.ll | 14 +- .../Mips/compactbranches/compact-branches.ll | 2 +- test/CodeGen/Mips/const-mult.ll | 2 +- test/CodeGen/Mips/countleading.ll | 16 +- test/CodeGen/Mips/divrem.ll | 26 +- test/CodeGen/Mips/dynamic-stack-realignment.ll | 18 +- test/CodeGen/Mips/eh-return32.ll | 6 +- test/CodeGen/Mips/eh-return64.ll | 8 +- test/CodeGen/Mips/eh.ll | 2 +- test/CodeGen/Mips/ehframe-indirect.ll | 12 +- test/CodeGen/Mips/elf_eflags.ll | 12 +- test/CodeGen/Mips/fcmp.ll | 24 +- test/CodeGen/Mips/fcopysign-f32-f64.ll | 6 +- test/CodeGen/Mips/fmadd1.ll | 24 +- test/CodeGen/Mips/fp-indexed-ls.ll | 14 +- test/CodeGen/Mips/fp64a.ll | 12 +- test/CodeGen/Mips/fpbr.ll | 12 +- test/CodeGen/Mips/fpxx.ll | 20 +- test/CodeGen/Mips/hf1_body.ll | 4 +- test/CodeGen/Mips/inlineasm-operand-code.ll | 8 +- test/CodeGen/Mips/inlineasm_constraint.ll | 4 +- test/CodeGen/Mips/inlineasm_constraint_ZC.ll | 6 +- test/CodeGen/Mips/interrupt-attr-64-error.ll | 2 +- test/CodeGen/Mips/llvm-ir/add.ll | 34 +- test/CodeGen/Mips/llvm-ir/and.ll | 34 +- test/CodeGen/Mips/llvm-ir/ashr.ll | 43 +- test/CodeGen/Mips/llvm-ir/call.ll | 24 +- test/CodeGen/Mips/llvm-ir/indirectbr.ll | 22 +- test/CodeGen/Mips/llvm-ir/lh_lhu.ll | 2 +- test/CodeGen/Mips/llvm-ir/load-atomic.ll | 4 +- test/CodeGen/Mips/llvm-ir/lshr.ll | 43 +- test/CodeGen/Mips/llvm-ir/mul.ll | 60 +- test/CodeGen/Mips/llvm-ir/not.ll | 36 +- test/CodeGen/Mips/llvm-ir/or.ll | 47 +- test/CodeGen/Mips/llvm-ir/ret.ll | 23 +- test/CodeGen/Mips/llvm-ir/sdiv.ll | 47 +- test/CodeGen/Mips/llvm-ir/select-dbl.ll | 34 +- test/CodeGen/Mips/llvm-ir/select-flt.ll | 34 +- test/CodeGen/Mips/llvm-ir/select-int.ll | 34 +- test/CodeGen/Mips/llvm-ir/shl.ll | 43 +- test/CodeGen/Mips/llvm-ir/srem.ll | 47 +- test/CodeGen/Mips/llvm-ir/store-atomic.ll | 4 +- test/CodeGen/Mips/llvm-ir/sub.ll | 38 +- test/CodeGen/Mips/llvm-ir/udiv.ll | 34 +- test/CodeGen/Mips/llvm-ir/urem.ll | 47 +- test/CodeGen/Mips/llvm-ir/xor.ll | 36 +- test/CodeGen/Mips/load-store-left-right.ll | 28 +- test/CodeGen/Mips/lw16-base-reg.ll | 2 +- test/CodeGen/Mips/madd-msub.ll | 12 +- test/CodeGen/Mips/micromips-lwc1-swc1.ll | 50 + test/CodeGen/Mips/mips64-f128.ll | 8 +- test/CodeGen/Mips/mips64extins.ll | 2 +- test/CodeGen/Mips/mips64fpldst.ll | 28 +- test/CodeGen/Mips/mips64instrs.ll | 8 +- test/CodeGen/Mips/mips64muldiv.ll | 8 +- test/CodeGen/Mips/mips64r6/compatibility.ll | 4 +- test/CodeGen/Mips/mips64shift.ll | 4 +- test/CodeGen/Mips/mno-ldc1-sdc1.ll | 127 +- test/CodeGen/Mips/msa/2r_vector_scalar.ll | 10 +- test/CodeGen/Mips/msa/basic_operations.ll | 24 +- test/CodeGen/Mips/msa/basic_operations_float.ll | 12 +- test/CodeGen/Mips/msa/elm_copy.ll | 8 +- test/CodeGen/Mips/msa/elm_insv.ll | 8 +- test/CodeGen/Mips/msa/frameindex.ll | 4 +- test/CodeGen/Mips/no-odd-spreg-msa.ll | 8 +- test/CodeGen/Mips/no-odd-spreg.ll | 10 +- test/CodeGen/Mips/o32_cc.ll | 6 +- test/CodeGen/Mips/octeon.ll | 4 +- test/CodeGen/Mips/private-addr.ll | 14 + test/CodeGen/Mips/select.ll | 12 +- test/CodeGen/Mips/selectiondag-optlevel.ll | 22 + test/CodeGen/Mips/start-asm-file.ll | 24 +- test/CodeGen/Mips/tls.ll | 6 +- test/CodeGen/Mips/unalignedload.ll | 12 +- test/CodeGen/Mips/zeroreg.ll | 14 +- test/CodeGen/NVPTX/MachineSink-convergent.ll | 4 +- test/CodeGen/NVPTX/TailDuplication-convergent.ll | 4 +- test/CodeGen/NVPTX/access-non-generic.ll | 12 +- test/CodeGen/NVPTX/bug22322.ll | 12 +- test/CodeGen/NVPTX/intrinsic-old.ll | 178 +- test/CodeGen/NVPTX/noduplicate-syncthreads.ll | 8 +- test/CodeGen/NVPTX/sm-version-60.ll | 5 + test/CodeGen/NVPTX/sm-version-61.ll | 5 + test/CodeGen/NVPTX/sm-version-62.ll | 5 + test/CodeGen/NVPTX/zeroext-32bit.ll | 26 + test/CodeGen/PowerPC/2008-07-15-Bswap.ll | 5 - test/CodeGen/PowerPC/available-externally.ll | 81 +- .../CodeGen/PowerPC/cannonicalize-vector-shifts.ll | 27 + test/CodeGen/PowerPC/hidden-vis-2.ll | 21 +- test/CodeGen/PowerPC/load-v4i8-improved.ll | 23 + test/CodeGen/PowerPC/machine-combiner.ll | 4 + test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir | 2 +- test/CodeGen/PowerPC/opt-cmp-inst-cr0-live.ll | 2 +- test/CodeGen/PowerPC/opt-sub-inst-cr0-live.mir | 2 +- .../PowerPC/p8-scalar_vector_conversions.ll | 12 +- test/CodeGen/PowerPC/p8altivec-shuffles-pred.ll | 3 +- test/CodeGen/PowerPC/p9-xxinsertw-xxextractuw.ll | 970 +++ test/CodeGen/PowerPC/pie.ll | 16 + test/CodeGen/PowerPC/ppc-shrink-wrapping.ll | 5 +- test/CodeGen/PowerPC/ppc32-i1-vaarg.ll | 4 +- test/CodeGen/PowerPC/ppc64-byval-align.ll | 3 +- test/CodeGen/PowerPC/pr28130.ll | 70 + test/CodeGen/PowerPC/stackmap-frame-setup.ll | 4 +- test/CodeGen/PowerPC/stubs.ll | 17 +- test/CodeGen/PowerPC/swaps-le-7.ll | 55 + test/CodeGen/PowerPC/vec_cmp.ll | 6 +- test/CodeGen/PowerPC/vsx.ll | 94 +- test/CodeGen/SPARC/32abi.ll | 2 + test/CodeGen/SPARC/LeonFixCALLPassUT.ll | 20 + test/CodeGen/SPARC/LeonInsertNOPLoad.ll | 13 + .../CodeGen/SPARC/LeonInsertNOPsDoublePrecision.ll | 17 + test/CodeGen/SPARC/LeonPreventRoundChangePassUT.ll | 65 + test/CodeGen/SPARC/LeonReplaceSDIVPassUT.ll | 9 + test/CodeGen/SPARC/missinglabel.ll | 4 +- test/CodeGen/SystemZ/and-xor-01.ll | 14 + test/CodeGen/SystemZ/cond-li.ll | 23 + test/CodeGen/SystemZ/pie.ll | 13 + test/CodeGen/SystemZ/risbg-01.ll | 21 + test/CodeGen/SystemZ/risbg-02.ll | 25 + test/CodeGen/SystemZ/rot-01.ll | 35 + test/CodeGen/SystemZ/rot-02.ll | 86 + test/CodeGen/SystemZ/shift-11.ll | 63 + test/CodeGen/SystemZ/shift-12.ll | 106 + test/CodeGen/SystemZ/tdc-01.ll | 95 + test/CodeGen/SystemZ/tdc-02.ll | 96 + test/CodeGen/SystemZ/tdc-03.ll | 139 + test/CodeGen/SystemZ/tdc-04.ll | 85 + test/CodeGen/SystemZ/tdc-05.ll | 97 + test/CodeGen/SystemZ/tdc-06.ll | 48 + test/CodeGen/SystemZ/vec-extract-02.ll | 2 +- test/CodeGen/Thumb/and_neg.ll | 20 + test/CodeGen/Thumb/bic_imm.ll | 11 + test/CodeGen/Thumb2/2009-09-01-PostRAProlog.ll | 2 - test/CodeGen/Thumb2/bicbfi.ll | 17 + test/CodeGen/Thumb2/thumb2-cbnz.ll | 4 +- test/CodeGen/Thumb2/v8_IT_5.ll | 25 +- test/CodeGen/X86/2007-10-15-CoalescerCrash.ll | 2 +- test/CodeGen/X86/2008-08-17-UComiCodeGenBug.ll | 2 +- test/CodeGen/X86/2008-09-11-CoalescerBug2.ll | 2 +- test/CodeGen/X86/2012-01-12-extract-sv.ll | 2 +- test/CodeGen/X86/2012-04-26-sdglue.ll | 6 +- test/CodeGen/X86/abi-isel.ll | 72 +- test/CodeGen/X86/add.ll | 36 + test/CodeGen/X86/anyext.ll | 4 + test/CodeGen/X86/atomic-eflags-reuse.ll | 3 +- test/CodeGen/X86/avx-cast.ll | 7 + test/CodeGen/X86/avx-intrinsics-fast-isel.ll | 88 +- test/CodeGen/X86/avx-intrinsics-x86-upgrade.ll | 2 + test/CodeGen/X86/avx-intrinsics-x86.ll | 202 +- test/CodeGen/X86/avx-splat.ll | 2 +- test/CodeGen/X86/avx-vbroadcast.ll | 14 +- test/CodeGen/X86/avx-vperm2x128.ll | 12 + test/CodeGen/X86/avx2-conversions.ll | 2 + test/CodeGen/X86/avx2-intrinsics-fast-isel.ll | 2 + test/CodeGen/X86/avx2-vbroadcast.ll | 3 +- test/CodeGen/X86/avx2-vector-shifts.ll | 3 + test/CodeGen/X86/avx512-arith.ll | 8 +- test/CodeGen/X86/avx512-bugfix-26264.ll | 8 +- test/CodeGen/X86/avx512-build-vector.ll | 7 +- test/CodeGen/X86/avx512-calling-conv.ll | 42 +- test/CodeGen/X86/avx512-cmp.ll | 6 +- test/CodeGen/X86/avx512-cvt.ll | 21 +- test/CodeGen/X86/avx512-ext.ll | 427 +- test/CodeGen/X86/avx512-extract-subvector.ll | 4 +- test/CodeGen/X86/avx512-insert-extract.ll | 499 +- test/CodeGen/X86/avx512-intrinsics-fast-isel.ll | 1134 +++ test/CodeGen/X86/avx512-intrinsics-upgrade.ll | 723 +- test/CodeGen/X86/avx512-intrinsics.ll | 789 +- test/CodeGen/X86/avx512-logic.ll | 66 + test/CodeGen/X86/avx512-mask-op.ll | 181 +- test/CodeGen/X86/avx512-select.ll | 3 + test/CodeGen/X86/avx512-trunc.ll | 15 + test/CodeGen/X86/avx512-unsafe-fp-math.ll | 36 + test/CodeGen/X86/avx512-vbroadcast.ll | 7 +- test/CodeGen/X86/avx512-vec-cmp.ll | 474 +- test/CodeGen/X86/avx512bw-intrinsics-fast-isel.ll | 413 + test/CodeGen/X86/avx512bw-intrinsics-upgrade.ll | 120 +- test/CodeGen/X86/avx512bw-intrinsics.ll | 108 +- test/CodeGen/X86/avx512bw-mov.ll | 8 + .../CodeGen/X86/avx512bwvl-intrinsics-fast-isel.ll | 244 + test/CodeGen/X86/avx512bwvl-intrinsics-upgrade.ll | 294 +- test/CodeGen/X86/avx512bwvl-intrinsics.ll | 291 +- test/CodeGen/X86/avx512dq-intrinsics.ll | 30 +- test/CodeGen/X86/avx512dq-mask-op.ll | 2 + test/CodeGen/X86/avx512dqvl-intrinsics.ll | 20 +- test/CodeGen/X86/avx512vl-intrinsics-fast-isel.ll | 1391 ++++ test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll | 1802 ++++- test/CodeGen/X86/avx512vl-intrinsics.ll | 1925 +---- test/CodeGen/X86/bitreverse.ll | 318 +- test/CodeGen/X86/bmi.ll | 9 +- test/CodeGen/X86/br-fold.ll | 2 + test/CodeGen/X86/bt.ll | 852 +- test/CodeGen/X86/clz.ll | 6 + test/CodeGen/X86/cmov.ll | 4 +- test/CodeGen/X86/cmp.ll | 31 +- test/CodeGen/X86/cmpxchg-i1.ll | 6 +- test/CodeGen/X86/cmpxchg-i128-i1.ll | 4 +- test/CodeGen/X86/combine-or.ll | 59 + test/CodeGen/X86/ctpop-combine.ll | 38 +- test/CodeGen/X86/darwin-stub.ll | 12 - test/CodeGen/X86/eflags-copy-expansion.mir | 2 +- test/CodeGen/X86/expand-vr64-gr64-copy.mir | 2 +- test/CodeGen/X86/extractelement-index.ll | 20 + test/CodeGen/X86/f16c-intrinsics-fast-isel.ll | 2 + test/CodeGen/X86/fast-isel-call.ll | 44 +- test/CodeGen/X86/fast-isel-x86.ll | 34 +- test/CodeGen/X86/fixup-bw-copy.ll | 3 +- test/CodeGen/X86/fixup-bw-copy.mir | 2 +- test/CodeGen/X86/fixup-bw-inst-fwlive.mir | 37 - test/CodeGen/X86/fp128-cast.ll | 5 +- test/CodeGen/X86/fp128-compare.ll | 31 +- test/CodeGen/X86/frame-order.ll | 122 + test/CodeGen/X86/ga-offset.ll | 13 +- test/CodeGen/X86/ga-offset2.ll | 10 + test/CodeGen/X86/h-registers-3.ll | 4 + test/CodeGen/X86/hipe-cc.ll | 18 + test/CodeGen/X86/hipe-cc64.ll | 19 + test/CodeGen/X86/hipe-prologue.ll | 11 +- test/CodeGen/X86/hoist-invariant-load.ll | 35 +- test/CodeGen/X86/i386-shrink-wrapping.ll | 4 +- test/CodeGen/X86/implicit-null-checks.mir | 266 + test/CodeGen/X86/insertps-combine.ll | 9 +- test/CodeGen/X86/ipra-local-linkage.ll | 30 + test/CodeGen/X86/ipra-reg-usage.ll | 2 +- test/CodeGen/X86/licm-dominance.ll | 61 +- test/CodeGen/X86/machine-combiner-int.ll | 7 +- test/CodeGen/X86/machine-copy-prop.mir | 2 +- test/CodeGen/X86/masked_gather_scatter.ll | 169 +- test/CodeGen/X86/masked_memop.ll | 8255 +++++++++++++++++++- test/CodeGen/X86/materialize.ll | 2 + test/CodeGen/X86/mcinst-lowering.ll | 15 +- test/CodeGen/X86/memset-2.ll | 8 +- test/CodeGen/X86/merge-consecutive-loads-128.ll | 2 +- test/CodeGen/X86/merge-sp-update-lea.ll | 4 +- test/CodeGen/X86/movmsk.ll | 1 + test/CodeGen/X86/negate-add-zero.ll | 2 +- test/CodeGen/X86/no-prolog-kill.ll | 21 + test/CodeGen/X86/or-lea.ll | 13 + test/CodeGen/X86/patchable-prologue.ll | 24 + test/CodeGen/X86/patchpoint-verifiable.mir | 2 +- test/CodeGen/X86/pku.ll | 2 +- test/CodeGen/X86/pmul.ll | 2 + test/CodeGen/X86/pr27591.ll | 49 +- test/CodeGen/X86/pr27681.mir | 2 +- test/CodeGen/X86/pr28173.ll | 21 +- test/CodeGen/X86/pr28444.ll | 27 + test/CodeGen/X86/pr28472.ll | 11 + test/CodeGen/X86/pr28489.ll | 15 + test/CodeGen/X86/pr28515.ll | 16 + test/CodeGen/X86/promote-i16.ll | 2 + test/CodeGen/X86/pshufb-mask-comments.ll | 6 +- test/CodeGen/X86/reduce-trunc-shl.ll | 26 +- test/CodeGen/X86/return-ext.ll | 10 +- test/CodeGen/X86/setcc-narrowing.ll | 4 +- test/CodeGen/X86/setcc.ll | 2 +- test/CodeGen/X86/shift-pcmp.ll | 45 +- test/CodeGen/X86/sibcall-5.ll | 10 +- test/CodeGen/X86/sibcall-byval.ll | 6 +- test/CodeGen/X86/sse-intrinsics-fast-isel.ll | 32 +- test/CodeGen/X86/sse-intrinsics-x86.ll | 32 +- .../X86/sse2-intrinsics-fast-isel-x86_64.ll | 11 + test/CodeGen/X86/sse2-intrinsics-fast-isel.ll | 32 +- test/CodeGen/X86/sse2-intrinsics-x86.ll | 32 +- test/CodeGen/X86/sse3-avx-addsub.ll | 7 +- test/CodeGen/X86/sse3.ll | 6 +- test/CodeGen/X86/sse41-intrinsics-fast-isel.ll | 16 +- test/CodeGen/X86/sse41-intrinsics-x86.ll | 8 +- test/CodeGen/X86/sse41.ll | 8 +- test/CodeGen/X86/sse42-intrinsics-fast-isel.ll | 72 +- test/CodeGen/X86/sse42-intrinsics-x86.ll | 197 +- test/CodeGen/X86/stack-protector.ll | 24 + test/CodeGen/X86/stackmap-frame-setup.ll | 4 +- test/CodeGen/X86/tail-merge-unreachable.ll | 34 + test/CodeGen/X86/tbm-intrinsics-fast-isel.ll | 4 + test/CodeGen/X86/tls.ll | 15 + test/CodeGen/X86/unreachableblockelim.ll | 21 + test/CodeGen/X86/update-terminator.mir | 57 + test/CodeGen/X86/urem-i8-constant.ll | 1 + test/CodeGen/X86/urem-power-of-two.ll | 4 +- test/CodeGen/X86/vec_fp_to_int.ll | 1 + test/CodeGen/X86/vec_insert-5.ll | 1 + test/CodeGen/X86/vec_insert-mmx.ll | 1 + test/CodeGen/X86/vec_int_to_fp.ll | 30 + test/CodeGen/X86/vec_shift.ll | 41 +- test/CodeGen/X86/vec_shift2.ll | 34 +- test/CodeGen/X86/vec_shift3.ll | 41 +- test/CodeGen/X86/vec_shift4.ll | 64 +- test/CodeGen/X86/vec_shift5.ll | 217 +- test/CodeGen/X86/vec_shift6.ll | 225 +- test/CodeGen/X86/vec_shift7.ll | 23 +- test/CodeGen/X86/vec_ss_load_fold.ll | 49 +- test/CodeGen/X86/vec_uint_to_fp-fastmath.ll | 4 + test/CodeGen/X86/vector-bitreverse.ll | 26 +- test/CodeGen/X86/vector-compare-results.ll | 37 +- test/CodeGen/X86/vector-half-conversions.ll | 49 + test/CodeGen/X86/vector-idiv-sdiv-512.ll | 64 + test/CodeGen/X86/vector-lzcnt-128.ll | 8 + test/CodeGen/X86/vector-lzcnt-256.ll | 8 + test/CodeGen/X86/vector-pcmp.ll | 232 +- test/CodeGen/X86/vector-sext.ll | 555 +- test/CodeGen/X86/vector-shift-ashr-128.ll | 7 + test/CodeGen/X86/vector-shift-ashr-256.ll | 5 + test/CodeGen/X86/vector-shift-lshr-128.ll | 7 + test/CodeGen/X86/vector-shift-lshr-256.ll | 5 + test/CodeGen/X86/vector-shift-shl-128.ll | 6 + test/CodeGen/X86/vector-shift-shl-256.ll | 5 + test/CodeGen/X86/vector-shuffle-128-v16.ll | 2 +- test/CodeGen/X86/vector-shuffle-128-v2.ll | 5 +- test/CodeGen/X86/vector-shuffle-128-v4.ll | 35 +- test/CodeGen/X86/vector-shuffle-256-v16.ll | 2 +- test/CodeGen/X86/vector-shuffle-256-v4.ll | 39 +- test/CodeGen/X86/vector-shuffle-256-v8.ll | 42 +- test/CodeGen/X86/vector-shuffle-512-v16.ll | 56 +- test/CodeGen/X86/vector-shuffle-512-v32.ll | 6 +- test/CodeGen/X86/vector-shuffle-512-v8.ll | 222 +- test/CodeGen/X86/vector-shuffle-combining-avx.ll | 85 +- test/CodeGen/X86/vector-shuffle-combining-avx2.ll | 219 +- .../X86/vector-shuffle-combining-avx512bw.ll | 242 +- test/CodeGen/X86/vector-shuffle-combining-ssse3.ll | 76 +- test/CodeGen/X86/vector-shuffle-combining.ll | 4 +- test/CodeGen/X86/vector-shuffle-sse41.ll | 59 + test/CodeGen/X86/vector-shuffle-v1.ll | 135 +- test/CodeGen/X86/vector-shuffle-variable-128.ll | 78 + test/CodeGen/X86/vector-trunc-math.ll | 74 + test/CodeGen/X86/vector-trunc.ll | 9 + ...gisters-cleared-in-machine-functions-liveins.ll | 4 +- test/CodeGen/X86/widen_bitops-0.ll | 18 + test/CodeGen/X86/win32-eh.ll | 48 +- test/CodeGen/X86/win32_sret.ll | 34 +- test/CodeGen/X86/x86-shrink-wrap-unwind.ll | 2 +- test/CodeGen/X86/x86-upgrade-avx-vbroadcast.ll | 29 +- test/CodeGen/X86/x86-upgrade-avx2-vbroadcast.ll | 12 +- test/CodeGen/X86/xaluo.ll | 3 +- test/CodeGen/X86/xray-attribute-instrumentation.ll | 13 + .../X86/xray-selective-instrumentation-miss.ll | 9 + test/CodeGen/X86/xray-selective-instrumentation.ll | 9 + test/CodeGen/XCore/linkage.ll | 5 +- test/DebugInfo/COFF/anonymous-struct.ll | 61 + test/DebugInfo/COFF/big-type.ll | 5768 ++++++++++++++ test/DebugInfo/COFF/bitfields.ll | 228 + test/DebugInfo/COFF/defer-complete-type.ll | 210 + test/DebugInfo/COFF/enum.ll | 4 +- test/DebugInfo/COFF/globals-discarded.ll | 2 +- test/DebugInfo/COFF/globals.ll | 16 +- test/DebugInfo/COFF/inheritance.ll | 296 + test/DebugInfo/COFF/local-variables.ll | 28 +- test/DebugInfo/COFF/multifunction.ll | 12 +- test/DebugInfo/COFF/parameter-order.ll | 122 + test/DebugInfo/COFF/retained-types.ll | 96 + test/DebugInfo/COFF/scopes.ll | 145 + test/DebugInfo/COFF/types-array-advanced.ll | 218 + test/DebugInfo/COFF/types-basic.ll | 88 +- test/DebugInfo/COFF/types-calling-conv.ll | 62 +- test/DebugInfo/COFF/types-data-members.ll | 143 +- test/DebugInfo/COFF/types-nested-class.ll | 98 + test/DebugInfo/COFF/types-non-virtual-methods.ll | 70 +- test/DebugInfo/COFF/types-recursive-struct.ll | 27 +- test/DebugInfo/COFF/udts.ll | 126 +- test/DebugInfo/COFF/virtual-method-kinds.ll | 294 + test/DebugInfo/COFF/virtual-methods.ll | 441 ++ test/DebugInfo/Inputs/dwarfdump-objc.m | 6 + test/DebugInfo/Inputs/dwarfdump-objc.x86_64.o | Bin 11512 -> 15648 bytes .../DebugInfo/MIR/X86/live-debug-values-3preds.mir | 2 +- test/DebugInfo/MIR/X86/live-debug-values.mir | 2 +- test/DebugInfo/PDB/DIA/pdbdump-flags.test | 8 +- test/DebugInfo/PDB/DIA/pdbdump-linenumbers.test | 2 +- test/DebugInfo/PDB/DIA/pdbdump-symbol-format.test | 8 +- test/DebugInfo/PDB/pdbdump-headers.test | 24 +- test/DebugInfo/PDB/pdbdump-write.test | 13 + test/DebugInfo/PDB/pdbdump-yaml.test | 72 +- test/DebugInfo/SystemZ/eh_frame_personality.ll | 4 +- test/DebugInfo/X86/bbjoin.ll | 2 +- test/DebugInfo/X86/constant-loclist.ll | 76 + test/DebugInfo/X86/dbg-value-dag-combine.ll | 11 +- test/DebugInfo/X86/dllimport.ll | 27 + test/DebugInfo/X86/float_const_loclist.ll | 22 +- test/DebugInfo/X86/pr28270.ll | 151 + test/DebugInfo/X86/safestack-byval.ll | 2 +- test/DebugInfo/X86/single-dbg_value.ll | 2 +- test/DebugInfo/dwarfdump-accel.test | 22 +- test/DebugInfo/dwarfdump-objc.test | 47 +- test/ExecutionEngine/RuntimeDyld/ARM/COFF_Thumb.s | 107 + test/ExecutionEngine/RuntimeDyld/X86/COFF_i386.s | 6 +- test/Feature/intrinsic-noduplicate.ll | 6 +- test/Feature/optnone-llc.ll | 1 - .../AddressSanitizer/asan_address_space_attr.ll | 32 + .../do-not-instrument-profiling-globals.ll | 9 + .../AddressSanitizer/global_metadata_darwin.ll | 2 +- .../struct_field_count_basic.ll | 83 +- .../EfficiencySanitizer/struct_field_gep.ll | 11 +- .../EfficiencySanitizer/struct_field_small.ll | 133 + .../EfficiencySanitizer/working_set_basic.ll | 42 + .../EfficiencySanitizer/working_set_strict.ll | 31 + .../MemorySanitizer/with-call-type-size.ll | 85 + test/Instrumentation/SanitizerCoverage/coverage.ll | 15 +- .../do-not-instrument-memory-access.ll | 5 + .../ThreadSanitizer/tsan_address_space_attr.ll | 33 + test/LTO/X86/Inputs/invalid.ll.bc | Bin 688 -> 688 bytes test/LTO/X86/Inputs/remangle_intrinsics.ll | 8 + test/LTO/X86/invalid.ll | 2 +- test/LTO/X86/objc-detection-i386.ll | 59 + test/LTO/X86/objc-detection.ll | 52 + test/LTO/X86/remangle_intrinsics.ll | 23 + test/Linker/Inputs/odr.ll | 8 + test/Linker/broken.ll | 2 +- test/Linker/metadata-attach.ll | 19 + test/Linker/odr.ll | 18 + test/MC/AArch64/arm64-spsel-sysreg.s | 8 +- test/MC/AArch64/arm64-system-encoding.s | 6 +- test/MC/AArch64/basic-a64-instructions.s | 30 +- test/MC/AMDGPU/ds.s | 10 +- test/MC/AMDGPU/hsa-exp.s | 129 + test/MC/AMDGPU/labels-branch.s | 17 + test/MC/AMDGPU/regression/bug28413.s | 34 + test/MC/AMDGPU/regression/bug28538.s | 12 + .../AMDGPU => MC/AMDGPU/regression}/lit.local.cfg | 0 test/MC/AMDGPU/reloc.s | 4 + test/MC/AMDGPU/vop2.s | 8 + test/MC/AMDGPU/vop_sdwa.s | 63 + test/MC/ARM/arm-branch-errors.s | 16 + test/MC/ARM/arm-branches.s | 15 + test/MC/ARM/fp-const-errors.s | 3 + test/MC/ARM/thumb-branch-errors.s | 22 + test/MC/ARM/thumb2-branches.s | 18 + test/MC/AsmParser/inline-comments.ll | 88 + test/MC/AsmParser/preserve-comments.s | 11 + test/MC/COFF/pr28462.s | 14 + test/MC/COFF/relax-reloc.s | 1 + test/MC/Disassembler/AArch64/arm64-system.txt | 2 +- .../AArch64/basic-a64-instructions.txt | 30 +- test/MC/Disassembler/AMDGPU/ds_vi.txt | 4 +- .../Disassembler/Mips/micromips32r3/valid-el.txt | 6 + test/MC/Disassembler/Mips/micromips32r3/valid.txt | 6 + test/MC/Disassembler/Mips/micromips32r6/valid.txt | 10 + test/MC/Disassembler/Mips/micromips64r6/valid.txt | 17 + test/MC/Disassembler/SystemZ/insns-pcrel.txt | 32 + test/MC/Disassembler/SystemZ/insns-z13.txt | 96 + test/MC/Disassembler/SystemZ/insns.txt | 441 ++ test/MC/ELF/got-relaxed-i386.s | 22 + test/MC/ELF/relocation-386.s | 4 +- test/MC/Lanai/conditional_inst.s | 77 + test/MC/Lanai/ctrl-instructions.s | 10 +- test/MC/Lanai/memory.s | 247 + test/MC/Lanai/v11.s | 50 +- test/MC/Mips/cprestore-noreorder.s | 4 +- test/MC/Mips/cprestore-reorder.s | 4 +- test/MC/Mips/cpsetup.s | 42 +- test/MC/Mips/directive-ent.s | 4 +- test/MC/Mips/elf_eflags.s | 22 +- test/MC/Mips/expansion-jal-sym-pic.s | 12 +- test/MC/Mips/micromips-invalid.s | 1 + test/MC/Mips/micromips/invalid.s | 8 + test/MC/Mips/micromips32r6/invalid-wrong-error.s | 14 + test/MC/Mips/micromips32r6/invalid.s | 32 + test/MC/Mips/micromips32r6/valid.s | 10 + test/MC/Mips/micromips64r6/invalid-wrong-error.s | 20 + test/MC/Mips/micromips64r6/invalid.s | 34 + test/MC/Mips/micromips64r6/valid.s | 17 + test/MC/Mips/mips-expansions-bad.s | 4 +- test/MC/Mips/mips-expansions.s | 4 +- test/MC/Mips/mips1/invalid-mips2-wrong-error.s | 2 - test/MC/Mips/mips1/invalid-mips3-wrong-error.s | 6 - test/MC/Mips/mips1/invalid-mips3.s | 4 + test/MC/Mips/mips1/invalid-mips4-wrong-error.s | 6 - test/MC/Mips/mips1/invalid-mips4.s | 4 + test/MC/Mips/mips1/invalid-mips5.s | 2 + test/MC/Mips/mips2/invalid-mips3-wrong-error.s | 4 - test/MC/Mips/mips2/invalid-mips3.s | 4 + test/MC/Mips/mips2/invalid-mips4-wrong-error.s | 3 - test/MC/Mips/mips2/invalid-mips4.s | 3 + test/MC/Mips/mips32r5/invalid.s | 46 + test/MC/Mips/mips32r6/invalid-mips5-wrong-error.s | 12 + test/MC/Mips/mips32r6/invalid.s | 36 + test/MC/Mips/mips64/abiflags.s | 4 +- test/MC/Mips/mips64/invalid-mips64r2.s | 6 + test/MC/Mips/mips64r2/abi-bad.s | 2 +- test/MC/Mips/mips64r2/abiflags.s | 4 +- test/MC/Mips/mips64r3/abi-bad.s | 2 +- test/MC/Mips/mips64r3/abiflags.s | 4 +- test/MC/Mips/mips64r3/invalid.s | 1 + test/MC/Mips/mips64r5/abi-bad.s | 2 +- test/MC/Mips/mips64r5/abiflags.s | 4 +- test/MC/Mips/mips64r5/invalid.s | 47 + test/MC/Mips/mips64r6/invalid.s | 52 + test/MC/Mips/mips_abi_flags_xx.s | 14 +- test/MC/Mips/nooddspreg-cmdarg.s | 2 +- test/MC/Mips/nooddspreg.s | 2 +- test/MC/Mips/oddspreg.s | 12 +- test/MC/Mips/relocation-n64.s | 4 +- test/MC/Mips/relocation.s | 4 +- test/MC/Mips/target-soft-float.s | 8 +- test/MC/SystemZ/insn-bad-z13.s | 23 + test/MC/SystemZ/insn-bad-z196.s | 14 + test/MC/SystemZ/insn-bad-zEC12.s | 11 + test/MC/SystemZ/insn-bad.s | 169 + test/MC/SystemZ/insn-good-z13.s | 68 + test/MC/SystemZ/insn-good-z196.s | 26 + test/MC/SystemZ/insn-good.s | 355 + test/MC/SystemZ/word.s | 24 + test/MC/X86/mpx-encodings.s | 25 +- test/MC/X86/pr28547.s | 5 + test/MC/X86/x86-32.s | 49 + test/MC/X86/x86-64.s | 21 + test/MC/X86/x86-branch-relaxation.s | 31 + test/Object/AArch64/yaml2obj-elf-aarch64-rel.yaml | 3 +- test/Object/AMDGPU/elf-definitios.yaml | 4 +- test/Object/AMDGPU/elf32-unknown.yaml | 4 +- test/Object/AMDGPU/elf64-relocs.yaml | 3 +- test/Object/AMDGPU/elf64-unknown.yaml | 4 +- test/Object/Inputs/COFF/i386.yaml | 1 + test/Object/Inputs/COFF/long-file-symbol.yaml | 2 +- test/Object/Inputs/COFF/long-section-name.yaml | 2 +- test/Object/Inputs/COFF/section-aux-symbol.yaml | 2 +- test/Object/Inputs/COFF/weak-external.yaml | 2 +- test/Object/Inputs/COFF/weak-externals.yaml | 2 +- test/Object/Inputs/COFF/x86-64.yaml | 1 + test/Object/Inputs/macho-invalid-fat | Bin 0 -> 8 bytes .../Object/Inputs/macho-invalid-fat.obj.elf-x86_64 | Bin 0 -> 1516 bytes test/Object/Lanai/yaml2obj-elf-lanai-rel.yaml | 3 +- test/Object/Mips/abi-flags.yaml | 3 +- test/Object/Mips/elf-abi.yaml | 16 +- test/Object/Mips/elf-flags.yaml | 4 +- test/Object/Mips/elf-mips64-rel.yaml | 4 +- test/Object/X86/nm-bitcodeweak.test | 2 +- test/Object/X86/yaml2obj-elf-x86-rel.yaml | 3 +- test/Object/elf-unknown-type.test | 2 +- test/Object/macho-invalid.test | 15 +- test/Object/obj2yaml-sectiongroup.test | 2 +- test/Object/yaml2obj-coff-invalid-alignment.test | 2 +- test/Object/yaml2obj-coff-multi-doc.test | 10 +- test/Object/yaml2obj-elf-alignment.yaml | 4 +- test/Object/yaml2obj-elf-bits-endian.test | 8 +- .../yaml2obj-elf-file-headers-with-e_flags.yaml | 2 +- test/Object/yaml2obj-elf-file-headers.yaml | 2 +- test/Object/yaml2obj-elf-multi-doc.test | 6 +- test/Object/yaml2obj-elf-rel-noref.yaml | 2 +- test/Object/yaml2obj-elf-rel.yaml | 2 +- test/Object/yaml2obj-elf-section-basic.yaml | 4 +- test/Object/yaml2obj-elf-section-invalid-size.yaml | 2 +- .../yaml2obj-elf-symbol-LocalGlobalWeak.yaml | 2 +- test/Object/yaml2obj-elf-symbol-basic.yaml | 2 +- test/Object/yaml2obj-elf-symbol-visibility.yaml | 6 +- test/ObjectYAML/MachO/bind_opcode.yaml | 2 +- test/ObjectYAML/MachO/bogus_load_command.yaml | 2 +- test/ObjectYAML/MachO/dylib_dylinker_command.yaml | 2 +- test/ObjectYAML/MachO/export_trie.yaml | 2 +- test/ObjectYAML/MachO/fat_macho_i386_x86_64.yaml | 74 + test/ObjectYAML/MachO/lazy_bind_opcode.yaml | 2 +- test/ObjectYAML/MachO/load_commands.yaml | 2 +- test/ObjectYAML/MachO/mach_header.yaml | 3 +- .../ObjectYAML/MachO/mach_header_32_malformed.yaml | 15 + test/ObjectYAML/MachO/mach_header_64.yaml | 2 +- test/ObjectYAML/MachO/out_of_order_linkedit.yaml | 2 +- test/ObjectYAML/MachO/rebase_opcode.yaml | 2 +- test/ObjectYAML/MachO/sections.yaml | 2 +- test/ObjectYAML/MachO/symtab.yaml | 2 +- test/ObjectYAML/MachO/weak_bind_opcode.yaml | 2 +- test/Other/X86/opt-bisect-isel.ll | 22 + test/Other/new-pass-manager.ll | 1 + test/Other/opt-bisect-legacy-pass-manager.ll | 1 - test/TableGen/trydecode-emission.td | 4 +- test/TableGen/trydecode-emission2.td | 4 +- test/TableGen/trydecode-emission3.td | 4 +- test/ThinLTO/X86/alias_import.ll | 63 +- test/ThinLTO/X86/weak_resolution.ll | 5 +- test/ThinLTO/X86/weak_resolution_single.ll | 9 + test/Transforms/ConstProp/calls.ll | 205 +- test/Transforms/ConstantHoisting/ARM/bad-cases.ll | 17 + .../ARM/const-addr-no-neg-offset.ll | 42 + test/Transforms/ConstantHoisting/X86/cast-inst.ll | 1 + test/Transforms/CorrelatedValuePropagation/icmp.ll | 1 + test/Transforms/CorrelatedValuePropagation/srem.ll | 21 + test/Transforms/CrossDSOCFI/basic.ll | 58 +- .../combined-partial-overwrites.ll | 239 + .../DeadStoreElimination/dse_with_dbg_value.ll | 83 - test/Transforms/DeadStoreElimination/fence.ll | 48 + test/Transforms/Float2Int/basic.ll | 1 + test/Transforms/FunctionAttrs/convergent.ll | 6 +- test/Transforms/FunctionAttrs/norecurse.ll | 2 +- test/Transforms/FunctionAttrs/noreturn.ll | 18 - test/Transforms/FunctionAttrs/readattrs.ll | 2 +- test/Transforms/FunctionImport/funcimport.ll | 25 +- test/Transforms/GVN/volatile.ll | 10 + test/Transforms/IndVarSimplify/loop_evaluate10.ll | 2 - test/Transforms/Inline/PR4909.ll | 1 + test/Transforms/Inline/array-alloca.ll | 36 + test/Transforms/Inline/inline-hot-callsite.ll | 52 + test/Transforms/Inline/inline-invoke-tail.ll | 4 +- test/Transforms/Inline/pr28298.ll | 19 + test/Transforms/InstCombine/align-attr.ll | 13 + test/Transforms/InstCombine/and-fcmp.ll | 1551 +++- test/Transforms/InstCombine/apint-select.ll | 153 +- test/Transforms/InstCombine/bitcast.ll | 7 + test/Transforms/InstCombine/demorgan-zext.ll | 78 +- test/Transforms/InstCombine/div.ll | 88 + test/Transforms/InstCombine/exact.ll | 9 + test/Transforms/InstCombine/fputs-opt-size.ll | 28 + test/Transforms/InstCombine/getelementptr.ll | 8 +- test/Transforms/InstCombine/logical-select.ll | 369 +- test/Transforms/InstCombine/masked_intrinsics.ll | 21 +- test/Transforms/InstCombine/narrow-switch.ll | 57 +- test/Transforms/InstCombine/or-fcmp.ll | 1508 +++- test/Transforms/InstCombine/or-to-xor.ll | 81 +- test/Transforms/InstCombine/or.ll | 619 +- test/Transforms/InstCombine/pr21651.ll | 6 +- test/Transforms/InstCombine/pr25342.ll | 93 - test/Transforms/InstCombine/pr27703.ll | 20 - test/Transforms/InstCombine/select.ll | 201 +- test/Transforms/InstCombine/x86-masked-memops.ll | 32 +- test/Transforms/InstCombine/xor.ll | 375 +- test/Transforms/InstCombine/zext.ll | 68 +- test/Transforms/InstSimplify/call.ll | 35 + test/Transforms/InstSimplify/load.ll | 8 + test/Transforms/InstSimplify/returned.ll | 30 + test/Transforms/InstSimplify/shr-nop.ll | 509 +- test/Transforms/JumpThreading/crash-assertingvh.ll | 19 + test/Transforms/JumpThreading/thread-loads.ll | 139 + test/Transforms/LICM/argmemonly-call.ll | 1 + test/Transforms/LICM/assume.ll | 1 + test/Transforms/LICM/atomics.ll | 1 + test/Transforms/LICM/basictest.ll | 1 + test/Transforms/LICM/constexpr.ll | 1 + test/Transforms/LICM/crash.ll | 1 + test/Transforms/LICM/debug-value.ll | 1 + test/Transforms/LICM/extra-copies.ll | 1 + test/Transforms/LICM/funclet.ll | 1 + test/Transforms/LICM/hoist-bitcast-load.ll | 1 + test/Transforms/LICM/hoist-deref-load.ll | 1 + test/Transforms/LICM/hoist-nounwind.ll | 1 + test/Transforms/LICM/hoist-round.ll | 1 + test/Transforms/LICM/hoisting.ll | 1 + test/Transforms/LICM/lcssa-ssa-promoter.ll | 1 + test/Transforms/LICM/no-preheader-test.ll | 1 + test/Transforms/LICM/preheader-safe.ll | 1 + test/Transforms/LICM/promote-order.ll | 1 + test/Transforms/LICM/promote-tls.ll | 1 + test/Transforms/LICM/scalar-promote-memmodel.ll | 1 + test/Transforms/LICM/scalar_promote-unwind.ll | 1 + test/Transforms/LICM/scalar_promote.ll | 1 + test/Transforms/LICM/speculate.ll | 1 + test/Transforms/LICM/volatile-alias.ll | 1 + .../LoadStoreVectorizer/AMDGPU/aa-metadata.ll | 32 + .../LoadStoreVectorizer/AMDGPU/extended-index.ll | 150 + .../LoadStoreVectorizer/AMDGPU/insertion-point.ll | 62 + .../AMDGPU/interleaved-mayalias-store.ll | 28 + .../AMDGPU/lit.local.cfg | 0 .../AMDGPU/merge-stores-private.ll | 53 + .../LoadStoreVectorizer/AMDGPU/merge-stores.ll | 638 ++ .../LoadStoreVectorizer/AMDGPU/merge-vectors.ll | 91 + .../AMDGPU/missing-alignment.ll | 30 + .../AMDGPU/no-implicit-float.ll | 20 + .../LoadStoreVectorizer/AMDGPU/optnone.ll | 22 + .../LoadStoreVectorizer/AMDGPU/pointer-elements.ll | 311 + .../AMDGPU/weird-type-accesses.ll | 199 + .../LoadStoreVectorizer/X86/correct-order.ll | 26 + .../LoadStoreVectorizer}/X86/lit.local.cfg | 0 .../LoadStoreVectorizer/X86/preserve-order32.ll | 28 + .../LoadStoreVectorizer/X86/preserve-order64.ll | 77 + .../X86/subchain-interleaved.ll | 87 + .../LoopDataPrefetch/AArch64/kryo-large-stride.ll | 51 + .../LoopDeletion/multiple-exit-conditions.ll | 1 + test/Transforms/LoopDistribute/pr28443.ll | 36 + test/Transforms/LoopIdiom/nontemporal_store.ll | 1 + test/Transforms/LoopIdiom/unwind.ll | 33 + test/Transforms/LoopLoadElim/cond-load.ll | 42 + test/Transforms/LoopSimplify/basictest.ll | 1 + test/Transforms/LoopUnroll/full-unroll-crashers.ll | 18 + .../LoopUnswitch/exponential-behavior.ll | 51 + test/Transforms/LoopUnswitch/guards.ll | 97 + .../Transforms/LoopVectorize/X86/gather_scatter.ll | 12 +- .../LoopVectorize/X86/masked_load_store.ll | 115 +- .../LoopVectorize/X86/propagate-metadata.ll | 25 + test/Transforms/LoopVectorize/X86/scatter_crash.ll | 218 + .../LoopVectorize/X86/uint64_to_fp64-cost-model.ll | 4 +- test/Transforms/LoopVectorize/X86/uniform-phi.ll | 50 + .../LoopVectorize/conditional-assignment.ll | 1 + test/Transforms/LoopVectorize/gep_with_bitcast.ll | 10 +- test/Transforms/LoopVectorize/induction.ll | 187 +- .../interleaved-accesses-pred-stores.ll | 164 + .../LoopVectorize/interleaved-accesses.ll | 305 + test/Transforms/LoopVectorize/iv_outside_user.ll | 29 +- test/Transforms/LoopVectorize/reverse_induction.ll | 38 +- test/Transforms/LowerBitSets/constant.ll | 34 - test/Transforms/LowerBitSets/function-ext.ll | 22 - test/Transforms/LowerBitSets/function.ll | 35 - test/Transforms/LowerBitSets/layout.ll | 35 - test/Transforms/LowerBitSets/nonglobal.ll | 19 - test/Transforms/LowerBitSets/nonstring.ll | 34 - test/Transforms/LowerBitSets/pr25902.ll | 21 - test/Transforms/LowerBitSets/section.ll | 26 - test/Transforms/LowerBitSets/simple.ll | 137 - test/Transforms/LowerBitSets/single-offset.ll | 40 - test/Transforms/LowerBitSets/unnamed.ll | 20 - test/Transforms/LowerTypeTests/constant.ll | 33 + test/Transforms/LowerTypeTests/function-ext.ll | 20 + test/Transforms/LowerTypeTests/function.ll | 32 + test/Transforms/LowerTypeTests/layout.ll | 27 + test/Transforms/LowerTypeTests/nonstring.ll | 32 + test/Transforms/LowerTypeTests/pr25902.ll | 19 + test/Transforms/LowerTypeTests/section.ll | 25 + test/Transforms/LowerTypeTests/simple.ll | 127 + test/Transforms/LowerTypeTests/single-offset.ll | 37 + test/Transforms/LowerTypeTests/unnamed.ll | 18 + test/Transforms/PGOProfile/Inputs/PR28219.proftext | 10 + test/Transforms/PGOProfile/PR28219.ll | 12 + .../PGOProfile/statics_counter_naming.ll | 11 + test/Transforms/PlaceSafepoints/no-statepoints.ll | 4 +- .../PreISelIntrinsicLowering/load-relative.ll | 1 + test/Transforms/SCCP/bitcast.ll | 9 + test/Transforms/SCCP/constant-struct.ll | 72 + test/Transforms/SCCP/ipsccp-basic.ll | 15 +- test/Transforms/SCCP/undef-resolve.ll | 10 + test/Transforms/SLPVectorizer/X86/fma.ll | 562 ++ test/Transforms/SLPVectorizer/X86/fround.ll | 2158 +++++ test/Transforms/SLPVectorizer/X86/vector_gep.ll | 24 + test/Transforms/SafeStack/coloring.ll | 44 + test/Transforms/SafeStack/coloring2.ll | 482 ++ test/Transforms/SampleProfile/Inputs/summary.prof | 4 + test/Transforms/SampleProfile/fnptr.ll | 8 +- test/Transforms/SampleProfile/inline-hint.ll | 41 - test/Transforms/SampleProfile/summary.ll | 14 + test/Transforms/Scalarizer/crash-bug.ll | 24 + .../Transforms/SimplifyCFG/UnreachableEliminate.ll | 31 + test/Transforms/SimplifyCFG/switch_create.ll | 39 + test/Transforms/Sink/call.ll | 112 + .../StraightLineStrengthReduce/slsr-add.ll | 15 + .../StraightLineStrengthReduce/slsr-gep.ll | 89 +- test/Transforms/TailCallElim/accum_recursion.ll | 1 + test/Transforms/Util/MemorySSA/atomic-clobber.ll | 2 +- test/Transforms/Util/MemorySSA/cyclicphi.ll | 2 +- .../Util/MemorySSA/forward-unreachable.ll | 23 + test/Transforms/Util/MemorySSA/function-clobber.ll | 2 +- .../Util/MemorySSA/function-mem-attrs.ll | 2 +- test/Transforms/Util/MemorySSA/livein.ll | 2 +- test/Transforms/Util/MemorySSA/load-invariant.ll | 2 +- .../Transforms/Util/MemorySSA/many-dom-backedge.ll | 2 +- test/Transforms/Util/MemorySSA/many-doms.ll | 2 +- test/Transforms/Util/MemorySSA/multi-edges.ll | 2 +- .../Util/MemorySSA/multiple-backedges-hal.ll | 2 +- .../Util/MemorySSA/multiple-locations.ll | 2 +- test/Transforms/Util/MemorySSA/no-disconnected.ll | 2 +- test/Transforms/Util/MemorySSA/optimize-use.ll | 2 +- test/Transforms/Util/MemorySSA/phi-translation.ll | 2 +- test/Transforms/Util/MemorySSA/volatile-clobber.ll | 2 +- .../WholeProgramDevirt/bad-read-from-vtable.ll | 13 +- test/Transforms/WholeProgramDevirt/constant-arg.ll | 29 +- .../WholeProgramDevirt/devirt-single-impl-check.ll | 41 + .../WholeProgramDevirt/devirt-single-impl.ll | 12 +- test/Transforms/WholeProgramDevirt/expand-check.ll | 63 + .../WholeProgramDevirt/non-array-vtable.ll | 9 +- .../WholeProgramDevirt/non-constant-vtable.ll | 13 +- .../WholeProgramDevirt/uniform-retval-invoke.ll | 12 +- .../WholeProgramDevirt/uniform-retval.ll | 12 +- .../Transforms/WholeProgramDevirt/unique-retval.ll | 23 +- .../WholeProgramDevirt/vcp-accesses-memory.ll | 12 +- test/Transforms/WholeProgramDevirt/vcp-no-this.ll | 12 +- .../WholeProgramDevirt/vcp-non-constant-arg.ll | 12 +- .../WholeProgramDevirt/vcp-too-wide-ints.ll | 12 +- .../WholeProgramDevirt/vcp-type-mismatch.ll | 16 +- .../Transforms/WholeProgramDevirt/vcp-uses-this.ll | 12 +- .../WholeProgramDevirt/virtual-const-prop-begin.ll | 37 +- .../WholeProgramDevirt/virtual-const-prop-check.ll | 141 + .../WholeProgramDevirt/virtual-const-prop-end.ll | 34 +- test/Verifier/2010-08-07-PointerIntrinsic.ll | 12 +- test/Verifier/fpmath.ll | 3 + test/Verifier/metadata-function-dbg.ll | 7 +- test/Verifier/metadata-function-prof.ll | 7 +- test/Verifier/writeonly.ll | 13 + .../gold/X86/Inputs/thinlto_weak_resolution.ll | 37 + test/tools/gold/X86/opt-level.ll | 17 +- test/tools/gold/X86/relax-relocs.ll | 4 +- test/tools/gold/X86/thinlto_internalize.ll | 7 + test/tools/gold/X86/thinlto_weak_resolution.ll | 87 + test/tools/llvm-ar/Inputs/coff.yaml | 55 + test/tools/llvm-ar/Inputs/elf.yaml | 26 + test/tools/llvm-ar/Inputs/macho.yaml | 45 + test/tools/llvm-ar/Inputs/msvc-import.lib | 2 + test/tools/llvm-ar/default-add.test | 17 + test/tools/llvm-ar/default-coff.test | 10 + test/tools/llvm-ar/default-elf.test | 9 + test/tools/llvm-ar/default-macho.test | 9 + test/tools/llvm-ar/empty-uid-gid.test | 3 + test/tools/llvm-ar/override.test | 8 + test/tools/llvm-cov/Inputs/double_dots.covmapping | Bin 0 -> 108 bytes ...ne_expansions.proftext => double_dots.proftext} | 0 test/tools/llvm-cov/double_dots.c | 17 + test/tools/llvm-cov/prevent_false_instantiations.h | 2 +- test/tools/llvm-cov/report.cpp | 7 + test/tools/llvm-cov/showLineExecutionCounts.cpp | 85 +- test/tools/llvm-cov/showTemplateInstantiations.cpp | 67 +- test/tools/llvm-cov/warnings.h | 11 + .../tools/llvm-objdump/Inputs/file-aux-record.yaml | 1 + .../X86}/Inputs/macho-universal64.x86_64.i386 | Bin .../X86/macho-universal-x86_64.i386.test | 6 + test/tools/llvm-pdbdump/class-layout.test | 2 +- test/tools/llvm-pdbdump/enum-layout.test | 2 +- test/tools/llvm-pdbdump/load-address.test | 4 +- test/tools/llvm-pdbdump/regex-filter.test | 16 +- .../tools/llvm-readobj/Inputs/file-aux-record.yaml | 1 + .../Inputs/file-multiple-aux-records.yaml | 1 + .../tools/llvm-readobj/Inputs/relocs.obj.elf-lanai | Bin 428 -> 429 bytes .../llvm-readobj/Inputs/trivial.obj.elf-lanai | Bin 736 -> 737 bytes test/tools/llvm-readobj/elf-sec-flags.test | 16 +- test/tools/llvm-readobj/elf-versioninfo.test | 57 +- test/tools/llvm-readobj/file-headers.test | 2 +- test/tools/sanstats/elf.test | 6 +- test/tools/yaml2obj/missing_document_tag.yaml | 6 + test/tools/yaml2obj/unsupported_document_tag.yaml | 8 + tools/bugpoint/BugDriver.h | 31 +- tools/bugpoint/CrashDebugger.cpp | 129 +- tools/bugpoint/ExtractFunction.cpp | 2 +- tools/bugpoint/Miscompilation.cpp | 10 +- tools/bugpoint/OptimizerDriver.cpp | 9 +- tools/dsymutil/BinaryHolder.cpp | 18 +- tools/dsymutil/MachOUtils.cpp | 1 + tools/gold/gold-plugin.cpp | 74 +- tools/llc/llc.cpp | 26 +- tools/lli/CMakeLists.txt | 4 +- tools/lli/ChildTarget/CMakeLists.txt | 3 +- tools/lli/lli.cpp | 10 +- tools/llvm-ar/llvm-ar.cpp | 201 +- tools/llvm-config/CMakeLists.txt | 8 +- tools/llvm-cov/CMakeLists.txt | 2 + tools/llvm-cov/CodeCoverage.cpp | 206 +- tools/llvm-cov/CoverageReport.cpp | 2 +- tools/llvm-cov/CoverageReport.h | 2 +- tools/llvm-cov/CoverageViewOptions.h | 10 + tools/llvm-cov/RenderingSupport.h | 3 +- tools/llvm-cov/SourceCoverageView.cpp | 273 +- tools/llvm-cov/SourceCoverageView.h | 228 +- tools/llvm-cov/SourceCoverageViewHTML.cpp | 436 ++ tools/llvm-cov/SourceCoverageViewHTML.h | 83 + tools/llvm-cov/SourceCoverageViewText.cpp | 213 + tools/llvm-cov/SourceCoverageViewText.h | 83 + tools/llvm-cxxdump/llvm-cxxdump.cpp | 18 +- tools/llvm-dis/llvm-dis.cpp | 63 +- tools/llvm-link/llvm-link.cpp | 5 +- tools/llvm-lto/CMakeLists.txt | 1 + tools/llvm-lto/llvm-lto.cpp | 25 +- tools/llvm-mc/llvm-mc.cpp | 5 + tools/llvm-nm/llvm-nm.cpp | 105 +- tools/llvm-objdump/COFFDump.cpp | 32 +- tools/llvm-objdump/MachODump.cpp | 79 +- tools/llvm-objdump/llvm-objdump.cpp | 34 +- tools/llvm-objdump/llvm-objdump.h | 1 + tools/llvm-pdbdump/ClassDefinitionDumper.cpp | 2 +- tools/llvm-pdbdump/EnumDumper.cpp | 2 +- tools/llvm-pdbdump/LLVMOutputStyle.cpp | 111 +- tools/llvm-pdbdump/LLVMOutputStyle.h | 32 +- tools/llvm-pdbdump/LinePrinter.cpp | 26 +- tools/llvm-pdbdump/OutputStyle.h | 15 +- tools/llvm-pdbdump/PdbYaml.cpp | 129 +- tools/llvm-pdbdump/PdbYaml.h | 39 +- tools/llvm-pdbdump/TypeDumper.cpp | 2 +- tools/llvm-pdbdump/VariableDumper.cpp | 2 +- tools/llvm-pdbdump/YAMLOutputStyle.cpp | 140 +- tools/llvm-pdbdump/YAMLOutputStyle.h | 24 +- tools/llvm-pdbdump/llvm-pdbdump.cpp | 571 +- tools/llvm-pdbdump/llvm-pdbdump.h | 35 +- tools/llvm-readobj/ARMWinEHPrinter.cpp | 37 +- tools/llvm-readobj/COFFDumper.cpp | 16 - tools/llvm-readobj/ELFDumper.cpp | 44 +- tools/llvm-readobj/Win64EHDumper.cpp | 6 +- tools/llvm-readobj/llvm-readobj.cpp | 21 +- tools/llvm-rtdyld/llvm-rtdyld.cpp | 7 +- tools/llvm-size/llvm-size.cpp | 82 +- tools/lto/CMakeLists.txt | 1 + tools/lto/lto.cpp | 15 +- tools/lto/lto.exports | 1 + tools/obj2yaml/macho2yaml.cpp | 46 +- tools/obj2yaml/obj2yaml.cpp | 6 +- tools/obj2yaml/obj2yaml.h | 2 +- tools/opt/opt.cpp | 3 +- tools/sancov/sancov.cc | 21 +- tools/yaml2obj/yaml2coff.cpp | 11 +- tools/yaml2obj/yaml2elf.cpp | 8 +- tools/yaml2obj/yaml2macho.cpp | 118 +- tools/yaml2obj/yaml2obj.cpp | 62 +- tools/yaml2obj/yaml2obj.h | 17 +- unittests/ADT/BitmaskEnumTest.cpp | 134 + unittests/ADT/CMakeLists.txt | 2 + unittests/ADT/PriorityWorklistTest.cpp | 106 + unittests/ADT/TripleTest.cpp | 14 + unittests/Analysis/CGSCCPassManagerTest.cpp | 81 +- unittests/CodeGen/DIEHashTest.cpp | 2 +- unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp | 8 +- .../Orc/ObjectTransformLayerTest.cpp | 3 +- unittests/IR/FunctionTest.cpp | 18 +- unittests/IR/MetadataTest.cpp | 142 +- unittests/Linker/LinkModulesTest.cpp | 54 + unittests/Support/CommandLineTest.cpp | 216 +- unittests/Support/ErrorTest.cpp | 45 + unittests/Support/Path.cpp | 26 + unittests/Support/ProgramTest.cpp | 4 +- unittests/Transforms/IPO/CMakeLists.txt | 2 +- unittests/Transforms/IPO/LowerBitSets.cpp | 156 - unittests/Transforms/IPO/LowerTypeTests.cpp | 156 + unittests/Transforms/IPO/WholeProgramDevirt.cpp | 26 +- unittests/Transforms/Utils/MemorySSA.cpp | 104 +- utils/KillTheDoctor/KillTheDoctor.cpp | 2 +- utils/TableGen/AsmMatcherEmitter.cpp | 4 +- utils/TableGen/AsmWriterEmitter.cpp | 2 +- utils/TableGen/CMakeLists.txt | 1 + utils/TableGen/CodeGenIntrinsics.h | 198 +- utils/TableGen/CodeGenSchedule.cpp | 30 +- utils/TableGen/CodeGenSchedule.h | 8 + utils/TableGen/CodeGenTarget.cpp | 16 +- utils/TableGen/FixedLenDecoderEmitter.cpp | 28 - utils/TableGen/InstrInfoEmitter.cpp | 6 +- utils/TableGen/IntrinsicEmitter.cpp | 23 +- utils/TableGen/SearchableTableEmitter.cpp | 320 + utils/TableGen/TableGen.cpp | 8 +- utils/TableGen/TableGenBackends.h | 1 + utils/extract_symbols.py | 34 +- utils/lit/lit/TestingConfig.py | 3 +- utils/update_llc_test_checks.py | 2 +- utils/update_test_checks.py | 2 +- utils/vim/syntax/llvm.vim | 138 +- 2415 files changed, 111833 insertions(+), 49886 deletions(-) delete mode 100644 docs/BitSets.rst create mode 100644 docs/CodeOfConduct.rst create mode 100644 docs/ReportingGuide.rst create mode 100644 docs/TypeMetadata.rst create mode 100644 docs/tutorial/LangImpl01.rst create mode 100644 docs/tutorial/LangImpl02.rst create mode 100644 docs/tutorial/LangImpl03.rst create mode 100644 docs/tutorial/LangImpl04.rst rename docs/tutorial/{LangImpl5-cfg.png => LangImpl05-cfg.png} (100%) create mode 100644 docs/tutorial/LangImpl05.rst create mode 100644 docs/tutorial/LangImpl06.rst create mode 100644 docs/tutorial/LangImpl07.rst create mode 100644 docs/tutorial/LangImpl08.rst create mode 100644 docs/tutorial/LangImpl09.rst delete mode 100644 docs/tutorial/LangImpl1.rst rename docs/tutorial/{LangImpl9.rst => LangImpl10.rst} (100%) delete mode 100644 docs/tutorial/LangImpl2.rst delete mode 100644 docs/tutorial/LangImpl3.rst delete mode 100644 docs/tutorial/LangImpl4.rst delete mode 100644 docs/tutorial/LangImpl5.rst delete mode 100644 docs/tutorial/LangImpl6.rst delete mode 100644 docs/tutorial/LangImpl7.rst delete mode 100644 docs/tutorial/LangImpl8.rst create mode 100644 examples/Kaleidoscope/Chapter9/CMakeLists.txt create mode 100644 examples/Kaleidoscope/Chapter9/toy.cpp create mode 100644 include/llvm/ADT/BitmaskEnum.h create mode 100644 include/llvm/ADT/PriorityWorklist.h delete mode 100644 include/llvm/Analysis/BitSetUtils.h delete mode 100644 include/llvm/Analysis/CFLAliasAnalysis.h create mode 100644 include/llvm/Analysis/CFLAndersAliasAnalysis.h create mode 100644 include/llvm/Analysis/CFLSteensAliasAnalysis.h create mode 100644 include/llvm/Analysis/IndirectCallPromotionAnalysis.h rename {lib/Transforms/Instrumentation => include/llvm/Analysis}/IndirectCallSiteV [...] create mode 100644 include/llvm/Analysis/LazyBlockFrequencyInfo.h create mode 100644 include/llvm/Analysis/TypeMetadataUtils.h create mode 100644 include/llvm/CodeGen/PreISelIntrinsicLowering.h create mode 100644 include/llvm/CodeGen/UnreachableBlockElim.h create mode 100644 include/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h create mode 100644 include/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h create mode 100644 include/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h rename include/llvm/LTO/{ => legacy}/LTOCodeGenerator.h (100%) rename include/llvm/LTO/{ => legacy}/LTOModule.h (100%) rename include/llvm/LTO/{ => legacy}/ThinLTOCodeGenerator.h (100%) create mode 100644 include/llvm/LTO/legacy/UpdateCompilerUsed.h delete mode 100644 include/llvm/MC/MCCodeGenInfo.h create mode 100644 include/llvm/ObjectYAML/ObjectYAML.h create mode 100644 include/llvm/TableGen/SearchableTable.td create mode 100644 include/llvm/Transforms/IPO/CrossDSOCFI.h delete mode 100644 include/llvm/Transforms/IPO/LowerBitSets.h create mode 100644 include/llvm/Transforms/IPO/LowerTypeTests.h create mode 100644 include/llvm/Transforms/IPO/PartialInlining.h create mode 100644 include/llvm/Transforms/Scalar/ConstantHoisting.h create mode 100644 include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h create mode 100644 include/llvm/Transforms/Scalar/Float2Int.h create mode 100644 include/llvm/Transforms/Scalar/LICM.h create mode 100644 include/llvm/Transforms/Scalar/LoopDeletion.h create mode 100644 include/llvm/Transforms/Scalar/LoopIdiomRecognize.h delete mode 100644 include/llvm/Transforms/Scalar/SLPVectorizer.h create mode 100644 include/llvm/Transforms/Scalar/TailRecursionElimination.h create mode 100644 include/llvm/Transforms/Utils/LoopSimplify.h create mode 100644 include/llvm/Transforms/Utils/SimplifyInstructions.h create mode 100644 include/llvm/Transforms/Vectorize/LoopVectorize.h create mode 100644 include/llvm/Transforms/Vectorize/SLPVectorizer.h create mode 100644 lib/Analysis/AliasAnalysisSummary.cpp create mode 100644 lib/Analysis/AliasAnalysisSummary.h delete mode 100644 lib/Analysis/BitSetUtils.cpp delete mode 100644 lib/Analysis/CFLAliasAnalysis.cpp create mode 100644 lib/Analysis/CFLAndersAliasAnalysis.cpp create mode 100644 lib/Analysis/CFLGraph.h create mode 100644 lib/Analysis/CFLSteensAliasAnalysis.cpp create mode 100644 lib/Analysis/IndirectCallPromotionAnalysis.cpp create mode 100644 lib/Analysis/LazyBlockFrequencyInfo.cpp create mode 100644 lib/Analysis/TypeMetadataUtils.cpp create mode 100644 lib/CodeGen/SafeStackColoring.cpp create mode 100644 lib/CodeGen/SafeStackColoring.h create mode 100644 lib/CodeGen/SafeStackLayout.cpp create mode 100644 lib/CodeGen/SafeStackLayout.h create mode 100644 lib/CodeGen/XRayInstrumentation.cpp create mode 100644 lib/DebugInfo/PDB/Raw/DbiStreamBuilder.cpp create mode 100644 lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp create mode 100644 lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp create mode 100644 lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h create mode 100644 lib/Fuzzer/test/afl-driver-extra-stats.test create mode 100644 lib/Fuzzer/test/afl-driver-stderr.test delete mode 100644 lib/Fuzzer/test/afl-driver.test delete mode 100644 lib/LTO/UpdateCompilerUsed.h delete mode 100644 lib/MC/MCCodeGenInfo.cpp create mode 100644 lib/ObjectYAML/ObjectYAML.cpp create mode 100644 lib/Target/AArch64/AArch64SchedVulcan.td create mode 100644 lib/Target/AArch64/AArch64SystemOperands.td create mode 100644 lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp create mode 100644 lib/Target/AMDGPU/R600FrameLowering.cpp create mode 100644 lib/Target/AMDGPU/R600FrameLowering.h delete mode 100644 lib/Target/AMDGPU/R600TextureIntrinsicsReplacer.cpp delete mode 100644 lib/Target/Lanai/LanaiSetflagAluCombiner.cpp create mode 100644 lib/Target/SystemZ/SystemZTDC.cpp create mode 100644 lib/Target/X86/X86FixupSetCC.cpp delete mode 100644 lib/Transforms/IPO/LowerBitSets.cpp create mode 100644 lib/Transforms/IPO/LowerTypeTests.cpp create mode 100644 lib/Transforms/Vectorize/LoadStoreVectorizer.cpp create mode 100644 runtimes/CMakeLists.txt create mode 100644 test/Analysis/BasicAA/returned.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/arguments-globals.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/arguments.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/asm-global-bugfix.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/attr-escape.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/basic-interproc.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/branch-alias.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/const-expr-gep.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/constant-over-index.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/empty.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/full-store-partial-alias.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/gep-index-no-alias.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/gep-signed-arithmetic.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-arg-deref- [...] create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-arg-escape.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-arg.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-deref- [...] create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-deref-arg.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-escape.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-ref-ar [...] create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-ref-arg.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-unknown.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-store-arg- [...] create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-store-arg- [...] create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-store-arg.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/malloc-and-free.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/multilevel-combine.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/multilevel.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/must-and-partial.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/opaque-call-alias.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/phi-and-select.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/pr27213.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/simple.ll create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/stratified-attrs-ind [...] create mode 100644 test/Analysis/CFLAliasAnalysis/Steensgaard/va.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/arguments-globals.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/arguments.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/asm-global-bugfix.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/attr-escape.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/basic-interproc.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/branch-alias.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/const-expr-gep.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/constant-over-index.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/empty.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/full-store-partial-alias.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/gep-index-no-alias.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/gep-signed-arithmetic.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/interproc-ret-arg.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/interproc-ret-deref-arg-multilevel.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/interproc-ret-deref-arg.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/interproc-ret-ref-arg-multilevel.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/interproc-ret-ref-arg.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/interproc-ret-unknown.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/interproc-store-arg-multilevel.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/interproc-store-arg-unknown.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/interproc-store-arg.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/malloc-and-free.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/multilevel-combine.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/multilevel.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/must-and-partial.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/opaque-call-alias.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/phi-and-select.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/pr27213.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/simple.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/stratified-attrs-indexing.ll delete mode 100644 test/Analysis/CFLAliasAnalysis/va.ll create mode 100644 test/Analysis/GlobalsModRef/func-memattributes.ll create mode 100644 test/Analysis/ScalarEvolution/exhaustive-trip-counts.ll create mode 100644 test/Analysis/ScalarEvolution/incorrect-offset-scaling.ll create mode 100644 test/Analysis/ScalarEvolution/returned.ll create mode 100644 test/Assembler/metadata-decl.ll create mode 100644 test/Bitcode/thinlto-summary-globalvar.ll create mode 100644 test/Bitcode/upgrade-subprogram-this.ll create mode 100644 test/Bitcode/upgrade-subprogram-this.ll.bc create mode 100644 test/CodeGen/AArch64/aarch64-tryBitfieldInsertOpFromOr-crash.ll delete mode 100644 test/CodeGen/AArch64/exynos-quad-ldp-stp.ll create mode 100644 test/CodeGen/AArch64/merge-store-dependency.ll create mode 100644 test/CodeGen/AArch64/no-quad-ldp-stp.ll create mode 100644 test/CodeGen/AArch64/preferred-alignment.ll delete mode 100644 test/CodeGen/AMDGPU/address-space.ll create mode 100644 test/CodeGen/AMDGPU/amdgcn.work-item-intrinsics.ll create mode 100644 test/CodeGen/AMDGPU/amdgpu-codegenprepare.ll create mode 100644 test/CodeGen/AMDGPU/amdgpu.work-item-intrinsics.deprecated.ll create mode 100644 test/CodeGen/AMDGPU/cf-loop-on-constant.ll create mode 100644 test/CodeGen/AMDGPU/convergent-inlineasm.ll create mode 100644 test/CodeGen/AMDGPU/debugger-emit-prologue.ll delete mode 100644 test/CodeGen/AMDGPU/dot4-folding.ll create mode 100644 test/CodeGen/AMDGPU/extract-vector-elt-build-vector-combine.ll create mode 100644 test/CodeGen/AMDGPU/fsqrt.f64.ll create mode 100644 test/CodeGen/AMDGPU/global-variable-relocs.ll delete mode 100644 test/CodeGen/AMDGPU/global-zero-initializer.ll create mode 100644 test/CodeGen/AMDGPU/gv-offset-folding.ll create mode 100644 test/CodeGen/AMDGPU/hsa-func.ll create mode 100644 test/CodeGen/AMDGPU/indirect-addressing-undef.mir delete mode 100644 test/CodeGen/AMDGPU/llvm.AMDGPU.cvt_f32_ubyte.ll delete mode 100644 test/CodeGen/AMDGPU/llvm.AMDGPU.tex.ll create mode 100644 test/CodeGen/AMDGPU/llvm.amdgcn.ds.swizzle.ll create mode 100644 test/CodeGen/AMDGPU/llvm.amdgcn.lerp.ll delete mode 100644 test/CodeGen/AMDGPU/llvm.amdgpu.dp4.ll create mode 100644 test/CodeGen/AMDGPU/llvm.r600.dot4.ll create mode 100644 test/CodeGen/AMDGPU/llvm.r600.tex.ll delete mode 100644 test/CodeGen/AMDGPU/llvm.sqrt.ll create mode 100644 test/CodeGen/AMDGPU/load-weird-sizes.ll create mode 100644 test/CodeGen/AMDGPU/local-stack-slot-bug.ll create mode 100644 test/CodeGen/AMDGPU/mad24-get-global-id.ll create mode 100644 test/CodeGen/AMDGPU/promote-alloca-lifetime.ll create mode 100644 test/CodeGen/AMDGPU/r600.work-item-intrinsics.ll create mode 100644 test/CodeGen/AMDGPU/selected-stack-object.ll create mode 100644 test/CodeGen/AMDGPU/sext-in-reg-failure-r600.ll delete mode 100644 test/CodeGen/AMDGPU/si-annotate-cf-assertion.ll create mode 100644 test/CodeGen/AMDGPU/skip-if-dead.ll create mode 100644 test/CodeGen/AMDGPU/target-cpu.ll create mode 100644 test/CodeGen/AMDGPU/vector-extract-insert.ll delete mode 100644 test/CodeGen/AMDGPU/work-item-intrinsics.ll create mode 100644 test/CodeGen/ARM/ssat.ll create mode 100644 test/CodeGen/ARM/urem-opt-size.ll create mode 100644 test/CodeGen/Hexagon/bitconvert-vector.ll create mode 100644 test/CodeGen/Hexagon/packetize-tailcall-arg.ll create mode 100644 test/CodeGen/Hexagon/pic-local.ll create mode 100644 test/CodeGen/Hexagon/store-shift.ll create mode 100644 test/CodeGen/Hexagon/vload-postinc-sel.ll delete mode 100644 test/CodeGen/Lanai/combined_alu_setcc.ll create mode 100644 test/CodeGen/Lanai/sub-cmp-peephole.ll copy test/{DebugInfo => CodeGen/MIR}/Lanai/lit.local.cfg (100%) create mode 100644 test/CodeGen/MIR/Lanai/peephole-compare.mir create mode 100644 test/CodeGen/Mips/micromips-lwc1-swc1.ll create mode 100644 test/CodeGen/Mips/private-addr.ll create mode 100644 test/CodeGen/Mips/selectiondag-optlevel.ll create mode 100644 test/CodeGen/NVPTX/sm-version-60.ll create mode 100644 test/CodeGen/NVPTX/sm-version-61.ll create mode 100644 test/CodeGen/NVPTX/sm-version-62.ll create mode 100644 test/CodeGen/NVPTX/zeroext-32bit.ll create mode 100644 test/CodeGen/PowerPC/cannonicalize-vector-shifts.ll create mode 100644 test/CodeGen/PowerPC/load-v4i8-improved.ll create mode 100644 test/CodeGen/PowerPC/p9-xxinsertw-xxextractuw.ll create mode 100644 test/CodeGen/PowerPC/pie.ll create mode 100644 test/CodeGen/PowerPC/pr28130.ll create mode 100644 test/CodeGen/PowerPC/swaps-le-7.ll create mode 100644 test/CodeGen/SPARC/LeonFixCALLPassUT.ll create mode 100644 test/CodeGen/SPARC/LeonInsertNOPLoad.ll create mode 100644 test/CodeGen/SPARC/LeonInsertNOPsDoublePrecision.ll create mode 100644 test/CodeGen/SPARC/LeonPreventRoundChangePassUT.ll create mode 100644 test/CodeGen/SPARC/LeonReplaceSDIVPassUT.ll create mode 100644 test/CodeGen/SystemZ/and-xor-01.ll create mode 100644 test/CodeGen/SystemZ/cond-li.ll create mode 100644 test/CodeGen/SystemZ/pie.ll create mode 100644 test/CodeGen/SystemZ/rot-01.ll create mode 100644 test/CodeGen/SystemZ/rot-02.ll create mode 100644 test/CodeGen/SystemZ/shift-11.ll create mode 100644 test/CodeGen/SystemZ/shift-12.ll create mode 100644 test/CodeGen/SystemZ/tdc-01.ll create mode 100644 test/CodeGen/SystemZ/tdc-02.ll create mode 100644 test/CodeGen/SystemZ/tdc-03.ll create mode 100644 test/CodeGen/SystemZ/tdc-04.ll create mode 100644 test/CodeGen/SystemZ/tdc-05.ll create mode 100644 test/CodeGen/SystemZ/tdc-06.ll create mode 100644 test/CodeGen/Thumb/and_neg.ll create mode 100644 test/CodeGen/Thumb2/bicbfi.ll create mode 100644 test/CodeGen/X86/avx512-intrinsics-fast-isel.ll create mode 100644 test/CodeGen/X86/avx512bw-intrinsics-fast-isel.ll create mode 100644 test/CodeGen/X86/avx512bwvl-intrinsics-fast-isel.ll create mode 100644 test/CodeGen/X86/avx512vl-intrinsics-fast-isel.ll delete mode 100644 test/CodeGen/X86/darwin-stub.ll delete mode 100644 test/CodeGen/X86/fixup-bw-inst-fwlive.mir create mode 100644 test/CodeGen/X86/frame-order.ll create mode 100644 test/CodeGen/X86/ga-offset2.ll create mode 100644 test/CodeGen/X86/implicit-null-checks.mir create mode 100644 test/CodeGen/X86/ipra-local-linkage.ll create mode 100644 test/CodeGen/X86/no-prolog-kill.ll create mode 100644 test/CodeGen/X86/pr28444.ll create mode 100644 test/CodeGen/X86/pr28472.ll create mode 100644 test/CodeGen/X86/pr28489.ll create mode 100644 test/CodeGen/X86/pr28515.ll create mode 100644 test/CodeGen/X86/tail-merge-unreachable.ll create mode 100644 test/CodeGen/X86/unreachableblockelim.ll create mode 100644 test/CodeGen/X86/update-terminator.mir create mode 100644 test/CodeGen/X86/vector-shuffle-sse41.ll create mode 100644 test/CodeGen/X86/xray-attribute-instrumentation.ll create mode 100644 test/CodeGen/X86/xray-selective-instrumentation-miss.ll create mode 100644 test/CodeGen/X86/xray-selective-instrumentation.ll create mode 100644 test/DebugInfo/COFF/anonymous-struct.ll create mode 100644 test/DebugInfo/COFF/big-type.ll create mode 100644 test/DebugInfo/COFF/bitfields.ll create mode 100644 test/DebugInfo/COFF/defer-complete-type.ll create mode 100644 test/DebugInfo/COFF/inheritance.ll create mode 100644 test/DebugInfo/COFF/parameter-order.ll create mode 100644 test/DebugInfo/COFF/retained-types.ll create mode 100644 test/DebugInfo/COFF/scopes.ll create mode 100644 test/DebugInfo/COFF/types-array-advanced.ll create mode 100644 test/DebugInfo/COFF/types-nested-class.ll create mode 100644 test/DebugInfo/COFF/virtual-method-kinds.ll create mode 100644 test/DebugInfo/COFF/virtual-methods.ll create mode 100644 test/DebugInfo/PDB/pdbdump-write.test create mode 100644 test/DebugInfo/X86/constant-loclist.ll create mode 100644 test/DebugInfo/X86/dllimport.ll create mode 100644 test/DebugInfo/X86/pr28270.ll create mode 100644 test/ExecutionEngine/RuntimeDyld/ARM/COFF_Thumb.s create mode 100644 test/Instrumentation/AddressSanitizer/asan_address_space_attr.ll create mode 100644 test/Instrumentation/AddressSanitizer/do-not-instrument-profili [...] create mode 100644 test/Instrumentation/EfficiencySanitizer/struct_field_small.ll create mode 100644 test/Instrumentation/MemorySanitizer/with-call-type-size.ll create mode 100644 test/Instrumentation/ThreadSanitizer/tsan_address_space_attr.ll create mode 100644 test/LTO/X86/Inputs/remangle_intrinsics.ll create mode 100644 test/LTO/X86/objc-detection-i386.ll create mode 100644 test/LTO/X86/objc-detection.ll create mode 100644 test/LTO/X86/remangle_intrinsics.ll create mode 100644 test/Linker/Inputs/odr.ll create mode 100644 test/Linker/metadata-attach.ll create mode 100644 test/Linker/odr.ll create mode 100644 test/MC/AMDGPU/hsa-exp.s create mode 100644 test/MC/AMDGPU/labels-branch.s create mode 100644 test/MC/AMDGPU/regression/bug28413.s create mode 100644 test/MC/AMDGPU/regression/bug28538.s copy test/{Analysis/CostModel/AMDGPU => MC/AMDGPU/regression}/lit.local.cfg (100%) create mode 100644 test/MC/ARM/arm-branch-errors.s create mode 100644 test/MC/ARM/arm-branches.s create mode 100644 test/MC/ARM/thumb-branch-errors.s create mode 100644 test/MC/AsmParser/inline-comments.ll create mode 100644 test/MC/AsmParser/preserve-comments.s create mode 100644 test/MC/COFF/pr28462.s create mode 100644 test/MC/ELF/got-relaxed-i386.s create mode 100644 test/MC/Lanai/conditional_inst.s create mode 100644 test/MC/Lanai/memory.s create mode 100644 test/MC/SystemZ/word.s create mode 100644 test/MC/X86/pr28547.s create mode 100644 test/MC/X86/x86-branch-relaxation.s create mode 100644 test/Object/Inputs/macho-invalid-fat create mode 100644 test/Object/Inputs/macho-invalid-fat.obj.elf-x86_64 create mode 100644 test/ObjectYAML/MachO/fat_macho_i386_x86_64.yaml create mode 100644 test/ObjectYAML/MachO/mach_header_32_malformed.yaml create mode 100644 test/Other/X86/opt-bisect-isel.ll create mode 100644 test/ThinLTO/X86/weak_resolution_single.ll create mode 100644 test/Transforms/ConstantHoisting/ARM/const-addr-no-neg-offset.ll create mode 100644 test/Transforms/CorrelatedValuePropagation/srem.ll create mode 100644 test/Transforms/DeadStoreElimination/combined-partial-overwrites.ll delete mode 100644 test/Transforms/DeadStoreElimination/dse_with_dbg_value.ll delete mode 100644 test/Transforms/FunctionAttrs/noreturn.ll create mode 100644 test/Transforms/Inline/array-alloca.ll create mode 100644 test/Transforms/Inline/inline-hot-callsite.ll create mode 100644 test/Transforms/Inline/pr28298.ll create mode 100644 test/Transforms/InstCombine/fputs-opt-size.ll delete mode 100644 test/Transforms/InstCombine/pr25342.ll delete mode 100644 test/Transforms/InstCombine/pr27703.ll create mode 100644 test/Transforms/InstSimplify/returned.ll create mode 100644 test/Transforms/JumpThreading/crash-assertingvh.ll create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/aa-metadata.ll create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/extended-index.ll create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/insertion-point.ll create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/interleaved-mayalias [...] copy test/Transforms/{CodeGenPrepare => LoadStoreVectorizer}/AMDGPU/lit.local.cfg (100%) create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/merge-stores-private.ll create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/merge-stores.ll create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/merge-vectors.ll create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/missing-alignment.ll create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/no-implicit-float.ll create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/optnone.ll create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/pointer-elements.ll create mode 100644 test/Transforms/LoadStoreVectorizer/AMDGPU/weird-type-accesses.ll create mode 100644 test/Transforms/LoadStoreVectorizer/X86/correct-order.ll copy test/{Analysis/CostModel => Transforms/LoadStoreVectorizer}/X86/lit.local.cfg (100%) create mode 100644 test/Transforms/LoadStoreVectorizer/X86/preserve-order32.ll create mode 100644 test/Transforms/LoadStoreVectorizer/X86/preserve-order64.ll create mode 100644 test/Transforms/LoadStoreVectorizer/X86/subchain-interleaved.ll create mode 100644 test/Transforms/LoopDataPrefetch/AArch64/kryo-large-stride.ll create mode 100644 test/Transforms/LoopDistribute/pr28443.ll create mode 100644 test/Transforms/LoopIdiom/unwind.ll create mode 100644 test/Transforms/LoopLoadElim/cond-load.ll create mode 100644 test/Transforms/LoopUnswitch/exponential-behavior.ll create mode 100644 test/Transforms/LoopUnswitch/guards.ll create mode 100644 test/Transforms/LoopVectorize/X86/propagate-metadata.ll create mode 100755 test/Transforms/LoopVectorize/X86/scatter_crash.ll create mode 100644 test/Transforms/LoopVectorize/X86/uniform-phi.ll create mode 100644 test/Transforms/LoopVectorize/interleaved-accesses-pred-stores.ll delete mode 100644 test/Transforms/LowerBitSets/constant.ll delete mode 100644 test/Transforms/LowerBitSets/function-ext.ll delete mode 100644 test/Transforms/LowerBitSets/function.ll delete mode 100644 test/Transforms/LowerBitSets/layout.ll delete mode 100644 test/Transforms/LowerBitSets/nonglobal.ll delete mode 100644 test/Transforms/LowerBitSets/nonstring.ll delete mode 100644 test/Transforms/LowerBitSets/pr25902.ll delete mode 100644 test/Transforms/LowerBitSets/section.ll delete mode 100644 test/Transforms/LowerBitSets/simple.ll delete mode 100644 test/Transforms/LowerBitSets/single-offset.ll delete mode 100644 test/Transforms/LowerBitSets/unnamed.ll create mode 100644 test/Transforms/LowerTypeTests/constant.ll create mode 100644 test/Transforms/LowerTypeTests/function-ext.ll create mode 100644 test/Transforms/LowerTypeTests/function.ll create mode 100644 test/Transforms/LowerTypeTests/layout.ll create mode 100644 test/Transforms/LowerTypeTests/nonstring.ll create mode 100644 test/Transforms/LowerTypeTests/pr25902.ll create mode 100644 test/Transforms/LowerTypeTests/section.ll create mode 100644 test/Transforms/LowerTypeTests/simple.ll create mode 100644 test/Transforms/LowerTypeTests/single-offset.ll create mode 100644 test/Transforms/LowerTypeTests/unnamed.ll create mode 100644 test/Transforms/PGOProfile/Inputs/PR28219.proftext create mode 100644 test/Transforms/PGOProfile/PR28219.ll create mode 100644 test/Transforms/PGOProfile/statics_counter_naming.ll create mode 100644 test/Transforms/SCCP/bitcast.ll create mode 100644 test/Transforms/SCCP/constant-struct.ll create mode 100644 test/Transforms/SLPVectorizer/X86/fma.ll create mode 100644 test/Transforms/SLPVectorizer/X86/fround.ll create mode 100644 test/Transforms/SLPVectorizer/X86/vector_gep.ll create mode 100644 test/Transforms/SafeStack/coloring.ll create mode 100644 test/Transforms/SafeStack/coloring2.ll create mode 100644 test/Transforms/SampleProfile/Inputs/summary.prof delete mode 100644 test/Transforms/SampleProfile/inline-hint.ll create mode 100644 test/Transforms/SampleProfile/summary.ll create mode 100644 test/Transforms/Scalarizer/crash-bug.ll create mode 100644 test/Transforms/Sink/call.ll create mode 100644 test/Transforms/Util/MemorySSA/forward-unreachable.ll create mode 100644 test/Transforms/WholeProgramDevirt/devirt-single-impl-check.ll create mode 100644 test/Transforms/WholeProgramDevirt/expand-check.ll create mode 100644 test/Transforms/WholeProgramDevirt/virtual-const-prop-check.ll create mode 100644 test/Verifier/writeonly.ll create mode 100644 test/tools/gold/X86/Inputs/thinlto_weak_resolution.ll create mode 100644 test/tools/gold/X86/thinlto_weak_resolution.ll create mode 100644 test/tools/llvm-ar/Inputs/coff.yaml create mode 100644 test/tools/llvm-ar/Inputs/elf.yaml create mode 100644 test/tools/llvm-ar/Inputs/macho.yaml create mode 100644 test/tools/llvm-ar/Inputs/msvc-import.lib create mode 100644 test/tools/llvm-ar/default-add.test create mode 100644 test/tools/llvm-ar/default-coff.test create mode 100644 test/tools/llvm-ar/default-elf.test create mode 100644 test/tools/llvm-ar/default-macho.test create mode 100644 test/tools/llvm-ar/empty-uid-gid.test create mode 100644 test/tools/llvm-ar/override.test create mode 100644 test/tools/llvm-cov/Inputs/double_dots.covmapping copy test/tools/llvm-cov/Inputs/{combine_expansions.proftext => double_dots.profte [...] create mode 100644 test/tools/llvm-cov/double_dots.c create mode 100644 test/tools/llvm-cov/warnings.h copy test/{Object => tools/llvm-objdump/X86}/Inputs/macho-universal64.x86_64.i386 (100%) create mode 100644 test/tools/yaml2obj/missing_document_tag.yaml create mode 100644 test/tools/yaml2obj/unsupported_document_tag.yaml create mode 100644 tools/llvm-cov/SourceCoverageViewHTML.cpp create mode 100644 tools/llvm-cov/SourceCoverageViewHTML.h create mode 100644 tools/llvm-cov/SourceCoverageViewText.cpp create mode 100644 tools/llvm-cov/SourceCoverageViewText.h create mode 100644 unittests/ADT/BitmaskEnumTest.cpp create mode 100644 unittests/ADT/PriorityWorklistTest.cpp delete mode 100644 unittests/Transforms/IPO/LowerBitSets.cpp create mode 100644 unittests/Transforms/IPO/LowerTypeTests.cpp create mode 100644 utils/TableGen/SearchableTableEmitter.cpp