summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Undo my brain cramp.Evan Cheng2009-07-102-67/+0
| | | | llvm-svn: 75290
* Revert r75281 and simply remove the assertion in NewCastRegion thatTed Kremenek2009-07-102-32/+13
| | | | | | | | CodeTextRegions can only be casted to FunctionPointer or BlockPointerTypes. This simply isn't true. We can handle bogus operations on CodeTextRegions (e.g, an array access) elsewhere. llvm-svn: 75285
* Make changes suggested by Chris and eliminate newly-added raw_ostreamDavid Greene2009-07-107-215/+245
| | | | | | | | | hooks as they're no longer needed. The major change with this patch is to make formatted_raw_ostream usable by any client of raw_ostream. llvm-svn: 75283
* Fix crash in StoreManager::NewCastRegion regarding handling casts to void*,Ted Kremenek2009-07-102-3/+38
| | | | | | void**, void***, etc. Such casts should just pass the region through. llvm-svn: 75281
* Regenerate configure after r75279.Jeffrey Yasskin2009-07-102-25/+595
| | | | llvm-svn: 75280
* Add a --with-oprofile flag to configure, which uses OProfile's agentJeffrey Yasskin2009-07-105-0/+150
| | | | | | | | | | | | | | | | | | library to tell it the addresses of JITted functions. For a particular program, this changes the opreport -l output from: samples % image name symbol name 48182 98.9729 anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) 11 0.0226 libstdc++.so.6.0.9 /usr/lib/libstdc++.so.6.0.9 to: samples % image name symbol name 24565 60.7308 19814.jo fib_left 15365 37.9861 19814.jo fib_right 22 0.0544 ld-2.7.so do_lookup_x llvm-svn: 75279
* code model is never set to default.Chris Lattner2009-07-101-4/+2
| | | | llvm-svn: 75278
* fix indentationChris Lattner2009-07-101-14/+14
| | | | llvm-svn: 75277
* remove the now-dead TM argument to these methods.Chris Lattner2009-07-105-10/+10
| | | | llvm-svn: 75276
* make PIC vs DynamicNoPIC be explicit in PICStyles.Chris Lattner2009-07-103-21/+21
| | | | llvm-svn: 75275
* some minor simplifications.Chris Lattner2009-07-102-14/+32
| | | | llvm-svn: 75274
* add a couple of predicates to test for "stub style pic in PIC mode" and ↵Chris Lattner2009-07-105-34/+40
| | | | | | "stub style pic in dynamic-no-pic" mode. llvm-svn: 75273
* Remove ScalarEvolution::hasSCEV, which isn't being used, and whichDan Gohman2009-07-102-16/+2
| | | | | | breaks encapsulation. Also remove a dead prototype for setSCEV. llvm-svn: 75272
* Use /usr/bin/env trick to find python. Patch by Krister Walfridsson.Eli Friedman2009-07-108-8/+8
| | | | llvm-svn: 75271
* Patch to build list of inherited virtual base classes Fariborz Jahanian2009-07-104-11/+160
| | | | | | | | in their order of construction for each class and use it to to check on propery order of base class construction under -Wreorder option. llvm-svn: 75270
* Avoid compiler warnings when assertions are turned off.Duncan Sands2009-07-101-4/+4
| | | | llvm-svn: 75269
* Misc fixes to fix tests on OpenBSD, per email to cfe-commits. Patches Eli Friedman2009-07-104-2/+5
| | | | | | by Jonathan Gray and Krister Walfridsson. llvm-svn: 75268
* Avoid compiler warnings if assertions turned off.Duncan Sands2009-07-101-0/+2
| | | | llvm-svn: 75267
* CMOVxx doesn't swap operands which it's commuted.Evan Cheng2009-07-102-0/+67
| | | | llvm-svn: 75266
* Fix a problem that Eli noticed, and that Doug helped me fix.Anders Carlsson2009-07-104-10/+20
| | | | llvm-svn: 75265
* Remove TargetInstrInfo::CommuteChangesDestination and added ↵Evan Cheng2009-07-104-31/+67
| | | | | | findCommutedOpIndices which returns the operand indices which are swapped (when applicable). This allows for some code clean up and future enhancements. llvm-svn: 75264
* Link std.lib (.bc code) with llvm-ld.Sanjiv Gupta2009-07-101-2/+2
| | | | | | Link devices.lib (processor specific variables) with mplink. llvm-svn: 75263
* Fix unit tests.Owen Anderson2009-07-103-92/+94
| | | | llvm-svn: 75262
* convert test to use FileCheck, which is much more precise and faster thanChris Lattner2009-07-101-7/+21
| | | | | | | the previous RUN lines. Hopefully this will be an inspiration for future tests :) llvm-svn: 75261
* add missing *, patch by Peter O'Gorman!Chris Lattner2009-07-101-1/+1
| | | | llvm-svn: 75259
* Push LLVMContext through the TypeBuilder API. There are no users for this ↵Owen Anderson2009-07-101-96/+106
| | | | | | | | in-tree, so I can't really test it. If you're using this, and it's broken, please send patches. llvm-svn: 75257
* Eliminate an unnecessary include.David Greene2009-07-101-2/+0
| | | | llvm-svn: 75256
* Push LLVMContext through the PatternMatch API.Owen Anderson2009-07-104-164/+193
| | | | llvm-svn: 75255
* Predicate VFP instructions on HasVFP2 instead of IsARM. This allows VFP ↵David Goodwin2009-07-102-14/+42
| | | | | | instructions with thumb-2. llvm-svn: 75254
* Rename potentially ambiguous member template 'getRegion' to 'getSubRegion' ↵Ted Kremenek2009-07-102-7/+7
| | | | | | to hopefully resolve template lookup ambiguities on some compilers. llvm-svn: 75253
* Generalize ScalarEvolution's cast-folding code to support more kindsDan Gohman2009-07-104-120/+723
| | | | | | | of loops. Add several new functions to for working with ScalarEvolution's add-hoc value-range analysis functionality. llvm-svn: 75252
* Update for GlobalVariables ctor change.Owen Anderson2009-07-101-3/+2
| | | | llvm-svn: 75251
* t2LDM_RET does not fall-through.David Goodwin2009-07-101-1/+1
| | | | llvm-svn: 75250
* Add Thumb2ITBlockPass.cpp to CMakeLists.txt, fixingDuncan Sands2009-07-101-0/+1
| | | | | | the cmake build. llvm-svn: 75246
* make this more like printOperand. Perhaps some merging will happenChris Lattner2009-07-101-3/+2
| | | | | | tomorrow. llvm-svn: 75245
* simplify fast isel by using ClassifyGlobalReference. ThisChris Lattner2009-07-103-53/+14
| | | | | | elimiantes the last use of GVRequiresExtraLoad, so delete it. llvm-svn: 75244
* eliminate GVRequiresRegister, replacing it with predicates we Chris Lattner2009-07-103-24/+9
| | | | | | need for other purposes. llvm-svn: 75243
* change a bunch of logic in LowerGlobalAddress to leverage the workChris Lattner2009-07-101-17/+10
| | | | | | | done in ClassifyGlobalReference instead of reconstructing the info awkwardly. llvm-svn: 75240
* add a predicate to determine if a global var reference requires aChris Lattner2009-07-101-0/+16
| | | | | | PIC-base to be added in. llvm-svn: 75238
* move some classification logic around. Now GVRequiresExtraLoadChris Lattner2009-07-103-74/+100
| | | | | | | is just a trivial wrapper around "ClassifyGlobalReference", which stole a ton of logic from LowerGlobalAddress. llvm-svn: 75237
* change isGlobalStubReference to take target flags instead of a MachineOperand.Chris Lattner2009-07-104-9/+9
| | | | llvm-svn: 75236
* convert some late code (called by regalloc and code emission)Chris Lattner2009-07-102-12/+5
| | | | | | | to use isGlobalStubReference instead of GVRequiresExtraLoad (which should really be part of isel). llvm-svn: 75234
* add a new predicate method that says whether a GlobalValue Chris Lattner2009-07-101-1/+27
| | | | | | | MachineOperand is a reference to a stub, not a reference to the global variable itself. Look no context needed! llvm-svn: 75233
* GVRequiresExtraLoad is now never used for calls, simplify it based on this.Chris Lattner2009-07-106-17/+10
| | | | llvm-svn: 75232
* actually, just eliminate PCRelGVRequiresExtraLoad. It makes the codeChris Lattner2009-07-104-22/+2
| | | | | | more complex and slow than just directly testing what we care about. llvm-svn: 75231
* There is only one case where GVRequiresExtraLoad returns true for calls:Chris Lattner2009-07-104-80/+37
| | | | | | | split its handling out to PCRelGVRequiresExtraLoad, and simplify code based on this. llvm-svn: 75230
* the "isDirectCall" operand of GVRequiresRegister is always false, eliminate it.Chris Lattner2009-07-103-11/+9
| | | | llvm-svn: 75229
* split call handling out of X86SelectAddress into X86SelectCallAddressChris Lattner2009-07-101-18/+164
| | | | llvm-svn: 75228
* convert a helper method to be a static function instead of a Chris Lattner2009-07-101-11/+14
| | | | | | template. Also convert it to take a MachineOperand instead of a GV* llvm-svn: 75227
* 80 col violation.Evan Cheng2009-07-101-2/+2
| | | | llvm-svn: 75226
OpenPOWER on IntegriCloud