Lines Matching defs:insert
2558 Instruction* insert = new Instruction(getUniqueId(), typeId, OpCompositeInsert);
2559 insert->addIdOperand(object);
2560 insert->addIdOperand(composite);
2561 insert->addImmediateOperand(index);
2562 buildPoint->addInstruction(std::unique_ptr<Instruction>(insert));
2564 return insert->getResultId();
2569 Instruction* insert = new Instruction(getUniqueId(), typeId, OpCompositeInsert);
2570 insert->addIdOperand(object);
2571 insert->addIdOperand(composite);
2573 insert->addImmediateOperand(indexes[i]);
2574 buildPoint->addInstruction(std::unique_ptr<Instruction>(insert));
2576 return insert->getResultId();
2591 Instruction* insert = new Instruction(getUniqueId(), typeId, OpVectorInsertDynamic);
2592 insert->addIdOperand(vector);
2593 insert->addIdOperand(component);
2594 insert->addIdOperand(componentIndex);
2595 buildPoint->addInstruction(std::unique_ptr<Instruction>(insert));
2597 return insert->getResultId();
2961 // insert the operand for the mask, if any bits were set.
2963 texArgs.insert(texArgs.begin() + optArgNum, mask);
3533 // make and insert the switch's selection-merge instruction
3715 // extract and insert elements to perform writeMask and/or swizzle.
3833 // extract and insert elements to perform writeMask and/or swizzle. This does not
4047 // Utility method for creating a new block and setting the insert point to