Home
last modified time | relevance | path

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

12345678910>>...14

/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDIE.h24 class AsmPrinter; variable
101 void Emit(AsmPrinter *AP) const;
221 virtual void EmitValue(AsmPrinter *AP, unsigned Form) const = 0;
225 virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const = 0;
261 virtual void EmitValue(AsmPrinter *AP, unsigned Form) const;
267 virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const;
288 virtual void EmitValue(AsmPrinter *AP, unsigned Form) const;
292 virtual unsigned SizeOf(AsmPrinter *AP, unsigned /*Form*/) const { in SizeOf()
315 virtual void EmitValue(AsmPrinter *AP, unsigned Form) const;
323 virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const;
[all …]
DDwarfCFIException.cpp42 DwarfCFIException::DwarfCFIException(AsmPrinter *A) in DwarfCFIException()
45 moveTypeModule(AsmPrinter::CFI_M_None) {} in DwarfCFIException()
52 if (moveTypeModule == AsmPrinter::CFI_M_Debug) in EndModule()
94 AsmPrinter::CFIMoveType MoveType = Asm->needsCFIMoves(); in BeginFunction()
95 if (MoveType == AsmPrinter::CFI_M_EH || in BeginFunction()
96 (MoveType == AsmPrinter::CFI_M_Debug && in BeginFunction()
97 moveTypeModule == AsmPrinter::CFI_M_None)) in BeginFunction()
100 shouldEmitMoves = MoveType != AsmPrinter::CFI_M_None; in BeginFunction()
DAsmPrinter.cpp57 char AsmPrinter::ID = 0;
96 AsmPrinter::AsmPrinter(TargetMachine &tm, MCStreamer &Streamer) in AsmPrinter() function in AsmPrinter
107 AsmPrinter::~AsmPrinter() { in ~AsmPrinter()
124 unsigned AsmPrinter::getFunctionNumber() const { in getFunctionNumber()
128 const TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const { in getObjFileLowering()
134 const TargetData &AsmPrinter::getTargetData() const { in getTargetData()
139 const MCSection *AsmPrinter::getCurrentSection() const { in getCurrentSection()
145 void AsmPrinter::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
154 bool AsmPrinter::doInitialization(Module &M) { in doInitialization()
210 void AsmPrinter::EmitLinkage(unsigned Linkage, MCSymbol *GVSym) const { in EmitLinkage()
[all …]
DDwarfException.h33 class AsmPrinter; variable
41 AsmPrinter *Asm;
128 DwarfException(AsmPrinter *A);
156 AsmPrinter::CFIMoveType moveTypeModule;
162 DwarfCFIException(AsmPrinter *A);
193 ARMException(AsmPrinter *A);
225 Win64Exception(AsmPrinter *A);
DAsmPrinterDwarf.cpp35 void AsmPrinter::EmitSLEB128(int Value, const char *Desc) const { in EmitSLEB128()
58 void AsmPrinter::EmitULEB128(unsigned Value, const char *Desc, in EmitULEB128()
85 void AsmPrinter::EmitCFAByte(unsigned Val) const { in EmitCFAByte()
127 void AsmPrinter::EmitEncodingByte(unsigned Val, const char *Desc) const { in EmitEncodingByte()
141 unsigned AsmPrinter::GetSizeOfEncodedValue(unsigned Encoding) const { in GetSizeOfEncodedValue()
154 void AsmPrinter::EmitReference(const MCSymbol *Sym, unsigned Encoding) const { in EmitReference()
162 void AsmPrinter::EmitReference(const GlobalValue *GV, unsigned Encoding)const{ in EmitReference()
177 void AsmPrinter::EmitSectionOffset(const MCSymbol *Label, in EmitSectionOffset()
210 void AsmPrinter::EmitCFIFrameMove(const MachineMove &Move) const { in EmitCFIFrameMove()
DDIE.cpp56 void DIEAbbrev::Emit(AsmPrinter *AP) const { in Emit()
190 void DIEInteger::EmitValue(AsmPrinter *Asm, unsigned Form) const { in EmitValue()
212 unsigned DIEInteger::SizeOf(AsmPrinter *AP, unsigned Form) const { in SizeOf()
244 void DIEString::EmitValue(AsmPrinter *AP, unsigned Form) const { in EmitValue()
262 void DIELabel::EmitValue(AsmPrinter *AP, unsigned Form) const { in EmitValue()
268 unsigned DIELabel::SizeOf(AsmPrinter *AP, unsigned Form) const { in SizeOf()
285 void DIEDelta::EmitValue(AsmPrinter *AP, unsigned Form) const { in EmitValue()
291 unsigned DIEDelta::SizeOf(AsmPrinter *AP, unsigned Form) const { in SizeOf()
308 void DIEEntry::EmitValue(AsmPrinter *AP, unsigned Form) const { in EmitValue()
324 unsigned DIEBlock::ComputeSize(AsmPrinter *AP) { in ComputeSize()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCFIException.cpp41 DwarfCFIExceptionBase::DwarfCFIExceptionBase(AsmPrinter *A) in DwarfCFIExceptionBase()
59 DwarfCFIException::DwarfCFIException(AsmPrinter *A) in DwarfCFIException()
62 shouldEmitMoves(false), moveTypeModule(AsmPrinter::CFI_M_None) {} in DwarfCFIException()
69 if (moveTypeModule == AsmPrinter::CFI_M_Debug) in endModule()
92 static MCSymbol *getExceptionSym(AsmPrinter *Asm) { in getExceptionSym()
104 AsmPrinter::CFIMoveType MoveType = Asm->needsCFIMoves(); in beginFunction()
105 if (MoveType == AsmPrinter::CFI_M_EH || in beginFunction()
106 (MoveType == AsmPrinter::CFI_M_Debug && in beginFunction()
107 moveTypeModule == AsmPrinter::CFI_M_None)) in beginFunction()
110 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 …]
DAsmPrinter.cpp65 char AsmPrinter::ID = 0;
101 AsmPrinter::AsmPrinter(TargetMachine &tm, std::unique_ptr<MCStreamer> Streamer) in AsmPrinter() function in AsmPrinter
116 AsmPrinter::~AsmPrinter() { in ~AsmPrinter()
127 bool AsmPrinter::isPositionIndependent() const { in isPositionIndependent()
133 unsigned AsmPrinter::getFunctionNumber() const { in getFunctionNumber()
137 const TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const { in getObjFileLowering()
141 const DataLayout &AsmPrinter::getDataLayout() const { in getDataLayout()
147 unsigned AsmPrinter::getPointerSize() const { return TM.getPointerSize(); } in getPointerSize()
149 const MCSubtargetInfo &AsmPrinter::getSubtargetInfo() const { in getSubtargetInfo()
154 void AsmPrinter::EmitToStreamer(MCStreamer &S, const MCInst &Inst) { in EmitToStreamer()
[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 …]
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);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterDwarf.cpp39 void AsmPrinter::EmitSLEB128(int64_t Value, const char *Desc) const { in EmitSLEB128()
46 void AsmPrinter::EmitULEB128(uint64_t Value, const char *Desc) const { in EmitULEB128()
54 void AsmPrinter::EmitLabelDifferenceAsULEB128(const MCSymbol *Hi, in EmitLabelDifferenceAsULEB128()
108 void AsmPrinter::EmitEncodingByte(unsigned Val, const char *Desc) const { in EmitEncodingByte()
121 unsigned AsmPrinter::GetSizeOfEncodedValue(unsigned Encoding) const { in GetSizeOfEncodedValue()
139 void AsmPrinter::EmitTTypeReference(const GlobalValue *GV, in EmitTTypeReference()
151 void AsmPrinter::emitDwarfSymbolReference(const MCSymbol *Label, in emitDwarfSymbolReference()
171 void AsmPrinter::emitDwarfStringOffset(DwarfStringPoolEntry S) const { in emitDwarfStringOffset()
182 void AsmPrinter::EmitDwarfOffset(const MCSymbol *Label, uint64_t Offset) const { in EmitDwarfOffset()
190 void AsmPrinter::emitCFIInstruction(const MCCFIInstruction &Inst) const { in emitCFIInstruction()
[all …]
DAsmPrinter.cpp147 char AsmPrinter::ID = 0;
183 AsmPrinter::AsmPrinter(TargetMachine &tm, std::unique_ptr<MCStreamer> Streamer) in AsmPrinter() function in AsmPrinter
189 AsmPrinter::~AsmPrinter() { in ~AsmPrinter()
200 bool AsmPrinter::isPositionIndependent() const { in isPositionIndependent()
205 unsigned AsmPrinter::getFunctionNumber() const { in getFunctionNumber()
209 const TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const { in getObjFileLowering()
213 const DataLayout &AsmPrinter::getDataLayout() const { in getDataLayout()
219 unsigned AsmPrinter::getPointerSize() const { in getPointerSize()
223 const MCSubtargetInfo &AsmPrinter::getSubtargetInfo() const { in getSubtargetInfo()
228 void AsmPrinter::EmitToStreamer(MCStreamer &S, const MCInst &Inst) { in EmitToStreamer()
[all …]
DDIE.cpp69 void DIEAbbrev::Emit(const AsmPrinter *AP) const { in Emit()
171 void DIEAbbrevSet::Emit(const AsmPrinter *AP, MCSection *Section) const { in Emit()
278 unsigned DIE::computeOffsetsAndAbbrevs(const AsmPrinter *AP, in computeOffsetsAndAbbrevs()
327 void DIEValue::EmitValue(const AsmPrinter *AP) const { in EmitValue()
339 unsigned DIEValue::SizeOf(const AsmPrinter *AP) const { in SizeOf()
376 void DIEInteger::EmitValue(const AsmPrinter *Asm, dwarf::Form Form) const { in EmitValue()
429 unsigned DIEInteger::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf()
463 void DIEExpr::EmitValue(const AsmPrinter *AP, dwarf::Form Form) const { in EmitValue()
469 unsigned DIEExpr::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf()
485 void DIELabel::EmitValue(const AsmPrinter *AP, dwarf::Form Form) const { in EmitValue()
[all …]
DDwarfStringPool.h20 class AsmPrinter; variable
38 DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix);
40 void emitStringOffsetsTableHeader(AsmPrinter &Asm, MCSection *OffsetSection,
43 void emit(AsmPrinter &Asm, MCSection *StrSection,
52 EntryRef getEntry(AsmPrinter &Asm, StringRef Str);
DAsmPrinterInlineAsm.cpp47 AsmPrinter::SrcMgrDiagInfo *DiagInfo = in srcMgrDiagHandler()
48 static_cast<AsmPrinter::SrcMgrDiagInfo *>(diagInfo); in srcMgrDiagHandler()
75 void AsmPrinter::EmitInlineAsm(StringRef Str, const MCSubtargetInfo &STI, in EmitInlineAsm()
171 AsmPrinter *AP, unsigned LocCookie, in EmitMSInlineAsmStr()
286 int AsmPrinterVariant, AsmPrinter *AP, in EmitGCCInlineAsmStr()
460 void AsmPrinter::EmitInlineAsm(const MachineInstr *MI) const { in EmitInlineAsm()
510 AsmPrinter *AP = const_cast<AsmPrinter*>(this); in EmitInlineAsm()
537 void AsmPrinter::PrintSpecial(const MachineInstr *MI, raw_ostream &OS, in PrintSpecial()
567 bool AsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, in PrintAsmOperand()
598 bool AsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, in PrintAsmMemoryOperand()
[all …]
/external/llvm/include/llvm/CodeGen/
DDIE.h25 class AsmPrinter; variable
100 void Emit(const AsmPrinter *AP) const;
140 void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const;
141 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
159 void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const;
160 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
178 void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const;
179 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
194 void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const;
195 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DDIE.h39 class AsmPrinter; variable
122 void Emit(const AsmPrinter *AP) const;
157 void Emit(const AsmPrinter *AP, MCSection *Section) const;
193 void EmitValue(const AsmPrinter *Asm, dwarf::Form Form) const;
194 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
210 void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const;
211 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
227 void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const;
228 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
243 void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const;
[all …]
DAccelTable.h110 class AsmPrinter; variable
179 void finalize(AsmPrinter *Asm, StringRef Prefix);
244 virtual void emit(AsmPrinter *Asm) const = 0;
297 void emitAppleAccelTableImpl(AsmPrinter *Asm, AccelTableBase &Contents,
305 void emitAppleAccelTable(AsmPrinter *Asm, AccelTable<DataT> &Contents, in emitAppleAccelTable()
311 void emitDWARF5AccelTable(AsmPrinter *Asm,
317 AsmPrinter *Asm, AccelTable<DWARF5AccelTableStaticData> &Contents,
328 void emit(AsmPrinter *Asm) const override;
353 void emit(AsmPrinter *Asm) const override;
377 void emit(AsmPrinter *Asm) const override;
[all …]
DGCMetadataPrinter.h27 class AsmPrinter; variable
41 friend class AsmPrinter;
58 virtual void beginAssembly(Module &M, GCModuleInfo &Info, AsmPrinter &AP) {} in beginAssembly()
62 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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDwarfGenerator.h29 class AsmPrinter; variable
208 void generate(MCContext &MC, AsmPrinter &Asm) const;
211 void writeData(ArrayRef<ValueAndLength> Data, AsmPrinter &Asm) const;
212 MCSymbol *writeDefaultPrologue(AsmPrinter &Asm) const;
213 void writePrologue(AsmPrinter &Asm) const;
216 AsmPrinter &Asm) const;
249 std::unique_ptr<AsmPrinter> Asm;
305 AsmPrinter *getAsmPrinter() const { return Asm.get(); } in getAsmPrinter()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVAsmPrinter.cpp35 class RISCVAsmPrinter : public AsmPrinter {
39 : AsmPrinter(TM, std::move(Streamer)) {} in RISCVAsmPrinter()
69 AsmPrinter::EmitToStreamer(*OutStreamer, Res ? CInst : Inst); in EmitToStreamer()
93 if (!AsmPrinter::PrintAsmOperand(MI, OpNo, AsmVariant, ExtraCode, OS)) in PrintAsmOperand()
131 return AsmPrinter::PrintAsmMemoryOperand(MI, OpNo, AsmVariant, ExtraCode, OS); in PrintAsmMemoryOperand()

12345678910>>...14