Home
last modified time | relevance | path

Searched refs:Streamer (Results 1 – 25 of 79) sorted by relevance

1234

/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterDwarf.cpp190 static void emitDwarfRegOp(ByteStreamer &Streamer, int Reg) { in emitDwarfRegOp() argument
193 Streamer.EmitInt8(dwarf::DW_OP_reg0 + Reg, in emitDwarfRegOp()
196 Streamer.EmitInt8(dwarf::DW_OP_regx, "DW_OP_regx"); in emitDwarfRegOp()
197 Streamer.EmitULEB128(Reg, Twine(Reg)); in emitDwarfRegOp()
202 static void emitDwarfRegOpIndirect(ByteStreamer &Streamer, int Reg, int Offset, in emitDwarfRegOpIndirect() argument
206 Streamer.EmitInt8(dwarf::DW_OP_breg0 + Reg, in emitDwarfRegOpIndirect()
209 Streamer.EmitInt8(dwarf::DW_OP_bregx, "DW_OP_bregx"); in emitDwarfRegOpIndirect()
210 Streamer.EmitULEB128(Reg, Twine(Reg)); in emitDwarfRegOpIndirect()
212 Streamer.EmitSLEB128(Offset); in emitDwarfRegOpIndirect()
214 Streamer.EmitInt8(dwarf::DW_OP_deref, "DW_OP_deref"); in emitDwarfRegOpIndirect()
[all …]
/external/llvm/lib/MC/
DConstantPools.cpp24 void ConstantPool::emitEntries(MCStreamer &Streamer) { in emitEntries() argument
27 Streamer.EmitCodeAlignment(4); // align to 4-byte address in emitEntries()
28 Streamer.EmitDataRegion(MCDR_DataRegion); in emitEntries()
31 Streamer.EmitLabel(I->first); in emitEntries()
32 Streamer.EmitValue(I->second, 4); in emitEntries()
34 Streamer.EmitDataRegion(MCDR_DataRegionEnd); in emitEntries()
64 static void emitConstantPool(MCStreamer &Streamer, const MCSection *Section, in emitConstantPool() argument
67 Streamer.SwitchSection(Section); in emitConstantPool()
68 CP.emitEntries(Streamer); in emitConstantPool()
72 void AssemblerConstantPools::emitAll(MCStreamer &Streamer) { in emitAll() argument
[all …]
DMCDwarf.cpp1033 void EmitCFIInstruction(MCObjectStreamer &Streamer,
1039 static void EmitEncodingByte(MCStreamer &Streamer, unsigned Encoding, in EmitEncodingByte() argument
1041 if (Streamer.isVerboseAsm()) { in EmitEncodingByte()
1078 Streamer.AddComment(Twine(Prefix) + " = " + EncStr); in EmitEncodingByte()
1081 Streamer.EmitIntValue(Encoding, 1); in EmitEncodingByte()
1084 void FrameEmitterImpl::EmitCFIInstruction(MCObjectStreamer &Streamer, in EmitCFIInstruction() argument
1086 int dataAlignmentFactor = getDataAlignmentFactor(Streamer); in EmitCFIInstruction()
1087 bool VerboseAsm = Streamer.isVerboseAsm(); in EmitCFIInstruction()
1094 Streamer.AddComment("DW_CFA_register"); in EmitCFIInstruction()
1095 Streamer.AddComment(Twine("Reg1 ") + Twine(Reg1)); in EmitCFIInstruction()
[all …]
DMCAsmInfo.cpp115 MCStreamer &Streamer) const { in getExprForPersonalitySymbol()
116 return getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol()
122 MCStreamer &Streamer) const { in getExprForFDESymbol()
124 return MCSymbolRefExpr::Create(Sym, Streamer.getContext()); in getExprForFDESymbol()
126 MCContext &Context = Streamer.getContext(); in getExprForFDESymbol()
129 Streamer.EmitLabel(PCSym); in getExprForFDESymbol()
DMCWin64EH.cpp273 void MCWin64EHUnwindEmitter::Emit(MCStreamer &Streamer) { in Emit() argument
274 MCContext &Context = Streamer.getContext(); in Emit()
277 for (const auto &CFI : Streamer.getW64UnwindInfos()) { in Emit()
280 Streamer.SwitchSection(XData); in Emit()
281 EmitUnwindInfo(Streamer, CFI); in Emit()
285 for (const auto &CFI : Streamer.getW64UnwindInfos()) { in Emit()
288 Streamer.SwitchSection(PData); in Emit()
289 EmitRuntimeFunction(Streamer, CFI); in Emit()
/external/clang/test/SemaTemplate/
Dinject-templated-friend-post.cpp23 struct Streamer;
27 inline std_ostream& operator << (std_ostream&, const Streamer<Foo>&);
29 void test(const Streamer<Foo>& foo) in test()
35 struct Streamer struct
37 …friend std_ostream& operator << (std_ostream& o, const Streamer& f) // expected-error{{redefinitio… in operator <<()
39 Streamer s(f); in operator <<()
44 Streamer(const STRUCT_TYPE& s) : s(s) {} in Streamer() argument
51 std_ostream& operator << (std_ostream&, const Streamer<Foo>&); argument
55 template struct Streamer<Foo>; variable
59 std_ostream& operator << (std_ostream& o, const Streamer<Foo>&) // expected-note{{is here}} in operator <<()
[all …]
Dinject-templated-friend.cpp15 struct Streamer struct
17 …friend std_ostream& operator << (std_ostream& o, const Streamer& f) // expected-error{{redefinitio… in operator <<()
19 Streamer s(f); in operator <<()
24 Streamer(const STRUCT_TYPE& s) : s(s) {} in Streamer() argument
32 inline std_ostream& operator << (std_ostream&, const Streamer<Foo>&); argument
34 std_ostream& operator << (std_ostream& o, const Streamer<Foo>&) // expected-note{{is here}} in operator <<()
42 void Streamer<Foo>::operator () (std_ostream& o) const // expected-note{{requested here}} in operator ()()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCAsmInfo.cpp53 MCStreamer &Streamer) const { in getExprForPersonalitySymbol()
55 MCContext &Ctx = Streamer.getContext(); in getExprForPersonalitySymbol()
60 return MCAsmInfo::getExprForPersonalitySymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol()
66 MCStreamer &Streamer) const { in getExprForFDESymbol()
68 MCContext &Ctx = Streamer.getContext(); in getExprForFDESymbol()
72 return MCAsmInfo::getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForFDESymbol()
DSparcMCAsmInfo.h28 MCStreamer &Streamer) const override;
31 MCStreamer &Streamer) const override;
/external/llvm/include/llvm/MC/
DConstantPools.h42 void emitEntries(MCStreamer &Streamer);
70 void emitAll(MCStreamer &Streamer);
71 void emitForCurrentSection(MCStreamer &Streamer);
72 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr);
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp59 void TargetLoweringObjectFileELF::emitPersonalityValue(MCStreamer &Streamer, in emitPersonalityValue() argument
65 Streamer.EmitSymbolAttribute(Label, MCSA_Hidden); in emitPersonalityValue()
66 Streamer.EmitSymbolAttribute(Label, MCSA_Weak); in emitPersonalityValue()
76 Streamer.SwitchSection(Sec); in emitPersonalityValue()
77 Streamer.EmitValueToAlignment(TM.getDataLayout()->getPointerABIAlignment()); in emitPersonalityValue()
78 Streamer.EmitSymbolAttribute(Label, MCSA_ELF_TypeObject); in emitPersonalityValue()
80 Streamer.EmitELFSize(Label, E); in emitPersonalityValue()
81 Streamer.EmitLabel(Label); in emitPersonalityValue()
83 Streamer.EmitSymbolValue(Sym, Size); in emitPersonalityValue()
89 MCStreamer &Streamer) const { in getTTypeGlobalReference()
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64TargetStreamer.cpp32 return ConstantPools->addEntry(Streamer, Expr); in addConstantPoolEntry()
36 ConstantPools->emitForCurrentSection(Streamer); in emitCurrentConstantPool()
40 void AArch64TargetStreamer::finish() { ConstantPools->emitAll(Streamer); } in finish()
DAArch64MCAsmInfo.cpp53 const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const { in getExprForPersonalitySymbol()
58 MCContext &Context = Streamer.getContext(); in getExprForPersonalitySymbol()
62 Streamer.EmitLabel(PCSym); in getExprForPersonalitySymbol()
/external/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h41 void emitPersonalityValue(MCStreamer &Streamer, const TargetMachine &TM,
62 MCStreamer &Streamer) const override;
87 void emitModuleFlags(MCStreamer &Streamer,
110 MCStreamer &Streamer) const override;
140 void emitModuleFlags(MCStreamer &Streamer,
/external/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp29 MCStreamer &Streamer) const { in getTTypeGlobalReference()
39 Streamer.EmitLabel(PCSym); in getTTypeGlobalReference()
45 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp653 return static_cast<ARMELFStreamer &>(Streamer); in getStreamer()
931 ARMELFStreamer &Streamer = getStreamer(); in finishAttributeSection() local
935 Streamer.SwitchSection(AttributeSection); in finishAttributeSection()
938 Streamer.getContext().getELFSection(".ARM.attributes", in finishAttributeSection()
942 Streamer.SwitchSection(AttributeSection); in finishAttributeSection()
945 Streamer.EmitIntValue(0x41, 1); in finishAttributeSection()
956 Streamer.EmitIntValue(VendorHeaderSize + TagHeaderSize + ContentsSize, 4); in finishAttributeSection()
957 Streamer.EmitBytes(CurrentVendor); in finishAttributeSection()
958 Streamer.EmitIntValue(0, 1); // '\0' in finishAttributeSection()
960 Streamer.EmitIntValue(ARMBuildAttrs::File, 1); in finishAttributeSection()
[all …]
DARMTargetStreamer.cpp31 return ConstantPools->addEntry(Streamer, Expr); in addConstantPoolEntry()
35 ConstantPools->emitForCurrentSection(Streamer); in emitCurrentConstantPool()
39 void ARMTargetStreamer::finish() { ConstantPools->emitAll(Streamer); } in finish()
DARMMCExpr.cpp44 void ARMMCExpr::visitUsedExpr(MCStreamer &Streamer) const { in visitUsedExpr()
45 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr()
/external/llvm/tools/llvm-mc/
DDisassembler.cpp56 MCStreamer &Streamer, bool InAtomicBlock, in PrintInsts() argument
92 Streamer.EmitInstruction(Inst, STI); in PrintInsts()
160 MCStreamer &Streamer, in disassemble() argument
188 Streamer.InitSections(); in disassemble()
224 ErrorOccurred |= PrintInsts(*DisAsm, ByteArray, SM, Out, Streamer, in disassemble()
/external/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h56 virtual void emitPersonalityValue(MCStreamer &Streamer,
67 virtual void emitModuleFlags(MCStreamer &Streamer, in emitModuleFlags() argument
115 MachineModuleInfo *MMI, MCStreamer &Streamer) const;
131 MCStreamer &Streamer) const;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DAMDGPUAsmPrinter.h24 explicit AMDGPUAsmPrinter(TargetMachine &TM, MCStreamer &Streamer) in AMDGPUAsmPrinter() argument
25 : AsmPrinter(TM, Streamer) { } in AMDGPUAsmPrinter()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUAsmPrinter.h24 explicit AMDGPUAsmPrinter(TargetMachine &TM, MCStreamer &Streamer) in AMDGPUAsmPrinter() argument
25 : AsmPrinter(TM, Streamer) { } in AMDGPUAsmPrinter()
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp121 void TargetLoweringObjectFile::emitPersonalityValue(MCStreamer &Streamer, in emitPersonalityValue() argument
313 MCStreamer &Streamer) const { in getTTypeGlobalReference()
317 return getTTypeReference(Ref, Encoding, Streamer); in getTTypeGlobalReference()
322 MCStreamer &Streamer) const { in getTTypeReference()
333 Streamer.EmitLabel(PCSym); in getTTypeReference()
/external/llvm/lib/Target/Hexagon/
DHexagonAsmPrinter.h28 explicit HexagonAsmPrinter(TargetMachine &TM, MCStreamer &Streamer) in HexagonAsmPrinter() argument
29 : AsmPrinter(TM, Streamer) { in HexagonAsmPrinter()
/external/llvm/lib/Target/SystemZ/
DSystemZAsmPrinter.h29 SystemZAsmPrinter(TargetMachine &TM, MCStreamer &Streamer) in SystemZAsmPrinter() argument
30 : AsmPrinter(TM, Streamer) { in SystemZAsmPrinter()

1234