Home
last modified time | relevance | path

Searched refs:intConst (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/bsd/elftosb/dist/elftosb2/
H A DElftosbAST.cpp363 IntConstExprASTNode * intConst = dynamic_cast<IntConstExprASTNode*>(m_expr.get()); in reduce() local
364 if (intConst) in reduce()
366 int32_t value = -(int32_t)intConst->getValue(); in reduce()
367 return new IntConstExprASTNode((uint32_t)value, intConst->getSize()); in reduce()
397 IntConstExprASTNode * intConst = dynamic_cast<IntConstExprASTNode*>(m_expr.get()); in reduce() local
398 if (intConst) in reduce()
400 int32_t value = !((int32_t)intConst->getValue()); in reduce()
401 return new IntConstExprASTNode((uint32_t)value, intConst->getSize()); in reduce()
856 IntConstExprASTNode * intConst = dynamic_cast<IntConstExprASTNode*>(m_expr.get()); in reduce() local
857 if (!intConst) in reduce()
[all …]
H A DConversionController.cpp358 IntConstExprASTNode * intConst = dynamic_cast<IntConstExprASTNode*>(expr); in processSources() local
359 if (!intConst) in processSources()
364 uint32_t externalFileNumber = static_cast<uint32_t>(intConst->getValue()); in processSources()
570 IntConstExprASTNode * intConst = dynamic_cast<IntConstExprASTNode*>(reducedExpr); in convertAssignmentNodeToValue() local
571 if (!intConst) in convertAssignmentNodeToValue()
581 resultValue = new SizedIntegerValue(intConst->getValue(), intConst->getSize()); in convertAssignmentNodeToValue()