- Aug 30, 2008
-
-
Anders Carlsson authored
llvm-svn: 55572
-
Gabor Greif authored
llvm-svn: 55571
-
Gordon Henriksen authored
Based on patch by Giorgos Korfiatis. llvm-svn: 55570
-
Daniel Dunbar authored
access of methods. llvm-svn: 55569
-
Anders Carlsson authored
llvm-svn: 55568
-
Anders Carlsson authored
llvm-svn: 55567
-
Gordon Henriksen authored
Breakage was exposed in the Ocaml bindings tests after Chris uncommented an assertion in r55084. llvm-svn: 55566
-
Gabor Greif authored
llvm-svn: 55565
-
Evan Cheng authored
Re-apply 55467 with fix. If copy is being replaced by remat'ed def, transfer the implicit defs onto the remat'ed instruction. llvm-svn: 55564
-
Evan Cheng authored
llvm-svn: 55563
-
Evan Cheng authored
For now, can't mark XOR64rr isAsCheapAsAMove. It's technically correct. But various passes cannot handle remating these. llvm-svn: 55562
-
Daniel Dunbar authored
- Change Obj-C runtime message API, drop the ObjCMessageExpr arg in favor of just result type and selector. Necessary so it can be reused in situations where we don't want to cons up an ObjCMessageExpr. - Update aggregate binary assignment to know about special property ref lvalues. - Add CodeGenFunction::EmitCallArg overload which takes an already emitted rvalue. Add CodeGenFunction::StoreComplexIntoAddr. Disabled logic in Sema for parsing Objective-C dot-syntax that accesses methods. This code does not search in the correct order and the AST node has no way of properly representing its results. Updated StmtDumper to print a bit more information about ObjCPropertyRefExprs. llvm-svn: 55561
-
Daniel Dunbar authored
- Added CodeGenFunction::EmitCall which just takes the callee, return type, and a list of (Value*,QualType) pairs. - Added CodeGenFunction::EmitCallArg which handles emitting code for a call argument and turning it into an appropriate (Value*,QualType) pair. - Changed Objective-C runtime interface so that the actual emission of arguments for message sends is (once again) done in the code to emit a message send. No intended functionality change, this is prep work for better ABI support and for Objective-C property setter support. llvm-svn: 55560
-
Daniel Dunbar authored
llvm-svn: 55559
-
Evan Cheng authored
Transform (x << (y&31)) -> (x << y). This takes advantage of the fact x86 shift instructions 2nd operand (shift count) is limited to 0 to 31 (or 63 in the x86-64 case). llvm-svn: 55558
-
Daniel Dunbar authored
support it. llvm-svn: 55557
-
Dale Johannesen authored
llvm-svn: 55556
-
Owen Anderson authored
Fix an issue where a use might be selected before a def, and then we didn't respect the pre-chosen vreg assignment when selecting the def. This is the naive solution to the problem: insert a copy to the pre-chosen vreg. Other solutions might be preferable, such as: 1) Passing the dest reg into FastEmit_. However, this would require the higher level code to know about reg classes, which they don't currently. 2) Selecting blocks in reverse postorder. This has some compile time cost for computing the order, and we'd need to measure its impact. llvm-svn: 55555
-
Dale Johannesen authored
llvm-svn: 55554
-
Evan Cheng authored
llvm-svn: 55553
-
Evan Cheng authored
llvm-svn: 55552
-
Evan Cheng authored
llvm-svn: 55551
-
Evan Cheng authored
llvm-svn: 55550
-
Evan Cheng authored
llvm-svn: 55549
-
Evan Cheng authored
llvm-svn: 55548
-
- Aug 29, 2008
-
-
Daniel Dunbar authored
- Support environment variable CCC_LANGUAGES to control which languages clang is invoked on. If unset clang is invoked for all languages, otherwise CCC_LANGUAGES should be a comma separated list of the languages (as accepted by -x) for which clang should be invoked. Useful for only building C and Objective-C parts of a project with clang, for example. - Add environment variable CCC_FALLBACK. If set and non-empty then ccc will try and compile using the regular compiler if compilation with clang fails. - A few other tweaks to add options, flush stdout, recognize .mm as objective-c++, and infer languages for compile+link style invocations. llvm-svn: 55547
-
Dale Johannesen authored
llvm-svn: 55546
-
Owen Anderson authored
llvm-svn: 55545
-
Daniel Dunbar authored
- Notably VLAs llvm-svn: 55544
-
Nico Weber authored
llvm-svn: 55543
-
Chris Lattner authored
llvm-svn: 55542
-
Chris Lattner authored
%4 = add ... instead of: add ... ; 4 This makes opt -print-cfg output actually usable and makes .ll files generally easier to read. This fixes PR2480 llvm-svn: 55541
-
Chris Lattner authored
llvm-svn: 55540
-
Chris Lattner authored
nameless values, such as: %3 = add i32 4, 2 This fixes the first half of PR2480 llvm-svn: 55539
-
Nico Weber authored
llvm-svn: 55538
-
Zhongxing Xu authored
llvm-svn: 55537
-
Zhongxing Xu authored
llvm-svn: 55536
-
Daniel Dunbar authored
Objective-C property references. - This handles property references "more correctly" but setters still don't work. llvm-svn: 55534
-
Evan Cheng authored
llvm-svn: 55533
-
Evan Cheng authored
llvm-svn: 55531
-