Home
last modified time | relevance | path

Searched refs:globalIndex (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/lld/wasm/
DInputGlobal.h31 uint32_t getGlobalIndex() const { return globalIndex.getValue(); } in getGlobalIndex()
32 bool hasGlobalIndex() const { return globalIndex.hasValue(); } in hasGlobalIndex()
35 globalIndex = index; in setGlobalIndex()
44 llvm::Optional<uint32_t> globalIndex;
DSymbols.cpp292 assert(globalIndex != INVALID_INDEX); in getGlobalIndex()
293 return globalIndex; in getGlobalIndex()
298 assert(globalIndex == INVALID_INDEX); in setGlobalIndex()
299 globalIndex = index; in setGlobalIndex()
305 return globalIndex != INVALID_INDEX; in hasGlobalIndex()
DSyntheticSections.cpp268 uint32_t globalIndex = out.importSec->getNumImportedGlobals(); in assignIndexes() local
270 g->setGlobalIndex(globalIndex++); in assignIndexes()
272 sym->setGOTIndex(globalIndex++); in assignIndexes()
DSymbols.h330 uint32_t globalIndex = INVALID_INDEX; variable
DWriter.cpp601 unsigned globalIndex = in calculateExports() local
633 export_ = {name, WASM_EXTERNAL_GLOBAL, globalIndex++}; in calculateExports()