builder/llpcBuilderImplArith.cpp
Value* BuilderImplArith::CreateInverseSqrt(
    Value*        pX,         // [in] Input value X
    const Twine&  instName)   // [in] Name to give instruction(s)
{
    return CreateFDiv(ConstantFP::get(pX->getType(), 1.0),
                      CreateUnaryIntrinsic(Intrinsic::sqrt, pX),
                      instName);
}
// =====================================================================================================================
// Create an inverse square root operation for a scalar or vector FP value.
Create an inverse square root operation for a scalar or vector FP value.
Create an inverse square root operation for a scalar or vector FP value .
Value* BuilderImplArith::CreateInverseSqrt(
    Value*        pX,         
    const Twine&  instName)   
{
    return CreateFDiv(ConstantFP::get(pX->getType(), 1.0),
                      CreateUnaryIntrinsic(Intrinsic::sqrt, pX),
                      instName);
}
Value * BuilderImplArith :: CreateInverseSqrt ( Value * pX , const Twine & instName ) { return CreateFDiv ( ConstantFP :: get ( pX -> getType ( ) , 1.0 ) , CreateUnaryIntrinsic ( Intrinsic :: sqrt , pX ) , instName ) ; }
Create an inverse square root operation for a scalar or vector FP value.
Create an inverse square root operation for a scalar or vector FP value .
// [in] Input value X // [in] Name to give instruction(s)