Home
last modified time | relevance | path

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

12345678910>>...14

/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-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsOptionRecord.cpp23 MCAssembler &MCA = Streamer->getAssembler(); in EmitMipsOptionRecord()
25 static_cast<MipsTargetStreamer *>(Streamer->getTargetStreamer()); in EmitMipsOptionRecord()
27 Streamer->PushSection(); in EmitMipsOptionRecord()
41 Streamer->SwitchSection(Sec); in EmitMipsOptionRecord()
43 Streamer->EmitIntValue(ELF::ODK_REGINFO, 1); // kind in EmitMipsOptionRecord()
44 Streamer->EmitIntValue(40, 1); // size in EmitMipsOptionRecord()
45 Streamer->EmitIntValue(0, 2); // section in EmitMipsOptionRecord()
46 Streamer->EmitIntValue(0, 4); // info in EmitMipsOptionRecord()
47 Streamer->EmitIntValue(ri_gprmask, 4); in EmitMipsOptionRecord()
48 Streamer->EmitIntValue(0, 4); // pad in EmitMipsOptionRecord()
[all …]
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsOptionRecord.cpp23 MCAssembler &MCA = Streamer->getAssembler(); in EmitMipsOptionRecord()
25 static_cast<MipsTargetStreamer *>(Streamer->getTargetStreamer()); in EmitMipsOptionRecord()
27 Streamer->PushSection(); in EmitMipsOptionRecord()
41 Streamer->SwitchSection(Sec); in EmitMipsOptionRecord()
43 Streamer->emitInt8(ELF::ODK_REGINFO); // kind in EmitMipsOptionRecord()
44 Streamer->emitInt8(40); // size in EmitMipsOptionRecord()
45 Streamer->emitInt16(0); // section in EmitMipsOptionRecord()
46 Streamer->emitInt32(0); // info in EmitMipsOptionRecord()
47 Streamer->emitInt32(ri_gprmask); in EmitMipsOptionRecord()
48 Streamer->emitInt32(0); // pad in EmitMipsOptionRecord()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/MCTargetDesc/
DMSP430ELFStreamer.cpp43 Streamer.SwitchSection(AttributeSection); in MSP430TargetELFStreamer()
46 Streamer.EmitIntValue(0x41, 1); in MSP430TargetELFStreamer()
48 Streamer.EmitIntValue(22, 4); in MSP430TargetELFStreamer()
50 Streamer.EmitBytes("mspabi"); in MSP430TargetELFStreamer()
51 Streamer.EmitIntValue(0, 1); in MSP430TargetELFStreamer()
54 Streamer.EmitIntValue(1, 1); in MSP430TargetELFStreamer()
56 Streamer.EmitIntValue(11, 4); in MSP430TargetELFStreamer()
58 Streamer.EmitIntValue(4, 1); in MSP430TargetELFStreamer()
59 Streamer.EmitIntValue(1, 1); in MSP430TargetELFStreamer()
61 Streamer.EmitIntValue(6, 1); in MSP430TargetELFStreamer()
[all …]
/external/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/
DMSP430ELFStreamer.cpp43 Streamer.SwitchSection(AttributeSection); in MSP430TargetELFStreamer()
46 Streamer.emitInt8(0x41); in MSP430TargetELFStreamer()
48 Streamer.emitInt32(22); in MSP430TargetELFStreamer()
50 Streamer.emitBytes("mspabi"); in MSP430TargetELFStreamer()
51 Streamer.emitInt8(0); in MSP430TargetELFStreamer()
54 Streamer.emitInt8(1); in MSP430TargetELFStreamer()
56 Streamer.emitInt32(11); in MSP430TargetELFStreamer()
58 Streamer.emitInt8(4); in MSP430TargetELFStreamer()
59 Streamer.emitInt8(1); in MSP430TargetELFStreamer()
61 Streamer.emitInt8(6); in MSP430TargetELFStreamer()
[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 __anon7d85553c0111::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 …]
/external/llvm-project/llvm/lib/MC/
DConstantPools.cpp26 void ConstantPool::emitEntries(MCStreamer &Streamer) { in emitEntries() argument
29 Streamer.emitDataRegion(MCDR_DataRegion); in emitEntries()
31 Streamer.emitCodeAlignment(Entry.Size); // align naturally in emitEntries()
32 Streamer.emitLabel(Entry.Label); in emitEntries()
33 Streamer.emitValue(Entry.Value, Entry.Size, Entry.Loc); in emitEntries()
35 Streamer.emitDataRegion(MCDR_DataRegionEnd); in emitEntries()
79 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool() argument
82 Streamer.SwitchSection(Section); in emitConstantPool()
83 CP.emitEntries(Streamer); in emitConstantPool()
87 void AssemblerConstantPools::emitAll(MCStreamer &Streamer) { in emitAll() argument
[all …]
DMCDwarf.cpp1353 MCObjectStreamer &Streamer; member in __anon19791e2a0111::FrameEmitterImpl
1356 FrameEmitterImpl(bool IsEH, MCObjectStreamer &Streamer) in FrameEmitterImpl() argument
1357 : IsEH(IsEH), Streamer(Streamer) {} in FrameEmitterImpl()
1372 static void emitEncodingByte(MCObjectStreamer &Streamer, unsigned Encoding) { in emitEncodingByte() argument
1373 Streamer.emitInt8(Encoding); in emitEncodingByte()
1377 int dataAlignmentFactor = getDataAlignmentFactor(Streamer); in emitCFIInstruction()
1378 auto *MRI = Streamer.getContext().getRegisterInfo(); in emitCFIInstruction()
1388 Streamer.emitInt8(dwarf::DW_CFA_register); in emitCFIInstruction()
1389 Streamer.emitULEB128IntValue(Reg1); in emitCFIInstruction()
1390 Streamer.emitULEB128IntValue(Reg2); in emitCFIInstruction()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DConstantPools.cpp26 void ConstantPool::emitEntries(MCStreamer &Streamer) { in emitEntries() argument
29 Streamer.EmitDataRegion(MCDR_DataRegion); in emitEntries()
31 Streamer.EmitCodeAlignment(Entry.Size); // align naturally in emitEntries()
32 Streamer.EmitLabel(Entry.Label); in emitEntries()
33 Streamer.EmitValue(Entry.Value, Entry.Size, Entry.Loc); in emitEntries()
35 Streamer.EmitDataRegion(MCDR_DataRegionEnd); in emitEntries()
79 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool() argument
82 Streamer.SwitchSection(Section); in emitConstantPool()
83 CP.emitEntries(Streamer); in emitConstantPool()
87 void AssemblerConstantPools::emitAll(MCStreamer &Streamer) { in emitAll() argument
[all …]
DMCDwarf.cpp1306 MCObjectStreamer &Streamer; member in __anond77d329e0111::FrameEmitterImpl
1309 FrameEmitterImpl(bool IsEH, MCObjectStreamer &Streamer) in FrameEmitterImpl() argument
1310 : IsEH(IsEH), Streamer(Streamer) {} in FrameEmitterImpl()
1325 static void emitEncodingByte(MCObjectStreamer &Streamer, unsigned Encoding) { in emitEncodingByte() argument
1326 Streamer.EmitIntValue(Encoding, 1); in emitEncodingByte()
1330 int dataAlignmentFactor = getDataAlignmentFactor(Streamer); in EmitCFIInstruction()
1331 auto *MRI = Streamer.getContext().getRegisterInfo(); in EmitCFIInstruction()
1341 Streamer.EmitIntValue(dwarf::DW_CFA_register, 1); in EmitCFIInstruction()
1342 Streamer.EmitULEB128IntValue(Reg1); in EmitCFIInstruction()
1343 Streamer.EmitULEB128IntValue(Reg2); in EmitCFIInstruction()
[all …]
DMCWin64EH.cpp52 static void EmitAbsDifference(MCStreamer &Streamer, const MCSymbol *LHS, in EmitAbsDifference() argument
54 MCContext &Context = Streamer.getContext(); in EmitAbsDifference()
58 Streamer.EmitValue(Diff, 1); in EmitAbsDifference()
225 void llvm::Win64EH::UnwindEmitter::Emit(MCStreamer &Streamer) const { in Emit()
227 for (const auto &CFI : Streamer.getWinFrameInfos()) { in Emit()
228 MCSection *XData = Streamer.getAssociatedXDataSection(CFI->TextSection); in Emit()
229 Streamer.SwitchSection(XData); in Emit()
230 ::EmitUnwindInfo(Streamer, CFI.get()); in Emit()
234 for (const auto &CFI : Streamer.getWinFrameInfos()) { in Emit()
235 MCSection *PData = Streamer.getAssociatedPDataSection(CFI->TextSection); in Emit()
[all …]
/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-project/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-project/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVELFStreamer.cpp64 return static_cast<MCELFStreamer &>(Streamer); in getStreamer()
97 Streamer.SwitchSection(AttributeSection); in finishAttributeSection()
102 Streamer.SwitchSection(AttributeSection); in finishAttributeSection()
104 Streamer.emitInt8(ELFAttrs::Format_Version); in finishAttributeSection()
115 Streamer.emitInt32(VendorHeaderSize + TagHeaderSize + ContentsSize); in finishAttributeSection()
116 Streamer.emitBytes(CurrentVendor); in finishAttributeSection()
117 Streamer.emitInt8(0); // '\0' in finishAttributeSection()
119 Streamer.emitInt8(ELFAttrs::File); in finishAttributeSection()
120 Streamer.emitInt32(TagHeaderSize + ContentsSize); in finishAttributeSection()
125 Streamer.emitULEB128IntValue(item.Tag); in finishAttributeSection()
[all …]
/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/llvm-project/llvm/lib/DebugInfo/CodeView/
DCodeViewRecordIO.cpp49 Streamer->emitBytes(BytesSR); in endRecord()
104 Streamer->emitBinaryData(toStringRef(Bytes)); in mapByteVectorTail()
129 std::string TypeNameStr = Streamer->getTypeName(TypeInd); in mapInteger()
134 Streamer->emitIntValue(TypeInd.getIndex(), sizeof(TypeInd.getIndex())); in mapInteger()
208 Streamer->emitBytes(NullTerminatedString); in mapStringZ()
229 Streamer->emitBytes(GuidSR); in mapGuid()
277 Streamer->emitIntValue(LF_CHAR, 2); in emitEncodedSignedInteger()
279 Streamer->emitIntValue(Value, 1); in emitEncodedSignedInteger()
282 Streamer->emitIntValue(LF_SHORT, 2); in emitEncodedSignedInteger()
284 Streamer->emitIntValue(Value, 2); in emitEncodedSignedInteger()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DCodeViewRecordIO.cpp49 Streamer->EmitBytes(BytesSR); in endRecord()
104 Streamer->EmitBinaryData(toStringRef(Bytes)); in mapByteVectorTail()
129 std::string TypeNameStr = Streamer->getTypeName(TypeInd); in mapInteger()
134 Streamer->EmitIntValue(TypeInd.getIndex(), sizeof(TypeInd.getIndex())); in mapInteger()
208 Streamer->EmitBytes(NullTerminatedString); in mapStringZ()
229 Streamer->EmitBytes(GuidSR); in mapGuid()
278 Streamer->EmitIntValue(LF_CHAR, 2); in emitEncodedSignedInteger()
280 Streamer->EmitIntValue(Value, 1); in emitEncodedSignedInteger()
283 Streamer->EmitIntValue(LF_SHORT, 2); in emitEncodedSignedInteger()
285 Streamer->EmitIntValue(Value, 2); in emitEncodedSignedInteger()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewRecordIO.h60 explicit CodeViewRecordIO(CodeViewRecordStreamer &Streamer) in CodeViewRecordIO() argument
61 : Streamer(&Streamer) {} in CodeViewRecordIO()
69 return (Streamer != nullptr) && (Reader == nullptr) && (Writer == nullptr); in isStreaming()
72 return (Reader != nullptr) && (Streamer == nullptr) && (Writer == nullptr); in isReading()
75 return (Writer != nullptr) && (Streamer == nullptr) && (Reader == nullptr); in isWriting()
84 Streamer->EmitBytes(BytesSR); in mapObject()
102 Streamer->EmitIntValue((int)Value, sizeof(T));
148 Streamer->EmitIntValue(Size, sizeof(Size));
213 if (isStreaming() && Streamer->isVerboseAsm()) in emitRawComment()
214 Streamer->AddRawComment(T); in emitRawComment()
[all …]
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewRecordIO.h61 explicit CodeViewRecordIO(CodeViewRecordStreamer &Streamer) in CodeViewRecordIO() argument
62 : Streamer(&Streamer) {} in CodeViewRecordIO()
70 return (Streamer != nullptr) && (Reader == nullptr) && (Writer == nullptr); in isStreaming()
73 return (Reader != nullptr) && (Streamer == nullptr) && (Writer == nullptr); in isReading()
76 return (Writer != nullptr) && (Streamer == nullptr) && (Reader == nullptr); in isWriting()
85 Streamer->emitBytes(BytesSR); in mapObject()
103 Streamer->emitIntValue((int)Value, sizeof(T));
149 Streamer->emitIntValue(Size, sizeof(Size));
214 if (isStreaming() && Streamer->isVerboseAsm()) in emitRawComment()
215 Streamer->AddRawComment(T); in emitRawComment()
[all …]
/external/llvm-project/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-10.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCAsmInfo.cpp52 MCStreamer &Streamer) const { in getExprForPersonalitySymbol()
54 MCContext &Ctx = Streamer.getContext(); in getExprForPersonalitySymbol()
59 return MCAsmInfo::getExprForPersonalitySymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol()
65 MCStreamer &Streamer) const { in getExprForFDESymbol()
67 MCContext &Ctx = Streamer.getContext(); in getExprForFDESymbol()
71 return MCAsmInfo::getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForFDESymbol()

12345678910>>...14