reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/PowerPC/PPCInstrInfo.cpp
 3015   III.ImmOpNo = 2;
 3016   III.OpNoForForwarding = 2;
 3017   III.ImmWidth = 16;
 3018   III.ImmMustBeMultipleOf = 1;
 3019   III.TruncateImmTo = 0;
 3020   III.IsSummingOperands = false;
 3025     III.SignedImm = true;
 3026     III.ZeroIsSpecialOrig = 0;
 3027     III.ZeroIsSpecialNew = 1;
 3028     III.IsCommutative = true;
 3029     III.IsSummingOperands = true;
 3030     III.ImmOpcode = Opc == PPC::ADD4 ? PPC::ADDI : PPC::ADDI8;
 3034     III.SignedImm = true;
 3035     III.ZeroIsSpecialOrig = 0;
 3036     III.ZeroIsSpecialNew = 0;
 3037     III.IsCommutative = true;
 3038     III.IsSummingOperands = true;
 3039     III.ImmOpcode = Opc == PPC::ADDC ? PPC::ADDIC : PPC::ADDIC8;
 3042     III.SignedImm = true;
 3043     III.ZeroIsSpecialOrig = 0;
 3044     III.ZeroIsSpecialNew = 0;
 3045     III.IsCommutative = true;
 3046     III.IsSummingOperands = true;
 3047     III.ImmOpcode = PPC::ADDICo;
 3051     III.SignedImm = true;
 3052     III.ZeroIsSpecialOrig = 0;
 3053     III.ZeroIsSpecialNew = 0;
 3054     III.IsCommutative = false;
 3055     III.ImmOpcode = Opc == PPC::SUBFC ? PPC::SUBFIC : PPC::SUBFIC8;
 3059     III.SignedImm = true;
 3060     III.ZeroIsSpecialOrig = 0;
 3061     III.ZeroIsSpecialNew = 0;
 3062     III.IsCommutative = false;
 3063     III.ImmOpcode = Opc == PPC::CMPW ? PPC::CMPWI : PPC::CMPDI;
 3067     III.SignedImm = false;
 3068     III.ZeroIsSpecialOrig = 0;
 3069     III.ZeroIsSpecialNew = 0;
 3070     III.IsCommutative = false;
 3071     III.ImmOpcode = Opc == PPC::CMPLW ? PPC::CMPLWI : PPC::CMPLDI;
 3079     III.SignedImm = false;
 3080     III.ZeroIsSpecialOrig = 0;
 3081     III.ZeroIsSpecialNew = 0;
 3082     III.IsCommutative = true;
 3085     case PPC::ANDo: III.ImmOpcode = PPC::ANDIo; break;
 3086     case PPC::AND8o: III.ImmOpcode = PPC::ANDIo8; break;
 3087     case PPC::OR: III.ImmOpcode = PPC::ORI; break;
 3088     case PPC::OR8: III.ImmOpcode = PPC::ORI8; break;
 3089     case PPC::XOR: III.ImmOpcode = PPC::XORI; break;
 3090     case PPC::XOR8: III.ImmOpcode = PPC::XORI8; break;
 3107     III.SignedImm = false;
 3108     III.ZeroIsSpecialOrig = 0;
 3109     III.ZeroIsSpecialNew = 0;
 3110     III.IsCommutative = false;
 3115     III.ImmWidth = 16;
 3118       III.TruncateImmTo = 5;
 3120       III.TruncateImmTo = 6;
 3123     case PPC::RLWNM: III.ImmOpcode = PPC::RLWINM; break;
 3124     case PPC::RLWNM8: III.ImmOpcode = PPC::RLWINM8; break;
 3125     case PPC::RLWNMo: III.ImmOpcode = PPC::RLWINMo; break;
 3126     case PPC::RLWNM8o: III.ImmOpcode = PPC::RLWINM8o; break;
 3127     case PPC::SLW: III.ImmOpcode = PPC::RLWINM; break;
 3128     case PPC::SLW8: III.ImmOpcode = PPC::RLWINM8; break;
 3129     case PPC::SLWo: III.ImmOpcode = PPC::RLWINMo; break;
 3130     case PPC::SLW8o: III.ImmOpcode = PPC::RLWINM8o; break;
 3131     case PPC::SRW: III.ImmOpcode = PPC::RLWINM; break;
 3132     case PPC::SRW8: III.ImmOpcode = PPC::RLWINM8; break;
 3133     case PPC::SRWo: III.ImmOpcode = PPC::RLWINMo; break;
 3134     case PPC::SRW8o: III.ImmOpcode = PPC::RLWINM8o; break;
 3136       III.ImmWidth = 5;
 3137       III.TruncateImmTo = 0;
 3138       III.ImmOpcode = PPC::SRAWI;
 3141       III.ImmWidth = 5;
 3142       III.TruncateImmTo = 0;
 3143       III.ImmOpcode = PPC::SRAWIo;
 3157     III.SignedImm = false;
 3158     III.ZeroIsSpecialOrig = 0;
 3159     III.ZeroIsSpecialNew = 0;
 3160     III.IsCommutative = false;
 3165     III.ImmWidth = 16;
 3168       III.TruncateImmTo = 6;
 3170       III.TruncateImmTo = 7;
 3173     case PPC::RLDCL: III.ImmOpcode = PPC::RLDICL; break;
 3174     case PPC::RLDCLo: III.ImmOpcode = PPC::RLDICLo; break;
 3175     case PPC::RLDCR: III.ImmOpcode = PPC::RLDICR; break;
 3176     case PPC::RLDCRo: III.ImmOpcode = PPC::RLDICRo; break;
 3177     case PPC::SLD: III.ImmOpcode = PPC::RLDICR; break;
 3178     case PPC::SLDo: III.ImmOpcode = PPC::RLDICRo; break;
 3179     case PPC::SRD: III.ImmOpcode = PPC::RLDICL; break;
 3180     case PPC::SRDo: III.ImmOpcode = PPC::RLDICLo; break;
 3182       III.ImmWidth = 6;
 3183       III.TruncateImmTo = 0;
 3184       III.ImmOpcode = PPC::SRADI;
 3187       III.ImmWidth = 6;
 3188       III.TruncateImmTo = 0;
 3189       III.ImmOpcode = PPC::SRADIo;
 3215     III.SignedImm = true;
 3216     III.ZeroIsSpecialOrig = 1;
 3217     III.ZeroIsSpecialNew = 2;
 3218     III.IsCommutative = true;
 3219     III.IsSummingOperands = true;
 3220     III.ImmOpNo = 1;
 3221     III.OpNoForForwarding = 2;
 3224     case PPC::LBZX: III.ImmOpcode = PPC::LBZ; break;
 3225     case PPC::LBZX8: III.ImmOpcode = PPC::LBZ8; break;
 3226     case PPC::LHZX: III.ImmOpcode = PPC::LHZ; break;
 3227     case PPC::LHZX8: III.ImmOpcode = PPC::LHZ8; break;
 3228     case PPC::LHAX: III.ImmOpcode = PPC::LHA; break;
 3229     case PPC::LHAX8: III.ImmOpcode = PPC::LHA8; break;
 3230     case PPC::LWZX: III.ImmOpcode = PPC::LWZ; break;
 3231     case PPC::LWZX8: III.ImmOpcode = PPC::LWZ8; break;
 3233       III.ImmOpcode = PPC::LWA;
 3234       III.ImmMustBeMultipleOf = 4;
 3236     case PPC::LDX: III.ImmOpcode = PPC::LD; III.ImmMustBeMultipleOf = 4; break;
 3236     case PPC::LDX: III.ImmOpcode = PPC::LD; III.ImmMustBeMultipleOf = 4; break;
 3237     case PPC::LFSX: III.ImmOpcode = PPC::LFS; break;
 3238     case PPC::LFDX: III.ImmOpcode = PPC::LFD; break;
 3239     case PPC::STBX: III.ImmOpcode = PPC::STB; break;
 3240     case PPC::STBX8: III.ImmOpcode = PPC::STB8; break;
 3241     case PPC::STHX: III.ImmOpcode = PPC::STH; break;
 3242     case PPC::STHX8: III.ImmOpcode = PPC::STH8; break;
 3243     case PPC::STWX: III.ImmOpcode = PPC::STW; break;
 3244     case PPC::STWX8: III.ImmOpcode = PPC::STW8; break;
 3246       III.ImmOpcode = PPC::STD;
 3247       III.ImmMustBeMultipleOf = 4;
 3249     case PPC::STFSX: III.ImmOpcode = PPC::STFS; break;
 3250     case PPC::STFDX: III.ImmOpcode = PPC::STFD; break;
 3273     III.SignedImm = true;
 3274     III.ZeroIsSpecialOrig = 2;
 3275     III.ZeroIsSpecialNew = 3;
 3276     III.IsCommutative = false;
 3277     III.IsSummingOperands = true;
 3278     III.ImmOpNo = 2;
 3279     III.OpNoForForwarding = 3;
 3282     case PPC::LBZUX: III.ImmOpcode = PPC::LBZU; break;
 3283     case PPC::LBZUX8: III.ImmOpcode = PPC::LBZU8; break;
 3284     case PPC::LHZUX: III.ImmOpcode = PPC::LHZU; break;
 3285     case PPC::LHZUX8: III.ImmOpcode = PPC::LHZU8; break;
 3286     case PPC::LHAUX: III.ImmOpcode = PPC::LHAU; break;
 3287     case PPC::LHAUX8: III.ImmOpcode = PPC::LHAU8; break;
 3288     case PPC::LWZUX: III.ImmOpcode = PPC::LWZU; break;
 3289     case PPC::LWZUX8: III.ImmOpcode = PPC::LWZU8; break;
 3291       III.ImmOpcode = PPC::LDU;
 3292       III.ImmMustBeMultipleOf = 4;
 3294     case PPC::LFSUX: III.ImmOpcode = PPC::LFSU; break;
 3295     case PPC::LFDUX: III.ImmOpcode = PPC::LFDU; break;
 3296     case PPC::STBUX: III.ImmOpcode = PPC::STBU; break;
 3297     case PPC::STBUX8: III.ImmOpcode = PPC::STBU8; break;
 3298     case PPC::STHUX: III.ImmOpcode = PPC::STHU; break;
 3299     case PPC::STHUX8: III.ImmOpcode = PPC::STHU8; break;
 3300     case PPC::STWUX: III.ImmOpcode = PPC::STWU; break;
 3301     case PPC::STWUX8: III.ImmOpcode = PPC::STWU8; break;
 3303       III.ImmOpcode = PPC::STDU;
 3304       III.ImmMustBeMultipleOf = 4;
 3306     case PPC::STFSUX: III.ImmOpcode = PPC::STFSU; break;
 3307     case PPC::STFDUX: III.ImmOpcode = PPC::STFDU; break;
 3326     III.SignedImm = true;
 3327     III.ZeroIsSpecialOrig = 1;
 3328     III.ZeroIsSpecialNew = 2;
 3329     III.IsCommutative = true;
 3330     III.IsSummingOperands = true;
 3331     III.ImmOpNo = 1;
 3332     III.OpNoForForwarding = 2;
 3333     III.ImmMustBeMultipleOf = 4;
 3337       III.ImmOpcode = PPC::LXV;
 3338       III.ImmMustBeMultipleOf = 16;
 3343           III.ImmOpcode = PPC::LXSSP;
 3345           III.ImmOpcode = PPC::LFS;
 3346           III.ImmMustBeMultipleOf = 1;
 3352       III.ImmOpcode = PPC::DFLOADf32;
 3357           III.ImmOpcode = PPC::LXSD;
 3359           III.ImmOpcode = PPC::LFD;
 3360           III.ImmMustBeMultipleOf = 1;
 3366       III.ImmOpcode = PPC::DFLOADf64;
 3369       III.ImmOpcode = PPC::STXV;
 3370       III.ImmMustBeMultipleOf = 16;
 3375           III.ImmOpcode = PPC::STXSSP;
 3377           III.ImmOpcode = PPC::STFS;
 3378           III.ImmMustBeMultipleOf = 1;
 3384       III.ImmOpcode = PPC::DFSTOREf32;
 3389           III.ImmOpcode = PPC::STXSD;
 3391           III.ImmOpcode = PPC::STFD;
 3392           III.ImmMustBeMultipleOf = 1;
 3398       III.ImmOpcode = PPC::DFSTOREf64;