Searched refs:ExprValue (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUDelayedMCExpr.h | 22 const MCExpr *ExprValue; member 23 Expr(msgpack::DocNode &DN, msgpack::Type Type, const MCExpr *ExprValue) in Expr() 24 : DN(DN), Type(Type), ExprValue(ExprValue) {} in Expr() 32 const MCExpr *ExprValue);
|
| H A D | AMDGPUDelayedMCExpr.cpp | 31 const MCExpr *ExprValue) { in assignDocNode() argument 33 if (ExprValue->evaluateAsRelocatable(Res, nullptr)) { in assignDocNode() 40 DelayedExprs.emplace_back(DN, Type, ExprValue); in assignDocNode() 48 if (!DE.ExprValue->evaluateAsRelocatable(Res, nullptr) || !Res.isAbsolute()) in resolveDelayedExpressions()
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | LinkerScript.h | 42 struct ExprValue { struct 43 ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val, in ExprValue() function 47 ExprValue(uint64_t val) : ExprValue(nullptr, false, val, "") {} in ExprValue() argument 75 using Expr = std::function<ExprValue()>; argument 368 ExprValue getSymbolValue(StringRef name, const Twine &loc);
|
| H A D | ScriptParser.cpp | 143 static void moveAbsRight(LinkerScript &s, ExprValue &a, ExprValue &b) { in moveAbsRight() 151 static ExprValue add(LinkerScript &s, ExprValue a, ExprValue b) { in add() 156 static ExprValue sub(ExprValue a, ExprValue b) { in sub() 163 static ExprValue bitAnd(LinkerScript &s, ExprValue a, ExprValue b) { in bitAnd() 169 static ExprValue bitXor(LinkerScript &s, ExprValue a, ExprValue b) { in bitXor() 175 static ExprValue bitOr(LinkerScript &s, ExprValue a, ExprValue b) { in bitOr() 584 addrExpr = [=]() -> ExprValue { return {&osd->osec, false, 0, ""}; }; in readOverlay() 903 return [=, s = ctx.script]() -> ExprValue { in readAssert() 1196 e = [=, s = ctx.script, c = op[0], &ctx = ctx]() -> ExprValue { in readSymbolAssignment() 1197 ExprValue lhs = s->getSymbolValue(name, loc); in readSymbolAssignment() [all …]
|
| H A D | LinkerScript.cpp | 119 uint64_t ExprValue::getValue() const { in getValue() 126 uint64_t ExprValue::getSecAddr() const { in getSecAddr() 130 uint64_t ExprValue::getSectionOffset() const { in getSectionOffset() 233 ExprValue value = cmd->expression(); in addSymbol() 403 ExprValue v = cmd->expression(); in assignSymbol() 1747 ExprValue LinkerScript::getSymbolValue(StringRef name, const Twine &loc) { in getSymbolValue() 1757 ExprValue v{ds->section, false, ds->value, loc}; in getSymbolValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 5118 int64_t ExprValue; in parseDirectiveIf() local 5119 if (parseAbsoluteExpression(ExprValue) || parseEOL()) in parseDirectiveIf() 5129 ExprValue = ExprValue == 0; in parseDirectiveIf() 5132 ExprValue = ExprValue >= 0; in parseDirectiveIf() 5135 ExprValue = ExprValue > 0; in parseDirectiveIf() 5138 ExprValue = ExprValue <= 0; in parseDirectiveIf() 5141 ExprValue = ExprValue < 0; in parseDirectiveIf() 5145 TheCondState.CondMet = ExprValue; in parseDirectiveIf() 5286 int64_t ExprValue; in parseDirectiveElseIf() local 5287 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf() [all …]
|
| H A D | MasmParser.cpp | 4680 int64_t ExprValue; in parseDirectiveIf() local 4681 if (parseAbsoluteExpression(ExprValue) || parseEOL()) in parseDirectiveIf() 4690 ExprValue = ExprValue == 0; in parseDirectiveIf() 4694 TheCondState.CondMet = ExprValue; in parseDirectiveIf() 4817 int64_t ExprValue; in parseDirectiveElseIf() local 4818 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf() 4830 ExprValue = ExprValue == 0; in parseDirectiveElseIf() 4834 TheCondState.CondMet = ExprValue; in parseDirectiveElseIf() 5167 int64_t ExprValue; in parseDirectiveErrorIfe() local 5168 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveErrorIfe() [all …]
|