Searched refs:new_decoration (Results 1 – 3 of 3) sorted by relevance
293 std::unique_ptr<Instruction> new_decoration( in CreateReplacementVariable() local295 new_decoration->SetInOperand(0, {id}); in CreateReplacementVariable()297 uint32_t decoration = new_decoration->GetSingleWordInOperand(1u); in CreateReplacementVariable()299 uint32_t new_binding = new_decoration->GetSingleWordInOperand(2); in CreateReplacementVariable()311 new_decoration->SetInOperand(2, {new_binding}); in CreateReplacementVariable()313 context()->AddAnnotationInst(std::move(new_decoration)); in CreateReplacementVariable()
216 std::unique_ptr<Instruction> new_decoration(old_decoration->Clone(context())); in CreateNewDecorationForNewVariable() local217 new_decoration->SetInOperand(0, {new_var_id}); in CreateNewDecorationForNewVariable()219 if (IsDecorationBinding(new_decoration.get())) { in CreateNewDecorationForNewVariable()220 new_decoration->SetInOperand(2, {new_binding}); in CreateNewDecorationForNewVariable()222 context()->AddAnnotationInst(std::move(new_decoration)); in CreateNewDecorationForNewVariable()
217 std::unique_ptr<Instruction> new_decoration(old_decoration->Clone(context())); in CreateNewDecorationForNewVariable() local218 new_decoration->SetInOperand(0, {new_var_id}); in CreateNewDecorationForNewVariable()220 if (IsDecorationBinding(new_decoration.get())) { in CreateNewDecorationForNewVariable()221 new_decoration->SetInOperand(2, {new_binding}); in CreateNewDecorationForNewVariable()223 context()->AddAnnotationInst(std::move(new_decoration)); in CreateNewDecorationForNewVariable()