- Mar 07, 2009
-
-
Duncan Sands authored
and extern_weak_odr. These are the same as the non-odr versions, except that they indicate that the global will only be overridden by an *equivalent* global. In C, a function with weak linkage can be overridden by a function which behaves completely differently. This means that IP passes have to skip weak functions, since any deductions made from the function definition might be wrong, since the definition could be replaced by something completely different at link time. This is not allowed in C++, thanks to the ODR (One-Definition-Rule): if a function is replaced by another at link-time, then the new function must be the same as the original function. If a language knows that a function or other global can only be overridden by an equivalent global, it can give it the weak_odr linkage type, and the optimizers will understand that it is alright to make deductions based on the function body. The code generators on the other hand map weak and weak_odr linkage to the same thing. llvm-svn: 66339
-
- Mar 06, 2009
-
-
Chris Lattner authored
their main routines. This makes the tools print their argc/argv commands if they crash. llvm-svn: 66248
-
- Mar 04, 2009
-
-
Mike Stump authored
llvm-svn: 66032
-
- Feb 27, 2009
-
-
Mikhail Glushenkov authored
Makes '(append_cmd "-foo a b c")' work. llvm-svn: 65623
-
- Feb 26, 2009
-
-
Chris Lattner authored
llvm-svn: 65559
-
- Feb 25, 2009
-
-
Mon P Wang authored
or target) can be overloaded or not. llvm-svn: 65404
-
- Feb 24, 2009
-
-
Bill Wendling authored
them are generic changes. - Use the "fast" flag that's already being passed into the asm printers instead of shoving it into the DwarfWriter. - Instead of calling "MI->getParent()->getParent()" for every MI, set the machine function when calling "runOnMachineFunction" in the asm printers. llvm-svn: 65379
-
Bill Wendling authored
a DBG_LABEL or not. We want to fall back to the original way of emitting debug info when we're in -O0/-fast mode. - Add plumbing in to pass the "Fast" flag to places that need it. - XFAIL DebugInfo/deaddebuglabel.ll. This is finding 11 labels instead of 8. I need to investigate still. llvm-svn: 65367
-
- Feb 21, 2009
-
-
Misha Brukman authored
* Linters now return their information instead of printing it, to enable easier unittesting * Added support for finding tabs in files, added to C++ linter llvm-svn: 65202
-
- Feb 20, 2009
-
-
Misha Brukman authored
are deleting; otherwise, everything ends up on a single line. llvm-svn: 65185
-
Misha Brukman authored
for length and for trailing whitespace; otherwise, the whitespace themselves will also be removed. llvm-svn: 65182
-
Bill Wendling authored
function. Emitting another label after the prologue messes up the debugging. We are doing that because the first DebugLoc object it sees is different from the previous, which was nothing. Check for this situation, and don't emit one if it's the first. llvm-svn: 65180
-
Bill Wendling authored
llvm-svn: 65092
-
- Feb 19, 2009
-
-
Bill Wendling authored
locations may change, but the tuples may be the same. llvm-svn: 65039
-
Bill Wendling authored
llvm-svn: 65034
-
Bill Wendling authored
everyone. llvm-svn: 64978
-
- Feb 18, 2009
-
-
Dan Gohman authored
llvm-svn: 64915
-
- Feb 14, 2009
-
-
Cedric Venet authored
Cleanup some warning. Remark: when struct/class are declared differently than they are defined, this make problem for VC++ since it seems to mangle class differently that struct. These error are very hard to understand and find. So please, try to keep your definition/declaration in sync. Only tested with VS2008. hope it does not break anything. feel free to revert. llvm-svn: 64554
-
Duncan Sands authored
intrinsics to any IntrWriteArgMem intrinsics. llvm-svn: 64551
-
- Feb 12, 2009
-
-
Julien Lerouge authored
exceptions. llvm-svn: 64367
-
- Feb 11, 2009
-
-
Bill Wendling authored
llvm-svn: 64263
-
- Feb 09, 2009
-
-
Bill Wendling authored
llvm-svn: 64119
-
Bill Wendling authored
llvm-svn: 64112
-
Evan Cheng authored
llvm-svn: 64111
-
Bill Wendling authored
llvm-svn: 64108
-
Bill Wendling authored
Remove warnings about not being able to delete something. Don't run lipo on gccas, gccld, and llvm-config scripts. llvm-svn: 64107
-
- Feb 07, 2009
-
-
Evan Cheng authored
llvm-svn: 64024
-
Evan Cheng authored
llvm-svn: 64023
-
- Feb 06, 2009
-
-
Dale Johannesen authored
its corresponding getTargetNode. Lots of caller changes. llvm-svn: 63904
-
- Feb 05, 2009
-
-
Dale Johannesen authored
llvm-svn: 63889
-
Mike Stump authored
llvm-svn: 63883
-
Mike Stump authored
compilers that don't support those flags. This hopefully will help gcc 3.X compile this code. http://llvm.org/PR3487 llvm-svn: 63882
-
Dale Johannesen authored
llvm-svn: 63812
-
Dale Johannesen authored
Adjust callers. llvm-svn: 63789
-
- Feb 04, 2009
-
-
Dale Johannesen authored
and llvm-gcc. llvm-svn: 63786
-
Nate Begeman authored
target directories themselves. This also means that VMCore no longer needs to know about every target's list of intrinsics. Future work will include converting the PowerPC target to this interface as an example implementation. llvm-svn: 63765
-
- Feb 01, 2009
-
-
Duncan Sands authored
crashes or wrong code with codegen of large integers: eliminate the legacy getIntegerVTBitMask and getIntegerVTSignBit methods, which returned their value as a uint64_t, so couldn't handle huge types. llvm-svn: 63494
-
- Jan 30, 2009
-
-
Bill Wendling authored
llvm-svn: 63342
-
- Jan 29, 2009
-
-
Bill Wendling authored
- Modify TableGen to add the DebugLoc when calling getTargetNode. (The light-weight wrappers are only temporary. The non-DebugLoc version will be removed once the whole debug info stuff is finished with.) llvm-svn: 63273
-
Dan Gohman authored
after the code that sorts the patterns. This doesn't affect the output, but it makes the code a little easier to follow. llvm-svn: 63265
-