builder/llpcBuilderRecorder.cpp
Value* BuilderRecorder::CreateFMed3(
    Value*        pValue1,              // [in] First value
    Value*        pValue2,              // [in] Second value
    Value*        pValue3,              // [in] Third value
    const Twine&  instName)             // [in] Name to give instruction(s)
{
    return Record(Opcode::FMed3, pValue1->getType(), { pValue1, pValue2, pValue3 }, instName);
}
// =====================================================================================================================
// Create "fmed3" operation, returning the middle one of three float values.
Create "fmed3" operation, returning the middle one of three float values.
Create " fmed3 " operation returning the middle one of three float values .
Value* BuilderRecorder::CreateFMed3(
    Value*        pValue1,              
    Value*        pValue2,              
    Value*        pValue3,              
    const Twine&  instName)             
{
    return Record(Opcode::FMed3, pValue1->getType(), { pValue1, pValue2, pValue3 }, instName);
}
Value * BuilderRecorder :: CreateFMed3 ( Value * pValue1 , Value * pValue2 , Value * pValue3 , const Twine & instName ) { return Record ( Opcode :: FMed3 , pValue1 -> getType ( ) , { pValue1 , pValue2 , pValue3 } , instName ) ; }
Create "fmed3" operation, returning the middle one of three float values.
Create " fmed3 " operation returning the middle one of three float values .
// [in] First value // [in] Second value // [in] Third value // [in] Name to give instruction(s)