LLValue *DSpecialRefValue::getRVal() { return DLValue(type, getLVal()).getRVal(); }
LLValue *DtoLVal(DValue *v) { auto lval = v->isLVal(); assert(lval); return lval->getLVal()->val; }