- Oct 16, 2008
-
-
Zhongxing Xu authored
new VisitLValue method is added to replace the old VisitLVal. The semantics model becomes more explicit to separate rvalue evaluation from lvalue evaluation. llvm-svn: 57627
-
Chris Lattner authored
llvm-svn: 57626
-
Chris Lattner authored
llvm-svn: 57625
-
Daniel Dunbar authored
floats. - With testcase, which also has some other things GCC folds but we don't commented out in it. llvm-svn: 57624
-
Daniel Dunbar authored
is to encode the state of the #pragma pack stack as an attribute when the structure is declared. - Extend PackedAttr to take an alignment (in bits), and reuse for both __attribute__((packed)) (which takes no argument, instead packing tightly (to "minimize the memory required") and for #pragma pack (which allows specification of the maximum alignment in bytes). __attribute__((packed)) is just encoded as Alignment=1. This conflates two related but different mechanisms, but it didn't seem worth another attribute. - I have attempted to follow the MSVC semantics as opposed to the gcc ones, since if I understand correctly #pragma pack originated with MSVC. The semantics are generally equivalent except when the stack is altered during the definition of a structure; its not clear if anyone does this in practice. See testcase if curious. llvm-svn: 57623
-
Dan Gohman authored
llvm-svn: 57622
-
Dan Gohman authored
llvm-svn: 57621
-
Dan Gohman authored
additional information in Loads, Stores, Calls, Invokes, InsertValueInsts, and ExtractValueInsts. llvm-svn: 57620
-
Zhongxing Xu authored
llvm-svn: 57619
-
Dan Gohman authored
llvm-svn: 57618
-
Dan Gohman authored
because it declares a std::vector<MachineMove>, and strict concept checking requires the definition of MachineMove to be available. llvm-svn: 57617
-
Dan Gohman authored
copies of a value, and add several additional utilities to make SmallVector better conform to the Container concept. llvm-svn: 57616
-
Dan Gohman authored
passing in a function object. llvm-svn: 57615
-
Dan Gohman authored
computation. A def of a register doesn't necessarily kill live super-registers. llvm-svn: 57614
-
Daniel Dunbar authored
llvm-svn: 57613
-
Dan Gohman authored
an unindexed load. llvm-svn: 57612
-
Argyrios Kyrtzidis authored
Issue a warning when there's an ambiguous function declarator (that could be a direct initializer for a variable defition). Idea originated from here: http://thread.gmane.org/gmane.comp.gcc.devel/101524 llvm-svn: 57609
-
Dan Gohman authored
to find opportunities for store-to-load forwarding or load CSE, in the same way that visitStore scans back to do DSE. Also, define a new helper function for testing whether the addresses of two memory accesses are known to have the same value, and use it in both visitStore and visitLoad. These two changes allow instcombine to eliminate loads in code produced by front-ends that frequently emit obviously redundant addressing for memory references. llvm-svn: 57608
-
Dan Gohman authored
llvm-svn: 57606
-
Dan Gohman authored
llvm-svn: 57605
-
Duncan Sands authored
llvm-svn: 57604
-
- Oct 15, 2008
-
-
Daniel Dunbar authored
logging of actions. llvm-svn: 57603
-
Nicolas Geoffray authored
llvm-svn: 57599
-
Argyrios Kyrtzidis authored
typedef int f(); struct S { f *x; // incorrectly assuming this is function decl, leading to failed assertions. }; llvm-svn: 57598
-
Anton Korobeynikov authored
llvm-svn: 57597
-
Anton Korobeynikov authored
llvm-svn: 57596
-
Anton Korobeynikov authored
llvm-svn: 57595
-
Anton Korobeynikov authored
llvm-svn: 57594
-
Steve Naroff authored
llvm-svn: 57593
-
Steve Naroff authored
llvm-svn: 57592
-
Steve Naroff authored
This fixes <rdar://problem/6289007> clang block rewriter: ^ in cast is not rewritten. llvm-svn: 57591
-
Bill Wendling authored
llvm-svn: 57590
-
Dan Gohman authored
This fixes PR2894. llvm-svn: 57589
-
Daniel Dunbar authored
Also added serialization support to OverloadExpr. llvm-svn: 57588
-
Chris Lattner authored
llvm-svn: 57587
-
Chris Lattner authored
llvm-svn: 57586
-
Bill Wendling authored
with the build directory different from the source directory. llvm-svn: 57583
-
Chris Lattner authored
llvm-svn: 57582
-
Chris Lattner authored
llvm-svn: 57579
-
Anton Korobeynikov authored
llvm-svn: 57578
-