• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/

Lines Matching defs:Symbol

140   const MCSymbolWasm *Symbol;        // The symbol to relocate with.
145 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol,
148 : Offset(Offset), Symbol(Symbol), Addend(Addend), Type(Type),
155 << ", Sym=" << *Symbol << ", Addend=" << Addend
359 uint32_t getFunctionType(const MCSymbolWasm &Symbol);
360 uint32_t getEventType(const MCSymbolWasm &Symbol);
361 void registerFunctionType(const MCSymbolWasm &Symbol);
362 void registerEventType(const MCSymbolWasm &Symbol);
551 !RelEntry.Symbol->isGlobal()) {
552 assert(GOTIndices.count(RelEntry.Symbol) > 0 && "symbol not found in GOT index space");
553 return GOTIndices[RelEntry.Symbol];
562 cast<MCSymbolWasm>(Layout.getBaseSymbol(*RelEntry.Symbol));
577 assert(WasmIndices.count(RelEntry.Symbol) > 0 && "symbol not found in wasm index space");
578 return WasmIndices[RelEntry.Symbol];
582 static_cast<const MCSectionWasm &>(RelEntry.Symbol->getSection());
595 cast<MCSymbolWasm>(Layout.getBaseSymbol(*RelEntry.Symbol));
650 if (!TypeIndices.count(RelEntry.Symbol))
652 RelEntry.Symbol->getName());
653 return TypeIndices[RelEntry.Symbol];
656 return RelEntry.Symbol->getIndex();
1107 uint32_t WasmObjectWriter::getFunctionType(const MCSymbolWasm &Symbol) {
1108 assert(Symbol.isFunction());
1109 assert(TypeIndices.count(&Symbol));
1110 return TypeIndices[&Symbol];
1113 uint32_t WasmObjectWriter::getEventType(const MCSymbolWasm &Symbol) {
1114 assert(Symbol.isEvent());
1115 assert(TypeIndices.count(&Symbol));
1116 return TypeIndices[&Symbol];
1119 void WasmObjectWriter::registerFunctionType(const MCSymbolWasm &Symbol) {
1120 assert(Symbol.isFunction());
1124 if (auto *Sig = Symbol.getSignature()) {
1132 TypeIndices[&Symbol] = Pair.first->second;
1134 LLVM_DEBUG(dbgs() << "registerFunctionType: " << Symbol
1139 void WasmObjectWriter::registerEventType(const MCSymbolWasm &Symbol) {
1140 assert(Symbol.isEvent());
1145 if (auto *Sig = Symbol.getSignature()) {
1153 TypeIndices[&Symbol] = Pair.first->second;
1155 LLVM_DEBUG(dbgs() << "registerEventType: " << Symbol << " new:" << Pair.second
1605 assert(Rel.Symbol->isFunction());
1607 cast<MCSymbolWasm>(Layout.getBaseSymbol(*Rel.Symbol));