Ted Kremenek
7fd48d8549
Update checker build.
...
llvm-svn: 84750
2009-10-21 08:00:24 +00:00
Evan Cheng
f781bd8947
Need a comma after imp-use.
...
llvm-svn: 84749
2009-10-21 07:56:02 +00:00
Chris Lattner
72cdcacb02
add helpful methods to TargetInfo for querying builtin integer type properties,
...
patch by Ken Dyck!
llvm-svn: 84746
2009-10-21 06:24:21 +00:00
Douglas Gregor
74ba25ca5a
Improve diagnostics and template instantiation behavior when calling
...
an overloaded function call operator.
llvm-svn: 84745
2009-10-21 06:18:39 +00:00
Douglas Gregor
05f77d5006
De-bork CMake build
...
llvm-svn: 84744
2009-10-21 06:01:54 +00:00
Chris Lattner
439fa3eddd
Set comment string, patch by Johnny Chen!
...
llvm-svn: 84743
2009-10-21 05:07:57 +00:00
Chris Lattner
6720492c39
hookize wint_t's definition, patch by Edward O'Callaghan (from PR5233).
...
llvm-svn: 84740
2009-10-21 04:59:34 +00:00
Chris Lattner
8ed7bef409
make GVN work better when TD is not around:
...
"In the existing code, if the load and the value to replace it with are
of different types *and* target data is available, it tries to use the
target data to coerce the replacement value to the type of the load.
Otherwise, it skips all effort to handle the type mismatch and just
feeds the wrongly-typed replacement value to replaceAllUsesWith, which
triggers an assertion.
The patch replaces it with an outer if checking for type mismatch, and
an inner if-else that checks whether target data is available and, if
not, returns false rather than trying to replace the load."
Patch by Kenneth Uildriks!
llvm-svn: 84739
2009-10-21 04:11:19 +00:00
Chris Lattner
175d04c90f
tidy
...
llvm-svn: 84738
2009-10-21 04:10:24 +00:00
Mike Stump
7fe9cc1dd5
Prep work to always preallocate BlockDeclRefExprs so that we can
...
generate the debug information for the first parameter to the block
invoke functions. WIP.
llvm-svn: 84737
2009-10-21 03:49:08 +00:00
John McCall
b879435493
Revert those last two commits. Beware the treacherous semicolon.
...
llvm-svn: 84736
2009-10-21 03:40:01 +00:00
John McCall
fb81159c30
Preserve type source information when substituting into ParmVarDecls.
...
Apparently I'm grinding my commit count.
llvm-svn: 84735
2009-10-21 02:50:40 +00:00
John McCall
c30047ae8d
Preserve type source information when substituting into FieldDecls.
...
llvm-svn: 84734
2009-10-21 02:42:37 +00:00
John McCall
f1abcdcddd
Preserve source information when substituting into VarDecls.
...
llvm-svn: 84733
2009-10-21 02:39:02 +00:00
Bob Wilson
5b5cb92816
Fix some more NEON instruction encoding problems.
...
Thanks to Johnny Chen for discovering the problem.
llvm-svn: 84732
2009-10-21 02:27:20 +00:00
Devang Patel
1d7f7d21dc
Do not remove dead metadata for now.
...
llvm-svn: 84731
2009-10-21 02:21:34 +00:00
Bob Wilson
bd3650cc84
Leave some NEON instruction encoding bits unspecified instead of setting
...
a default value of zero. This is important for decoding the instructions.
Patch by Johnny Chen, with some changes from me, too.
llvm-svn: 84730
2009-10-21 02:15:46 +00:00
Mikhail Glushenkov
93f1948caa
Clarify documentation on multi_val options.
...
llvm-svn: 84729
2009-10-21 02:13:52 +00:00
Mikhail Glushenkov
456d734945
Implement any_[not_]empty and list versions of switch_on and [not_]empty.
...
Useful for OptionPreprocessor.
llvm-svn: 84728
2009-10-21 02:13:13 +00:00
Dan Gohman
682a2d154a
Revert r84658 and r84691. They were causing llvm-gcc bootstrap to fail.
...
llvm-svn: 84727
2009-10-21 01:44:44 +00:00
Chris Lattner
bc69313909
IPSCCP is missing stuff.
...
llvm-svn: 84725
2009-10-21 01:10:37 +00:00
John McCall
609459e070
Clone Sema::SubstType for DeclaratorInfos.
...
llvm-svn: 84724
2009-10-21 00:58:09 +00:00
Bill Wendling
42e86ab6c4
This is passing on Darwin PPC.
...
llvm-svn: 84723
2009-10-21 00:51:40 +00:00
John McCall
de88989e5d
Initialize using the base location provided by the derived implementation,
...
not the default one (which is always empty).
llvm-svn: 84721
2009-10-21 00:44:26 +00:00
Jeffrey Yasskin
08fa03c740
Delete the MacOSJITEventListener per echristo's request. It was disabled by
...
default and didn't work anyway.
llvm-svn: 84720
2009-10-21 00:43:48 +00:00
Mike Stump
70197d5441
Fix 80-col violation.
...
llvm-svn: 84719
2009-10-21 00:42:55 +00:00
John McCall
550e0c2f0f
Rewrite TreeTransform to transform types as DeclaratorInfos rather than as bare
...
QualTypes. Don't actually exploit this yet.
llvm-svn: 84716
2009-10-21 00:40:46 +00:00
John McCall
26fe7e0b8a
Add TypeLocBuilder, an API for incrementally creating TypeLocs. Change
...
the API for creating DeclaratorInfos to allow callers to provide an exact
size.
llvm-svn: 84715
2009-10-21 00:23:54 +00:00
John McCall
e4bdb93570
Publicize getSigilLoc / setSigilLoc for better metaprogramming.
...
Fix the ReferenceTypeLoc hierarchy.
llvm-svn: 84714
2009-10-21 00:21:09 +00:00
Anton Korobeynikov
7099d0c19c
Add note
...
llvm-svn: 84713
2009-10-21 00:14:15 +00:00
Anton Korobeynikov
e43af4a085
Be crazy and assert in case of unsupported modifier passed.
...
llvm-svn: 84712
2009-10-21 00:13:58 +00:00
Anton Korobeynikov
11074fa73e
Handle external symbols
...
llvm-svn: 84711
2009-10-21 00:13:42 +00:00
Anton Korobeynikov
cc55b9086d
Distinguish between pcrel imm operands and 'normal' ones. Fix fixes gross weirdness of asmprinting.
...
llvm-svn: 84710
2009-10-21 00:13:25 +00:00
Anton Korobeynikov
94ba9c27b0
Add basic block operands & jump kinds
...
llvm-svn: 84709
2009-10-21 00:13:05 +00:00
Anton Korobeynikov
8a06a4e5c8
Ignore all implicit reg operands
...
llvm-svn: 84708
2009-10-21 00:12:44 +00:00
Anton Korobeynikov
196b0e5431
Add a workaround for different memops prefixes
...
llvm-svn: 84707
2009-10-21 00:12:27 +00:00
Anton Korobeynikov
4e32bff382
Checkpoint MCInst printer. We (almostly) able to print global / JT / constpool entries
...
llvm-svn: 84706
2009-10-21 00:12:08 +00:00
Anton Korobeynikov
7cea91e171
Add reg-imm tests
...
llvm-svn: 84705
2009-10-21 00:11:44 +00:00
Anton Korobeynikov
7fbc0a50d5
Add simple operand printing stuff
...
llvm-svn: 84704
2009-10-21 00:11:27 +00:00
Anton Korobeynikov
6e78029d82
Add experimental MSP430 MCInstLowering stuff
...
llvm-svn: 84703
2009-10-21 00:11:08 +00:00
Anton Korobeynikov
daaa2f0c31
Wire up MSP430 printMCInst() method
...
llvm-svn: 84702
2009-10-21 00:10:47 +00:00
Anton Korobeynikov
b6e2e4fd50
Add MSP430 InstPrinter stub
...
llvm-svn: 84701
2009-10-21 00:10:30 +00:00
Anton Korobeynikov
13de81ac40
Use proper target data
...
llvm-svn: 84700
2009-10-21 00:10:00 +00:00
Ted Kremenek
ab929bb352
Remove stale comment and tighten code.
...
llvm-svn: 84697
2009-10-20 23:59:28 +00:00
Ted Kremenek
89e53fddb8
Add FIXME.
...
llvm-svn: 84696
2009-10-20 23:48:29 +00:00
Ted Kremenek
8aed49000d
Use llvm::OwningPtr in CFGBuilder, fixing a leak on an error path.
...
llvm-svn: 84695
2009-10-20 23:46:25 +00:00
Fariborz Jahanian
e4d94cee05
Code-gen for CXXZeroInitValueExpr AST passed
...
as argument to a function call. Removes a FIXME.
llvm-svn: 84694
2009-10-20 23:29:04 +00:00
Anders Carlsson
b68b028a02
Change ResolveAddressOfOverloadedFunction to support TemplateIdRefExpr. No testcase yet because FixOverloadedFunctionReference needs to be updated too. Doug, plz review.
...
llvm-svn: 84693
2009-10-20 22:53:47 +00:00
David Goodwin
4388beb884
Respect src register allocation requirements when breaking anti-dependencies. Remove some dead code.
...
llvm-svn: 84691
2009-10-20 22:50:43 +00:00
Devang Patel
0c35dbdf03
Cosmetic changes.
...
s/validName/isValidName/g
s/with an Instruction/to an Instruction/g
s/RegisterMDKind/registerMDKind/g
llvm-svn: 84689
2009-10-20 22:50:27 +00:00