Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Object/
H A DRecordStreamer.cpp20 case DefinedGlobal: in markDefined()
22 S = DefinedGlobal; in markDefined()
40 case DefinedGlobal: in markGlobal()
42 S = (Attribute == MCSA_Weak) ? DefinedWeak : DefinedGlobal; in markGlobal()
59 case DefinedGlobal: in markUsed()
164 case RecordStreamer::DefinedGlobal: in flushSymverDirectives()
177 case RecordStreamer::DefinedGlobal: in flushSymverDirectives()
H A DRecordStreamer.h26 enum State { NeverSeen, Global, Defined, DefinedGlobal, DefinedWeak, Used, enumerator
H A DModuleSymbolTable.cpp144 case RecordStreamer::DefinedGlobal: in CollectAsmSymbols()
/llvm-project-15.0.7/lld/wasm/
H A DSymbols.cpp144 if (auto *g = dyn_cast<DefinedGlobal>(this)) in isLive()
160 if (auto *g = dyn_cast<DefinedGlobal>(this)) in markLive()
331 if (auto *f = dyn_cast<DefinedGlobal>(this)) in getGlobalIndex()
344 if (auto *f = dyn_cast<DefinedGlobal>(this)) in hasGlobalIndex()
349 DefinedGlobal::DefinedGlobal(StringRef name, uint32_t flags, InputFile *file, in DefinedGlobal() function in lld::wasm::DefinedGlobal
H A DSymbolTable.h94 DefinedGlobal *addSyntheticGlobal(StringRef name, uint32_t flags,
99 DefinedGlobal *addOptionalGlobalSymbol(StringRef name, InputGlobal *global);
H A DSymbols.h350 class DefinedGlobal : public GlobalSymbol {
352 DefinedGlobal(StringRef name, uint32_t flags, InputFile *file,
619 alignas(DefinedGlobal) char c[sizeof(DefinedGlobal)];
H A DSymbolTable.cpp242 DefinedGlobal *SymbolTable::addSyntheticGlobal(StringRef name, uint32_t flags, in addSyntheticGlobal()
248 return replaceSymbol<DefinedGlobal>(insertName(name).first, name, flags, in addSyntheticGlobal()
252 DefinedGlobal *SymbolTable::addOptionalGlobalSymbol(StringRef name, in addOptionalGlobalSymbol()
260 return replaceSymbol<DefinedGlobal>(s, name, WASM_SYMBOL_VISIBILITY_HIDDEN, in addOptionalGlobalSymbol()
394 replaceSymbol<DefinedGlobal>(s, name, flags, file, global); in addDefinedGlobal()
H A DWriter.cpp220 static void setGlobalPtr(DefinedGlobal *g, uint64_t memoryPtr) { in setGlobalPtr()
250 setGlobalPtr(cast<DefinedGlobal>(WasmSym::stackPointer), memoryPtr); in layoutMemory()
281 auto *tlsSize = cast<DefinedGlobal>(WasmSym::tlsSize); in layoutMemory()
285 auto *tlsAlign = cast<DefinedGlobal>(WasmSym::tlsAlign); in layoutMemory()
289 auto *tlsBase = cast<DefinedGlobal>(WasmSym::tlsBase); in layoutMemory()
671 } else if (auto *g = dyn_cast<DefinedGlobal>(sym)) { in calculateExports()
H A DInputFiles.cpp604 return make<DefinedGlobal>(name, flags, this, global); in createDefined()