Extend BasicBlock sections to allow specifying clusters of basic blocks in the same...
authorRahman Lavaee <rahmanl@google.com>
Mon, 13 Apr 2020 19:14:42 +0000 (12:14 -0700)
committerRahman Lavaee <rahmanl@google.com>
Mon, 13 Apr 2020 19:19:59 +0000 (12:19 -0700)
commit05192e585ce175b55f2a26b83b4ed7882785c8e6
tree40533ae82158ebb980b70d5bc6c65130c766ef09
parent4ddf7ab454b0b0e885e4970f3896adc53d1c64e4
Extend BasicBlock sections to allow specifying clusters of basic blocks in the same section.

Differential Revision: https://reviews.llvm.org/D76954
26 files changed:
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/include/llvm/CodeGen/MachineBasicBlock.h
llvm/include/llvm/CodeGen/MachineFunction.h
llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
llvm/include/llvm/Target/TargetLoweringObjectFile.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/BBSectionsPrepare.cpp
llvm/lib/CodeGen/MIRParser/MIParser.cpp
llvm/lib/CodeGen/MIRParser/MIRParser.cpp
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/lib/CodeGen/MachineBasicBlock.cpp
llvm/lib/CodeGen/MachineFunction.cpp
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/lib/Target/TargetLoweringObjectFile.cpp
llvm/test/CodeGen/X86/basicblock-sections-clusters-branches.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/basicblock-sections-clusters-eh.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/basicblock-sections-clusters-error.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/basicblock-sections-clusters.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/basicblock-sections-cold.ll
llvm/test/CodeGen/X86/basicblock-sections-directjumps.ll
llvm/test/CodeGen/X86/basicblock-sections-eh.ll
llvm/test/CodeGen/X86/basicblock-sections-list.ll
llvm/test/CodeGen/X86/basicblock-sections-listbb.ll
llvm/test/CodeGen/X86/basicblock-sections-mir-parse.mir
llvm/test/CodeGen/X86/basicblock-sections-mir-print.ll
llvm/test/CodeGen/X86/basicblock-sections.ll