Home
last modified time | relevance | path

Searched refs:DefinedFunction (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/lld/wasm/
DSymbols.cpp68 DefinedFunction *WasmSym::callCtors;
69 DefinedFunction *WasmSym::callDtors;
70 DefinedFunction *WasmSym::initMemory;
71 DefinedFunction *WasmSym::applyRelocs;
72 DefinedFunction *WasmSym::initTLS;
110 if (auto *f = dyn_cast<DefinedFunction>(this)) in getChunk()
211 if (auto *f = dyn_cast<DefinedFunction>(this)) in getFunctionIndex()
229 if (auto *f = dyn_cast<DefinedFunction>(this)) in hasFunctionIndex()
235 if (auto *f = dyn_cast<DefinedFunction>(this)) in getTableIndex()
242 if (auto *f = dyn_cast<DefinedFunction>(this)) in hasTableIndex()
[all …]
DSymbols.h199 class DefinedFunction : public FunctionSymbol {
201 DefinedFunction(StringRef name, uint32_t flags, InputFile *f,
228 DefinedFunction *stubFunction = nullptr;
477 static DefinedFunction *initMemory;
481 static DefinedFunction *callCtors;
485 static DefinedFunction *callDtors;
489 static DefinedFunction *applyRelocs;
493 static DefinedFunction *initTLS;
514 alignas(DefinedFunction) char a[sizeof(DefinedFunction)];
DSymbolTable.h84 DefinedFunction *addSyntheticFunction(StringRef name, uint32_t flags,
92 DefinedFunction *createUndefinedStub(const WasmSignature &sig);
119 llvm::DenseMap<WasmSignature, DefinedFunction *> stubFunctions;
DSymbolTable.cpp199 DefinedFunction *SymbolTable::addSyntheticFunction(StringRef name, in addSyntheticFunction()
205 return replaceSymbol<DefinedFunction>(insertName(name).first, name, in addSyntheticFunction()
298 auto* newSym = replaceSymbol<DefinedFunction>(sym, name, flags, file, function); in addDefinedFunction()
674 replaceSymbol<DefinedFunction>(sym, debugName, WASM_SYMBOL_BINDING_LOCAL, in replaceWithUnreachable()
711 DefinedFunction *SymbolTable::createUndefinedStub(const WasmSignature &sig) { in createUndefinedStub()
715 auto *sym = reinterpret_cast<DefinedFunction *>(make<SymbolUnion>()); in createUndefinedStub()
721 replaceSymbol<DefinedFunction>( in createUndefinedStub()
761 DefinedFunction *defined = nullptr; in handleSymbolVariants()
763 if (auto f = dyn_cast<DefinedFunction>(symbol)) { in handleSymbolVariants()
DWriter.cpp66 void createCommandExportWrapper(uint32_t functionIndex, DefinedFunction *f);
612 if (auto *f = dyn_cast<DefinedFunction>(sym)) { in calculateExports()
698 std::vector<DefinedFunction *> toWrap; in createCommandExportWrappers()
702 if (auto *f = dyn_cast<DefinedFunction>(sym)) in createCommandExportWrappers()
716 DefinedFunction *def = in createCommandExportWrappers()
845 static void createFunction(DefinedFunction *func, StringRef bodyContent) { in createFunction()
1093 DefinedFunction *f) { in createCommandExportWrapper()
1118 if (DefinedFunction *callDtors = WasmSym::callDtors) { in createCommandExportWrapper()
DMapFile.cpp88 if (auto *DF = dyn_cast<DefinedFunction>(syms[i])) { in getSymbolStrings()
DLTO.cpp79 if (auto f = dyn_cast<DefinedFunction>(s)) in undefine()
DInputFiles.cpp266 auto *f = cast<DefinedFunction>(sym); in calcNewValue()
465 return make<DefinedFunction>(name, flags, this, func); in createDefined()
DDriver.cpp916 if (auto *callDtorsFunc = dyn_cast<DefinedFunction>(callDtors)) { in link()