summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Prefix `next' iterator operation with `llvm::'.Oscar Fuentes2010-08-0210-36/+38
| | | | | | | | Fixes potential ambiguity problems on VS 2010. Patch by nobled! llvm-svn: 110029
* Driver/Darwin: Change where Darwin computes the host version, to normalize toolDaniel Dunbar2010-08-023-30/+25
| | | | | | chain construction. llvm-svn: 110028
* Driver: Have -ccc-host-triple simply override the default in the driver, forDaniel Dunbar2010-08-021-3/+4
| | | | | | now. llvm-svn: 110027
* Driver/Darwin: Inline some constants.Daniel Dunbar2010-08-023-17/+7
| | | | llvm-svn: 110026
* Driver/FreeBSD: Change how FreeBSD derives the Lib32 variable, to normalize toolDaniel Dunbar2010-08-023-12/+11
| | | | | | chain construction. llvm-svn: 110025
* Driver: Move HostInfo::lookupTypeForExtension to ↵Daniel Dunbar2010-08-027-54/+22
| | | | | | ToolChain::LookupTypeForExtension. llvm-svn: 110024
* Driver: Give Build{Universal,}Actions access to the default host tool chain. IDaniel Dunbar2010-08-022-11/+15
| | | | | | | avoided this originally to enforce that the driver actions aren't toolchain dependent, but it isn't worth the cumbersone additional hostinfo split. llvm-svn: 110023
* Fix a -Wreorder warning.Daniel Dunbar2010-08-021-1/+1
| | | | llvm-svn: 110022
* Work in progress.Nick Lewycky2010-08-021-129/+164
| | | | | | | | Start cleaning up MergeFunctions to look more like the rest of LLVM. The primary change here is to move the methods responsible for comparison into the new FunctionComparator object. Some comments added. There's more to do. llvm-svn: 110021
* Improve flat store: MemRegion::getAsOffset() computes a region's offset withinZhongxing Xu2010-08-027-44/+178
| | | | | | | | the top-level object. FlatStore now can bind and retrieve element and field regions. PR7297 is fixed by flat store. llvm-svn: 110020
* PR7586: Make sure we don't claim that unknown bits are actually known in theEli Friedman2010-08-021-3/+2
| | | | | | ISD::AND case of TargetLowering::SimplifyDemandedBits. llvm-svn: 110019
* Fix this condition; it has an else clause attached for Darwin only. PatchNick Lewycky2010-08-021-1/+3
| | | | | | by Takumi Nakamura. llvm-svn: 110016
* Driver: Add Compilation::addCommand and switch tools to using it, now that weDaniel Dunbar2010-08-025-69/+47
| | | | | | don't have to deal with nested jobs. llvm-svn: 110015
* Driver: Eliminate PipedJob, which is now unused.Daniel Dunbar2010-08-023-57/+1
| | | | llvm-svn: 110014
* Driver: Eliminate special InputInfo kind for pipes, it is now unused.Daniel Dunbar2010-08-022-135/+35
| | | | llvm-svn: 110013
* Driver: Eliminate now unnecessary tool hooks for whether they accept piped ↵Daniel Dunbar2010-08-023-47/+0
| | | | | | input/output. llvm-svn: 110012
* Driver: Simplify.Daniel Dunbar2010-08-021-7/+2
| | | | llvm-svn: 110011
* Driver: Eliminate now unused argument.Daniel Dunbar2010-08-022-5/+2
| | | | llvm-svn: 110010
* Driver: Simplify logic for sending 'clang -E t.c' output to stdout.Daniel Dunbar2010-08-021-25/+4
| | | | llvm-svn: 110009
* Driver: Never try to use piped inputs.Daniel Dunbar2010-08-021-7/+2
| | | | llvm-svn: 110008
* Driver: Start ripping out support for -pipe, which is worthless and complicatesDaniel Dunbar2010-08-022-23/+4
| | | | | | too many other things. llvm-svn: 110007
* Fix comment.Daniel Dunbar2010-08-021-1/+1
| | | | llvm-svn: 110006
* docs/TestingGuide: Minimal update to describe 'lit' based regression testingDaniel Dunbar2010-08-021-79/+81
| | | | | | | instead of DejaGNU. Still a bit kooky, since the current test format still has some strong Tcl roots. Oh well! llvm-svn: 110005
* docs/TestingGuide: Rip out description of old nightly tester infrastructure. TheDaniel Dunbar2010-08-021-61/+0
| | | | | | | official recommendation is to use LNT instead. I will write docs on setting up an LNT installation for submission to llvm.org, one day. llvm-svn: 110004
* tests: Kill off custom targets which were just there for TestRunner.sh.Daniel Dunbar2010-08-022-23/+0
| | | | llvm-svn: 110003
* tests: Deprecate TestRunner.sh, and have it just invoke 'llvm-lit' (which willDaniel Dunbar2010-08-021-34/+3
| | | | | | | need to be in your path). Please move to using 'llvm-lit' if you are still using TestRunner.sh. llvm-svn: 110002
* build: Fix a dependency.Daniel Dunbar2010-08-021-1/+1
| | | | llvm-svn: 110001
* tests: Add an 'llvm-lit' tool (script), which gets generated as part of theDaniel Dunbar2010-08-023-1/+44
| | | | | | | | | build and has the object build directory baked into it. This allows 'llvm-lit' to properly find the information needed to run the test suite in all cases, without requiring the user to have LLVM or 'lit' available in their PATH, for example. llvm-svn: 110000
* lit: Allow clients to define predefined parameters.Daniel Dunbar2010-08-021-3/+2
| | | | llvm-svn: 109999
* PR7781: Fix incorrect shifting in PPCTargetLowering::LowerBUILD_VECTOR.Eli Friedman2010-08-022-10/+14
| | | | llvm-svn: 109998
* tests: Make 'lit' the default test tool. You can still use 'make check-dg' toDaniel Dunbar2010-08-022-7/+9
| | | | | | | | run the tests using DejaGNU, but not for much longer. This is a last call for DejaGNU supporters, if no one complains soon the DejaGNU support is going to die. llvm-svn: 109997
* Targets: Add InitializeNativeTargetAsmPrinter(), patch by Jan Sjodin, althoughDaniel Dunbar2010-08-011-0/+24
| | | | | | | rewritten by me to not require updating all the target initialization routine names. llvm-svn: 109996
* Fix word choice.Nick Lewycky2010-08-011-1/+1
| | | | llvm-svn: 109995
* Driver/OpenBSD: Update toolchain for compiler changes / C++; patch by JonathanDaniel Dunbar2010-08-012-1/+19
| | | | | | Gray. llvm-svn: 109994
* Driver: Keep track of a separate "install dir", which is the path where clangDaniel Dunbar2010-08-013-5/+46
| | | | | | | | | was invoked from (which may not be where the executable itself is). - This allows having e.g., /Developer/usr/bin/clang be a symlink to some other location, while still making sure the Driver finds 'as', 'ld', etc. relative to itself. llvm-svn: 109989
* Simplify.Daniel Dunbar2010-08-011-4/+2
| | | | llvm-svn: 109988
* PR7777: Set EnabledByDefault to something useful, instead of setting itEli Friedman2010-08-011-1/+1
| | | | | | | randomly. This makes us consistently show "-pedantic" as the warning option for a warning where appropriate. llvm-svn: 109987
* Kill off RequiresGlobalConstructor in favor of isConstantInitializer.John McCall2010-08-014-54/+34
| | | | | | Note some obvious false positives in the test case. llvm-svn: 109986
* PR7774: Fix undefined shifts in Alpha backend. As a bonus, this actuallyEli Friedman2010-08-012-2/+13
| | | | | | improves the generated code in some cases. llvm-svn: 109985
* Make a first pass at implementing -Wglobal-constructors. I'm worried that thisJohn McCall2010-08-015-1/+114
| | | | | | | will end up bizarrely mirroring CGExprConstant, but that might be the hazard of this feature. llvm-svn: 109984
* Preallocate vector, avoid unnecessary vector growth.Benjamin Kramer2010-08-011-0/+1
| | | | llvm-svn: 109971
* Instantiate attributes from the pattern record when instantiatingJohn McCall2010-08-014-13/+31
| | | | | | a class template. Fixes rdar://problem/8243419. llvm-svn: 109967
* Reference the personalities. Don't copy them into a new vector.Bill Wendling2010-08-011-1/+1
| | | | llvm-svn: 109966
* Fix indentation.John McCall2010-08-011-9/+9
| | | | llvm-svn: 109965
* Don't consider all local variables in C++ to mandate scope-checking, justJohn McCall2010-08-012-2/+22
| | | | | | those with initializers. llvm-svn: 109964
* Only run the jump-checker if there's a branch-protected scope *and* there'sJohn McCall2010-08-016-22/+62
| | | | | | | | | | a switch or goto somewhere in the function. Indirect gotos trigger the jump-checker regardless, because the conditions there are slightly more elaborate and it's too marginal a case to be worth optimizing. Turns off the jump-checker in a lot of cases in C++. rdar://problem/7702918 llvm-svn: 109962
* Iterate typeloc's for class bases.Nick Lewycky2010-07-311-1/+1
| | | | llvm-svn: 109961
* Fix fragile-ABI ObjC exceptions in the presence of optimization withJohn McCall2010-07-313-12/+253
| | | | | | | | | the magic of inline assembly. Essentially we use read and write hazards on the set of local variables to force flushing locals to memory immediately before any protected calls and to inhibit optimizing locals across the setjmp->catch edge. Fixes rdar://problem/8160285 llvm-svn: 109960
* Revert new AVX intrinsic tests. They are breaking buildbots and Bruno isBob Wilson2010-07-312-2006/+0
| | | | | | | | | away from a computer now. --- Reverse-merging r109881 into '.': D test/CodeGen/X86/avx-intrinsics-x86.ll D test/CodeGen/X86/avx-intrinsics-x86_64.ll llvm-svn: 109959
* build: Don't pass -avoid-version or -no-undefined on Darwin, they don't doDaniel Dunbar2010-07-311-2/+1
| | | | | | anything. llvm-svn: 109958
OpenPOWER on IntegriCloud