Home
last modified time | relevance | path

Searched refs:getSymbolValue (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DObjectFile.h299 Expected<uint64_t> getSymbolValue(DataRefImpl Symb) const;
408 return getObject()->getSymbolValue(getRawDataRefImpl()); in getValue()
H A DELFObjectFile.h570 Expected<uint64_t> SymbolValueOrErr = getSymbolValue(Symb); in getSymbolAddress()
/llvm-project-15.0.7/llvm/lib/Object/
H A DObjectFile.cpp56 Expected<uint64_t> ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue() function in ObjectFile
H A DCOFFObjectFile.cpp167 uint64_t Result = cantFail(getSymbolValue(Ref)); in getSymbolAddress()
H A DWasmObjectFile.cpp1613 return getSymbolValue(Symb); in getSymbolAddress()
H A DMachOObjectFile.cpp1813 return getSymbolValue(Sym); in getSymbolAddress()
/llvm-project-15.0.7/lld/ELF/
H A DLinkerScript.h314 ExprValue getSymbolValue(StringRef name, const Twine &loc);
H A DScriptParser.cpp1079 ExprValue lhs = script->getSymbolValue(name, loc); in readSymbolAssignment()
1521 return [=] { return script->getSymbolValue(tok, location); }; in readPrimary()
1533 return [=] { return script->getSymbolValue(tok, location); }; in readPrimary()
H A DLinkerScript.cpp1374 ExprValue LinkerScript::getSymbolValue(StringRef name, const Twine &loc) { in getSymbolValue() function in LinkerScript
/llvm-project-15.0.7/bolt/lib/Passes/
H A DIdenticalCodeFolding.cpp358 llvm::ErrorOr<uint64_t> ErrorOrValue = BC.getSymbolValue(Symbol); in hashSymbol()
H A DLongJmp.cpp442 ErrorOr<uint64_t> ValueOrError = BC.getSymbolValue(*Target); in getSymbolAddress()
H A DIndirectCallPromotion.cpp432 BC.getSymbolValue(*BC.MIB->getTargetSymbol(DispExpr)); in maybeGetHotJumpTableTargets()
/llvm-project-15.0.7/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp352 static uint64_t getSymbolValue(const MCSymbol &Symbol, in getSymbolValue() function
429 Local->Data.Value = getSymbolValue(MCSym, Layout); in DefineSymbol()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryContext.h766 ErrorOr<uint64_t> getSymbolValue(const MCSymbol &Symbol) const { in getSymbolValue() function
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryFunction.cpp391 ErrorOr<uint64_t> CalleeAddressOrError = BC.getSymbolValue(*CalleeSymbol); in isForwardCall()
808 ErrorOr<uint64_t> SymValueOrError = BC.getSymbolValue(*Sym); in processIndirectBranch()
844 ErrorOr<uint64_t> SymValueOrError = BC.getSymbolValue(*TargetSym); in processIndirectBranch()