- Oct 17, 2008
-
-
Ted Kremenek authored
Remove GRExprEngine::getLVal and RValues::MakeVal. Enhance StoreManager "GetLValue" methods to dispatch for specific kinds of lvalue queries, as opposed to interogating the expression tree (GRExprEngine already does this). Added FIXMEs. In particular, we no longer "assume" that a base pointer in a field/array access is null (this logic was removed). Perhaps we should do this when fetching the lvalue for fields and array elements? llvm-svn: 57657
-
Ted Kremenek authored
llvm-svn: 57654
-
Dan Gohman authored
llvm-svn: 57653
-
- Oct 16, 2008
-
-
Dan Gohman authored
llvm-svn: 57649
-
Argyrios Kyrtzidis authored
llvm-svn: 57646
-
Chris Lattner authored
llvm-svn: 57645
-
Chris Lattner authored
llvm-svn: 57644
-
Daniel Dunbar authored
- Disables the freeing of the ASTContext and the TranslationUnit after parsing & sema. - Primarily for timing the impact on -fsyntax-only timings. llvm-svn: 57643
-
Argyrios Kyrtzidis authored
llvm-svn: 57642
-
Gabor Greif authored
using the 'volatile' qualifier. This should not have any operational consequences on code, because tags should always be stripped off (giving a non-volatile pointer) before dereferencing. The new qualification is there to catch some attempts to use tagged pointers in a context where an untagged pointer is appropriate. Notably this approach does not catch dereferencing of tagged pointers, but helps in separating the two concepts a bit. llvm-svn: 57641
-
rdar://problem/6239726Steve Naroff authored
and http://llvm.org/bugs/show_bug.cgi?id=2893 llvm-svn: 57640
-
Mikhail Glushenkov authored
llvm-svn: 57636
-
Duncan Sands authored
uninitialized in these functions with gcc-4.3. llvm-svn: 57635
-
Duncan Sands authored
warning on x86-64 with gcc-4.3. llvm-svn: 57634
-
Duncan Sands authored
llvm-svn: 57633
-
Daniel Dunbar authored
- Implement fast path when value easily fits in a uint64. - ~6x faster, translates to 1-2% on Cocoa.h llvm-svn: 57632
-
Chris Lattner authored
llvm-svn: 57631
-
Chris Lattner authored
x86 backend. These will all be answered with "patches welcome", so a PR doesn't help drive them along. llvm-svn: 57630
-
Daniel Dunbar authored
llvm-svn: 57629
-
Chris Lattner authored
basically working, feel free to remove the tag. The other targets have really basic things that break them. llvm-svn: 57628
-
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
-