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, nullptr)) { in assignDocNode() 40 DelayedExprs.emplace_back(DN, Type, ExprValue); in assignDocNode() 48 if (!DE.ExprValue->evaluateAsRelocatable(Res, nullptr, nullptr) || in resolveDelayedExpressions()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | LinkerScript.h | 40 struct ExprValue { struct 41 ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val, in ExprValue() argument 45 ExprValue(uint64_t val) : ExprValue(nullptr, false, val, "") {} in ExprValue() function 73 using Expr = std::function<ExprValue()>; argument 335 ExprValue getSymbolValue(StringRef name, const Twine &loc);
|
H A D | ScriptParser.cpp | 158 static void moveAbsRight(ExprValue &a, ExprValue &b) { in moveAbsRight() 166 static ExprValue add(ExprValue a, ExprValue b) { in add() 171 static ExprValue sub(ExprValue a, ExprValue b) { in sub() 178 static ExprValue bitAnd(ExprValue a, ExprValue b) { in bitAnd() 184 static ExprValue bitXor(ExprValue a, ExprValue b) { in bitXor() 190 static ExprValue bitOr(ExprValue a, ExprValue b) { in bitOr() 594 addrExpr = [=]() -> ExprValue { return {&osd->osec, false, 0, ""}; }; in readOverlay() 1147 e = [=, c = op[0]]() -> ExprValue { in readSymbolAssignment() 1148 ExprValue lhs = script->getSymbolValue(name, loc); in readSymbolAssignment() 1448 ExprValue i = inner(); in readPrimary() [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() 212 ExprValue value = cmd->expression(); in addSymbol() 377 ExprValue v = cmd->expression(); in assignSymbol() 1583 ExprValue LinkerScript::getSymbolValue(StringRef name, const Twine &loc) { in getSymbolValue() 1593 ExprValue v{ds->section, false, ds->value, loc}; in getSymbolValue()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 5180 int64_t ExprValue; in parseDirectiveIf() local 5181 if (parseAbsoluteExpression(ExprValue) || parseEOL()) in parseDirectiveIf() 5191 ExprValue = ExprValue == 0; in parseDirectiveIf() 5194 ExprValue = ExprValue >= 0; in parseDirectiveIf() 5197 ExprValue = ExprValue > 0; in parseDirectiveIf() 5200 ExprValue = ExprValue <= 0; in parseDirectiveIf() 5203 ExprValue = ExprValue < 0; in parseDirectiveIf() 5207 TheCondState.CondMet = ExprValue; in parseDirectiveIf() 5342 int64_t ExprValue; in parseDirectiveElseIf() local 5343 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf() [all …]
|
H A D | MasmParser.cpp | 6143 int64_t ExprValue; in parseDirectiveIf() local 6144 if (parseAbsoluteExpression(ExprValue) || parseEOL()) in parseDirectiveIf() 6153 ExprValue = ExprValue == 0; in parseDirectiveIf() 6157 TheCondState.CondMet = ExprValue; in parseDirectiveIf() 6280 int64_t ExprValue; in parseDirectiveElseIf() local 6281 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf() 6293 ExprValue = ExprValue == 0; in parseDirectiveElseIf() 6297 TheCondState.CondMet = ExprValue; in parseDirectiveElseIf() 6630 int64_t ExprValue; in parseDirectiveErrorIfe() local 6631 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveErrorIfe() [all …]
|