PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/wrappers/llvm/library/externals/plugin/c/llvm-liberty.h

http://github.com/tybor/Liberty
C Header | 30 lines | 21 code | 4 blank | 5 comment | 0 complexity | be151d981aa3902345697c9284d35204 MD5 | raw file
 1#ifdef DEBUG // Let's be verbose during compile
 2#   warning "LLVM-liberty starting include" 
 3#endif
 4
 5#ifndef __builtin_bswap32 // previously __llvm__ 
 6extern unsigned int __builtin_bswap32(unsigned int _data);
 7#endif
 8
 9#ifndef __builtin_bswap64
10extern unsigned long __builtin_bswap64(unsigned long _data);
11#endif 
12
13#ifndef __builtin_unreachable
14#	include <stdlib.h>
15#	define __builtin_unreachable abort
16#endif
17
18#include <llvm-c/Analysis.h>
19#include <llvm-c/BitReader.h>
20#include <llvm-c/BitWriter.h>
21#include <llvm-c/Core.h>
22#include <llvm-c/ExecutionEngine.h>
23// #include <llvm-c/LinkTimeOptimizer.h>
24// #include <llvm-c/Target.h>
25// #include <llvm-c/lto.h>
26// #include <llvm-c/Transforms/IPO.h>
27// #include <llvm-c/Transforms/Scalar.h>
28#ifdef DEBUG // Let's be verbose during compile
29#   warning "LLVM-liberty ending include"
30#endif