@@ -2035,7 +2035,7 @@ struct DxilInst_Bfi {
arg_width = 1,
arg_offset = 2,
arg_value = 3,
- arg_replaceCount = 4,
+ arg_replacedValue = 4,
};
// Accessors
llvm::Value *get_width() const { return Instr->getOperand(1); }
@@ -2044,8 +2044,8 @@ struct DxilInst_Bfi {
void set_offset(llvm::Value *val) { Instr->setOperand(2, val); }
llvm::Value *get_value() const { return Instr->getOperand(3); }
void set_value(llvm::Value *val) { Instr->setOperand(3, val); }
- llvm::Value *get_replaceCount() const { return Instr->getOperand(4); }
- void set_replaceCount(llvm::Value *val) { Instr->setOperand(4, val); }
+ llvm::Value *get_replacedValue() const { return Instr->getOperand(4); }
+ void set_replacedValue(llvm::Value *val) { Instr->setOperand(4, val); }
/// This instruction Two-dimensional vector dot-product
@@ -877,7 +877,7 @@ static const char *OpCodeSignatures[] = {
"(a,b,c)", // Msad
"(a,b,c)", // Ibfe
"(a,b,c)", // Ubfe
- "(width,offset,value,replaceCount)", // Bfi
+ "(width,offset,value,replacedValue)", // Bfi
"(ax,ay,bx,by)", // Dot2
"(ax,ay,az,bx,by,bz)", // Dot3
"(ax,ay,az,aw,bx,by,bz,bw)", // Dot4
@@ -510,7 +510,7 @@ class db_dxil(object):
db_dxil_param(2, "$o", "width", "the bitfield width to take from the value"),
db_dxil_param(3, "$o", "offset", "the bitfield offset to replace in the value"),
db_dxil_param(4, "$o", "value", "the number the bits are taken from"),
- db_dxil_param(5, "$o", "replaceCount", "the number of bits to be replaced")])
+ db_dxil_param(5, "$o", "replacedValue", "the number with bits to be replaced")])
next_op_idx += 1
# Dot.