- Sep 21, 2010
-
-
Benjamin Kramer authored
llvm-svn: 114439
-
Benjamin Kramer authored
llvm-svn: 114438
-
Chris Lattner authored
llvm-svn: 114437
-
Chris Lattner authored
no functionality change (step #1) llvm-svn: 114436
-
Mikhail Glushenkov authored
llvm-svn: 114435
-
Mikhail Glushenkov authored
llvm-svn: 114434
-
Mikhail Glushenkov authored
llvm-svn: 114433
-
Mikhail Glushenkov authored
llvm-svn: 114432
-
Lang Hames authored
llvm-svn: 114431
-
Gabor Greif authored
I am unable to write a test for this case, help is solicited, though... What I did is to tickle the code in the debugger and verify that we do the right thing. llvm-svn: 114430
-
Lang Hames authored
Added an additional PBQP problem builder which adds coalescing costs (both between pairs of virtuals, and between virtuals and physicals). llvm-svn: 114429
-
Gabor Greif authored
into OptimizeCompareInstr. This necessitates the passing of CmpValue around, so widen the virtual functions to accomodate. No functionality changes. llvm-svn: 114428
-
Mikhail Glushenkov authored
llvm-svn: 114427
-
Argyrios Kyrtzidis authored
Fixes rdar://8331312. llvm-svn: 114426
-
Chris Lattner authored
pass a completely incorrect SrcValue, which would result in a miscompile with combiner-aa. llvm-svn: 114411
-
Chris Lattner authored
llvm-svn: 114410
-
Chris Lattner authored
llvm-svn: 114409
-
Chris Lattner authored
"getFixedStack" on the MachinePointerInfo class. While this isn't the problem I'm setting out to solve, it is the right way to eliminate PseudoSourceValue, so lets go with it. llvm-svn: 114406
-
Chris Lattner authored
llvm-svn: 114405
-
Chris Lattner authored
of the getLoad methods. This fixes at least one bug where an incorrect svoffset is passed in (a potential combiner-aa miscompile). llvm-svn: 114404
-
Marcin Swiderski authored
- definitions of interfaces for CFGInitializer and CFGAutomaticObjDtor, - support for above classes to print_elem function (renamed print_stmt), - support for VarDecls in StmtPrinterHelper. llvm-svn: 114403
-
Chris Lattner authored
into non-segment-relative copies. llvm-svn: 114402
-
Chris Lattner authored
instead of srcvalue/offset pairs. This corrects SV info for mem operations whose size is > 32-bits. llvm-svn: 114401
-
Chris Lattner authored
llvm-svn: 114400
-
Chris Lattner authored
MachinePointerInfo. Among other virtues, this doesn't silently truncate the svoffset to 32-bits. llvm-svn: 114399
-
Chris Lattner authored
llvm-svn: 114397
-
Chris Lattner authored
eliminating some weird "infer a frame address" logic which was dead. llvm-svn: 114396
-
Chris Lattner authored
llvm-svn: 114395
-
Ted Kremenek authored
llvm-svn: 114394
-
Chris Lattner authored
MachinePointerInfo, propagating the type out a level of API. Remove the old MachineFunction::getMachineMemOperand impl. llvm-svn: 114393
-
Ted Kremenek authored
Check for null ObjCInterfaceDecls returned from getClassInterface() when generating USRs. While I have no test case for this (could not create one), this shows up in crash reports. Tentatively fixes <rdar://problem/8452791>. llvm-svn: 114392
-
Chris Lattner authored
llvm-svn: 114391
-
Chris Lattner authored
to the MachineFunction construction methods. llvm-svn: 114390
-
Chris Lattner authored
MachinePointerInfo struct, no functionality change. This also adds an assert to MachineMemOperand::MachineMemOperand that verifies that the Value* is either null or is an IR pointer type. llvm-svn: 114389
-
Chris Lattner authored
llvm-svn: 114387
-
rdar://8453210Chris Lattner authored
For now, just disable folding the load into the call. llvm-svn: 114386
-
Bill Wendling authored
doing with them. It's a "FIXME" right now because this change hasn't been implemented yet. llvm-svn: 114385
-
Sean Callanan authored
for C++ classes. Replaced it with a less hacky approach: - If an expression is defined in the context of a method of class A, then that expression is wrapped as ___clang_class::___clang_expr(void*) { ... } instead of ___clang_expr(void*) { ... }. - ___clang_class is resolved as the type of the target of the "this" pointer in the method the expression is defined in. - When reporting the type of ___clang_class, a method with the signature ___clang_expr(void*) is added to that class, so that Clang doesn't complain about a method being defined without a corresponding declaration. - Whenever the expression gets called, "this" gets looked up, type-checked, and then passed in as the first argument. This required the following changes: - The ABIs were changed to support passing of the "this" pointer as part of trivial calls. - ThreadPlanCallFunction and ClangFunction were changed to support passing of an optional "this" pointer. - ClangUserExpression was extended to perform the wrapping described above. - ClangASTSource was changed to revert the changes required by the hack. - ClangExpressionParser, IRForTarget, and ClangExpressionDeclMap were changed to handle different manglings of ___clang_expr flexibly. This meant no longer searching for a function called ___clang_expr, but rather looking for a function whose name *contains* ___clang_expr. - ClangExpressionParser and ClangExpressionDeclMap now remember whether "this" is required, and know how to look it up as necessary. A few inheritance bugs remain, and I'm trying to resolve these. But it is now possible to use "this" as well as refer implicitly to member variables, when in the proper context. llvm-svn: 114384
-
Rafael Espindola authored
llvm-svn: 114383
-
Rafael Espindola authored
llvm-svn: 114382
-