Go to file
Nick Desaulniers 5277b3ff25 [AsmPrinter] refactor to remove remove AsmVariant. NFC
Summary:
The InlineAsm::AsmDialect is only required for X86; no architecture
makes use of it and as such it gets passed around between arch-specific
and general code while being unused for all architectures but X86.

Since the AsmDialect is queried from a MachineInstr, which we also pass
around, remove the additional AsmDialect parameter and query for it deep
in the X86AsmPrinter only when needed/as late as possible.

This refactor should help later planned refactors to AsmPrinter, as this
difference in the X86AsmPrinter makes it harder to make AsmPrinter more
generic.

Reviewers: craig.topper

Subscribers: jholewinski, arsenm, dschuff, jyknight, dylanmckay, sdardis, nemanjai, jvesely, nhaehnle, javed.absar, sbc100, jgravelle-google, eraman, hiraditya, aheejin, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, llvm-commits, peter.smith, srhines

Tags: #llvm

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

llvm-svn: 358101
2019-04-10 16:38:43 +00:00
clang clang-cl: Fix parsing of the /F option (PR41405) 2019-04-10 14:27:47 +00:00
clang-tools-extra [clangd] Fix non-indexing of builtin functions like printf when the TU is C 2019-04-10 16:26:58 +00:00
compiler-rt [TSan][libdispatch] Replace CFRunLoop with dispatch_semaphore, pt. 1 2019-04-09 17:51:55 +00:00
debuginfo-tests
libclc travis: Add LLVM-8 build 2019-03-27 21:28:31 +00:00
libcxx [CMake] Fix statically linking in libcxxabi if built separately 2019-04-09 14:31:09 +00:00
libcxxabi Revert "Make reads and writes of the guard variable atomic." 2019-04-08 23:37:48 +00:00
libunwind Move the alias definition of unw_getcontext to within !defined(__USING_SJLJ_EXCEPTIONS__) 2019-04-04 17:50:14 +00:00
lld [WebAssembly] Assign GOT entries symbols used in data relocations 2019-04-10 15:06:17 +00:00
lldb [testsuite] Split Obj-C foundation test 2019-04-10 14:30:00 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm [AsmPrinter] refactor to remove remove AsmVariant. NFC 2019-04-10 16:38:43 +00:00
openmp [OpenMP] Implement 5.0 memory management 2019-04-08 17:59:28 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly Apply include-what-you-use #include removal suggestions. NFC. 2019-03-28 20:19:49 +00:00
pstl [pstl][CMake] Install CMake export files 2019-04-09 18:35:56 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
.gitignore Add a reduced copy of the llvm .gitignore 2019-04-09 00:52:49 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.