builder/llpcBuilderImplArith.cpp
Value* BuilderImplArith::CreateExp(
    Value*        pX,         // [in] Input value X
    const Twine&  instName)   // [in] Name to give instruction(s)
{
    return CreateUnaryIntrinsic(Intrinsic::exp2,
                                CreateFMul(pX, GetRecipLog2(pX->getType())),
                                nullptr,
                                instName);
}
// =====================================================================================================================
// Create an "exp" operation for a scalar or vector float or half.
Create an "exp" operation for a scalar or vector float or half.
Create an " exp " operation for a scalar or vector float or half .
Value* BuilderImplArith::CreateExp(
    Value*        pX,         
    const Twine&  instName)   
{
    return CreateUnaryIntrinsic(Intrinsic::exp2,
                                CreateFMul(pX, GetRecipLog2(pX->getType())),
                                nullptr,
                                instName);
}
Value * BuilderImplArith :: CreateExp ( Value * pX , const Twine & instName ) { return CreateUnaryIntrinsic ( Intrinsic :: exp2 , CreateFMul ( pX , GetRecipLog2 ( pX -> getType ( ) ) ) , nullptr , instName ) ; }
Create an "exp" operation for a scalar or vector float or half.
Create an " exp " operation for a scalar or vector float or half .
// [in] Input value X // [in] Name to give instruction(s)