gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.h

This commit is contained in:
Brian Paul 2010-03-11 13:57:52 -07:00
parent 4833b0f199
commit 489af2a3ba
26 changed files with 28 additions and 27 deletions

View File

@ -35,7 +35,7 @@
#define LP_BLD_ALPHA_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
struct pipe_alpha_state;
struct lp_type;

View File

@ -37,7 +37,7 @@
#define LP_BLD_ARIT_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
struct lp_type;

View File

@ -40,7 +40,7 @@
* for a standalone example.
*/
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
#include "pipe/p_format.h"

View File

@ -37,7 +37,7 @@
#define LP_BLD_CONST_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
#include <pipe/p_compiler.h>

View File

@ -37,7 +37,7 @@
#define LP_BLD_CONV_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
struct lp_type;

View File

@ -30,7 +30,7 @@
#define LP_BLD_DEBUG_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
#include "pipe/p_compiler.h"
#include "util/u_string.h"

View File

@ -36,7 +36,7 @@
#define LP_BLD_DEPTH_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
struct pipe_depth_state;

View File

@ -35,7 +35,7 @@
#define LP_BLD_FLOW_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
struct lp_type;

View File

@ -34,7 +34,7 @@
* Pixel format helpers.
*/
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
#include "pipe/p_format.h"

View File

@ -41,7 +41,7 @@
#define LP_BLD_INTERP_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
#include "tgsi/tgsi_exec.h"

View File

@ -37,7 +37,7 @@
#define LP_BLD_INTR_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
/**

View File

@ -92,7 +92,7 @@ lp_build_compare(LLVMBuilderRef builder,
/* XXX: It is not clear if we should use the ordered or unordered operators */
#if !defined(HAVE_LLVM) || HAVE_LLVM < 0x0207
#if HAVE_LLVM < 0x0207
#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)
if(type.width * type.length == 128) {
if(type.floating && util_cpu_caps.has_sse) {

View File

@ -37,7 +37,7 @@
#define LP_BLD_LOGIC_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
#include "pipe/p_defines.h" /* For PIPE_FUNC_xxx */

View File

@ -256,7 +256,7 @@ lp_build_pack2(LLVMBuilderRef builder,
LLVMValueRef lo,
LLVMValueRef hi)
{
#if !(HAVE_LLVM >= 0x0207)
#if HAVE_LLVM < 0x0207
LLVMTypeRef src_vec_type = lp_build_vec_type(src_type);
#endif
LLVMTypeRef dst_vec_type = lp_build_vec_type(dst_type);

View File

@ -37,7 +37,7 @@
#define LP_BLD_PACK_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
struct lp_type;

View File

@ -36,7 +36,7 @@
#define LP_BLD_SAMPLE_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
struct pipe_texture;
struct pipe_sampler_state;

View File

@ -37,7 +37,7 @@
#define LP_BLD_STRUCT_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
#include <llvm-c/Target.h>
#include "util/u_debug.h"

View File

@ -37,7 +37,7 @@
#define LP_BLD_SWIZZLE_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
struct lp_type;

View File

@ -35,7 +35,7 @@
#ifndef LP_BLD_TGSI_H
#define LP_BLD_TGSI_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
struct tgsi_token;

View File

@ -37,7 +37,7 @@
#define LP_BLD_TYPE_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
#include <pipe/p_compiler.h>

View File

@ -34,9 +34,7 @@
#ifndef LP_SCREEN_H
#define LP_SCREEN_H
#include <llvm-c/Core.h>
#include <llvm-c/Analysis.h>
#include <llvm-c/Target.h>
#include "os/os_llvm.h"
#include <llvm-c/ExecutionEngine.h>
#include "pipe/p_screen.h"

View File

@ -31,7 +31,7 @@
#ifndef LP_STATE_H
#define LP_STATE_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
#include "pipe/p_state.h"
#include "tgsi/tgsi_scan.h"

View File

@ -95,6 +95,9 @@
#include "lp_tex_sample.h"
#include <llvm-c/Analysis.h>
static const unsigned char quad_offset_x[4] = {0, 1, 0, 1};
static const unsigned char quad_offset_y[4] = {0, 0, 1, 1};

View File

@ -41,7 +41,7 @@
#include <stdio.h>
#include <float.h>
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
#include <llvm-c/Analysis.h>
#include <llvm-c/ExecutionEngine.h>
#include <llvm-c/Target.h>

View File

@ -29,7 +29,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
#include <llvm-c/Analysis.h>
#include <llvm-c/ExecutionEngine.h>
#include <llvm-c/Target.h>

View File

@ -29,7 +29,7 @@
#define LP_TEX_SAMPLE_H
#include <llvm-c/Core.h>
#include "os/os_llvm.h"
struct lp_sampler_static_state;