Searched refs:ExprValue (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | LinkerScript.h | 38 struct ExprValue { struct 39 ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val, in ExprValue() argument 43 ExprValue(uint64_t val) : ExprValue(nullptr, false, val, "") {} in ExprValue() argument 71 using Expr = std::function<ExprValue()>; argument 322 ExprValue getSymbolValue(StringRef name, const Twine &loc);
|
| H A D | ScriptParser.cpp | 152 static void moveAbsRight(ExprValue &a, ExprValue &b) { in moveAbsRight() 159 static ExprValue add(ExprValue a, ExprValue b) { in add() 164 static ExprValue sub(ExprValue a, ExprValue b) { in sub() 171 static ExprValue bitAnd(ExprValue a, ExprValue b) { in bitAnd() 177 static ExprValue bitXor(ExprValue a, ExprValue b) { in bitXor() 183 static ExprValue bitOr(ExprValue a, ExprValue b) { in bitOr() 1101 e = [=, c = op[0]]() -> ExprValue { in readSymbolAssignment() 1102 ExprValue lhs = script->getSymbolValue(name, loc); in readSymbolAssignment() 1404 ExprValue i = inner(); in readPrimary() 1413 return [=]() -> ExprValue { in readPrimary() [all …]
|
| H A D | LinkerScript.cpp | 117 uint64_t ExprValue::getValue() const { in getValue() 124 uint64_t ExprValue::getSecAddr() const { in getSecAddr() 128 uint64_t ExprValue::getSectionOffset() const { in getSectionOffset() 219 ExprValue value = cmd->expression(); in addSymbol() 381 ExprValue v = cmd->expression(); in assignSymbol() 1423 ExprValue LinkerScript::getSymbolValue(StringRef name, const Twine &loc) { in getSymbolValue() 1433 ExprValue v{ds->section, false, ds->value, loc}; in getSymbolValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 5169 int64_t ExprValue; in parseDirectiveIf() local 5170 if (parseAbsoluteExpression(ExprValue) || parseEOL()) in parseDirectiveIf() 5180 ExprValue = ExprValue == 0; in parseDirectiveIf() 5183 ExprValue = ExprValue >= 0; in parseDirectiveIf() 5186 ExprValue = ExprValue > 0; in parseDirectiveIf() 5189 ExprValue = ExprValue <= 0; in parseDirectiveIf() 5192 ExprValue = ExprValue < 0; in parseDirectiveIf() 5196 TheCondState.CondMet = ExprValue; in parseDirectiveIf() 5331 int64_t ExprValue; in parseDirectiveElseIf() local 5332 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf() [all …]
|
| H A D | MasmParser.cpp | 6142 int64_t ExprValue; in parseDirectiveIf() local 6143 if (parseAbsoluteExpression(ExprValue) || parseEOL()) in parseDirectiveIf() 6152 ExprValue = ExprValue == 0; in parseDirectiveIf() 6156 TheCondState.CondMet = ExprValue; in parseDirectiveIf() 6279 int64_t ExprValue; in parseDirectiveElseIf() local 6280 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf() 6292 ExprValue = ExprValue == 0; in parseDirectiveElseIf() 6296 TheCondState.CondMet = ExprValue; in parseDirectiveElseIf() 6629 int64_t ExprValue; in parseDirectiveErrorIfe() local 6630 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveErrorIfe() [all …]
|