/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsOptionRecord.cpp | 18 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/ |
D | MipsOptionRecord.cpp | 24 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/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | ConstantPools.cpp | 27 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 …]
|
D | MCDwarf.cpp | 1294 MCObjectStreamer &Streamer; member in __anon81c308f60111::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 …]
|
D | MCWin64EH.cpp | 48 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 …]
|
D | MCAsmInfo.cpp | 81 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/llvm/lib/MC/ |
D | ConstantPools.cpp | 24 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 …]
|
D | MCDwarf.cpp | 1009 MCObjectStreamer &Streamer; member in __anon6fd13f9e0111::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 …]
|
D | MCWin64EH.cpp | 50 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 …]
|
D | MCAsmInfo.cpp | 125 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/lib/MC/ |
D | MCDwarf.cpp | 530 void EmitCFIInstruction(MCStreamer &Streamer, 536 static void EmitEncodingByte(MCStreamer &Streamer, unsigned Encoding, in EmitEncodingByte() argument 538 if (Streamer.isVerboseAsm()) { in EmitEncodingByte() 563 Streamer.AddComment(Twine(Prefix) + " = " + EncStr); in EmitEncodingByte() 566 Streamer.EmitIntValue(Encoding, 1); in EmitEncodingByte() 569 void FrameEmitterImpl::EmitCFIInstruction(MCStreamer &Streamer, in EmitCFIInstruction() argument 571 int dataAlignmentFactor = getDataAlignmentFactor(Streamer); in EmitCFIInstruction() 572 bool VerboseAsm = Streamer.isVerboseAsm(); in EmitCFIInstruction() 584 if (VerboseAsm) Streamer.AddComment("DW_CFA_def_cfa_offset"); in EmitCFIInstruction() 585 Streamer.EmitIntValue(dwarf::DW_CFA_def_cfa_offset, 1); in EmitCFIInstruction() [all …]
|
D | MCAsmInfo.cpp | 130 MCStreamer &Streamer) const { in getExprForPersonalitySymbol() 131 return getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol() 137 MCStreamer &Streamer) const { in getExprForFDESymbol() 139 return MCSymbolRefExpr::Create(Sym, Streamer.getContext()); in getExprForFDESymbol() 141 MCContext &Context = Streamer.getContext(); in getExprForFDESymbol() 144 Streamer.EmitLabel(PCSym); in getExprForFDESymbol()
|
/external/clang/test/SemaTemplate/ |
D | inject-templated-friend-post.cpp | 23 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 …]
|
D | inject-templated-friend.cpp | 15 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/WebAssembly/MCTargetDesc/ |
D | WebAssemblyTargetStreamer.cpp | 79 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/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCAsmInfo.cpp | 50 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/Target/Sparc/MCTargetDesc/ |
D | SparcMCAsmInfo.cpp | 53 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 100 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/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | ModuleSymbolTable.cpp | 103 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/ |
D | ConstantPools.h | 63 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/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 65 void TargetLoweringObjectFileELF::emitPersonalityValue(MCStreamer &Streamer, in emitPersonalityValue() argument 71 Streamer.EmitSymbolAttribute(Label, MCSA_Hidden); in emitPersonalityValue() 72 Streamer.EmitSymbolAttribute(Label, MCSA_Weak); in emitPersonalityValue() 81 Streamer.SwitchSection(Sec); in emitPersonalityValue() 82 Streamer.EmitValueToAlignment(8); in emitPersonalityValue() 83 Streamer.EmitSymbolAttribute(Label, MCSA_ELF_TypeObject); in emitPersonalityValue() 85 Streamer.EmitELFSize(Label, E); in emitPersonalityValue() 86 Streamer.EmitLabel(Label); in emitPersonalityValue() 89 Streamer.EmitSymbolValue(Sym, Size); in emitPersonalityValue() 319 unsigned Encoding, MCStreamer &Streamer) const { in getExprForDwarfGlobalReference() [all …]
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 65 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/lib/Target/AArch64/ |
D | AArch64TargetObjectFile.cpp | 35 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/ |
D | AArch64TargetObjectFile.cpp | 34 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/include/llvm/MC/ |
D | ConstantPools.h | 57 void emitEntries(MCStreamer &Streamer); 82 void emitAll(MCStreamer &Streamer); 83 void emitForCurrentSection(MCStreamer &Streamer); 84 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,
|