Searched refs:ExprValue (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | LinkerScript.h | 41 struct ExprValue { struct 42 ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val, in ExprValue() function 46 ExprValue(uint64_t val) : ExprValue(nullptr, false, val, "") {} in ExprValue() function 74 using Expr = std::function<ExprValue()>; argument 303 ExprValue getSymbolValue(StringRef name, const Twine &loc);
|
| H A D | ScriptParser.cpp | 150 static void moveAbsRight(ExprValue &a, ExprValue &b) { in moveAbsRight() 157 static ExprValue add(ExprValue a, ExprValue b) { in add() 162 static ExprValue sub(ExprValue a, ExprValue b) { in sub() 169 static ExprValue bitAnd(ExprValue a, ExprValue b) { in bitAnd() 175 static ExprValue bitOr(ExprValue a, ExprValue b) { in bitOr() 1283 ExprValue i = inner(); in readPrimary() 1292 return [=]() -> ExprValue { in readPrimary() 1308 ExprValue v = e(); in readPrimary()
|
| H A D | LinkerScript.cpp | 58 uint64_t ExprValue::getValue() const { in getValue() 65 uint64_t ExprValue::getSecAddr() const { in getSecAddr() 71 uint64_t ExprValue::getSectionOffset() const { in getSectionOffset() 167 ExprValue value = cmd->expression(); in addSymbol() 321 ExprValue v = cmd->expression(); in assignSymbol() 1313 ExprValue LinkerScript::getSymbolValue(StringRef name, const Twine &loc) { in getSymbolValue() 1323 ExprValue v{ds->section, false, ds->value, loc}; in getSymbolValue()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 5131 int64_t ExprValue; in parseDirectiveIf() local 5132 if (parseAbsoluteExpression(ExprValue) || parseEOL()) in parseDirectiveIf() 5142 ExprValue = ExprValue == 0; in parseDirectiveIf() 5145 ExprValue = ExprValue >= 0; in parseDirectiveIf() 5148 ExprValue = ExprValue > 0; in parseDirectiveIf() 5151 ExprValue = ExprValue <= 0; in parseDirectiveIf() 5154 ExprValue = ExprValue < 0; in parseDirectiveIf() 5158 TheCondState.CondMet = ExprValue; in parseDirectiveIf() 5293 int64_t ExprValue; in parseDirectiveElseIf() local 5294 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf() [all …]
|
| H A D | MasmParser.cpp | 6182 int64_t ExprValue; in parseDirectiveIf() local 6183 if (parseAbsoluteExpression(ExprValue) || in parseDirectiveIf() 6194 ExprValue = ExprValue == 0; in parseDirectiveIf() 6198 TheCondState.CondMet = ExprValue; in parseDirectiveIf() 6322 int64_t ExprValue; in parseDirectiveElseIf() local 6323 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf() 6336 ExprValue = ExprValue == 0; in parseDirectiveElseIf() 6340 TheCondState.CondMet = ExprValue; in parseDirectiveElseIf() 6677 int64_t ExprValue; in parseDirectiveErrorIfe() local 6678 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveErrorIfe() [all …]
|