Home
last modified time | relevance | path

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

/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUDelayedMCExpr.h22 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 DAMDGPUDelayedMCExpr.cpp31 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()
/llvm-project/lld/ELF/
H A DLinkerScript.h42 struct ExprValue { in ExprValue()
43 ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val, in ExprValue()
47 ExprValue(uint64_t val) : ExprValue(nullptr, false, val, "") {} in isAbsolute() argument
75 using Expr = std::function<ExprValue()>;
367 ExprValue getSymbolValue(StringRef name, const Twine &loc);
40 struct ExprValue { global() struct
41 ExprValueExprValue ExprValue() argument
45 ExprValueExprValue ExprValue() argument
73 locExprValue global() argument
H A DScriptParser.cpp145 static void moveAbsRight(LinkerScript &s, ExprValue &a, ExprValue &b) {
153 static ExprValue add(LinkerScript &s, ExprValue a, ExprValue b) { in unquote()
158 static ExprValue sub(ExprValue a, ExprValue b) { in moveAbsRight()
165 static ExprValue bitAnd(LinkerScript &s, ExprValue
[all...]
H A DLinkerScript.cpp121 uint64_t ExprValue::getValue() const { in getValue()
128 uint64_t ExprValue::getSecAddr() const { in getSectionOffset()
132 uint64_t ExprValue::getSectionOffset() const { in createOutputSection()
224 ExprValue value = cmd->expression(); in addSymbol()
394 ExprValue v = cmd->expression(); in matchesFile()
1703 ExprValue LinkerScript::getSymbolValue(StringRef name, const Twine &loc) { in addScriptReferencedSymbolsToSymTable()
1713 ExprValue v{ds->section, false, ds->value, loc}; in addScriptReferencedSymbolsToSymTable()
/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp5221 int64_t ExprValue; in parseDirectiveIfb()
5222 if (parseAbsoluteExpression(ExprValue) || parseEOL()) in parseDirectiveIfb()
5232 ExprValue = ExprValue == 0;
5235 ExprValue = ExprValue >= 0; in parseDirectiveIfc()
5238 ExprValue = ExprValue > 0; in parseDirectiveIfc()
5241 ExprValue = ExprValue < in parseDirectiveIfc()
5175 int64_t ExprValue; parseDirectiveIf() local
5337 int64_t ExprValue; parseDirectiveElseIf() local
[all...]
H A DMasmParser.cpp6142 int64_t ExprValue; in parseDirectiveIf()
6143 if (parseAbsoluteExpression(ExprValue) || parseEOL()) in parseDirectiveIf() local
6152 ExprValue = ExprValue == 0; in parseDirectiveIf()
6156 TheCondState.CondMet = ExprValue; in parseDirectiveIf()
6279 int64_t ExprValue; in parseDirectiveElseIf()
6280 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf() local
6292 ExprValue = ExprValue == 0; in parseDirectiveElseIf()
6296 TheCondState.CondMet = ExprValue; in parseDirectiveElseIf()
6630 int64_t ExprValue; parseDirectiveErrorIfe() local
[all...]