Lines Matching defs:cas
405 IRCAS *cas, *cas2;
460 cas = st->Ist.CAS.details;
461 e1 = flatten_Expr(bb, cas->addr);
462 e2 = cas->expdHi ? flatten_Expr(bb, cas->expdHi) : NULL;
463 e3 = flatten_Expr(bb, cas->expdLo);
464 e4 = cas->dataHi ? flatten_Expr(bb, cas->dataHi) : NULL;
465 e5 = flatten_Expr(bb, cas->dataLo);
466 cas2 = mkIRCAS( cas->oldHi, cas->oldLo, cas->end,
2591 IRCAS *cas, *cas2;
2592 cas = st->Ist.CAS.details;
2593 vassert(isIRAtom(cas->addr));
2594 vassert(cas->expdHi == NULL || isIRAtom(cas->expdHi));
2595 vassert(isIRAtom(cas->expdLo));
2596 vassert(cas->dataHi == NULL || isIRAtom(cas->dataHi));
2597 vassert(isIRAtom(cas->dataLo));
2599 cas->oldHi, cas->oldLo, cas->end,
2600 fold_Expr(env, subst_Expr(env, cas->addr)),
2601 cas->expdHi ? fold_Expr(env, subst_Expr(env, cas->expdHi))
2603 fold_Expr(env, subst_Expr(env, cas->expdLo)),
2604 cas->dataHi ? fold_Expr(env, subst_Expr(env, cas->dataHi))
2606 fold_Expr(env, subst_Expr(env, cas->dataLo))
2924 IRCAS* cas;
2959 cas = st->Ist.CAS.details;
2960 addUses_Expr(set, cas->addr);
2961 if (cas->expdHi)
2962 addUses_Expr(set, cas->expdHi);
2963 addUses_Expr(set, cas->expdLo);
2964 if (cas->dataHi)
2965 addUses_Expr(set, cas->dataHi);
2966 addUses_Expr(set, cas->dataLo);
4234 CAS is a load-store op, so it should be safe to say False.
4520 if (st->Ist.CAS.details->oldHi != IRTemp_INVALID)
4521 st->Ist.CAS.details->oldHi += delta;
4522 st->Ist.CAS.details->oldLo += delta;
4523 deltaIRExpr(st->Ist.CAS.details->addr, delta);
4524 if (st->Ist.CAS.details->expdHi)
4525 deltaIRExpr(st->Ist.CAS.details->expdHi, delta);
4526 deltaIRExpr(st->Ist.CAS.details->expdLo, delta);
4527 if (st->Ist.CAS.details->dataHi)
4528 deltaIRExpr(st->Ist.CAS.details->dataHi, delta);
4529 deltaIRExpr(st->Ist.CAS.details->dataLo, delta);
5023 IRCAS* cas;
5058 cas = st->Ist.CAS.details;
5059 aoccCount_Expr(uses, cas->addr);
5060 if (cas->expdHi)
5061 aoccCount_Expr(uses, cas->expdHi);
5062 aoccCount_Expr(uses, cas->expdLo);
5063 if (cas->dataHi)
5064 aoccCount_Expr(uses, cas->dataHi);
5065 aoccCount_Expr(uses, cas->dataLo);
5374 IRCAS *cas, *cas2;
5438 cas = st->Ist.CAS.details;
5440 cas->oldHi, cas->oldLo, cas->end,
5441 atbSubst_Expr(env, cas->addr),
5442 cas->expdHi ? atbSubst_Expr(env, cas->expdHi) : NULL,
5443 atbSubst_Expr(env, cas->expdLo),
5444 cas->dataHi ? atbSubst_Expr(env, cas->dataHi) : NULL,
5445 atbSubst_Expr(env, cas->dataLo)
5888 IRCAS* cas;
5943 cas = st->Ist.CAS.details;
5944 vassert(isIRAtom(cas->addr));
5945 vassert(cas->expdHi == NULL || isIRAtom(cas->expdHi));
5946 vassert(isIRAtom(cas->expdLo));
5947 vassert(cas->dataHi == NULL || isIRAtom(cas->dataHi));
5948 vassert(isIRAtom(cas->dataLo));