- Jul 31, 2009
-
-
Bill Wendling authored
- One formatting change. No intended functionality change. llvm-svn: 77717
-
Owen Anderson authored
llvm-svn: 77685
-
Owen Anderson authored
llvm-svn: 77635
-
- Jul 30, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77605
-
Daniel Dunbar authored
a Twine, e.g., for names). - I am a little ambivalent about this; we don't want the string conversion of utostr, but using overload '+' mixed with string and integer arguments is sketchy. On the other hand, this particular usage is something of an idiom. llvm-svn: 77579
-
Douglas Gregor authored
llvm-svn: 77519
-
Owen Anderson authored
llvm-svn: 77516
-
- Jul 29, 2009
-
-
Owen Anderson authored
llvm-svn: 77494
-
- Jul 28, 2009
-
-
Owen Anderson authored
llvm-svn: 77347
-
Owen Anderson authored
llvm-svn: 77266
-
- Jul 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77152
-
- Jul 25, 2009
-
-
Daniel Dunbar authored
- Some clients which used DOUT have moved to DEBUG. We are deprecating the "magic" DOUT behavior which avoided calling printing functions when the statement was disabled. In addition to being unnecessary magic, it had the downside of leaving code in -Asserts builds, and of hiding potentially unnecessary computations. llvm-svn: 77019
-
Owen Anderson authored
Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. llvm-svn: 77011
-
- Jul 24, 2009
-
-
Dan Gohman authored
instead of getAnalysis<TargetData>(). llvm-svn: 76982
-
Daniel Dunbar authored
llvm-svn: 76962
-
- Jul 22, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76782
-
Owen Anderson authored
llvm-svn: 76702
-
- Jul 21, 2009
-
-
Owen Anderson authored
llvm-svn: 76598
-
Ted Kremenek authored
llvm-svn: 76595
-
- Jul 20, 2009
-
-
Chris Lattner authored
doesn't cause ".no_dead_strip" to be emitted on darwin. llvm-svn: 76399
-
Bill Wendling authored
"private" symbols which the assember shouldn't strip, but which the linker may remove after evaluation. This is mostly useful for Objective-C metadata. This is plumbing, so we don't have a use of it yet. More to come, etc. llvm-svn: 76385
-
- Jul 18, 2009
-
-
Eli Friedman authored
llvm-svn: 76284
-
- Jul 16, 2009
-
-
Owen Anderson authored
our current context-passing stuff, which is also fixed here llvm-svn: 76089
-
Owen Anderson authored
llvm-svn: 75863
-
- Jul 15, 2009
-
-
Owen Anderson authored
llvm-svn: 75703
-
- Jul 14, 2009
-
-
Torok Edwin authored
This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
-
- Jul 13, 2009
-
-
Owen Anderson authored
llvm-svn: 75497
-
- Jul 11, 2009
-
-
Torok Edwin authored
Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
-
- Jul 10, 2009
-
-
Owen Anderson authored
This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? llvm-svn: 75200
-
- Jul 08, 2009
-
-
Owen Anderson authored
llvm-svn: 75025
-
Owen Anderson authored
llvm-svn: 74985
-
- Jul 07, 2009
-
-
Owen Anderson authored
llvm-svn: 74878
-
Owen Anderson authored
Finish LLVMContext-ing lib/Analysis. This required pushing LLVMContext's through the ValueTracking API. llvm-svn: 74873
-
- Jul 06, 2009
-
-
Owen Anderson authored
llvm-svn: 74844
-
Owen Anderson authored
llvm-svn: 74811
-
- Jul 03, 2009
-
-
Duncan Sands authored
llvm-svn: 74773
-
- Jul 01, 2009
-
-
Chris Lattner authored
to not have to create a temporary vector (in the API at least). Patch by Jay Foad! llvm-svn: 74584
-
- Jun 26, 2009
-
-
Devang Patel authored
Remove debug info anchors - llvm.dbg.compile_units, llvm.dbg.subprograms and llvm.dbg.global_variables. llvm-svn: 74251
-
- Jun 17, 2009
-
-
Sanjiv Gupta authored
>> What if my global variable was into a different address space than stack? >> > > It doesn't matter in terms of semantics: because AnalyzeGlobal > returned false, we're guaranteed the address of the global is never > taken. I wouldn't be surprised if we end up generating invalid IR in > some cases, though, because of the semantics of replaceAllUsesWith. > Do you have a testcase that breaks? > > The problem is replaceAllUsesWith asserts for type mismatch here. Try attached .bc with llvm-ld. assert(New->getType() == getType() && "replaceAllUses of value with new value of different type!"); Since stack is always on address space zero, I don't think that type of GV in a different address space is ever going to match. The other way is to allow replaceAllUsesWith to ignore address spaces while comparing types. (do we have a way to do that ?). But then such an optimization may fail the entire idea of user wanting to place a variable into different memory space. The original idea of user might be to save on the stack space (data memory) and hence he asked the variable to be placed into different memory space (program memory). So the best bet here is to deny this optimization by checking GV->getType()->getAddressSpace() == 0. llvm-svn: 73605
-
- Jun 15, 2009
-
-
Owen Anderson authored
llvm-svn: 73412
-