first commit for openGauss server
This commit is contained in:
41
src/include/codegen/datecodegen.h
Normal file
41
src/include/codegen/datecodegen.h
Normal file
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
|
||||
*
|
||||
* openGauss is licensed under Mulan PSL v2.
|
||||
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
* You may obtain a copy of Mulan PSL v2 at:
|
||||
*
|
||||
* http://license.coscl.org.cn/MulanPSL2
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
|
||||
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
|
||||
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
|
||||
* See the Mulan PSL v2 for more details.
|
||||
* ---------------------------------------------------------------------------------------
|
||||
*
|
||||
* datecodegen.h
|
||||
* Definitions of code generation for the SQL92 "date" and
|
||||
* "time" types.
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* src/include/codegen/datecodegen.h
|
||||
*
|
||||
* ---------------------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef LLVM_DATE_H
|
||||
#define LLVM_DATE_H
|
||||
#include "codegen/gscodegen.h"
|
||||
|
||||
namespace dorado {
|
||||
/*
|
||||
* Comparision functions for dates
|
||||
*/
|
||||
llvm::Function* date_eq_codegen();
|
||||
llvm::Function* date_ne_codegen();
|
||||
llvm::Function* date_lt_codegen();
|
||||
llvm::Function* date_le_codegen();
|
||||
llvm::Function* date_gt_codegen();
|
||||
llvm::Function* date_ge_codegen();
|
||||
} // namespace dorado
|
||||
#endif
|
||||
Reference in New Issue
Block a user