Home
last modified time | relevance | path

Searched refs:Sym (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DJITLink.cpp101 raw_ostream &operator<<(raw_ostream &OS, const Symbol &Sym) { in operator <<() argument
103 if (Sym.getName().empty()) in operator <<()
106 OS << Sym.getName(); in operator <<()
108 switch (Sym.getLinkage()) { in operator <<()
116 switch (Sym.getScope()) { in operator <<()
127 OS << (Sym.isLive() ? '+' : '-') in operator <<()
128 << ", size = " << formatv("{0:x8}", Sym.getSize()) in operator <<()
129 << ", addr = " << formatv("{0:x16}", Sym.getAddress()) << " (" in operator <<()
130 << formatv("{0:x16}", Sym.getAddressable().getAddress()) << " + " in operator <<()
131 << formatv("{0:x8}", Sym.getOffset()); in operator <<()
[all …]
DJITLinkGeneric.cpp263 for (auto *Sym : G->external_symbols()) { in getExternalSymbolNames() local
264 assert(Sym->getAddress() == 0 && in getExternalSymbolNames()
266 assert(Sym->getName() != StringRef() && Sym->getName() != "" && in getExternalSymbolNames()
269 Sym->getLinkage() == Linkage::Weak in getExternalSymbolNames()
272 UnresolvedExternals[Sym->getName()] = LookupFlags; in getExternalSymbolNames()
278 for (auto *Sym : G->external_symbols()) { in applyLookupResult() local
279 assert(Sym->getOffset() == 0 && in applyLookupResult()
281 assert(Sym->getAddress() == 0 && "Symbol already resolved"); in applyLookupResult()
282 assert(!Sym->isDefined() && "Symbol being resolved is already defined"); in applyLookupResult()
283 auto ResultI = Result.find(Sym->getName()); in applyLookupResult()
[all …]
DMachOLinkGraphBuilder.h92 NormalizedSymbol *Sym = reinterpret_cast<NormalizedSymbol *>( in createNormalizedSymbol() local
94 new (Sym) NormalizedSymbol(std::forward<ArgTs>(Args)...); in createNormalizedSymbol()
95 return *Sym; in createNormalizedSymbol()
123 auto *Sym = IndexToSymbol[Index]; in findSymbolByIndex() local
124 if (!Sym) in findSymbolByIndex()
127 return *Sym; in findSymbolByIndex()
142 auto *Sym = getSymbolByAddress(Address); in findSymbolByAddress() local
143 if (Sym) in findSymbolByAddress()
144 if (Address < Sym->getAddress() + Sym->getSize()) in findSymbolByAddress()
145 return *Sym; in findSymbolByAddress()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyTargetStreamer.h38 virtual void emitFunctionType(const MCSymbolWasm *Sym) = 0;
42 virtual void emitGlobalType(const MCSymbolWasm *Sym) = 0;
44 virtual void emitEventType(const MCSymbolWasm *Sym) = 0;
46 virtual void emitImportModule(const MCSymbolWasm *Sym,
49 virtual void emitImportName(const MCSymbolWasm *Sym,
52 virtual void emitExportName(const MCSymbolWasm *Sym,
68 void emitFunctionType(const MCSymbolWasm *Sym) override;
70 void emitGlobalType(const MCSymbolWasm *Sym) override;
71 void emitEventType(const MCSymbolWasm *Sym) override;
72 void emitImportModule(const MCSymbolWasm *Sym, StringRef ImportModule) override;
[all …]
DWebAssemblyTargetStreamer.cpp63 void WebAssemblyTargetAsmStreamer::emitFunctionType(const MCSymbolWasm *Sym) { in emitFunctionType() argument
64 assert(Sym->isFunction()); in emitFunctionType()
65 OS << "\t.functype\t" << Sym->getName() << " "; in emitFunctionType()
66 OS << WebAssembly::signatureToString(Sym->getSignature()); in emitFunctionType()
70 void WebAssemblyTargetAsmStreamer::emitGlobalType(const MCSymbolWasm *Sym) { in emitGlobalType() argument
71 assert(Sym->isGlobal()); in emitGlobalType()
72 OS << "\t.globaltype\t" << Sym->getName() << ", " in emitGlobalType()
74 static_cast<wasm::ValType>(Sym->getGlobalType().Type)) in emitGlobalType()
78 void WebAssemblyTargetAsmStreamer::emitEventType(const MCSymbolWasm *Sym) { in emitEventType() argument
79 assert(Sym->isEvent()); in emitEventType()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DObjectLinkingLayer.cpp101 for (auto *Sym : G.defined_symbols()) in notifyResolved() local
102 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved()
103 auto InternedName = ES.intern(Sym->getName()); in notifyResolved()
106 if (Sym->isCallable()) in notifyResolved()
108 if (Sym->getScope() == Scope::Default) in notifyResolved()
112 JITEvaluatedSymbol(Sym->getAddress(), Flags); in notifyResolved()
120 for (auto *Sym : G.absolute_symbols()) in notifyResolved() local
121 if (Sym->hasName()) { in notifyResolved()
122 auto InternedName = ES.intern(Sym->getName()); in notifyResolved()
125 if (Sym->isCallable()) in notifyResolved()
[all …]
DOrcCBindingsStack.h136 if (auto Sym = findSymbol(*S)) { in getResponsibilitySet() local
137 if (!Sym.getFlags().isStrong()) in getResponsibilitySet()
139 } else if (auto Err = Sym.takeError()) { in getResponsibilitySet()
154 if (auto Sym = findSymbol(*S)) { in lookup() local
155 if (auto Addr = Sym.getAddress()) { in lookup()
157 S, JITEvaluatedSymbol(*Addr, Sym.getFlags())); in lookup()
162 } else if (auto Err = Sym.takeError()) { in lookup()
183 if (auto Sym = Stack.CODLayer->findSymbol(Name, true)) in findSymbol() local
184 return Sym; in findSymbol()
185 else if (auto Err = Sym.takeError()) in findSymbol()
[all …]
DOrcMCJITReplacement.h150 if (auto Sym = M.findMangledSymbol(*S)) { in getResponsibilitySet() local
151 if (!Sym.getFlags().isStrong()) in getResponsibilitySet()
153 } else if (auto Err = Sym.takeError()) { in getResponsibilitySet()
177 if (auto Sym = M.findMangledSymbol(*S)) { in lookup() local
178 if (auto Addr = Sym.getAddress()) { in lookup()
180 S, JITEvaluatedSymbol(*Addr, Sym.getFlags())); in lookup()
186 } else if (auto Err = Sym.takeError()) { in lookup()
381 if (auto Sym = LazyEmitLayer.findSymbol(Name, false)) in findMangledSymbol() local
382 return Sym; in findMangledSymbol()
383 if (auto Sym = ClientResolver->findSymbol(Name)) in findMangledSymbol() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/
DJITLink.h321 auto *Sym = reinterpret_cast<Symbol *>(SymStorage); in constructCommon() local
322 new (Sym) Symbol(Base, 0, Name, Size, Linkage::Weak, S, IsLive, false); in constructCommon()
323 return *Sym; in constructCommon()
333 auto *Sym = reinterpret_cast<Symbol *>(SymStorage); in constructExternal() local
334 new (Sym) Symbol(Base, 0, Name, Size, L, Scope::Default, false, false); in constructExternal()
335 return *Sym; in constructExternal()
344 auto *Sym = reinterpret_cast<Symbol *>(SymStorage); in constructAbsolute() local
345 new (Sym) Symbol(Base, 0, Name, Size, L, S, IsLive, false); in constructAbsolute()
346 return *Sym; in constructAbsolute()
355 auto *Sym = reinterpret_cast<Symbol *>(SymStorage); in constructAnonDef() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineModuleInfoImpls.h43 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry() argument
44 assert(Sym && "Key cannot be null"); in getGVStubEntry()
45 return GVStubs[Sym]; in getGVStubEntry()
48 StubValueTy &getThreadLocalGVStubEntry(MCSymbol *Sym) { in getThreadLocalGVStubEntry() argument
49 assert(Sym && "Key cannot be null"); in getThreadLocalGVStubEntry()
50 return ThreadLocalGVStubs[Sym]; in getThreadLocalGVStubEntry()
72 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry() argument
73 assert(Sym && "Key cannot be null"); in getGVStubEntry()
74 return GVStubs[Sym]; in getGVStubEntry()
94 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DSymbolRecordHelpers.cpp23 uint32_t llvm::codeview::getScopeEndOffset(const CVSymbol &Sym) { in getScopeEndOffset() argument
24 assert(symbolOpensScope(Sym.kind())); in getScopeEndOffset()
25 switch (Sym.kind()) { in getScopeEndOffset()
32 ProcSym Proc = createRecord<ProcSym>(Sym); in getScopeEndOffset()
36 BlockSym Block = createRecord<BlockSym>(Sym); in getScopeEndOffset()
40 Thunk32Sym Thunk = createRecord<Thunk32Sym>(Sym); in getScopeEndOffset()
44 InlineSiteSym Site = createRecord<InlineSiteSym>(Sym); in getScopeEndOffset()
54 llvm::codeview::getScopeParentOffset(const llvm::codeview::CVSymbol &Sym) { in getScopeParentOffset() argument
55 assert(symbolOpensScope(Sym.kind())); in getScopeParentOffset()
56 switch (Sym.kind()) { in getScopeParentOffset()
[all …]
/third_party/skia/third_party/externals/tint/src/resolver/
Ddependency_graph_test.cc481 b.Global(b.Sym(), node, ast::StorageClass::kPrivate); in Add()
486 b.Global(b.Sym(), b.ty.array(node, 4), ast::StorageClass::kPrivate); in Add()
491 b.Global(b.Sym(), b.ty.array(b.ty.i32(), node), in Add()
497 b.Global(b.Sym(), b.ty.vec3(node), ast::StorageClass::kPrivate); in Add()
502 b.Global(b.Sym(), b.ty.mat3x4(node), ast::StorageClass::kPrivate); in Add()
507 b.Global(b.Sym(), b.ty.sampled_texture(ast::TextureDimension::k2d, node)); in Add()
512 b.Global(b.Sym(), in Add()
518 b.Global(b.Sym(), b.ty.i32(), ast::StorageClass::kPrivate, node); in Add()
523 b.GlobalConst(b.Sym(), node, b.Expr(1)); in Add()
528 b.GlobalConst(b.Sym(), b.ty.array(node, 4), b.Expr(1)); in Add()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DTapiFile.cpp28 static uint32_t getFlags(const Symbol *Sym) { in getFlags() argument
30 if (Sym->isUndefined()) in getFlags()
35 if (Sym->isWeakDefined() || Sym->isWeakReferenced()) in getFlags()
79 const auto *Sym = reinterpret_cast<const Symbol *>(DRI.p); in moveSymbolNext() local
80 DRI.p = reinterpret_cast<uintptr_t>(++Sym); in moveSymbolNext()
84 const auto *Sym = reinterpret_cast<const Symbol *>(DRI.p); in printSymbolName() local
85 OS << Sym->Prefix << Sym->Name; in printSymbolName()
90 const auto *Sym = reinterpret_cast<const Symbol *>(DRI.p); in getSymbolFlags() local
91 return Sym->Flags; in getSymbolFlags()
DIRSymtab.cpp112 ModuleSymbolTable::Symbol Sym);
199 storage::Symbol &Sym = Syms.back(); in addSymbol() local
200 Sym = {}; in addSymbol()
206 Sym.Flags |= 1 << storage::Symbol::FB_has_uncommon; in addSymbol()
220 setStr(Sym.Name, Saver.save(StringRef(Name))); in addSymbol()
224 Sym.Flags |= 1 << storage::Symbol::FB_undefined; in addSymbol()
226 Sym.Flags |= 1 << storage::Symbol::FB_weak; in addSymbol()
228 Sym.Flags |= 1 << storage::Symbol::FB_common; in addSymbol()
230 Sym.Flags |= 1 << storage::Symbol::FB_indirect; in addSymbol()
232 Sym.Flags |= 1 << storage::Symbol::FB_global; in addSymbol()
[all …]
DSymbolSize.cpp33 static unsigned getSymbolSectionID(const ObjectFile &O, SymbolRef Sym) { in getSymbolSectionID() argument
35 return M->getSymbolSectionID(Sym); in getSymbolSectionID()
36 return cast<COFFObjectFile>(O).getSymbolSectionID(Sym); in getSymbolSectionID()
47 for (ELFSymbolRef Sym : Syms) in computeSymbolSizes() local
48 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes()
57 SymbolRef Sym = *I; in computeSymbolSizes() local
58 uint64_t Value = Sym.getValue(); in computeSymbolSizes()
59 Addresses.push_back({I, Value, SymNum, getSymbolSectionID(O, Sym)}); in computeSymbolSizes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp75 if (auto Sym = findSymbolInLogicalDylib(SymName)) { in lookup() local
76 if (auto AddrOrErr = Sym.getAddress()) in lookup()
77 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
82 } else if (auto Err = Sym.takeError()) { in lookup()
87 if (auto Sym = findSymbol(SymName)) { in lookup() local
88 if (auto AddrOrErr = Sym.getAddress()) in lookup()
89 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
94 } else if (auto Err = Sym.takeError()) { in lookup()
116 if (auto Sym = findSymbolInLogicalDylib(SymName)) { in getResponsibilitySet() local
119 if (!Sym.getFlags().isStrong()) in getResponsibilitySet()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DGSIStreamBuilder.cpp89 for (const auto &Sym : Records) in calculateRecordByteSize() local
90 Size += Sym.length(); in calculateRecordByteSize()
137 for (const CVSymbol &Sym : Records) { in finalizeBuckets() local
144 StringRef Name = getSymbolName(Sym); in finalizeBuckets()
147 SymOffset += Sym.length(); in finalizeBuckets()
257 for (const CVSymbol &Sym : Records) { in computeAddrMap() local
258 assert(Sym.kind() == SymbolKind::S_PUB32); in computeAddrMap()
260 cantFail(SymbolDeserializer::deserializeAs<PublicSym32>(Sym))); in computeAddrMap()
261 PublicsByAddr.emplace_back(&Sym, &DeserializedPublics.back()); in computeAddrMap()
263 SymOffset += Sym.length(); in computeAddrMap()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyAsmPrinter.cpp91 auto Sym = cast<MCSymbolWasm>(It.getValue()); in EmitEndOfAsmFile() local
92 if (Sym->getType() == wasm::WASM_SYMBOL_TYPE_GLOBAL) in EmitEndOfAsmFile()
93 getTargetStreamer()->emitGlobalType(Sym); in EmitEndOfAsmFile()
94 else if (Sym->getType() == wasm::WASM_SYMBOL_TYPE_EVENT) in EmitEndOfAsmFile()
95 getTargetStreamer()->emitEventType(Sym); in EmitEndOfAsmFile()
107 auto *Sym = cast<MCSymbolWasm>(getSymbol(&F)); in EmitEndOfAsmFile() local
108 Sym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in EmitEndOfAsmFile()
109 if (!Sym->getSignature()) { in EmitEndOfAsmFile()
111 Sym->setSignature(Signature.get()); in EmitEndOfAsmFile()
119 getTargetStreamer()->emitFunctionType(Sym); in EmitEndOfAsmFile()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCContext.cpp136 MCSymbol *&Sym = Symbols[NameRef]; in getOrCreateSymbol() local
137 if (!Sym) in getOrCreateSymbol()
138 Sym = createSymbol(NameRef, false, false); in getOrCreateSymbol()
140 return Sym; in getOrCreateSymbol()
246 MCSymbol *&Sym = LocalSymbols[std::make_pair(LocalLabelVal, Instance)]; in getOrCreateDirectionalLocalSymbol() local
247 if (!Sym) in getOrCreateDirectionalLocalSymbol()
248 Sym = createTempSymbol(false); in getOrCreateDirectionalLocalSymbol()
249 return Sym; in getOrCreateDirectionalLocalSymbol()
272 StringRef Sym, in setSymbolValue() argument
274 auto Symbol = getOrCreateSymbol(Sym); in setSymbolValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCAsmInfo.cpp50 SparcELFMCAsmInfo::getExprForPersonalitySymbol(const MCSymbol *Sym, in getExprForPersonalitySymbol() argument
56 MCSymbolRefExpr::create(Sym, Ctx), Ctx); in getExprForPersonalitySymbol()
59 return MCAsmInfo::getExprForPersonalitySymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol()
63 SparcELFMCAsmInfo::getExprForFDESymbol(const MCSymbol *Sym, in getExprForFDESymbol() argument
69 MCSymbolRefExpr::create(Sym, Ctx), Ctx); in getExprForFDESymbol()
71 return MCAsmInfo::getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForFDESymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOModule.cpp339 void LTOModule::addDefinedDataSymbol(ModuleSymbolTable::Symbol Sym) { in addDefinedDataSymbol() argument
343 SymTab.printSymbolName(OS, Sym); in addDefinedDataSymbol()
347 const GlobalValue *V = Sym.get<GlobalValue *>(); in addDefinedDataSymbol()
397 void LTOModule::addDefinedFunctionSymbol(ModuleSymbolTable::Symbol Sym) { in addDefinedFunctionSymbol() argument
401 SymTab.printSymbolName(OS, Sym); in addDefinedFunctionSymbol()
405 const Function *F = cast<Function>(Sym.get<GlobalValue *>()); in addDefinedFunctionSymbol()
536 void LTOModule::addPotentialUndefinedSymbol(ModuleSymbolTable::Symbol Sym, in addPotentialUndefinedSymbol() argument
541 SymTab.printSymbolName(OS, Sym); in addPotentialUndefinedSymbol()
555 const GlobalValue *decl = Sym.dyn_cast<GlobalValue *>(); in addPotentialUndefinedSymbol()
567 for (auto Sym : SymTab.symbols()) { in parseSymbols() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp32 const MCSymbol *Sym = TM.getSymbol(GV); in getTTypeGlobalReference() local
34 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getTTypeGlobalReference()
50 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel() argument
57 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getIndirectSymViaGOTPCRel()
63 const MCSymbol *Sym) const { in getDebugThreadLocalSymbol()
64 return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext()); in getDebugThreadLocalSymbol()
/third_party/skia/third_party/externals/tint/src/ast/
Dstruct_test.cc38 auto name = Sym("s"); in TEST_F()
51 auto name = Sym("s"); in TEST_F()
68 auto name = Sym("s"); in TEST_F()
87 b.create<Struct>(b.Sym("S"), in TEST_F()
98 b.create<Struct>(b.Sym("S"), in TEST_F()
110 b1.create<Struct>(b1.Sym("S"), in TEST_F()
122 b1.create<Struct>(b1.Sym("S"), in TEST_F()
/third_party/typescript/tests/baselines/reference/
DnativeToBoxedTypes.types47 var Sym: Symbol;
48 >Sym : Symbol
50 sym = Sym;
51 >sym = Sym : Symbol
53 >Sym : Symbol
DnativeToBoxedTypes.symbols38 var Sym: Symbol;
39 >Sym : Symbol(Sym, Decl(nativeToBoxedTypes.ts, 13, 3))
42 sym = Sym;
44 >Sym : Symbol(Sym, Decl(nativeToBoxedTypes.ts, 13, 3))

12345678910>>...13