Lines Matching refs:Sym
355 void LTOModule::addDefinedDataSymbol(const object::BasicSymbolRef &Sym) { in addDefinedDataSymbol() argument
359 Sym.printName(OS); in addDefinedDataSymbol()
362 const GlobalValue *V = IRFile->getSymbolGV(Sym.getRawDataRefImpl()); in addDefinedDataSymbol()
416 void LTOModule::addDefinedFunctionSymbol(const object::BasicSymbolRef &Sym) { in addDefinedFunctionSymbol() argument
420 Sym.printName(OS); in addDefinedFunctionSymbol()
424 cast<Function>(IRFile->getSymbolGV(Sym.getRawDataRefImpl())); in addDefinedFunctionSymbol()
549 void LTOModule::addPotentialUndefinedSymbol(const object::BasicSymbolRef &Sym, in addPotentialUndefinedSymbol() argument
554 Sym.printName(OS); in addPotentialUndefinedSymbol()
567 const GlobalValue *decl = IRFile->getSymbolGV(Sym.getRawDataRefImpl()); in addPotentialUndefinedSymbol()
581 for (auto &Sym : IRFile->symbols()) { in parseSymbols() local
582 const GlobalValue *GV = IRFile->getSymbolGV(Sym.getRawDataRefImpl()); in parseSymbols()
583 uint32_t Flags = Sym.getFlags(); in parseSymbols()
593 Sym.printName(OS); in parseSymbols()
608 addPotentialUndefinedSymbol(Sym, F != nullptr); in parseSymbols()
613 addDefinedFunctionSymbol(Sym); in parseSymbols()
618 addDefinedDataSymbol(Sym); in parseSymbols()
623 addDefinedDataSymbol(Sym); in parseSymbols()