patch/llpcPatchPeepholeOpt.cpp
FunctionPass* CreatePatchPeepholeOpt(
    bool enableDiscardOpt) // Enable the optimization for "kill" intrinsic
{
    return new PatchPeepholeOpt(enableDiscardOpt);
}
// =====================================================================================================================
// Pass creator, creates the pass of LLVM patching operations for peephole optimizations.
Pass creator, creates the pass of LLVM patching operations for peephole optimizations.
Pass creator creates the pass of LLVM patching operations for peephole optimizations .
FunctionPass* CreatePatchPeepholeOpt(
    bool enableDiscardOpt) 
{
    return new PatchPeepholeOpt(enableDiscardOpt);
}
FunctionPass * CreatePatchPeepholeOpt ( bool enableDiscardOpt ) { return new PatchPeepholeOpt ( enableDiscardOpt ) ; }
Pass creator, creates the pass of LLVM patching operations for peephole optimizations.
Pass creator creates the pass of LLVM patching operations for peephole optimizations .
// Enable the optimization for "kill" intrinsic