summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add logic to align instruction operands to columns for pretty-printing.David Greene2009-07-173-12/+136
| | | | | | | No target uses this currently. This patch only adds the mechanism so that local installations can choose to enable this. llvm-svn: 76177
* Avoid a compiler warning when assertions are turned off.Duncan Sands2009-07-171-3/+2
| | | | llvm-svn: 76176
* Testcase for PR4214.Duncan Sands2009-07-171-0/+4
| | | | llvm-svn: 76174
* Documentation clarifications for isSafeToSpeculativelyExecute.Eli Friedman2009-07-171-4/+17
| | | | llvm-svn: 76168
* Rename Entity::getName() to Entity::getPrintableName() to make its purposeZhongxing Xu2009-07-174-8/+9
| | | | | | more obvious. llvm-svn: 76167
* As suggested by Argyrios, revert r76159 and make "FindImmediateParent" Zhongxing Xu2009-07-173-13/+11
| | | | | | a public static method of ASTLocation. llvm-svn: 76166
* Oops, accidentally set a legal operation to expand.Eli Friedman2009-07-171-1/+0
| | | | llvm-svn: 76165
* Refactor code into a new CallExpr::getDirectCallee() method. Simplify someZhongxing Xu2009-07-174-24/+21
| | | | | | code with the new method. llvm-svn: 76164
* Expand misc operations from test/CodeGen/Generic.Eli Friedman2009-07-171-0/+17
| | | | llvm-svn: 76163
* Handle void in XCoreTargetLowering::isLegalAddressingMode. Triggers in Eli Friedman2009-07-171-0/+5
| | | | | | test/CodeGen/Generic. llvm-svn: 76162
* CallGraph: add a bunch of stmt visitors.Zhongxing Xu2009-07-171-6/+20
| | | | llvm-svn: 76161
* Remove some unnecessary expansion markings. Add a few expansion Eli Friedman2009-07-171-24/+7
| | | | | | markings that show up in test/CodeGen/Generic. llvm-svn: 76160
* Relax the assertion in ASTLocation's ctor: if the decl is not the immediateZhongxing Xu2009-07-172-5/+11
| | | | | | | | | parent of the stmt, find the immediate parent for the stmt. This is because sometimes we cannot get the immediate decl of the stmt when creating the ASTLocation. We can only get a parent of the stmt. llvm-svn: 76159
* Add operation expansion/promotion for a bunch of operations, many of Eli Friedman2009-07-171-5/+54
| | | | | | which show up in test/CodeGen/Generic. llvm-svn: 76158
* Add broken gcc from PR4532.Nick Lewycky2009-07-171-1/+3
| | | | llvm-svn: 76157
* CallGraph:Zhongxing Xu2009-07-172-6/+14
| | | | | | | | - add IfStmt visitor. - print information only when a function has callee. Otherwise its ASTContext map is NULL. llvm-svn: 76156
* Fix tSUBspi operand definition. It reads and writes sp, which is a high ↵Evan Cheng2009-07-171-1/+1
| | | | | | register. llvm-svn: 76155
* Set an operation expansion, noticed while running Eli Friedman2009-07-171-0/+2
| | | | | | llc over test/CodeGen/Generic with -march=alpha. llvm-svn: 76154
* Make promotion in operation legalization for SETCC work correctly.Eli Friedman2009-07-172-23/+11
| | | | llvm-svn: 76153
* Replace isTrapping with a new, similar method called Eli Friedman2009-07-176-53/+71
| | | | | | | | | | isSafeToSpeculativelyExecute. The new method is a bit closer to what the callers actually care about in that it rejects more things callers don't want. It also adds more precise handling for integer division, and unifies code for analyzing the legality of a speculative load. llvm-svn: 76150
* One more operation expansion for MIPS, from test/CodeGen/Generic.Eli Friedman2009-07-171-1/+2
| | | | llvm-svn: 76149
* Make sure CWriter's Context get's initialized.Daniel Dunbar2009-07-171-0/+2
| | | | llvm-svn: 76147
* Expand a bunch of illegal operations on MIPS (found by Eli Friedman2009-07-171-0/+12
| | | | | | inspection and running over CodeGen/Generic). llvm-svn: 76146
* Fix 'may be used uninitialized' warning.Daniel Dunbar2009-07-171-2/+2
| | | | | | - Anton, please review. llvm-svn: 76144
* Fixup indentation of rest of switch statement to match llvm codingMike Stump2009-07-171-690/+667
| | | | | | | conventions. Also reflowed comments and removed spaces at end of lines and fixed up 80 col violations. llvm-svn: 76140
* Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), ↵Ted Kremenek2009-07-1737-250/+155
| | | | | | Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents. llvm-svn: 76139
* If we are not doing a Debug build, no need for the debugging print methods.Argyrios Kyrtzidis2009-07-171-2/+6
| | | | llvm-svn: 76138
* ObjCCategoryImplDecl and ObjCImplementation do not derive directly from ↵Argyrios Kyrtzidis2009-07-173-16/+14
| | | | | | | | DeclContext but from a new abstract ObjCImplDecl. Reflect this change on the "DeclContext hierarchy". llvm-svn: 76137
* Check whether the IdentifierInfo is null, before using it.Argyrios Kyrtzidis2009-07-171-0/+3
| | | | llvm-svn: 76136
* Add the private keyword to the polygen grammar.Dan Gohman2009-07-171-0/+1
| | | | llvm-svn: 76135
* Add the private keyword to the VIM syntax highlighting.Dan Gohman2009-07-171-1/+1
| | | | llvm-svn: 76134
* Make noreturn functions alter the CFG.Mike Stump2009-07-172-5/+47
| | | | llvm-svn: 76133
* Replace Type::getAsReferenceType() with Type::getAs<ReferenceType>().Ted Kremenek2009-07-1710-42/+23
| | | | llvm-svn: 76132
* Fix my brain cramp by inverting the assertion condition.Evan Cheng2009-07-171-3/+1
| | | | llvm-svn: 76131
* Update cf_returns_retained/ns_returns_retained examples to use __has_feature.Ted Kremenek2009-07-171-2/+10
| | | | llvm-svn: 76130
* Update test case to use '__has_feature' macro.Ted Kremenek2009-07-171-10/+17
| | | | llvm-svn: 76129
* Fix "no newline at end of file" warning from gcc.Jeffrey Yasskin2009-07-161-1/+1
| | | | llvm-svn: 76127
* Privatize the MDNode uniquing table.Owen Anderson2009-07-166-33/+49
| | | | llvm-svn: 76126
* Some more ?: for Obj-C tests.Daniel Dunbar2009-07-161-0/+27
| | | | llvm-svn: 76125
* Emit cross regclass register moves for thumb2.Anton Korobeynikov2009-07-167-27/+75
| | | | | | Minor code duplication cleanup. llvm-svn: 76124
* Disable this assert for now, it is firing on an llvm-gcc bootstrap. :(Daniel Dunbar2009-07-161-0/+2
| | | | llvm-svn: 76123
* Add new flags '-test-cflags' and '-test-cxxflags' to pass in flags directly ↵Bill Wendling2009-07-161-2/+12
| | | | | | to the llvm testsuite. llvm-svn: 76122
* GV with ghost linkage (module being lazily streamed in in JIT lazy ↵Evan Cheng2009-07-161-5/+9
| | | | | | compilation mode) do not require extra load from stub. This fixes ExecutionEngine/2005-12-02-TailCallBug.ll. llvm-svn: 76121
* Assume an inline asm might be a call, so we getDale Johannesen2009-07-162-1/+5
| | | | | | | | | stack alignment right when it is. This is not ideal but conservatively correct. Adjust a test to compensate for changed stack offset value. gcc.apple/asm-block-57.c llvm-svn: 76120
* Emit line numbers in asm comments when available.David Greene2009-07-162-2/+42
| | | | llvm-svn: 76117
* Privatize the MDString uniquing table.Owen Anderson2009-07-167-34/+41
| | | | llvm-svn: 76113
* Fix unused variable warnings (with -Asserts)Daniel Dunbar2009-07-161-0/+1
| | | | llvm-svn: 76112
* Fix inverted preprocessor conditional.Daniel Dunbar2009-07-161-1/+1
| | | | llvm-svn: 76111
* Fix compiler warning (for -Asserts).Daniel Dunbar2009-07-161-2/+2
| | | | llvm-svn: 76110
* ir-gen for --/++ operators of objc object pointersFariborz Jahanian2009-07-162-1/+38
| | | | | | in 32bit abi. llvm-svn: 76109
OpenPOWER on IntegriCloud