llvm-project/llvm/unittests/CodeGen
Shengchen Kan 9e832a67fe [Codegen][tablgen][NFC] Allow meta instruction to be target dependent
An instruction is a meta-instruction if it doesn't produce any output
in the form of executable instructions. So in the concept, a
meta-instruction does not have to be target independent.

Before this patch, `isMetaInstruction` is implemented by checking the
opcode of the instruction, add we have no way to add target dependent
opcode to the list, which does not make sense.

After this patch, a bit `isMeta` is added for class `Instruction` in
tablegen, which is used to indicate whether it's a meta instruction.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D121600
2022-03-18 13:09:01 +08:00
..
GlobalISel Cleanup codegen includes 2022-03-16 08:43:00 +01:00
AArch64SelectionDAGTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
AMDGPUMetadataTest.cpp Cleanup includes: LLVMTarget 2022-03-10 10:00:29 +01:00
AllocationOrderTest.cpp
AsmPrinterDwarfTest.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
CMakeLists.txt [AMDGPU] Lazily init pal metadata on first function 2022-02-04 18:39:35 +01:00
DIEHashTest.cpp [unittests][CodeGen] Mark tests that cannot be executed with GTEST_SKIP() 2021-05-21 13:39:52 +07:00
DIETest.cpp [CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf method to not depend on AsmPrinter. 2022-01-12 13:15:26 +03:00
InstrRefLDVTest.cpp Cleanup codegen includes 2022-03-16 08:43:00 +01:00
LexicalScopesTest.cpp [Codegen][tablgen][NFC] Allow meta instruction to be target dependent 2022-03-18 13:09:01 +08:00
LowLevelTypeTest.cpp Add support for zero-sized Scalars as a LowLevelType 2021-07-22 13:47:19 +02:00
MFCommon.inc
MachineInstrBundleIteratorTest.cpp
MachineInstrTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
MachineOperandTest.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
PassManagerTest.cpp Cleanup codegen includes 2022-03-16 08:43:00 +01:00
RegAllocScoreTest.cpp Fix MSVC "not all control paths return a value" warning. NFC. 2021-12-07 18:09:44 +00:00
ScalableVectorMVTsTest.cpp [llvm] Add enum iteration to Sequence 2021-07-21 12:48:53 +00:00
SelectionDAGAddressAnalysisTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
TargetOptionsTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
TestAsmPrinter.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
TestAsmPrinter.h [debug-info] refactor emitDwarfUnitLength 2021-02-25 21:00:25 -05:00
TypeTraitsTest.cpp Switch from llvm::is_trivially_copyable to std::is_trivially_copyable 2020-12-02 22:02:48 -08:00