- Jan 27, 2010
-
-
Daniel Dunbar authored
versions to match gcc (which is matching linker changes). llvm-svn: 94640
-
Daniel Dunbar authored
llvm-svn: 94639
-
Daniel Dunbar authored
just indicating whether the default target should be iPhoneOS. llvm-svn: 94638
-
Daniel Dunbar authored
llvm-svn: 94637
-
Daniel Dunbar authored
llvm-svn: 94636
-
Daniel Dunbar authored
this should just be part of the tool chain itself once we have eliminated argument translation. llvm-svn: 94635
-
Victor Hernandez authored
llvm-svn: 94634
-
Ted Kremenek authored
llvm-svn: 94633
-
Victor Hernandez authored
llvm-svn: 94632
-
Chris Lattner authored
a new set of them. llvm-svn: 94631
-
Chris Lattner authored
EmitFunctionHeader: 7 files changed, 16 insertions(+), 210 deletions(-) llvm-svn: 94630
-
Evan Cheng authored
llvm-svn: 94628
-
Jim Grosbach authored
llvm-svn: 94627
-
Evan Cheng authored
Target independent isel should always pass along the "tail call" property. Change target hook LowerCall's parameter "isTailCall" into a refernce. If the target decides it's impossible to honor the tail call request, it should set isTailCall to false to make target independent isel happy. llvm-svn: 94626
-
Evan Cheng authored
llvm-svn: 94625
-
Chris Lattner authored
llvm-svn: 94624
-
Chris Lattner authored
change is that we now use ".linkonce discard" for global variables instead of ".linkonce samesize". These should be the same, just less strict. If anyone is interested in mcizing MCSection for COFF targets, this should be easy to fix. llvm-svn: 94623
-
Ted Kremenek authored
Teach RegionStore to handle initialization of incomplete arrays in structures using a compound value. Fixes <rdar://problem/7515938>. llvm-svn: 94622
-
Chris Lattner authored
llvm-svn: 94621
-
Chris Lattner authored
llvm-svn: 94620
-
Jeffrey Yasskin authored
broken by setting CXXFLAGS on the command line. llvm-svn: 94619
-
Victor Hernandez authored
llvm-svn: 94618
-
Evan Cheng authored
llvm-svn: 94617
-
Chris Lattner authored
llvm-svn: 94616
-
Jakob Stoklund Olesen authored
After running a batch of measurements, it is clear that the inliner metrics need some adjustments: Own argument bonus: 20 -> 5 Outgoing argument penalty: 0 -> 5 Alloca bonus: 10 -> 5 Constant instr bonus: 7 -> 5 Dead successor bonus: 40 -> 5*(avg instrs/block) The new cost metrics are generaly 25 points higher than before, so we may need to move thresholds. With this change, InlineConstants::CallPenalty becomes a political correction: if (!isa<IntrinsicInst>(II) && !callIsSmall(CS.getCalledFunction())) NumInsts += InlineConstants::CallPenalty + CS.arg_size(); The code size is accurately modelled by CS.arg_size(). CallPenalty is added because calls tend to take a long time, so it may not be worth it to inline a function with lots of calls. All of the political corrections are in the InlineConstants namespace: IndirectCallBonus, CallPenalty, LastCallToStaticBonus, ColdccPenalty, NoreturnPenalty. llvm-svn: 94615
-
Chris Lattner authored
logic up from X86 into the common code. The other targets will hopefully start using this soon. llvm-svn: 94614
-
Chris Lattner authored
is constified. llvm-svn: 94613
-
Chris Lattner authored
llvm-svn: 94612
-
Evan Cheng authored
llvm-svn: 94611
-
Evan Cheng authored
llvm-svn: 94610
-
- Jan 26, 2010
-
-
Ted Kremenek authored
llvm-svn: 94609
-
Ted Kremenek authored
llvm-svn: 94608
-
Fariborz Jahanian authored
sync compare_and_swap to match them with gcc. It also fixes a few incorrect argument defitions. (fixes radar 7540291). llvm-svn: 94607
-
Mike Stump authored
to the declaring class from the nearest virtual base class. WIP. llvm-svn: 94606
-
Chris Lattner authored
llvm-svn: 94601
-
Devang Patel authored
Before existing NamedMDNode entry in the symbol table, remove any existing entry with the same name. llvm-svn: 94600
-
Sebastian Redl authored
Bring some semblance of order into Decl.h and Decl.cpp. While at it, fix some typo comments and remove an unused and unimplemented function prototype. No functionality change. llvm-svn: 94599
-
Chris Lattner authored
assignments. .set x, a-b is the same as: x = a-b llvm-svn: 94596
-
Chris Lattner authored
llvm-as: t.ll:1:25: error: invalid cast opcode for cast from '[4 x i8]' to '[1 x i32]' @x = constant [1 x i32] bitcast ([4 x i8] c"abcd" to [1 x i32]) ^ llvm-svn: 94595
-
Devang Patel authored
llvm-svn: 94594
-