Lines Matching defs:RegLocation
295 * Whereas a SSA name describes a definition of a Dalvik vreg, the RegLocation describes
298 * there is a RegLocation.
302 struct RegLocation {
326 RegLocation* args; // One for each word of arguments.
327 RegLocation result; // Eventual target of MOVE_RESULT.
334 RegLocation target; // Target of following move_result.
341 const RegLocation bad_loc = {kLocDalvikFrame, 0, 0, 0, 0, 0, 0, 0, 0,
443 void DumpRegLocTable(RegLocation* table, int count);
451 bool IsConst(RegLocation loc) const {
455 int32_t ConstantValue(RegLocation loc) const {
465 int64_t ConstantValueWide(RegLocation loc) const {
471 bool IsConstantNullRef(RegLocation loc) const {
499 RegLocation GetRawSrc(MIR* mir, int num) {
501 RegLocation res = reg_location_[mir->ssa_rep->uses[num]];
505 RegLocation GetRawDest(MIR* mir) {
507 RegLocation res = reg_location_[mir->ssa_rep->defs[0]];
511 RegLocation GetDest(MIR* mir) {
512 RegLocation res = GetRawDest(mir);
517 RegLocation GetSrc(MIR* mir, int num) {
518 RegLocation res = GetRawSrc(mir, num);
523 RegLocation GetDestWide(MIR* mir) {
524 RegLocation res = GetRawDest(mir);
529 RegLocation GetSrcWide(MIR* mir, int low) {
530 RegLocation res = GetRawSrc(mir, low);
535 RegLocation GetBadLoc() {
547 RegLocation GetRegLocation(int index) {
552 RegLocation GetMethodLoc() {
608 RegLocation* reg_location_; // Map SSA names to location.