Home
last modified time | relevance | path

Searched refs:TypeInst (Results 1 – 25 of 66) sorted by relevance

123

/dports/math/minizinc/libminizinc-2.5.5/lib/
H A Dtypecheck.cpp171 auto* ti_aa = new TypeInst(Location().introduce(), tx); in create_enum_mapper()
284 std::vector<TypeInst*> ranges(1); in create_enum_mapper()
893 std::vector<TypeInst*> ranges(1); in create_enum_mapper()
911 std::vector<TypeInst*> xx_ranges(1); in create_enum_mapper()
1074 std::vector<TypeInst*> ranges(1); in create_enum_mapper()
1092 std::vector<TypeInst*> xx_ranges(1); in create_enum_mapper()
1327 auto* ti = e->cast<TypeInst>(); in run()
2544 void vTypeInst(TypeInst& ti) { in vTypeInst()
2551 TypeInst* ri = ti.ranges()[i]; in vTypeInst()
2567 assert(ri->isa<TypeInst>()); in vTypeInst()
[all …]
H A Dparser.yxx115 MiniZinc::TypeInst* tiexpr;
434 TypeInst* ti = new TypeInst(@$,Type::parsetint());
445 TypeInst* ti = new TypeInst(@$,Type::parsetint());
462 TypeInst* ti = new TypeInst(@$,Type::parsetint());
622 TypeInst* ti=new TypeInst(@1,Type::ann());
635 TypeInst* ti=new TypeInst(@1,Type::ann());
707 std::vector<TypeInst*> ti(1);
786 { $$ = new TypeInst(@$,Type::parint()); }
794 { $$ = new TypeInst(@$,Type::ann()); }
798 { $$ = new TypeInst(@$,Type::top(),
[all …]
H A Dcopy.cpp342 c->ti(static_cast<TypeInst*>(copy(env, m, vd->ti(), followIds, copyFundecls, isFlatModel))); in copy()
364 auto* t = e->cast<TypeInst>(); in copy()
365 ASTExprVecO<TypeInst*>* r; in copy()
368 } else if (ASTExprVecO<TypeInst*>* cr = m.find(t->ranges())) { in copy()
371 std::vector<TypeInst*> rr(t->ranges().size()); in copy()
373 rr[i] = static_cast<TypeInst*>( in copy()
376 r = ASTExprVecO<TypeInst*>::a(rr); in copy()
378 auto* c = new TypeInst(copy_location(m, e), t->type(), ASTExprVec<TypeInst>(r), in copy()
483 static_cast<TypeInst*>(copy(env, m, f->ti(), followIds, copyFundecls, isFlatModel)), in copy()
H A Dast.cpp226 pushstack(cur->cast<TypeInst>()->domain()); in mark()
227 pushall(cur->cast<TypeInst>()->ranges()); in mark()
893 void TypeInst::rehash() { in rehash()
904 void TypeInst::setRanges(const std::vector<TypeInst*>& ranges) { in setRanges()
905 _ranges = ASTExprVec<TypeInst>(ranges); in setRanges()
917 bool TypeInst::hasTiVariable() const { in hasTiVariable()
965 TypeInst* tii = fi->params()[i]->ti(); in return_type()
1221 TypeInst* tii = params()[n]->ti(); in mark()
1455 const auto* t0 = e0->cast<TypeInst>(); in mark()
1456 const auto* t1 = e1->cast<TypeInst>(); in mark()
[all …]
H A Djson_parser.cpp562 Expression* JSONParser::coerceArray(TypeInst* intendedTI, ArrayLit* al) { in coerceArray()
564 TypeInst& ti = *intendedTI; in coerceArray()
576 TypeInst* nti = ti.ranges()[i]; in coerceArray()
612 ASTStringMap<TypeInst*> knownIds; in parseModel()
617 ASTStringMap<TypeInst*>& _knownIds; in parseModel()
620 VarDeclVisitor(ASTStringMap<TypeInst*>& knownIds) : _knownIds(knownIds) {} in parseModel()
H A Dflatten.cpp1454 std::vector<TypeInst*> ranges(dims->size()); in populate_output()
1521 ASTExprVec<TypeInst> tis = vd->ti()->ranges(); in check_index_sets()
1522 std::vector<TypeInst*> newtis(tis.size()); in check_index_sets()
1571 newtis[i] = new TypeInst( in check_index_sets()
1613 auto* tic = copy(env, vd->ti())->cast<TypeInst>(); in check_index_sets()
1865 std::vector<TypeInst*> ranges(al->dims()); in bind()
1867 ranges[i] = new TypeInst( in bind()
1871 ASTExprVec<TypeInst> ranges_v(ranges); in bind()
2572 std::vector<TypeInst*> dims(al->dims()); in eval_typeinst()
3963 std::vector<TypeInst*> r(1); in cleanup_vardecl()
[all …]
H A Dtype.cpp109 switch (static_cast<TypeInst>(_ti)) { in nonEnumToString()
/dports/math/minizinc/libminizinc-2.5.5/include/minizinc/
H A Dtype.hh26 enum TypeInst { TI_PAR, TI_VAR }; enum in MiniZinc::Type
64 TypeInst ti() const { return static_cast<TypeInst>(_ti); } in ti()
66 void ti(const TypeInst& t) { in ti()
108 Type(const TypeInst& ti, const BaseType& bt, const SetType& st, unsigned int enumId, int dim) in Type()
208 t._ti = static_cast<TypeInst>((i >> 21) & 0x7); in fromInt()
H A Dast.hh45 class TypeInst;
1195 TypeInst* _ti;
1218 TypeInst* ti() const { return _ti; } in ti()
1220 void ti(TypeInst* t) { _ti = t; } in ti()
1293 class TypeInst : public Expression { class
1296 ASTExprVec<TypeInst> _ranges;
1304 TypeInst(const Location& loc, const Type& t, const ASTExprVec<TypeInst>& ranges,
1317 void setRanges(const std::vector<TypeInst*>& ranges);
1587 TypeInst* _ti;
1634 TypeInst* ti() const { return _ti; } in ti()
[all …]
H A Dflat_exp.hh22 TypeInst* eval_typeinst(EnvI& env, const Ctx& ctx, VarDecl* vd);
27 VarDecl* new_vardecl(EnvI& env, const Ctx& ctx, TypeInst* ti, Id* origId, VarDecl* origVd,
H A Dast.hpp507 inline VarDecl::VarDecl(const Location& loc, TypeInst* ti, const ASTString& id, Expression* e) in VarDecl()
521 inline VarDecl::VarDecl(const Location& loc, TypeInst* ti, long long int idn, Expression* e) in VarDecl()
535 inline VarDecl::VarDecl(const Location& loc, TypeInst* ti, const std::string& id, Expression* e) in VarDecl()
547 inline VarDecl::VarDecl(const Location& loc, TypeInst* ti, Id* id, Expression* e) in VarDecl()
588 inline TypeInst::TypeInst(const Location& loc, const Type& type, const ASTExprVec<TypeInst>& ranges, in TypeInst() function in MiniZinc::TypeInst
596 inline TypeInst::TypeInst(const Location& loc, const Type& type, Expression* domain) in TypeInst() function in MiniZinc::TypeInst
637 inline FunctionI::FunctionI(const Location& loc, const std::string& id, TypeInst* ti, in FunctionI()
653 inline FunctionI::FunctionI(const Location& loc, const ASTString& id, TypeInst* ti, in FunctionI()
H A Dastiterator.hh160 _t.vTypeInst(*c.e->template cast<TypeInst>()); in run()
244 stack.push_back(C(ce->template cast<TypeInst>()->domain())); in run()
245 pushVec(stack, ce->template cast<TypeInst>()->ranges()); in run()
358 _t.vTypeInst(*e->template cast<TypeInst>()); in run()
359 stack.push_back(e->template cast<TypeInst>()->domain()); in run()
360 pushVec(stack, e->template cast<TypeInst>()->ranges()); in run()
H A Djson_parser.hh63 static Expression* coerceArray(TypeInst* intendedTI, ArrayLit* al);
/dports/math/minizinc/libminizinc-2.5.5/lib/flatten/
H A Dflatten_par.cpp90 std::vector<TypeInst*> ranges(al->dims()); in flatten_par()
93 new TypeInst(e->loc(), Type(), in flatten_par()
96 ASTExprVec<TypeInst> ranges_v(ranges); in flatten_par()
98 auto* ti = new TypeInst(e->loc(), al->type(), ranges_v, nullptr); in flatten_par()
H A Dflatten_anon.cpp24 VarDecl* vd = new_vardecl(env, Ctx(), new TypeInst(Location().introduce(), av->type()), nullptr, in flatten_anon()
H A Dflatten_id.cpp46 gen_id[0] = new VarDecl(id->loc(), new TypeInst(id->loc(), Type::parint()), env.genId(), in flatten_id()
144 TypeInst* ti = vd->ti()->ranges()[i]; in flatten_id()
174 auto* vti = new TypeInst(Location().introduce(), tt, vd->ti()->domain()); in flatten_id()
H A Dflatten_vardecl.cpp26 TypeInst* ti = eval_typeinst(env, ctx, v); in flatten_vardecl()
H A Dflatten_let.cpp76 TypeInst* ti = eval_typeinst(env, ctx, vd); in flatten_let()
/dports/math/minizinc/libminizinc-2.5.5/lib/cached/minizinc/
H A Dparser.tab.hh199 MiniZinc::TypeInst* tiexpr;
200 std::vector<MiniZinc::TypeInst*>* tiexprs;
/dports/math/minizinc/libminizinc-2.5.5/lib/cached/
H A Dparser.tab.cpp3311 TypeInst* ti = new TypeInst((yyloc),Type::parsetint()); in yyparse()
3324 TypeInst* ti = new TypeInst((yyloc),Type::parsetint()); in yyparse()
3343 TypeInst* ti = new TypeInst((yyloc),Type::parsetint()); in yyparse()
3529 TypeInst* ti=new TypeInst((yylsp[-2]),Type::ann()); in yyparse()
3544 TypeInst* ti=new TypeInst((yylsp[-4]),Type::ann()); in yyparse()
3630 std::vector<TypeInst*> ti(1); in yyparse()
3631 ti[0] = new TypeInst((yyloc),Type::parint()); in yyparse()
3725 { (yyval.tiexpr) = new TypeInst((yyloc),Type::parint()); } in yyparse()
3741 { (yyval.tiexpr) = new TypeInst((yyloc),Type::ann()); } in yyparse()
3749 { (yyval.tiexpr) = new TypeInst((yyloc),Type::top(), in yyparse()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/ilasm/codegen/
H A DTypeInstr.cs31 cil.TypeInst (op, operand.PeapiType); in Emit()
H A DLdtokenInstr.cs52 cil.TypeInst (PEAPI.TypeOp.ldtoken, in Emit()
/dports/math/minizinc/libminizinc-2.5.5/solvers/nl/
H A Dnl_solverinstance.cpp270 const TypeInst& ti = *vd.ti()->cast<TypeInst>(); in analyse()
/dports/math/minizinc/libminizinc-2.5.5/include/minizinc/solvers/nl/
H A Dnl_file.hh109 void addVarDecl(const VarDecl& vd, const TypeInst& ti, const Expression& rhs);
/dports/security/hs-cryptol/cryptol-2.11.0/src/Cryptol/Parser/
H A DAST.hs68 , TypeInst(..)
323 | EAppT (Expr n) [(TypeInst n)] -- ^ @ f `{x = 8}, f`{8} @
356 data TypeInst name = NamedInst (Named (Type name)) type
726 instance PPName name => PP (TypeInst name) where
1023 instance NoPos (TypeInst name) where

123