summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/TargetInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Make sure to initialize the ConstraintInfo to 0Anders Carlsson2009-01-121-0/+4
| | | | llvm-svn: 62068
* More fallout from r58501: primary fix is some more corrections to make Eli Friedman2008-11-021-2/+2
| | | | | | | | | | | | | | | | | the types for size_t and ptrdiff_t more accurate. I think all of these are correct, but please compare the defines for __PTRDIFF_TYPE__ and __SIZE_TYPE__ to gcc to double-check; this particularly applies to those on BSD variants, since I'm not sure what they do here; I assume here that they're the same as on Linux. Fixes wchar_t to be "int", not "unsigned int" (which I think is correct on everything but Windows). Fixes ptrdiff_t to be "int" rather than "short" on PIC16; "short" is an somewhat strange choice because it normally gets promoted, and it's not consistent with the choice for size_t. llvm-svn: 58556
* Fix a bug that was introduced in 58501. Ideally I think we should force all ↵Anders Carlsson2008-10-311-1/+1
| | | | | | targets to set these values and not have defaults. llvm-svn: 58511
* Made the mechanism of defining preprocessor defs for maxint, ptrdiff_t, wcharSanjiv Gupta2008-10-311-0/+5
| | | | | | | | | | etc more generic. For some targets, long may not be equal to pointer size. For example: PIC16 has int as i16, ptr as i16 but long as i32. Also fixed a few build warnings in assert() functions in CFRefCount.cpp, CGDecl.cpp, SemaDeclCXX.cpp and ParseDeclCXX.cpp. llvm-svn: 58501
* Implement PR2773, support for __USER_LABEL_PREFIX__Chris Lattner2008-10-051-0/+1
| | | | llvm-svn: 57127
* Stop asserting in TargetInfo::validateInputConstraintDaniel Dunbar2008-08-251-4/+4
| | | | | | - Sema gives a perfectively nice error message on invalid constraints. llvm-svn: 55310
* First cut at OS detection, taking advantage of the new generic targets. Eli Friedman2008-08-211-2/+2
| | | | | | | | | | | | | This approach allows adding OS-specific targets/defines/etc. without completely breaking unknown subtargets. No new subtargets yet, although I plan to add x86-Linux soon. Others can add targets that they use as needed; adding a new subtarget takes very little code. Also does some fixups for description strings; a lot of them were unspecified. I think all the ones I added are correct, but they're unverified; corrections are welcome. llvm-svn: 55091
* Allow targets to override description string.Sanjiv Gupta2008-08-181-0/+2
| | | | llvm-svn: 54914
* More #include cleaningDaniel Dunbar2008-08-111-2/+0
| | | | | | | | | | | - Kill unnecessary #includes in .cpp files. This is an automatic sweep so some things removed are actually used, but happen to be included by a previous header. I tried to get rid of the obvious examples and this was the easiest way to trim the #includes in one fell swoop. - We now return to regularly scheduled development. llvm-svn: 54632
* Some small changes to make the target info a bit more accurate.Eli Friedman2008-05-201-2/+8
| | | | llvm-svn: 51319
* parameterize pointer size/align better without doing virtual method calls in ↵Chris Lattner2008-05-091-0/+1
| | | | | | normal case. llvm-svn: 50890
* parameterize long long.Chris Lattner2008-05-091-1/+2
| | | | llvm-svn: 50887
* correctly parameterize long, patch by Nate.Chris Lattner2008-05-091-0/+1
| | | | llvm-svn: 50886
* Add basic support for the pic-* target triples and add support forChris Lattner2008-05-081-0/+1
| | | | | | | | | targets that do not support recursion (and thus codegen stack variables as globals). Patch contributed by Alireza Moshtaghi! llvm-svn: 50844
* Have ValidateOutputConstraint return false instead of firing an assertionTed Kremenek2008-04-241-2/+2
| | | | | | | when processing a constraint we don't understand. This allows the frontend to gracefully fail. llvm-svn: 50213
* Tabs -> spacesNate Begeman2008-04-181-2/+2
| | | | llvm-svn: 49909
* Initialize default double width and alignmentNate Begeman2008-04-181-0/+2
| | | | llvm-svn: 49899
* add a missing #includeChris Lattner2008-04-061-0/+1
| | | | llvm-svn: 49256
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-151-0/+210
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
OpenPOWER on IntegriCloud