Home
last modified time | relevance | path

Searched refs:ExprValue (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DLinkerScript.h42 struct ExprValue { struct
43 ExprValue(SectionBase *Sec, bool ForceAbsolute, uint64_t Val, in ExprValue() argument
47 ExprValue(uint64_t Val) : ExprValue(nullptr, false, Val, "") {} in ExprValue() argument
71 typedef std::function<ExprValue()> Expr; argument
266 ExprValue getSymbolValue(StringRef Name, const Twine &Loc);
H A DScriptParser.cpp146 static void moveAbsRight(ExprValue &A, ExprValue &B) { in moveAbsRight()
153 static ExprValue add(ExprValue A, ExprValue B) { in add()
158 static ExprValue sub(ExprValue A, ExprValue B) { in sub()
165 static ExprValue bitAnd(ExprValue A, ExprValue B) { in bitAnd()
171 static ExprValue bitOr(ExprValue A, ExprValue B) { in bitOr()
1150 ExprValue I = Inner(); in readPrimary()
1158 return [=]() -> ExprValue { in readPrimary()
1174 ExprValue V = E(); in readPrimary()
H A DLinkerScript.cpp60 uint64_t ExprValue::getValue() const { in getValue()
67 uint64_t ExprValue::getSecAddr() const { in getSecAddr()
73 uint64_t ExprValue::getSectionOffset() const { in getSectionOffset()
175 ExprValue Value = Cmd->Expression(); in addSymbol()
279 ExprValue V = Cmd->Expression(); in assignSymbol()
1102 ExprValue LinkerScript::getSymbolValue(StringRef Name, const Twine &Loc) { in getSymbolValue()
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DAsmParser.cpp4898 int64_t ExprValue; in parseDirectiveIf() local
4899 if (parseAbsoluteExpression(ExprValue) || in parseDirectiveIf()
4911 ExprValue = ExprValue == 0; in parseDirectiveIf()
4914 ExprValue = ExprValue >= 0; in parseDirectiveIf()
4917 ExprValue = ExprValue > 0; in parseDirectiveIf()
4920 ExprValue = ExprValue <= 0; in parseDirectiveIf()
4923 ExprValue = ExprValue < 0; in parseDirectiveIf()
4927 TheCondState.CondMet = ExprValue; in parseDirectiveIf()
5064 int64_t ExprValue; in parseDirectiveElseIf() local
5065 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf()
[all …]