@@ -354,30 +354,30 @@ class AsmPrinter : public MachineFunctionPass {
354
354
/// Print to the current output stream assembly representations of the
355
355
/// constants in the constant pool MCP. This is used to print out constants
356
356
/// which have been "spilled to memory" by the code generator.
357
- virtual void EmitConstantPool ();
357
+ virtual void emitConstantPool ();
358
358
359
359
/// Print assembly representations of the jump tables used by the current
360
360
/// function to the current output stream.
361
- virtual void EmitJumpTableInfo ();
361
+ virtual void emitJumpTableInfo ();
362
362
363
363
/// Emit the specified global variable to the .s file.
364
- virtual void EmitGlobalVariable (const GlobalVariable *GV);
364
+ virtual void emitGlobalVariable (const GlobalVariable *GV);
365
365
366
366
/// Check to see if the specified global is a special global used by LLVM. If
367
367
/// so, emit it and return true, otherwise do nothing and return false.
368
- bool EmitSpecialLLVMGlobal (const GlobalVariable *GV);
368
+ bool emitSpecialLLVMGlobal (const GlobalVariable *GV);
369
369
370
370
/// Emit an alignment directive to the specified power of two boundary. If a
371
371
/// global value is specified, and if that global has an explicit alignment
372
372
/// requested, it will override the alignment request if required for
373
373
/// correctness.
374
- void EmitAlignment (Align Alignment, const GlobalObject *GV = nullptr) const;
374
+ void emitAlignment (Align Alignment, const GlobalObject *GV = nullptr) const;
375
375
376
376
/// Lower the specified LLVM Constant to an MCExpr.
377
377
virtual const MCExpr *lowerConstant(const Constant *CV);
378
378
379
379
/// Print a general LLVM constant to the .s file.
380
- void EmitGlobalConstant (const DataLayout &DL, const Constant *CV);
380
+ void emitGlobalConstant (const DataLayout &DL, const Constant *CV);
381
381
382
382
/// Unnamed constant global variables solely contaning a pointer to
383
383
/// another globals variable act like a global variable "proxy", or GOT
@@ -443,12 +443,12 @@ class AsmPrinter : public MachineFunctionPass {
443
443
llvm_unreachable("Function descriptor is target-specific.");
444
444
}
445
445
446
- virtual void EmitMachineConstantPoolValue (MachineConstantPoolValue *MCPV);
446
+ virtual void emitMachineConstantPoolValue (MachineConstantPoolValue *MCPV);
447
447
448
448
/// Targets can override this to change how global constants that are part of
449
449
/// a C++ static/global constructor list are emitted.
450
- virtual void EmitXXStructor (const DataLayout &DL, const Constant *CV) {
451
- EmitGlobalConstant (DL, CV);
450
+ virtual void emitXXStructor (const DataLayout &DL, const Constant *CV) {
451
+ emitGlobalConstant (DL, CV);
452
452
}
453
453
454
454
/// Return true if the basic block has exactly one predecessor and the control
@@ -549,13 +549,13 @@ class AsmPrinter : public MachineFunctionPass {
549
549
/// Emit a .byte 42 directive that corresponds to an encoding. If verbose
550
550
/// assembly output is enabled, we output comments describing the encoding.
551
551
/// Desc is a string saying what the encoding is specifying (e.g. "LSDA").
552
- void EmitEncodingByte (unsigned Val, const char *Desc = nullptr) const;
552
+ void emitEncodingByte (unsigned Val, const char *Desc = nullptr) const;
553
553
554
554
/// Return the size of the encoding in bytes.
555
555
unsigned GetSizeOfEncodedValue(unsigned Encoding) const;
556
556
557
557
/// Emit reference to a ttype global with a specified encoding.
558
- void EmitTTypeReference (const GlobalValue *GV, unsigned Encoding) const;
558
+ void emitTTypeReference (const GlobalValue *GV, unsigned Encoding) const;
559
559
560
560
/// Emit a reference to a symbol for use in dwarf. Different object formats
561
561
/// represent this in different ways. Some use a relocation others encode
@@ -683,14 +683,14 @@ class AsmPrinter : public MachineFunctionPass {
683
683
684
684
/// Emit a blob of inline asm to the output streamer.
685
685
void
686
- EmitInlineAsm (StringRef Str, const MCSubtargetInfo &STI,
686
+ emitInlineAsm (StringRef Str, const MCSubtargetInfo &STI,
687
687
const MCTargetOptions &MCOptions,
688
688
const MDNode *LocMDNode = nullptr,
689
689
InlineAsm::AsmDialect AsmDialect = InlineAsm::AD_ATT) const;
690
690
691
691
/// This method formats and emits the specified machine instruction that is an
692
692
/// inline asm.
693
- void EmitInlineAsm (const MachineInstr *MI) const;
693
+ void emitInlineAsm (const MachineInstr *MI) const;
694
694
695
695
/// Add inline assembly info to the diagnostics machinery, so we can
696
696
/// emit file and position info. Returns SrcMgr memory buffer position.
@@ -701,14 +701,14 @@ class AsmPrinter : public MachineFunctionPass {
701
701
// Internal Implementation Details
702
702
//===------------------------------------------------------------------===//
703
703
704
- void EmitJumpTableEntry (const MachineJumpTableInfo *MJTI,
704
+ void emitJumpTableEntry (const MachineJumpTableInfo *MJTI,
705
705
const MachineBasicBlock *MBB, unsigned uid) const;
706
- void EmitLLVMUsedList (const ConstantArray *InitList);
706
+ void emitLLVMUsedList (const ConstantArray *InitList);
707
707
/// Emit llvm.ident metadata in an '.ident' directive.
708
- void EmitModuleIdents (Module &M);
708
+ void emitModuleIdents (Module &M);
709
709
/// Emit bytes for llvm.commandline metadata.
710
- void EmitModuleCommandLines (Module &M);
711
- void EmitXXStructorList (const DataLayout &DL, const Constant *List,
710
+ void emitModuleCommandLines (Module &M);
711
+ void emitXXStructorList (const DataLayout &DL, const Constant *List,
712
712
bool isCtor);
713
713
714
714
GCMetadataPrinter *GetOrCreateGCPrinter(GCStrategy &S);
0 commit comments