mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Run clang-format on these header files. Part of a WIP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190250 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0917ca56dc
commit
baaefaf828
@ -32,6 +32,7 @@ class raw_ostream;
|
||||
class MCAsmBackend {
|
||||
MCAsmBackend(const MCAsmBackend &) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const MCAsmBackend &) LLVM_DELETED_FUNCTION;
|
||||
|
||||
protected: // Can only create subclasses.
|
||||
MCAsmBackend();
|
||||
|
||||
@ -71,9 +72,7 @@ public:
|
||||
|
||||
/// hasDataInCodeSupport - Check whether this target implements data-in-code
|
||||
/// markers. If not, data region directives will be ignored.
|
||||
bool hasDataInCodeSupport() const {
|
||||
return HasDataInCodeSupport;
|
||||
}
|
||||
bool hasDataInCodeSupport() const { return HasDataInCodeSupport; }
|
||||
|
||||
/// doesSectionRequireSymbols - Check whether the given section requires that
|
||||
/// all symbols (even temporaries) have symbol table entries.
|
||||
@ -128,8 +127,7 @@ public:
|
||||
|
||||
/// fixupNeedsRelaxation - Target specific predicate for whether a given
|
||||
/// fixup requires the associated instruction to be relaxed.
|
||||
virtual bool fixupNeedsRelaxation(const MCFixup &Fixup,
|
||||
uint64_t Value,
|
||||
virtual bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
|
||||
const MCRelaxableFragment *DF,
|
||||
const MCAsmLayout &Layout) const = 0;
|
||||
|
||||
|
@ -106,7 +106,9 @@ namespace llvm {
|
||||
virtual void EmitCFIEndProcImpl(MCDwarfFrameInfo &CurFrame);
|
||||
void EmitFrames(bool usingCFI);
|
||||
|
||||
MCWin64EHUnwindInfo *getCurrentW64UnwindInfo(){return CurrentW64UnwindInfo;}
|
||||
MCWin64EHUnwindInfo *getCurrentW64UnwindInfo() {
|
||||
return CurrentW64UnwindInfo;
|
||||
}
|
||||
void EmitW64Tables();
|
||||
|
||||
public:
|
||||
@ -120,21 +122,13 @@ namespace llvm {
|
||||
|
||||
MCContext &getContext() const { return Context; }
|
||||
|
||||
unsigned getNumFrameInfos() {
|
||||
return FrameInfos.size();
|
||||
}
|
||||
unsigned getNumFrameInfos() { return FrameInfos.size(); }
|
||||
|
||||
const MCDwarfFrameInfo &getFrameInfo(unsigned i) {
|
||||
return FrameInfos[i];
|
||||
}
|
||||
const MCDwarfFrameInfo &getFrameInfo(unsigned i) { return FrameInfos[i]; }
|
||||
|
||||
ArrayRef<MCDwarfFrameInfo> getFrameInfos() {
|
||||
return FrameInfos;
|
||||
}
|
||||
ArrayRef<MCDwarfFrameInfo> getFrameInfos() const { return FrameInfos; }
|
||||
|
||||
unsigned getNumW64UnwindInfos() {
|
||||
return W64UnwindInfos.size();
|
||||
}
|
||||
unsigned getNumW64UnwindInfos() { return W64UnwindInfos.size(); }
|
||||
|
||||
MCWin64EHUnwindInfo &getW64UnwindInfo(unsigned i) {
|
||||
return *W64UnwindInfos[i];
|
||||
@ -198,8 +192,8 @@ namespace llvm {
|
||||
/// pushSection - Save the current and previous section on the
|
||||
/// section stack.
|
||||
void PushSection() {
|
||||
SectionStack.push_back(std::make_pair(getCurrentSection(),
|
||||
getPreviousSection()));
|
||||
SectionStack.push_back(
|
||||
std::make_pair(getCurrentSection(), getPreviousSection()));
|
||||
}
|
||||
|
||||
/// popSection - Restore the current and previous section from
|
||||
@ -280,8 +274,7 @@ namespace llvm {
|
||||
|
||||
virtual void EmitDebugLabel(MCSymbol *Symbol);
|
||||
|
||||
virtual void EmitEHSymAttributes(const MCSymbol *Symbol,
|
||||
MCSymbol *EHSymbol);
|
||||
virtual void EmitEHSymAttributes(const MCSymbol *Symbol, MCSymbol *EHSymbol);
|
||||
|
||||
/// EmitAssemblerFlag - Note in the output the specified @p Flag.
|
||||
virtual void EmitAssemblerFlag(MCAssemblerFlag Flag) = 0;
|
||||
@ -533,8 +526,7 @@ namespace llvm {
|
||||
// '.loc fileno lineno ...' assembler directive.
|
||||
virtual void EmitDwarfLocDirective(unsigned FileNo, unsigned Line,
|
||||
unsigned Column, unsigned Flags,
|
||||
unsigned Isa,
|
||||
unsigned Discriminator,
|
||||
unsigned Isa, unsigned Discriminator,
|
||||
StringRef FileName);
|
||||
|
||||
virtual void EmitDwarfAdvanceLineAddr(int64_t LineDelta,
|
||||
@ -543,8 +535,7 @@ namespace llvm {
|
||||
unsigned PointerSize) = 0;
|
||||
|
||||
virtual void EmitDwarfAdvanceFrameAddr(const MCSymbol *LastLabel,
|
||||
const MCSymbol *Label) {
|
||||
}
|
||||
const MCSymbol *Label) {}
|
||||
|
||||
void EmitDwarfSetLineAddr(int64_t LineDelta, const MCSymbol *Label,
|
||||
int PointerSize);
|
||||
@ -655,13 +646,10 @@ namespace llvm {
|
||||
/// \param ShowInst - Whether to show the MCInst representation inline with
|
||||
/// the assembly.
|
||||
MCStreamer *createAsmStreamer(MCContext &Ctx, formatted_raw_ostream &OS,
|
||||
bool isVerboseAsm,
|
||||
bool useLoc,
|
||||
bool useCFI,
|
||||
bool isVerboseAsm, bool useLoc, bool useCFI,
|
||||
bool useDwarfDirectory,
|
||||
MCInstPrinter *InstPrint = 0,
|
||||
MCCodeEmitter *CE = 0,
|
||||
MCAsmBackend *TAB = 0,
|
||||
MCCodeEmitter *CE = 0, MCAsmBackend *TAB = 0,
|
||||
bool ShowInst = false);
|
||||
|
||||
/// createMachOStreamer - Create a machine code streamer which will generate
|
||||
@ -676,16 +664,15 @@ namespace llvm {
|
||||
/// generate Microsoft COFF format object files.
|
||||
///
|
||||
/// Takes ownership of \p TAB and \p CE.
|
||||
MCStreamer *createWinCOFFStreamer(MCContext &Ctx,
|
||||
MCAsmBackend &TAB,
|
||||
MCStreamer *createWinCOFFStreamer(MCContext &Ctx, MCAsmBackend &TAB,
|
||||
MCCodeEmitter &CE, raw_ostream &OS,
|
||||
bool RelaxAll = false);
|
||||
|
||||
/// createELFStreamer - Create a machine code streamer which will generate
|
||||
/// ELF format object files.
|
||||
MCStreamer *createELFStreamer(MCContext &Ctx, MCAsmBackend &TAB,
|
||||
raw_ostream &OS, MCCodeEmitter *CE,
|
||||
bool RelaxAll, bool NoExecStack);
|
||||
raw_ostream &OS, MCCodeEmitter *CE, bool RelaxAll,
|
||||
bool NoExecStack);
|
||||
|
||||
/// createPureStreamer - Create a machine code streamer which will generate
|
||||
/// "pure" MC object files, for use with MC-JIT and testing tools.
|
||||
|
Loading…
Reference in New Issue
Block a user