Home
last modified time | relevance | path

Searched refs:AsmPrinter (Results 1 – 25 of 130) sorted by relevance

123456

/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCFIException.cpp42 DwarfCFIExceptionBase::DwarfCFIExceptionBase(AsmPrinter *A) in DwarfCFIExceptionBase()
56 DwarfCFIException::DwarfCFIException(AsmPrinter *A) in DwarfCFIException()
59 moveTypeModule(AsmPrinter::CFI_M_None) {} in DwarfCFIException()
66 if (moveTypeModule == AsmPrinter::CFI_M_Debug) in endModule()
97 AsmPrinter::CFIMoveType MoveType = Asm->needsCFIMoves(); in beginFunction()
98 if (MoveType == AsmPrinter::CFI_M_EH || in beginFunction()
99 (MoveType == AsmPrinter::CFI_M_Debug && in beginFunction()
100 moveTypeModule == AsmPrinter::CFI_M_None)) in beginFunction()
103 shouldEmitMoves = MoveType != AsmPrinter::CFI_M_None; in beginFunction()
DDIE.cpp64 void DIEAbbrev::Emit(const AsmPrinter *AP) const { in Emit()
194 void DIEValue::EmitValue(const AsmPrinter *AP) const { in EmitValue()
206 unsigned DIEValue::SizeOf(const AsmPrinter *AP) const { in SizeOf()
242 void DIEInteger::EmitValue(const AsmPrinter *Asm, dwarf::Form Form) const { in EmitValue()
279 unsigned DIEInteger::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf()
320 void DIEExpr::EmitValue(const AsmPrinter *AP, dwarf::Form Form) const { in EmitValue()
326 unsigned DIEExpr::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf()
342 void DIELabel::EmitValue(const AsmPrinter *AP, dwarf::Form Form) const { in EmitValue()
351 unsigned DIELabel::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf()
367 void DIEDelta::EmitValue(const AsmPrinter *AP, dwarf::Form Form) const { in EmitValue()
[all …]
DAsmPrinterDwarf.cpp43 void AsmPrinter::EmitSLEB128(int64_t Value, const char *Desc) const { in EmitSLEB128()
51 void AsmPrinter::EmitULEB128(uint64_t Value, const char *Desc, in EmitULEB128()
104 void AsmPrinter::EmitEncodingByte(unsigned Val, const char *Desc) const { in EmitEncodingByte()
117 unsigned AsmPrinter::GetSizeOfEncodedValue(unsigned Encoding) const { in GetSizeOfEncodedValue()
135 void AsmPrinter::EmitTTypeReference(const GlobalValue *GV, in EmitTTypeReference()
148 void AsmPrinter::emitDwarfSymbolReference(const MCSymbol *Label, in emitDwarfSymbolReference()
168 void AsmPrinter::emitDwarfStringOffset(DwarfStringPoolEntryRef S) const { in emitDwarfStringOffset()
179 void AsmPrinter::EmitDwarfRegOp(ByteStreamer &Streamer, in EmitDwarfRegOp()
212 void AsmPrinter::emitCFIInstruction(const MCCFIInstruction &Inst) const { in emitCFIInstruction()
249 void AsmPrinter::emitDwarfDIE(const DIE &Die) const { in emitDwarfDIE()
[all …]
DAsmPrinter.cpp66 char AsmPrinter::ID = 0;
102 AsmPrinter::AsmPrinter(TargetMachine &tm, std::unique_ptr<MCStreamer> Streamer) in AsmPrinter() function in AsmPrinter
117 AsmPrinter::~AsmPrinter() { in ~AsmPrinter()
130 unsigned AsmPrinter::getFunctionNumber() const { in getFunctionNumber()
134 const TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const { in getObjFileLowering()
138 const DataLayout &AsmPrinter::getDataLayout() const { in getDataLayout()
144 unsigned AsmPrinter::getPointerSize() const { return TM.getPointerSize(); } in getPointerSize()
146 const MCSubtargetInfo &AsmPrinter::getSubtargetInfo() const { in getSubtargetInfo()
151 void AsmPrinter::EmitToStreamer(MCStreamer &S, const MCInst &Inst) { in EmitToStreamer()
155 StringRef AsmPrinter::getTargetTriple() const { in getTargetTriple()
[all …]
DDwarfAccelTable.h64 class AsmPrinter; variable
221 void EmitHeader(AsmPrinter *);
222 void EmitBuckets(AsmPrinter *);
223 void EmitHashes(AsmPrinter *);
224 void emitOffsets(AsmPrinter *, const MCSymbol *);
225 void EmitData(AsmPrinter *, DwarfDebug *D);
248 void FinalizeTable(AsmPrinter *, StringRef);
249 void emit(AsmPrinter *, const MCSymbol *, DwarfDebug *);
DDwarfStringPool.h20 class AsmPrinter; variable
38 DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix);
40 void emit(AsmPrinter &Asm, MCSection *StrSection,
46 EntryRef getEntry(AsmPrinter &Asm, StringRef Str);
DDwarfException.h26 DwarfCFIExceptionBase(AsmPrinter *A);
44 AsmPrinter::CFIMoveType moveTypeModule;
50 DwarfCFIException(AsmPrinter *A);
72 ARMException(AsmPrinter *A);
DAsmPrinterInlineAsm.cpp76 void AsmPrinter::EmitInlineAsm(StringRef Str, const MCSubtargetInfo &STI, in EmitInlineAsm()
158 AsmPrinter *AP, unsigned LocCookie, in EmitMSInlineAsmStr()
256 int AsmPrinterVariant, AsmPrinter *AP, in EmitGCCInlineAsmStr()
430 void AsmPrinter::EmitInlineAsm(const MachineInstr *MI) const { in EmitInlineAsm()
480 AsmPrinter *AP = const_cast<AsmPrinter*>(this); in EmitInlineAsm()
507 void AsmPrinter::PrintSpecial(const MachineInstr *MI, raw_ostream &OS, in PrintSpecial()
537 bool AsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, in PrintAsmOperand()
563 bool AsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, in PrintAsmMemoryOperand()
570 void AsmPrinter::emitInlineAsmStart() const {} in emitInlineAsmStart()
572 void AsmPrinter::emitInlineAsmEnd(const MCSubtargetInfo &StartInfo, in emitInlineAsmEnd()
DOcamlGCPrinter.cpp37 void beginAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) override;
38 void finishAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) override;
47 static void EmitCamlGlobal(const Module &M, AsmPrinter &AP, const char *Id) { in EmitCamlGlobal()
70 AsmPrinter &AP) { in beginAssembly()
95 AsmPrinter &AP) { in finishAssembly()
DARMException.cpp39 ARMException::ARMException(AsmPrinter *A) : DwarfCFIExceptionBase(A) {} in ARMException()
59 AsmPrinter::CFIMoveType MoveType = Asm->needsCFIMoves(); in beginFunction()
60 assert(MoveType != AsmPrinter::CFI_M_EH && in beginFunction()
62 if (MoveType == AsmPrinter::CFI_M_Debug) { in beginFunction()
DEHStreamer.h25 class AsmPrinter; variable
36 AsmPrinter *Asm;
123 EHStreamer(AsmPrinter *A);
DDwarfFile.h25 class AsmPrinter; variable
38 AsmPrinter *Asm;
65 DwarfFile(AsmPrinter *AP, StringRef Pref, BumpPtrAllocator &DA);
DDwarfStringPool.cpp17 DwarfStringPool::DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, in DwarfStringPool()
22 DwarfStringPool::EntryRef DwarfStringPool::getEntry(AsmPrinter &Asm, in getEntry()
37 void DwarfStringPool::emit(AsmPrinter &Asm, MCSection *StrSection, in emit()
DDwarfAccelTable.cpp71 void DwarfAccelTable::FinalizeTable(AsmPrinter *Asm, StringRef Prefix) { in FinalizeTable()
113 void DwarfAccelTable::EmitHeader(AsmPrinter *Asm) { in EmitHeader()
141 void DwarfAccelTable::EmitBuckets(AsmPrinter *Asm) { in EmitBuckets()
163 void DwarfAccelTable::EmitHashes(AsmPrinter *Asm) { in EmitHashes()
183 void DwarfAccelTable::emitOffsets(AsmPrinter *Asm, const MCSymbol *SecBegin) { in emitOffsets()
206 void DwarfAccelTable::EmitData(AsmPrinter *Asm, DwarfDebug *D) { in EmitData()
243 void DwarfAccelTable::emit(AsmPrinter *Asm, const MCSymbol *SecBegin, in emit()
/external/llvm/include/llvm/CodeGen/
DDIE.h26 class AsmPrinter; variable
101 void Emit(const AsmPrinter *AP) const;
141 void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const;
142 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
160 void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const;
161 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
179 void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const;
180 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
195 void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const;
196 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
[all …]
DGCMetadataPrinter.h40 friend class AsmPrinter; variable
55 virtual void beginAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) {} in beginAssembly()
58 virtual void finishAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) {} in finishAssembly()
/external/llvm/lib/Target/SystemZ/
DSystemZMCInstLower.cpp34 : Ctx(ctx), AsmPrinter(asmprinter) {} in SystemZMCInstLower()
48 Symbol = AsmPrinter.getSymbol(MO.getGlobal()); in getExpr()
52 Symbol = AsmPrinter.GetExternalSymbolSymbol(MO.getSymbolName()); in getExpr()
56 Symbol = AsmPrinter.GetJTISymbol(MO.getIndex()); in getExpr()
61 Symbol = AsmPrinter.GetCPISymbol(MO.getIndex()); in getExpr()
65 Symbol = AsmPrinter.GetBlockAddressSymbol(MO.getBlockAddress()); in getExpr()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyMCInstLower.h23 class AsmPrinter; variable
32 AsmPrinter &Printer;
39 WebAssemblyMCInstLower(MCContext &ctx, AsmPrinter &printer) in WebAssemblyMCInstLower()
DWebAssemblyAsmPrinter.cpp43 class WebAssemblyAsmPrinter final : public AsmPrinter {
49 : AsmPrinter(TM, std::move(Streamer)), MRI(nullptr), MFI(nullptr) {} in WebAssemblyAsmPrinter()
63 return AsmPrinter::runOnMachineFunction(MF); in runOnMachineFunction()
197 AsmPrinter::EmitFunctionBodyStart(); in EmitFunctionBodyStart()
233 if (!AsmPrinter::PrintAsmOperand(MI, OpNo, AsmVariant, ExtraCode, OS)) in PrintAsmOperand()
279 return AsmPrinter::PrintAsmMemoryOperand(MI, OpNo, AsmVariant, ExtraCode, OS); in PrintAsmMemoryOperand()
/external/llvm/lib/Target/BPF/
DBPFMCInstLower.h16 class AsmPrinter; variable
30 AsmPrinter &Printer;
33 BPFMCInstLower(MCContext &ctx, AsmPrinter &printer) in BPFMCInstLower()
/external/llvm/lib/Target/XCore/
DXCoreMCInstLower.h22 class AsmPrinter; variable
29 AsmPrinter &Printer;
31 XCoreMCInstLower(class AsmPrinter &asmprinter);
/external/llvm/lib/Target/MSP430/
DMSP430MCInstLower.h16 class AsmPrinter; variable
30 AsmPrinter &Printer;
32 MSP430MCInstLower(MCContext &ctx, AsmPrinter &printer) in MSP430MCInstLower()
/external/llvm/lib/Target/AArch64/
DAArch64MCInstLower.h17 class AsmPrinter; variable
32 AsmPrinter &Printer;
36 AArch64MCInstLower(MCContext &ctx, AsmPrinter &printer);
/external/llvm/lib/Target/Mips/
DMipsMCInstLower.cpp30 : AsmPrinter(asmprinter) {} in MipsMCInstLower()
77 Symbol = AsmPrinter.getSymbol(MO.getGlobal()); in LowerSymbolOperand()
82 Symbol = AsmPrinter.GetBlockAddressSymbol(MO.getBlockAddress()); in LowerSymbolOperand()
87 Symbol = AsmPrinter.GetExternalSymbolSymbol(MO.getSymbolName()); in LowerSymbolOperand()
97 Symbol = AsmPrinter.GetJTISymbol(MO.getIndex()); in LowerSymbolOperand()
101 Symbol = AsmPrinter.GetCPISymbol(MO.getIndex()); in LowerSymbolOperand()
/external/llvm/lib/Target/Sparc/
DSparcMCInstLower.cpp33 AsmPrinter &AP) { in LowerSymbolOperand()
71 AsmPrinter &AP) { in LowerOperand()
97 AsmPrinter &AP) in LowerSparcMachineInstrToMCInst()

123456