- Aug 30, 2008
-
-
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
-
Evan Cheng authored
llvm-svn: 55530
-
Daniel Dunbar authored
llvm-svn: 55529
-
Evan Cheng authored
llvm-svn: 55528
-
Ted Kremenek authored
llvm-svn: 55526
-
Daniel Dunbar authored
llvm-svn: 55525
-
Daniel Dunbar authored
references HTML page. llvm-svn: 55524
-
Daniel Dunbar authored
/// lookup - Return the entry for the specified key, or a default /// constructed value if no such entry exists. llvm-svn: 55523
-
Ted Kremenek authored
Migrated CFRefCount.cpp to use getBindings and BindingsAsString instead of making assumptions about the Store (removed dependence on GRState::vb_iterator). llvm-svn: 55522
-
Evan Cheng authored
llvm-svn: 55521
-
Ted Kremenek authored
llvm-svn: 55520
-
Ted Kremenek authored
llvm-svn: 55519
-
Evan Cheng authored
llvm-svn: 55518
-