Searched refs:globalIndex (Results 1 – 5 of 5) sorted by relevance
31 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;
292 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()
268 uint32_t globalIndex = out.importSec->getNumImportedGlobals(); in assignIndexes() local270 g->setGlobalIndex(globalIndex++); in assignIndexes()272 sym->setGOTIndex(globalIndex++); in assignIndexes()
330 uint32_t globalIndex = INVALID_INDEX; variable
601 unsigned globalIndex = in calculateExports() local633 export_ = {name, WASM_EXTERNAL_GLOBAL, globalIndex++}; in calculateExports()