Searched refs:ExprValue (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | LinkerScript.h | 38 struct ExprValue { struct 39 ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val, in ExprValue() function 43 ExprValue(uint64_t val) : ExprValue(nullptr, false, val, "") {} in ExprValue() argument 71 using Expr = std::function<ExprValue()>; argument 314 ExprValue getSymbolValue(StringRef name, const Twine &loc);
|
| H A D | ScriptParser.cpp | 155 static void moveAbsRight(ExprValue &a, ExprValue &b) { in moveAbsRight() 162 static ExprValue add(ExprValue a, ExprValue b) { in add() 167 static ExprValue sub(ExprValue a, ExprValue b) { in sub() 174 static ExprValue bitAnd(ExprValue a, ExprValue b) { in bitAnd() 180 static ExprValue bitOr(ExprValue a, ExprValue b) { in bitOr() 1078 e = [=, c = op[0]]() -> ExprValue { in readSymbolAssignment() 1079 ExprValue lhs = script->getSymbolValue(name, loc); in readSymbolAssignment() 1376 ExprValue i = inner(); in readPrimary() 1385 return [=]() -> ExprValue { in readPrimary() 1401 ExprValue v = e(); in readPrimary()
|
| H A D | LinkerScript.cpp | 113 uint64_t ExprValue::getValue() const { in getValue() 120 uint64_t ExprValue::getSecAddr() const { in getSecAddr() 124 uint64_t ExprValue::getSectionOffset() const { in getSectionOffset() 219 ExprValue value = cmd->expression(); in addSymbol() 376 ExprValue v = cmd->expression(); in assignSymbol() 1374 ExprValue LinkerScript::getSymbolValue(StringRef name, const Twine &loc) { in getSymbolValue() 1384 ExprValue v{ds->section, false, ds->value, loc}; in getSymbolValue()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 359 auto *ExprValue = cast_or_null<BoolValue>( in transferValueOrImpl() local 361 if (ExprValue == nullptr) { in transferValueOrImpl() 363 ExprValue = &State.Env.makeAtomicBoolValue(); in transferValueOrImpl() 364 State.Env.setValue(ExprLoc, *ExprValue); in transferValueOrImpl() 368 Env.addToFlowCondition(ModelPred(Env, *ExprValue, *HasValueVal)); in transferValueOrImpl()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 5154 int64_t ExprValue; in parseDirectiveIf() local 5155 if (parseAbsoluteExpression(ExprValue) || parseEOL()) in parseDirectiveIf() 5165 ExprValue = ExprValue == 0; in parseDirectiveIf() 5168 ExprValue = ExprValue >= 0; in parseDirectiveIf() 5171 ExprValue = ExprValue > 0; in parseDirectiveIf() 5174 ExprValue = ExprValue <= 0; in parseDirectiveIf() 5177 ExprValue = ExprValue < 0; in parseDirectiveIf() 5181 TheCondState.CondMet = ExprValue; in parseDirectiveIf() 5316 int64_t ExprValue; in parseDirectiveElseIf() local 5317 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf() [all …]
|
| H A D | MasmParser.cpp | 6158 int64_t ExprValue; in parseDirectiveIf() local 6159 if (parseAbsoluteExpression(ExprValue) || parseEOL()) in parseDirectiveIf() 6168 ExprValue = ExprValue == 0; in parseDirectiveIf() 6172 TheCondState.CondMet = ExprValue; in parseDirectiveIf() 6295 int64_t ExprValue; in parseDirectiveElseIf() local 6296 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveElseIf() 6308 ExprValue = ExprValue == 0; in parseDirectiveElseIf() 6312 TheCondState.CondMet = ExprValue; in parseDirectiveElseIf() 6645 int64_t ExprValue; in parseDirectiveErrorIfe() local 6646 if (parseAbsoluteExpression(ExprValue)) in parseDirectiveErrorIfe() [all …]
|