Ted Kremenek
2a2c875b9c
Added 'extents' for Regions.
...
Added 'getExtent()' to StoreManager.
Implemented 'getExtent()' for BasicStoreManager.
llvm-svn: 55321
2008-08-25 19:33:03 +00:00
Dale Johannesen
17d5be2d0a
Adjust grep's for new code sequence.
...
llvm-svn: 55320
2008-08-25 18:53:58 +00:00
Dale Johannesen
166d6cb1fa
It's important for the cmp-and-swap to balance
...
loads and stores but it's even more important for
it to store the right value.:(
llvm-svn: 55319
2008-08-25 18:53:26 +00:00
Bill Wendling
6cfd3830fb
Nevermind. This broke the bootstrap (?!).
...
llvm-svn: 55318
2008-08-25 18:32:39 +00:00
Bill Wendling
dd6759aea7
MOVQ2DQ and MOVQ2DQ use SSE2. We should conditionalize the use of these
...
instructions on having SSE2.
llvm-svn: 55317
2008-08-25 18:20:52 +00:00
Anders Carlsson
1ec2ccd8ee
Objective-C foreach selector elements must be lvalues.
...
llvm-svn: 55316
2008-08-25 18:16:36 +00:00
Chris Lattner
dab9425547
Fix pasto (values -> types) noticed by Josh Conner
...
llvm-svn: 55315
2008-08-25 17:03:15 +00:00
Daniel Dunbar
ef957f3489
Change another is-a-pointer check to check in terms of LLVM type.
...
llvm-svn: 55312
2008-08-25 10:38:11 +00:00
Daniel Dunbar
427f873196
Do is-a-pointer checks in terms of LLVM types in
...
EmitScalarConversion().
- Important for allowing Obj-C void * to id<X> casts and so on.
- Not sure about this fix however, perhaps Type should understand
that id is effectively a pointer type.
llvm-svn: 55311
2008-08-25 09:51:32 +00:00
Daniel Dunbar
81128e04e7
Stop asserting in TargetInfo::validateInputConstraint
...
- Sema gives a perfectively nice error message on invalid constraints.
llvm-svn: 55310
2008-08-25 09:46:27 +00:00
Daniel Dunbar
ca8531a2d7
Fix Obj-C super sends inside class methods.
...
- NeXT loads the super class at runtime; this required changing the
runtime interface to pass more information down.
llvm-svn: 55307
2008-08-25 08:19:24 +00:00
Daniel Dunbar
236e02c62c
Name struct types generated for Obj-C classes.
...
llvm-svn: 55304
2008-08-25 06:28:15 +00:00
Daniel Dunbar
eb99810502
Use DenseMap on IdentifierInfo instead of StringMap.
...
llvm-svn: 55303
2008-08-25 06:18:57 +00:00
Daniel Dunbar
c61d0e9ee9
NeXT: Emit symbols used to manage linking of Obj-C classes.
...
- This ensures that references to undefined classes cause link
errors.
- NOTE: This relies on platform specific asm directives currently,
this should be factored out.
Also, don't emit a SYMBOLS metadata entry if there are no symbols.
llvm-svn: 55302
2008-08-25 06:02:07 +00:00
Chris Lattner
820eebc5a8
flush stream after dumping.
...
llvm-svn: 55301
2008-08-25 04:55:46 +00:00
Evan Cheng
e414681352
Fix asm printing of MOVSDto64mr and MOV64toSDrm.
...
llvm-svn: 55300
2008-08-25 04:11:42 +00:00
Anders Carlsson
ab55d9cd74
Handle emitting __builtin_huge_valf as a constant expr.
...
llvm-svn: 55299
2008-08-25 03:27:15 +00:00
Anders Carlsson
c13b85a6b8
Make code generation of ivar ref exprs more like member exprs.
...
llvm-svn: 55298
2008-08-25 01:53:23 +00:00
Anders Carlsson
4c03d98e45
Handle static variables inside obj-c methods.
...
llvm-svn: 55297
2008-08-25 01:38:19 +00:00
Bill Wendling
934b374bc8
Fix this test. Don't null out the file, just XFAIL it until patch can be fixed.
...
llvm-svn: 55296
2008-08-24 21:48:46 +00:00
Bill Wendling
5b836c5f77
Temporarily reverting r55292. It's causing a bootstraping failure:
...
/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc ... src/libiberty/make-temp-file.c -o make-temp-file.o
Assertion failed: (Node2Index[SU->NodeNum] > Node2Index[I->Dep->NodeNum] && "Wrong topological sorting"), function InitDAGTopologicalSorting, file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp, line 508.
../../../../llvm-gcc.src/libiberty/hashtab.c:955: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter > for instructions.
make[4]: *** [hashtab.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [multi-do] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libiberty] Error 2
make: *** [all] Error 2
llvm-svn: 55295
2008-08-24 21:45:30 +00:00
Chris Lattner
25852069ed
remove the type checking logic already done by tblgen, just keep the
...
parts tblgen doesn't do (checking for constant, alloca, enclosing
function has gc marker). This passes dj! :)
llvm-svn: 55294
2008-08-24 20:46:13 +00:00
Chris Lattner
a078d83e17
simplify PseudoSourceValue printing a bit. Unnest all of PseudoSourceValue.cpp from the llvm namespace.
...
llvm-svn: 55293
2008-08-24 20:37:32 +00:00
Evan Cheng
8fa17424f7
Move callseq_start above the call address load to allow load to be folded into the call node.
...
llvm-svn: 55292
2008-08-24 19:19:55 +00:00
Evan Cheng
72e7d91591
Print PseudoSourceValue.
...
llvm-svn: 55291
2008-08-24 18:51:20 +00:00
Chris Lattner
6a951c240b
we should use 'class' for non-pod types instead of 'struct' to
...
make it easier to deal with the VC++ struct/class bug.
llvm-svn: 55290
2008-08-24 18:38:56 +00:00
Chris Lattner
d758625083
add a hack to temporarily allow pseudo source values.
...
llvm-svn: 55289
2008-08-24 18:33:17 +00:00
Chris Lattner
f4bd5cf3dd
make sure to flush the stream after dumping, to make sure it goes out immediately.
...
llvm-svn: 55288
2008-08-24 18:28:30 +00:00
Anders Carlsson
88e89a5a5d
Convert qualified interface types correctly.
...
llvm-svn: 55287
2008-08-24 18:05:19 +00:00
Anders Carlsson
c7c20702b1
Fix silly bug in objc_gc attribute parsing and add test case
...
llvm-svn: 55286
2008-08-24 16:33:25 +00:00
Argyrios Kyrtzidis
bf667e23d1
Pass SourceRanges by reference to the various Diag methods.
...
llvm-svn: 55284
2008-08-24 13:14:02 +00:00
Argyrios Kyrtzidis
26da1f46e4
Add a Parser::Diag overload that can receive a custom string along with a SourceRange.
...
llvm-svn: 55283
2008-08-24 12:51:04 +00:00
Cedric Venet
404cd15fa5
Use additionnal include directory instead of ../ in #include.
...
Suggested by aKor.
llvm-svn: 55282
2008-08-24 12:30:46 +00:00
Argyrios Kyrtzidis
75b34536d0
Rename Preprocessor::DisableBacktrack -> Preprocessor::CommitBacktrackedTokens.
...
llvm-svn: 55281
2008-08-24 12:29:43 +00:00
Cedric Venet
0a854b5308
Update VS projects.
...
llvm-svn: 55280
2008-08-24 11:59:26 +00:00
Cedric Venet
0f7b5666a2
Updating VC++ project.
...
Adding one include file and correct one declaration from class to struct in order to make llvm compile on VC2005.
llvm-svn: 55279
2008-08-24 11:56:40 +00:00
Chris Lattner
ab18099c98
other updates
...
llvm-svn: 55278
2008-08-24 05:56:54 +00:00
Chris Lattner
8659651a12
link to c++ status page
...
llvm-svn: 55277
2008-08-24 05:44:37 +00:00
Chris Lattner
d0449107d6
codegen is still not 'finished', but in a better state than before.
...
llvm-svn: 55276
2008-08-24 05:42:07 +00:00
Gordon Henriksen
75609c7e1c
Update GC docs for clarified naming and AsmWriter refactoring.
...
llvm-svn: 55275
2008-08-24 03:18:23 +00:00
Zhongxing Xu
9470a96b18
Moved HTMLDiagnostics to lib/Driver.
...
llvm-svn: 55274
2008-08-24 02:33:36 +00:00
Daniel Dunbar
83b8766f23
Add svn:ignore for docs/{doxygen,doxygen.tar.gz}
...
llvm-svn: 55273
2008-08-24 00:24:17 +00:00
Chris Lattner
909d0881ff
Comment tweak.
...
llvm-svn: 55272
2008-08-24 00:12:08 +00:00
Chris Lattner
add44f3fb7
improve encapsulation of the BBExecutable set.
...
llvm-svn: 55271
2008-08-23 23:39:31 +00:00
Chris Lattner
65938fc69a
Switch an assortment of maps, sets and vectors to more efficient versions,
...
patch contributed by m-s!
llvm-svn: 55270
2008-08-23 23:36:38 +00:00
Anders Carlsson
6305c5f437
Add support for parsing the objc_gc attribute. Tests will come shortly.
...
llvm-svn: 55269
2008-08-23 23:22:21 +00:00
Chris Lattner
838aff36dd
get MachineConstantPool off std::ostream, onto raw_ostream. It would be
...
really nice if someone converted MachineFunction::print to raw_ostream.
llvm-svn: 55268
2008-08-23 22:53:13 +00:00
Chris Lattner
82ff923091
minor cleanups.
...
llvm-svn: 55267
2008-08-23 22:52:27 +00:00
Chris Lattner
e35929da7f
remove dead method.
...
llvm-svn: 55266
2008-08-23 22:43:21 +00:00
Chris Lattner
205af9643d
Add raw_stream adaptors that write into an std::string and SmallVector/SmallString.
...
llvm-svn: 55265
2008-08-23 22:43:04 +00:00