SeExpr
ExprLLVM.h
Go to the documentation of this file.
1 /*
2  Copyright Disney Enterprises, Inc. All rights reserved.
3 
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License
6  and the following modification to it: Section 6 Trademarks.
7  deleted and replaced with:
8 
9  6. Trademarks. This License does not grant permission to use the
10  trade names, trademarks, service marks, or product names of the
11  Licensor and its affiliates, except as required for reproducing
12  the content of the NOTICE file.
13 
14  You may obtain a copy of the License at
15  http://www.apache.org/licenses/LICENSE-2.0
16 */
17 #pragma once
18 
19 #include "ExprConfig.h"
20 
21 #ifdef SEEXPR_ENABLE_LLVM
22 #include <llvm/IR/IRBuilder.h>
23 namespace llvm {
24 class Value;
25 class Type;
26 class Module;
27 class Function;
28 }
29 typedef llvm::Value* LLVM_VALUE;
30 typedef llvm::IRBuilder<>& LLVM_BUILDER;
31 #define LLVM_BODY const
32 #else
33 typedef double LLVM_VALUE;
34 typedef double LLVM_BUILDER;
35 #define LLVM_BODY \
36  { return 0; }
37 #endif
double LLVM_BUILDER
Definition: ExprLLVM.h:34
double LLVM_VALUE
Definition: ExprLLVM.h:33