Home
last modified time | relevance | path

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

123456789

/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsOptionRecord.cpp18 MCAssembler &MCA = Streamer->getAssembler(); in EmitMipsOptionRecord()
20 static_cast<MipsTargetStreamer *>(Streamer->getTargetStreamer()); in EmitMipsOptionRecord()
22 Streamer->PushSection(); in EmitMipsOptionRecord()
36 Streamer->SwitchSection(Sec); in EmitMipsOptionRecord()
38 Streamer->EmitIntValue(ELF::ODK_REGINFO, 1); // kind in EmitMipsOptionRecord()
39 Streamer->EmitIntValue(40, 1); // size in EmitMipsOptionRecord()
40 Streamer->EmitIntValue(0, 2); // section in EmitMipsOptionRecord()
41 Streamer->EmitIntValue(0, 4); // info in EmitMipsOptionRecord()
42 Streamer->EmitIntValue(ri_gprmask, 4); in EmitMipsOptionRecord()
43 Streamer->EmitIntValue(0, 4); // pad in EmitMipsOptionRecord()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsOptionRecord.cpp24 MCAssembler &MCA = Streamer->getAssembler(); in EmitMipsOptionRecord()
26 static_cast<MipsTargetStreamer *>(Streamer->getTargetStreamer()); in EmitMipsOptionRecord()
28 Streamer->PushSection(); in EmitMipsOptionRecord()
42 Streamer->SwitchSection(Sec); in EmitMipsOptionRecord()
44 Streamer->EmitIntValue(ELF::ODK_REGINFO, 1); // kind in EmitMipsOptionRecord()
45 Streamer->EmitIntValue(40, 1); // size in EmitMipsOptionRecord()
46 Streamer->EmitIntValue(0, 2); // section in EmitMipsOptionRecord()
47 Streamer->EmitIntValue(0, 4); // info in EmitMipsOptionRecord()
48 Streamer->EmitIntValue(ri_gprmask, 4); in EmitMipsOptionRecord()
49 Streamer->EmitIntValue(0, 4); // pad in EmitMipsOptionRecord()
[all …]
/external/llvm/lib/MC/
DConstantPools.cpp24 void ConstantPool::emitEntries(MCStreamer &Streamer) { in emitEntries() argument
27 Streamer.EmitDataRegion(MCDR_DataRegion); in emitEntries()
29 Streamer.EmitCodeAlignment(Entry.Size); // align naturally in emitEntries()
30 Streamer.EmitLabel(Entry.Label); in emitEntries()
31 Streamer.EmitValue(Entry.Value, Entry.Size, Entry.Loc); in emitEntries()
33 Streamer.EmitDataRegion(MCDR_DataRegionEnd); in emitEntries()
63 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool() argument
66 Streamer.SwitchSection(Section); in emitConstantPool()
67 CP.emitEntries(Streamer); in emitConstantPool()
71 void AssemblerConstantPools::emitAll(MCStreamer &Streamer) { in emitAll() argument
[all …]
DMCDwarf.cpp1009 MCObjectStreamer &Streamer; member in __anon224058e00111::FrameEmitterImpl
1012 FrameEmitterImpl(bool IsEH, MCObjectStreamer &Streamer) in FrameEmitterImpl() argument
1013 : IsEH(IsEH), Streamer(Streamer) {} in FrameEmitterImpl()
1031 static void emitEncodingByte(MCObjectStreamer &Streamer, unsigned Encoding) { in emitEncodingByte() argument
1032 Streamer.EmitIntValue(Encoding, 1); in emitEncodingByte()
1036 int dataAlignmentFactor = getDataAlignmentFactor(Streamer); in EmitCFIInstruction()
1037 auto *MRI = Streamer.getContext().getRegisterInfo(); in EmitCFIInstruction()
1047 Streamer.EmitIntValue(dwarf::DW_CFA_register, 1); in EmitCFIInstruction()
1048 Streamer.EmitULEB128IntValue(Reg1); in EmitCFIInstruction()
1049 Streamer.EmitULEB128IntValue(Reg2); in EmitCFIInstruction()
[all …]
DMCWin64EH.cpp50 static void EmitAbsDifference(MCStreamer &Streamer, const MCSymbol *LHS, in EmitAbsDifference() argument
52 MCContext &Context = Streamer.getContext(); in EmitAbsDifference()
56 Streamer.EmitValue(Diff, 1); in EmitAbsDifference()
221 void llvm::Win64EH::UnwindEmitter::Emit(MCStreamer &Streamer) const { in Emit()
223 for (WinEH::FrameInfo *CFI : Streamer.getWinFrameInfos()) { in Emit()
224 MCSection *XData = Streamer.getAssociatedXDataSection(CFI->TextSection); in Emit()
225 Streamer.SwitchSection(XData); in Emit()
226 ::EmitUnwindInfo(Streamer, CFI); in Emit()
230 for (WinEH::FrameInfo *CFI : Streamer.getWinFrameInfos()) { in Emit()
231 MCSection *PData = Streamer.getAssociatedPDataSection(CFI->TextSection); in Emit()
[all …]
DMCAsmInfo.cpp125 MCStreamer &Streamer) const { in getExprForPersonalitySymbol()
126 return getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol()
132 MCStreamer &Streamer) const { in getExprForFDESymbol()
134 return MCSymbolRefExpr::create(Sym, Streamer.getContext()); in getExprForFDESymbol()
136 MCContext &Context = Streamer.getContext(); in getExprForFDESymbol()
139 Streamer.EmitLabel(PCSym); in getExprForFDESymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DConstantPools.cpp27 void ConstantPool::emitEntries(MCStreamer &Streamer) { in emitEntries() argument
30 Streamer.EmitDataRegion(MCDR_DataRegion); in emitEntries()
32 Streamer.EmitCodeAlignment(Entry.Size); // align naturally in emitEntries()
33 Streamer.EmitLabel(Entry.Label); in emitEntries()
34 Streamer.EmitValue(Entry.Value, Entry.Size, Entry.Loc); in emitEntries()
36 Streamer.EmitDataRegion(MCDR_DataRegionEnd); in emitEntries()
80 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool() argument
83 Streamer.SwitchSection(Section); in emitConstantPool()
84 CP.emitEntries(Streamer); in emitConstantPool()
88 void AssemblerConstantPools::emitAll(MCStreamer &Streamer) { in emitAll() argument
[all …]
DMCDwarf.cpp1294 MCObjectStreamer &Streamer; member in __anon312ad2780111::FrameEmitterImpl
1297 FrameEmitterImpl(bool IsEH, MCObjectStreamer &Streamer) in FrameEmitterImpl() argument
1298 : IsEH(IsEH), Streamer(Streamer) {} in FrameEmitterImpl()
1313 static void emitEncodingByte(MCObjectStreamer &Streamer, unsigned Encoding) { in emitEncodingByte() argument
1314 Streamer.EmitIntValue(Encoding, 1); in emitEncodingByte()
1318 int dataAlignmentFactor = getDataAlignmentFactor(Streamer); in EmitCFIInstruction()
1319 auto *MRI = Streamer.getContext().getRegisterInfo(); in EmitCFIInstruction()
1329 Streamer.EmitIntValue(dwarf::DW_CFA_register, 1); in EmitCFIInstruction()
1330 Streamer.EmitULEB128IntValue(Reg1); in EmitCFIInstruction()
1331 Streamer.EmitULEB128IntValue(Reg2); in EmitCFIInstruction()
[all …]
DMCWin64EH.cpp48 static void EmitAbsDifference(MCStreamer &Streamer, const MCSymbol *LHS, in EmitAbsDifference() argument
50 MCContext &Context = Streamer.getContext(); in EmitAbsDifference()
54 Streamer.EmitValue(Diff, 1); in EmitAbsDifference()
219 void llvm::Win64EH::UnwindEmitter::Emit(MCStreamer &Streamer) const { in Emit()
221 for (const auto &CFI : Streamer.getWinFrameInfos()) { in Emit()
222 MCSection *XData = Streamer.getAssociatedXDataSection(CFI->TextSection); in Emit()
223 Streamer.SwitchSection(XData); in Emit()
224 ::EmitUnwindInfo(Streamer, CFI.get()); in Emit()
228 for (const auto &CFI : Streamer.getWinFrameInfos()) { in Emit()
229 MCSection *PData = Streamer.getAssociatedPDataSection(CFI->TextSection); in Emit()
[all …]
DMCAsmInfo.cpp81 MCStreamer &Streamer) const { in getExprForPersonalitySymbol()
82 return getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol()
88 MCStreamer &Streamer) const { in getExprForFDESymbol()
90 return MCSymbolRefExpr::create(Sym, Streamer.getContext()); in getExprForFDESymbol()
92 MCContext &Context = Streamer.getContext(); in getExprForFDESymbol()
95 Streamer.EmitLabel(PCSym); in getExprForFDESymbol()
/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() function
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() function
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/WebAssembly/MCTargetDesc/
DWebAssemblyTargetStreamer.cpp79 static void EncodeTypes(MCStreamer &Streamer, ArrayRef<MVT> Types) { in EncodeTypes() argument
80 Streamer.EmitIntValue(Types.size(), sizeof(uint64_t)); in EncodeTypes()
82 Streamer.EmitIntValue(Type.SimpleTy, sizeof(uint64_t)); in EncodeTypes()
86 Streamer.EmitIntValue(WebAssembly::DotParam, sizeof(uint64_t)); in emitParam()
87 EncodeTypes(Streamer, Types); in emitParam()
91 Streamer.EmitIntValue(WebAssembly::DotResult, sizeof(uint64_t)); in emitResult()
92 EncodeTypes(Streamer, Types); in emitResult()
96 Streamer.EmitIntValue(WebAssembly::DotLocal, sizeof(uint64_t)); in emitLocal()
97 EncodeTypes(Streamer, Types); in emitLocal()
101 Streamer.EmitIntValue(WebAssembly::DotEndFunc, sizeof(uint64_t)); in emitEndFunc()
/external/swiftshader/third_party/llvm-7.0/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()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCAsmInfo.cpp50 MCStreamer &Streamer) const { in getExprForPersonalitySymbol()
52 MCContext &Ctx = Streamer.getContext(); in getExprForPersonalitySymbol()
57 return MCAsmInfo::getExprForPersonalitySymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol()
63 MCStreamer &Streamer) const { in getExprForFDESymbol()
65 MCContext &Ctx = Streamer.getContext(); in getExprForFDESymbol()
69 return MCAsmInfo::getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForFDESymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DModuleSymbolTable.cpp103 RecordStreamer Streamer(MCCtx, M); in initializeRecordStreamer() local
104 T->createNullTargetStreamer(Streamer); in initializeRecordStreamer()
110 createMCAsmParser(SrcMgr, MCCtx, Streamer, *MAI)); in initializeRecordStreamer()
122 Init(Streamer); in initializeRecordStreamer()
128 initializeRecordStreamer(M, [&](RecordStreamer &Streamer) { in CollectAsmSymbols() argument
129 Streamer.flushSymverDirectives(); in CollectAsmSymbols()
131 for (auto &KV : Streamer) { in CollectAsmSymbols()
164 initializeRecordStreamer(M, [&](RecordStreamer &Streamer) { in CollectAsmSymvers() argument
165 for (auto &KV : Streamer.symverAliases()) in CollectAsmSymvers()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DConstantPools.h63 void emitEntries(MCStreamer &Streamer);
90 void emitAll(MCStreamer &Streamer);
91 void emitForCurrentSection(MCStreamer &Streamer);
92 void clearCacheForCurrentSection(MCStreamer &Streamer);
93 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp100 void TargetLoweringObjectFileELF::emitModuleMetadata(MCStreamer &Streamer, in emitModuleMetadata() argument
108 Streamer.SwitchSection(S); in emitModuleMetadata()
114 Streamer.EmitBytes(cast<MDString>(Option)->getString()); in emitModuleMetadata()
115 Streamer.EmitIntValue(0, 1); in emitModuleMetadata()
127 Streamer.SwitchSection(S); in emitModuleMetadata()
128 Streamer.EmitLabel(C.getOrCreateSymbol(StringRef("OBJC_IMAGE_INFO"))); in emitModuleMetadata()
129 Streamer.EmitIntValue(Version, 4); in emitModuleMetadata()
130 Streamer.EmitIntValue(Flags, 4); in emitModuleMetadata()
131 Streamer.AddBlankLine(); in emitModuleMetadata()
170 Streamer.emitCGProfileEntry( in emitModuleMetadata()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp35 MCStreamer &Streamer) const { in getTTypeGlobalReference()
45 Streamer.EmitLabel(PCSym); in getTTypeGlobalReference()
51 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
62 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel()
70 Streamer.EmitLabel(PCSym); in getIndirectSymViaGOTPCRel()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp34 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference()
44 Streamer.EmitLabel(PCSym); in getTTypeGlobalReference()
50 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference()
61 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel()
69 Streamer.EmitLabel(PCSym); in getIndirectSymViaGOTPCRel()
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp65 MCStreamer &Streamer, const DataLayout &DL, const MCSymbol *Sym) const { in emitPersonalityValue() argument
70 Streamer.EmitSymbolAttribute(Label, MCSA_Hidden); in emitPersonalityValue()
71 Streamer.EmitSymbolAttribute(Label, MCSA_Weak); in emitPersonalityValue()
76 Streamer.SwitchSection(Sec); in emitPersonalityValue()
77 Streamer.EmitValueToAlignment(DL.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/include/llvm/MC/
DConstantPools.h57 void emitEntries(MCStreamer &Streamer);
82 void emitAll(MCStreamer &Streamer);
83 void emitForCurrentSection(MCStreamer &Streamer);
84 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h48 void emitModuleMetadata(MCStreamer &Streamer, Module &M) const override;
50 void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &DL,
77 MCStreamer &Streamer) const override;
103 void emitModuleMetadata(MCStreamer &Streamer, Module &M) const override;
120 MCStreamer &Streamer) const override;
131 MCStreamer &Streamer) const override;
157 void emitModuleMetadata(MCStreamer &Streamer, Module &M) const override;
/external/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h47 void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &TM,
76 MCStreamer &Streamer) const override;
102 void emitModuleFlags(MCStreamer &Streamer,
123 MCStreamer &Streamer) const override;
134 MCStreamer &Streamer) const override;
164 void emitModuleFlags(MCStreamer &Streamer,
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64TargetStreamer.cpp31 return ConstantPools->addEntry(Streamer, Expr, Size, Loc); in addConstantPoolEntry()
35 ConstantPools->emitForCurrentSection(Streamer); in emitCurrentConstantPool()
39 void AArch64TargetStreamer::finish() { ConstantPools->emitAll(Streamer); } in finish()

123456789