• Home
  • Raw
  • Download

Lines Matching refs:ConstantExpression

154 std::unique_ptr<ConstantExpression> ConstantExpression::Zero(ScalarType::Kind kind) {  in Zero()
158 std::unique_ptr<ConstantExpression> ConstantExpression::One(ScalarType::Kind kind) { in One()
162 std::unique_ptr<ConstantExpression> ConstantExpression::ValueOf(ScalarType::Kind kind, in ValueOf()
167 bool ConstantExpression::isEvaluated() const { in isEvaluated()
350 ConstantExpression* expr = mReference->constExpr(); in evaluate()
390 std::unique_ptr<ConstantExpression> ConstantExpression::addOne(ScalarType::Kind baseKind) { in addOne()
392 this, "+", ConstantExpression::One(baseKind).release()); in addOne()
396 std::string ConstantExpression::value() const { in value()
400 std::string ConstantExpression::value(ScalarType::Kind castKind) const { in value()
405 std::string ConstantExpression::cppValue() const { in cppValue()
409 std::string ConstantExpression::cppValue(ScalarType::Kind castKind) const { in cppValue()
433 std::string ConstantExpression::javaValue() const { in javaValue()
437 std::string ConstantExpression::javaValue(ScalarType::Kind castKind) const { in javaValue()
468 const std::string& ConstantExpression::expression() const { in expression()
473 std::string ConstantExpression::rawValue() const { in rawValue()
477 std::string ConstantExpression::rawValue(ScalarType::Kind castKind) const { in rawValue()
486 T ConstantExpression::cast() const { in cast()
494 std::string ConstantExpression::descriptionSuffix() const { in descriptionSuffix()
505 size_t ConstantExpression::castSizeT() const { in castSizeT()
510 bool ConstantExpression::isReferenceConstantExpression() const { in isReferenceConstantExpression()
514 status_t ConstantExpression::validate() const { in validate()
518 std::vector<ConstantExpression*> ConstantExpression::getConstantExpressions() { in getConstantExpressions()
519 const auto& constRet = static_cast<const ConstantExpression*>(this)->getConstantExpressions(); in getConstantExpressions()
520 std::vector<ConstantExpression*> ret(constRet.size()); in getConstantExpressions()
522 [](const auto* ce) { return const_cast<ConstantExpression*>(ce); }); in getConstantExpressions()
526 std::vector<Reference<LocalIdentifier>*> ConstantExpression::getReferences() { in getReferences()
527 const auto& constRet = static_cast<const ConstantExpression*>(this)->getReferences(); in getReferences()
534 std::vector<const Reference<LocalIdentifier>*> ConstantExpression::getReferences() const { in getReferences()
538 std::vector<Reference<Type>*> ConstantExpression::getTypeReferences() { in getTypeReferences()
539 const auto& constRet = static_cast<const ConstantExpression*>(this)->getTypeReferences(); in getTypeReferences()
546 std::vector<const Reference<Type>*> ConstantExpression::getTypeReferences() const { in getTypeReferences()
550 status_t ConstantExpression::recursivePass(const std::function<status_t(ConstantExpression*)>& func, in recursivePass()
551 std::unordered_set<const ConstantExpression*>* visited, in recursivePass()
583 status_t ConstantExpression::recursivePass( in recursivePass()
584 const std::function<status_t(const ConstantExpression*)>& func, in recursivePass()
585 std::unordered_set<const ConstantExpression*>* visited, bool processBeforeDependencies) const { in recursivePass()
616 ConstantExpression::CheckAcyclicStatus::CheckAcyclicStatus( in CheckAcyclicStatus()
617 status_t status, const ConstantExpression* cycleEnd, in CheckAcyclicStatus()
624 ConstantExpression::CheckAcyclicStatus ConstantExpression::checkAcyclic( in checkAcyclic()
625 std::unordered_set<const ConstantExpression*>* visited, in checkAcyclic()
626 std::unordered_set<const ConstantExpression*>* stack) const { in checkAcyclic()
676 void ConstantExpression::setPostParseCompleted() { in setPostParseCompleted()
681 std::vector<const ConstantExpression*> LiteralConstantExpression::getConstantExpressions() const { in getConstantExpressions()
685 UnaryConstantExpression::UnaryConstantExpression(const std::string& op, ConstantExpression* value) in UnaryConstantExpression()
688 std::vector<const ConstantExpression*> UnaryConstantExpression::getConstantExpressions() const { in getConstantExpressions()
692 BinaryConstantExpression::BinaryConstantExpression(ConstantExpression* lval, const std::string& op, in BinaryConstantExpression()
693 ConstantExpression* rval) in BinaryConstantExpression()
696 std::vector<const ConstantExpression*> BinaryConstantExpression::getConstantExpressions() const { in getConstantExpressions()
700 TernaryConstantExpression::TernaryConstantExpression(ConstantExpression* cond, in TernaryConstantExpression()
701 ConstantExpression* trueVal, in TernaryConstantExpression()
702 ConstantExpression* falseVal) in TernaryConstantExpression()
705 std::vector<const ConstantExpression*> TernaryConstantExpression::getConstantExpressions() const { in getConstantExpressions()
720 std::vector<const ConstantExpression*> ReferenceConstantExpression::getConstantExpressions() const { in getConstantExpressions()
736 std::vector<const ConstantExpression*> AttributeConstantExpression::getConstantExpressions() const { in getConstantExpressions()