aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJinsong Ji <jji@us.ibm.com>2018-12-13 15:12:57 +0000
committerJinsong Ji <jji@us.ibm.com>2018-12-13 15:12:57 +0000
commitc7b43b94ced62e9ce4c7cbb6a1cbafa350e646fa (patch)
treecace059e2aac64c47016e2523e6dc3a90839d3f4 /clang/lib/CodeGen/CodeGenModule.cpp
parentb51480ff3eeb0d4820bb2765c8dc1e6eaa9d0067 (diff)
downloadllvm-c7b43b94ced62e9ce4c7cbb6a1cbafa350e646fa.zip
llvm-c7b43b94ced62e9ce4c7cbb6a1cbafa350e646fa.tar.gz
llvm-c7b43b94ced62e9ce4c7cbb6a1cbafa350e646fa.tar.bz2
[PowerPC][NFC] Sorting out Pseudo related classes to avoid confusion
There are several Pseudo in PowerPC backend. eg: * ISel Pseudo-instructions , which has let usesCustomInserter=1 in td ExpandISelPseudos -> EmitInstrWithCustomInserter will deal with them. * Post-RA pseudo instruction, which has let isPseudo = 1 in td, or Standard pseudo (SUBREG_TO_REG,COPY etc.) ExpandPostRAPseudos -> expandPostRAPseudo will expand them * Multi-instruction pseudo operations will expand them PPCAsmPrinter::EmitInstruction * Pseudo instruction in CodeEmitter, which has encoding of 0. Currently, in td files, especially PPCInstrVSX.td, we did not distinguish Post-RA pseudo instruction and Pseudo instruction in CodeEmitter very clearly. This patch is to * Rename Pseudo<> class to PPCEmitTimePseudo, which means encoding of 0 in CodeEmitter * Introduce new class PPCPostRAExpPseudo <> for previous PostRA Pseudo * Introduce new class PPCCustomInserterPseudo <> for previous Isel Pseudo Differential Revision: https://reviews.llvm.org/D55143 llvm-svn: 349044
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions