1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-29 23:12:55 +01:00
Commit Graph

53 Commits

Author SHA1 Message Date
Duncan Sands
36db5853cb Rename AddReadAttrs to FunctionAttrs, and teach it how
to work out (in a very simplistic way) which function
arguments (pointer arguments only) are only dereferenced
and so do not escape.  Mark such arguments 'nocapture'.

llvm-svn: 61525
2008-12-31 16:14:43 +00:00
Steve Naroff
f6cc95eff5 Add files to VC++ projects.
llvm-svn: 59262
2008-11-13 21:18:54 +00:00
Steve Naroff
dafb062ef6 Update VC++ projects.
llvm-svn: 58798
2008-11-06 06:24:59 +00:00
Cedric Venet
68f5000738 Update VS projects.
Change some class to struct for coherency.

llvm-svn: 56389
2008-09-20 18:02:18 +00:00
Duncan Sands
b2b5ddfaf6 Remove the MarkModRef pass (use AddReadAttrs instead).
Unfortunately this means removing one regression test
of GlobalsModRef because I couldn't work out how to
perform it without MarkModRef.

llvm-svn: 56342
2008-09-19 08:23:44 +00:00
Argyrios Kyrtzidis
54bffd05fd Update VC++ project files.
llvm-svn: 55985
2008-09-09 11:38:37 +00:00
Cedric Venet
d1b22a76d2 Updating VC++ project.
Adding one include file and correct one declaration from class to struct in order to make llvm compile on VC2005.

llvm-svn: 55279
2008-08-24 11:56:40 +00:00
Cedric Venet
e1e9213f95 Make it compile on VC2005:
- update VC projects.
- Add an overload to llvm::Stream for <<, since std::hex and std::dec have type std::ios_base& (*)(std::ios_base&) in VC++. (templating the function don't work, due to ambiguities)
- add ../ on several include in X86/AsmPrinter/

llvm-svn: 54898
2008-08-17 18:24:26 +00:00
Chris Lattner
c82df0d2e7 This replaces all $(SolutionDir) macros with $(ProjectDir)..\
Patch by Nicolas Capens!

llvm-svn: 53571
2008-07-14 18:46:16 +00:00
Chuck Rose III
2b35617259 Adding some missing files to VStudio project files. Switching to use generated llvmAsmParser.cpp/.h
llvm-svn: 52935
2008-06-30 22:37:57 +00:00
Chris Lattner
6d4c9bd816 "Just a small update for the project files for adding a missing preprocessor
definition for VS2005 (without SP1). It suppress the (bogus) M$ deprecated
warning."

Patch by Cédric Venet!

llvm-svn: 52530
2008-06-20 05:35:58 +00:00
Ted Kremenek
ec40faf7c5 Update VS project files (VS 2005) so that VS builds with TOT LLVM/clang.
Patch by Dmitri Makarov!

llvm-svn: 51237
2008-05-19 02:49:39 +00:00
Devang Patel
58e01a3a2e Revert 51067 check-in for now.
llvm-svn: 51155
2008-05-15 18:46:28 +00:00
Argyrios Kyrtzidis
853c42ba5d Adding missing files to Transforms and VMCore VC++ projects.
llvm-svn: 51098
2008-05-14 09:39:32 +00:00
Chris Lattner
6f30057094 Update the Win32 project files, patch by Razvan Aciu!
llvm-svn: 51067
2008-05-13 20:56:51 +00:00
Steve Naroff
30440f5a20 Update a couple VC++ project files.
llvm-svn: 50780
2008-05-06 23:14:34 +00:00
Chuck Rose III
fbfb612c4e VisualStudio project files updated. #include <algorithm> added to make VisualStudio happy. Also had to undefine setjmp because of #include <csetjmp> turning setjmp into _setjmp in VisualStudio.
llvm-svn: 49743
2008-04-15 21:27:11 +00:00
Chuck Rose III
76d6e4baff Updating win32 VStudio project files with new file references and removing dead references.
llvm-svn: 48849
2008-03-27 00:02:53 +00:00
Chuck Rose III
7dfc302a45 Add files to windows project files. Also include <algorithm> explicitly so that vstudio build works
llvm-svn: 46013
2008-01-15 21:43:17 +00:00
Chuck Rose III
b1944d8afb This change does a couple of things. First it gets the Visual Studio builds working.
I added the lexing files to the VStudio projects and removed the .l files from the 
VStudio projects.  There was a problem with use of strtoll in TGLexer.cpp and Chris
suggested switching to strtol, so that's included here.

Additionally, this checkin adds minimal x64 builds to the VStudio builds.  Build issues
related to x64 in the windows specific files for DynamicLibrary.inc and Singals.inc
are worked around, but not ultimately solved.  Binaries used to be stored in

...\win32\{Debug|Release}

but are now kept in

...\win32\bin\{win32|x64}\{Debug|Release}

intermediate files will continue to be stored in the individual project directories under 
win32.  

Some names will likely change in the future to reflect that the vstudio projects
are no longer 32-bit only, but I wanted to get things up and running today so kept away
from bigger restructuring.

llvm-svn: 44260
2007-11-21 00:37:56 +00:00
Hartmut Kaiser
f1e9ab0b82 Updated VC++ build system
llvm-svn: 44081
2007-11-13 23:03:32 +00:00
Hartmut Kaiser
789fa32301 Updated VC++ build system
llvm-svn: 43959
2007-11-09 19:54:59 +00:00
Hartmut Kaiser
a1075f624e Updated VC++ build system
llvm-svn: 43837
2007-11-07 19:34:09 +00:00
Hartmut Kaiser
ed12f66488 Updated VC++ build system.
Silenced some VC warnings.

I'm getting linker errors, though: unresolved externals:

llvm::Split<class llvm::BasicBlock *,struct llvm::GraphTraits<class llvm::BasicBlock *> >(class llvm::DominatorTreeBase<class llvm::BasicBlock> &,class llvm::BasicBlock *)

and

llvm::Split<struct llvm::Inverse<class llvm::BasicBlock *>,struct llvm::GraphTraits<struct llvm::Inverse<class llvm::BasicBlock *> > >(class llvm::DominatorTreeBase<class llvm::BasicBlock> &,class llvm::BasicBlock *)

Where are these defined?

llvm-svn: 43073
2007-10-17 14:56:40 +00:00
Hartmut Kaiser
9c2a4a541b Updated VC++ build system.
llvm-svn: 42835
2007-10-10 19:50:09 +00:00
Chuck Rose III
ab2719abe0 Update win32 VStudio project files to keep pace with recently added and deleted files
llvm-svn: 41553
2007-08-28 18:59:02 +00:00
Chuck Rose III
626679379c Updates to the VStudio project files:
1. Switch from VStudio 2k3 to VStudio 2k5

2. All pdb files now will be placed as $(OutputDir)/$(ProjectName).pdb.  This puts them alongside the 
binaries with the same base name as the binary.  If you need to copy the results of your llvm build 
into another project's tree, this will simplify that process.

3. Recent files added to the tree were added to the proejects within the VStudio project

4. Project build dependency order fixed so that the build can take place in one pass.  A generated
file was not being built at the correct time, causing a build error in about half the projects until
the build was run a second time.

Note you will need flex and bison installed an in your path in order to build properly.

llvm-svn: 40557
2007-07-27 18:20:11 +00:00
Jeff Cohen
b1e6eab93e Unbreak VC++ build.
llvm-svn: 35732
2007-04-07 14:31:16 +00:00
Jeff Cohen
6e0a3a6bbc Unbreak VC++ build.
llvm-svn: 35557
2007-04-01 18:58:22 +00:00
Jeff Cohen
98c99a3a02 Unbreak VC++ build.
llvm-svn: 34917
2007-03-05 00:00:42 +00:00
Jeff Cohen
2bfbf6b99c Unbreak VC++ build.
llvm-svn: 33021
2007-01-08 20:17:17 +00:00
Jeff Cohen
e1003da1a2 Unbreak VC++ build.
llvm-svn: 31464
2006-11-05 19:31:28 +00:00
Jeff Cohen
05af9c87a8 Keep Visual Studio happy.
llvm-svn: 27581
2006-04-11 02:01:22 +00:00
Jeff Cohen
adacd55e5d Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy.
llvm-svn: 25801
2006-01-30 04:07:08 +00:00
Jeff Cohen
c4b4091108 Visual Studio still has issues with being left out.
llvm-svn: 25389
2006-01-17 05:13:22 +00:00
Jeff Cohen
f9fecfca82 Turn on string pooling for smaller binaries.
llvm-svn: 24749
2005-12-17 00:14:47 +00:00
Jeff Cohen
9c75e03471 Teach Visual Studio about new files.
llvm-svn: 24497
2005-11-28 06:46:36 +00:00
Jeff Cohen
f1c9ea96cc Add new file to Visual Studio.
llvm-svn: 24297
2005-11-11 01:34:02 +00:00
Jeff Cohen
ff78bc30c7 More files deleted.
llvm-svn: 24097
2005-10-29 16:51:48 +00:00
Jeff Cohen
e561bf727e Update Visual Studio projects to reflect moved file.
llvm-svn: 23998
2005-10-26 05:36:51 +00:00
Jeff Cohen
95c8c4df99 Update Visual Studio projects to account for recent changes.
llvm-svn: 23950
2005-10-24 02:57:24 +00:00
Jeff Cohen
b555ae8f95 Add SimplyLibCalls.cpp to VC++ build
llvm-svn: 21554
2005-04-26 02:57:49 +00:00
Jeff Cohen
80e7b74819 Add CondPropagate.cpp to VC++ Transforms project
llvm-svn: 21310
2005-04-16 02:51:44 +00:00
Jeff Cohen
2076802d2f Silence VC++ warnings about using 'this' in base member initializations.
llvm-svn: 19937
2005-01-30 17:54:12 +00:00
Jeff Cohen
ba86a712df Remove bogus project folder
llvm-svn: 19318
2005-01-07 06:54:58 +00:00
Jeff Cohen
dfe5e3b330 Add project opt to Visual Studio.
llvm-svn: 19307
2005-01-06 06:02:53 +00:00
Jeff Cohen
c5e7790816 Enable browse information in Visual Studio
llvm-svn: 19034
2004-12-19 02:29:00 +00:00
Jeff Cohen
fd8fedb71f Don't forget about release configuration...
llvm-svn: 19032
2004-12-18 07:05:59 +00:00
Jeff Cohen
aa16addf1a Rationalize warning suppression. First, 64-bit portability warnings are disabled. The
specific warnings they produced were being suppressed anyway.  The truncation warnings
that were suppressed are now enabled, and the few that still occur ought to be fixed.
The only warnings suppressed now are the "negating an unsigned is still unsigned", the
validity of which Chris does not accept, and the "implicit conversion of <type> to bool
performance warning".  Making the conversion explicit won't make it run any faster and
this is an easier way to shut the compiler up.

llvm-svn: 19031
2004-12-18 06:55:41 +00:00
Jeff Cohen
2d53514c83 Fix residual Visual Studio build problems
llvm-svn: 18688
2004-12-09 05:51:11 +00:00