public SelectInstruction(int rcond, VirtualRegister rd, int trueValue, int falseValue)
     : base("select")
 {
     this.rcond = rcond;
     this.rd = rd;
     this.trueValue = trueValue;
     this.falseValue = falseValue;
 }
Exemple #2
0
 public IcmpConstInstruction(ConditionType cond, VirtualRegister rd, VirtualRegister r1, int immed)
     : base("icmp")
 {
     this.cond = cond;
     this.r1 = r1;
     this.immed = immed;
     this.rd = rd;
 }
Exemple #3
0
 public IcmpInstruction(ConditionType cond, VirtualRegister rd, VirtualRegister r1, VirtualRegister r2, string type)
     : base("icmp")
 {
     this.cond = cond;
     this.r1 = r1;
     this.r2 = r2;
     this.rd = rd;
     this.type = type;
 }