llvm-project/llvm/lib/CodeGen/AsmPrinter
Eli Friedman cfd2c5ce58 Untangle the mess which is MachineBasicBlock::hasAddressTaken().
There are two different senses in which a block can be "address-taken".
There can be a BlockAddress involved, which means we need to map the
IR-level value to some specific block of machine code.  Or there can be
constructs inside a function which involve using the address of a basic
block to implement certain kinds of control flow.

Mixing these together causes a problem: if target-specific passes are
marking random blocks "address-taken", if we have a BlockAddress, we
can't actually tell which MachineBasicBlock corresponds to the
BlockAddress.

So split this into two separate bits: one for BlockAddress, and one for
the machine-specific bits.

Discovered while trying to sort out related stuff on D102817.

Differential Revision: https://reviews.llvm.org/D124697
2022-08-16 16:15:44 -07:00
..
AIXException.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
ARMException.cpp [MC] De-capitalize MCStreamer functions 2022-06-07 00:31:02 -07:00
AccelTable.cpp [CodeGen] Qualify auto variables in for loops (NFC) 2022-07-17 01:33:28 -07:00
AddressPool.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
AddressPool.h
AsmPrinter.cpp Untangle the mess which is MachineBasicBlock::hasAddressTaken(). 2022-08-16 16:15:44 -07:00
AsmPrinterDwarf.cpp [CodeGen] Qualify auto variables in for loops (NFC) 2022-07-17 01:33:28 -07:00
AsmPrinterInlineAsm.cpp [llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:24:15 -07:00
ByteStreamer.h [DwarfDebug] Restore code that make comments stay aligned in DwarfDebug::emitDebugLocEntry 2022-01-18 09:46:03 +01:00
CMakeLists.txt
CodeViewDebug.cpp [CodeView] Use non-qualified names for static local variables 2022-08-16 10:33:43 -04:00
CodeViewDebug.h [CodeView] Combine variable def ranges that are continuous. 2022-05-20 12:12:14 -07:00
DIE.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
DIEHash.cpp [CodeGen] Qualify auto variables in for loops (NFC) 2022-07-17 01:33:28 -07:00
DIEHash.h DebugInfo: Don't hash DIE offsets before they're computed 2021-12-25 16:09:12 -08:00
DIEHashAttributes.def [DWARF] Add linkagename to hash 2022-07-08 10:15:25 -07:00
DbgEntityHistoryCalculator.cpp [CodeGen] Qualify auto variables in for loops (NFC) 2022-07-17 01:33:28 -07:00
DebugHandlerBase.cpp [CodeGen] Qualify auto variables in for loops (NFC) 2022-07-17 01:33:28 -07:00
DebugLocEntry.h [llvm] Drop unnecessary const from return types (NFC) 2022-08-07 00:16:11 -07:00
DebugLocStream.cpp
DebugLocStream.h
DwarfCFIException.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
DwarfCompileUnit.cpp [CodeGen] Qualify auto variables in for loops (NFC) 2022-07-17 01:33:28 -07:00
DwarfCompileUnit.h Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
DwarfDebug.cpp [CodeGen] Qualify auto variables in for loops (NFC) 2022-07-17 01:33:28 -07:00
DwarfDebug.h DebugInfo: Don't allow type units to references types in the CU 2022-03-25 23:49:03 +00:00
DwarfException.h [CodeGen] Use default member initialization (NFC) 2022-01-30 12:32:51 -08:00
DwarfExpression.cpp [DWARF][FIX] Handle the use of multiple registers gracefully 2022-04-15 13:43:50 -05:00
DwarfExpression.h [DwarfDebug] Refuse to emit DW_OP_LLVM_arg values wider than 64 bits 2021-12-10 09:33:27 -08:00
DwarfFile.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
DwarfFile.h Revert "[DwarfDebug] Support emitting function-local declaration for a lexical block" & dependent patches 2021-12-24 00:47:04 +02:00
DwarfStringPool.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
DwarfStringPool.h
DwarfUnit.cpp [llvm] Don't use Optional::getValue (NFC) 2022-06-20 22:45:45 -07:00
DwarfUnit.h [CodeGen] Use default member initialization (NFC) 2022-01-30 12:32:51 -08:00
EHStreamer.cpp [EHStreamer] Omit @LPStart when function has no landing pads 2022-08-15 17:09:46 -07:00
EHStreamer.h
ErlangGCPrinter.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
OcamlGCPrinter.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
PseudoProbePrinter.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
PseudoProbePrinter.h [llvm] Remove unused forward declarations (NFC) 2022-01-07 20:00:34 -08:00
WasmException.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
WasmException.h [llvm] Remove redundaunt virtual specifiers (NFC) 2022-07-24 21:50:35 -07:00
WinCFGuard.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
WinCFGuard.h
WinException.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
WinException.h