Searched defs:MultiOperandTraitBase (Results 1 – 1 of 1) sorted by relevance
355 struct MultiOperandTraitBase : public TraitBase<ConcreteType, TraitType> { struct356 using operand_iterator = Operation::operand_iterator;357 using operand_range = Operation::operand_range;358 using operand_type_iterator = Operation::operand_type_iterator;359 using operand_type_range = Operation::operand_type_range;362 unsigned getNumOperands() { return this->getOperation()->getNumOperands(); } in getNumOperands()365 Value getOperand(unsigned i) { return this->getOperation()->getOperand(i); } in getOperand()368 void setOperand(unsigned i, Value value) { in setOperand()373 operand_iterator operand_begin() { in operand_begin()376 operand_iterator operand_end() { return this->getOperation()->operand_end(); } in operand_end()[all …]