- Jun 30, 2008
-
-
Evan Cheng authored
llvm-svn: 52920
-
Dan Gohman authored
llvm-svn: 52919
-
Dan Gohman authored
llvm-svn: 52918
-
Dan Gohman authored
SmallVectors. Change the signature of TargetLowering::LowerArguments to avoid returning a vector by value, and update the two targets which still use this directly, Sparc and IA64, accordingly. llvm-svn: 52917
-
Owen Anderson authored
llvm-svn: 52916
-
Dan Gohman authored
only needs one bit for each register. UsedRegs is a SmallVector sized at 16, so this eliminates a heap allocation/free for every call and return processed by Legalize on most targets. llvm-svn: 52915
-
Chris Lattner authored
1) add a new ASTContext::getFloatTypeSemantics method. 2) Use it from SemaExpr.cpp, CodeGenTypes.cpp and other places. 3) Change the TargetInfo.h get*Format methods to return their fltSemantics byref instead of by pointer. 4) Change CodeGenFunction::EmitBuiltinExpr to allow builtins which sometimes expand specially and othertimes fall back to libm. 5) Add support for __builtin_nan("") to codegen, cases that don't pass in an empty string are currently lowered to libm calls. 6) Fix codegen of __builtin_infl. llvm-svn: 52914
-
Ted Kremenek authored
llvm-svn: 52913
-
Devang Patel authored
Rename new lto2 tool as lto. lto2->lto llvm-svn: 52912
-
Ted Kremenek authored
Added ImmutableList, a companion ADT to ImmutableSet and ImmutableMap that is used to represent a purely functional list. llvm-svn: 52911
-
Devang Patel authored
llvm-svn: 52910
-
Devang Patel authored
llvm-svn: 52909
-
Chris Lattner authored
llvm-svn: 52908
-
Devang Patel authored
llvm-svn: 52907
-
Ted Kremenek authored
now this does the same thing as "MayEscape", but more functionality will go in here shortly. llvm-svn: 52904
-
Duncan Sands authored
fixes CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll when using the new LegalizeTypes infrastructure. llvm-svn: 52903
-
Ted Kremenek authored
llvm-svn: 52902
-
Ted Kremenek authored
llvm-svn: 52899
-
Duncan Sands authored
wrong for types like x86 long double and i1, but no worse than what is done in LegalizeDAG. llvm-svn: 52898
-
Duncan Sands authored
llvm-svn: 52895
-
Cedric Venet authored
Users of VS need to manually force rebuild the X86 projet to use the last version of tablegen. llvm-svn: 52894
-
Duncan Sands authored
it impossible to create a MERGE_VALUES node with only one result: sometimes it is useful to be able to create a node with only one result out of one of the results of a node with more than one result, for example because the new node will eventually be used to replace a one-result node using ReplaceAllUsesWith, cf X86TargetLowering::ExpandFP_TO_SINT. On the other hand, most users of MERGE_VALUES don't need this and for them the optimization was valuable. So add a new utility method getMergeValues for creating MERGE_VALUES nodes which by default performs the optimization. Change almost everywhere to use getMergeValues (and tidy some stuff up at the same time). llvm-svn: 52893
-
Evan Cheng authored
llvm-svn: 52892
-
Evan Cheng authored
- Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty string for ConstantAggregateZero case which surprises selectiondag. - Correctly handle memcpy from constant string which is zero-initialized. llvm-svn: 52891
-
Chris Lattner authored
rejected FP immediates like 08.123 llvm-svn: 52890
-
Chris Lattner authored
llvm-svn: 52889
-
Chris Lattner authored
and fix the bug that it uncovers: inlining a pattern fragment could bring in other pattern fragments if the inlinee hadn't already been inlined. llvm-svn: 52888
-
Chris Lattner authored
llvm-svn: 52887
-
Nick Lewycky authored
LoopVR::runOnFunction runs. This should accomplish that, but it doesn't. I think that's a PassManager bug, but without a consumer of LoopVR in the tree, I can't give steps to reproduce. llvm-svn: 52886
-
Nick Lewycky authored
llvm-svn: 52885
-
- Jun 29, 2008
-
-
Anton Korobeynikov authored
Move GetConstantStringInfo to lib/Analysis. Remove string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values instead of strings. This unbreaks llvm-gcc bootstrap. llvm-svn: 52884
-
Chris Lattner authored
llvm-svn: 52881
-
Chris Lattner authored
static functions instead of methods on sema. llvm-svn: 52880
-
Chris Lattner authored
anyway, so there is no real loss here. Start making attribute processing methods static functions instead of methods on Sema. llvm-svn: 52879
-
Chris Lattner authored
llvm-svn: 52878
-
Chris Lattner authored
llvm-svn: 52877
-
Chris Lattner authored
decl attributes out of the various places they can hide. This makes us correctly reject things like this: t.c:2:22: error: mode attribute only supported for integer and floating-point types int **__attribute((mode(HI)))* i32; ^ because you can't make a pointer be HImode. llvm-svn: 52876
-
Chris Lattner authored
the implementation of ProcessDeclAttributes. llvm-svn: 52875
-
Chris Lattner authored
llvm-svn: 52874
-
Chris Lattner authored
llvm-svn: 52873
-