]> granicus.if.org Git - llvm/commit
[gicombiner] Add a CodeExpander to handle C++ fragments with variable expansion
authorDaniel Sanders <daniel_l_sanders@apple.com>
Thu, 3 Oct 2019 01:04:42 +0000 (01:04 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Thu, 3 Oct 2019 01:04:42 +0000 (01:04 +0000)
commite85df0ba54bf7772656b55e8eb29bd3e09ed6952
tree2fa79af3f7f7b3b9e6632e438ed10000a1718ed5
parent4af15128c956e7888621afee20a26bf915a70381
[gicombiner] Add a CodeExpander to handle C++ fragments with variable expansion

Summary:
This will handle expansion of C++ fragments in the declarative combiner
including custom predicates, and escapes into C++ to aid the migration
effort.

Reviewers: bogner, volkan

Subscribers: mgorny, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373551 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/CMakeLists.txt
unittests/TableGen/CMakeLists.txt [new file with mode: 0644]
unittests/TableGen/CodeExpanderTest.cpp [new file with mode: 0644]
utils/TableGen/CMakeLists.txt
utils/TableGen/GICombinerEmitter.cpp
utils/TableGen/GlobalISel/CMakeLists.txt [new file with mode: 0644]
utils/TableGen/GlobalISel/CodeExpander.cpp [new file with mode: 0644]
utils/TableGen/GlobalISel/CodeExpander.h [new file with mode: 0644]
utils/TableGen/GlobalISel/CodeExpansions.h [new file with mode: 0644]