- Aug 31, 2010
-
-
Devang Patel authored
Remember byval argument's frame index during argument lowering and use this info to emit debug info. Fixes Radar 8367011. llvm-svn: 112623
-
Jim Grosbach authored
the offset is legally encodable, not actually trying to do the encoding. llvm-svn: 112622
-
Owen Anderson authored
llvm-svn: 112621
-
Owen Anderson authored
llvm-svn: 112620
-
Ted Kremenek authored
llvm-svn: 112619
-
Ted Kremenek authored
Explicitly handle CXXOperatorCallExpr when building CFGs. We should treat it the same as CallExprs. Fixes: <rdar://problem/8375510> [Boost] CFGBuilder crash in Boost.Graph llvm-svn: 112618
-
Chris Lattner authored
llvm-svn: 112617
-
Greg Clayton authored
is disabled by default, and can be enabled using: (lldb) set disable-aslr 0 llvm-svn: 112616
-
Owen Anderson authored
llvm-svn: 112615
-
Jim Ingham authored
llvm-svn: 112614
-
Chris Lattner authored
llvm-svn: 112613
-
Fariborz Jahanian authored
This is also pr7726 and wip. No change in functionality at this time. llvm-svn: 112612
-
Owen Anderson authored
I have not been able to find a way to test each in isolation, for a few reasons: 1) The ability to look-through non-i1 BinaryOperator's requires the ability to look through non-constant ICmps in order for it to ever trigger. 2) The ability to do LVI-powered PHI value determination only matters in cases that ProcessBranchOnPHI can't handle. Since it already handles all the cases without other instructions in the def-use chain between the PHI and the branch, it requires the ability to look through ICmps and/or BinaryOperators as well. llvm-svn: 112611
-
Jim Grosbach authored
llvm-svn: 112610
-
Jim Grosbach authored
1. Allocate them in the entry block of the function to enable function-wide re-use. The instructions to create them should be re-materializable, so there shouldn't be additional cost compared to creating them local to the basic blocks where they are used. 2. Collect all of the frame index references for the function and sort them by the local offset referenced. Iterate over the sorted list to allocate the virtual base registers. This enables creation of base registers optimized for positive-offset access of frame references. (Note: This may be appropriate to later be a target hook to do the sorting in a target appropriate manner. For now it's done here for simplicity.) llvm-svn: 112609
-
Dan Gohman authored
llvm-svn: 112608
-
Johnny Chen authored
llvm-svn: 112607
-
Johnny Chen authored
to delegate the building of binaries to a sys.platform-sepcific plugin. Modified the dotest.py test driver to add the "plugins" directory to the PYTHONPATH as well. darwin.py is the Mac OS X plugin module. llvm-svn: 112606
-
Benjamin Kramer authored
llvm-svn: 112605
-
Douglas Gregor authored
libclang. This includes: - Cursor kind for function templates, with visitation logic - Cursor kinds for template parameters, with visitation logic - Visitation logic for template specialization types, qualified type locations - USR generation for function templates, template specialization types, template parameter types. Also happens to fix PR7804, which I tripped across while testing. llvm-svn: 112604
-
Chris Lattner authored
llvm-svn: 112603
-
Chris Lattner authored
patch by Francois Pichet! llvm-svn: 112602
-
Douglas Gregor authored
conversion functions. This introduces new cursor kinds for these three C++ entities, and reworks visitation of function declarations so that we get type-source information for the names. llvm-svn: 112600
-
Douglas Gregor authored
llvm-svn: 112598
-
Duncan Sands authored
any more. I plan to reimplement alloca promotion using SSAUpdater later. It looks like Bill's URoR logic really always needs domtree, so the pass now always asks for domtree info. llvm-svn: 112597
-
Nick Lewycky authored
two are weak, we make them thunks to a new strong function) so don't iterate through the function list as we're modifying it. Also add back the outermost loop which got removed during the cleanups. llvm-svn: 112595
-
Owen Anderson authored
Don't perform an extra traversal of the function just to do cleanup. We can safely simplify instructions after each block has been processed without worrying about iterator invalidation. llvm-svn: 112594
-
Bill Wendling authored
- Convert {0,1} and friends into 0b01, which is identical and more consistent. llvm-svn: 112593
-
Owen Anderson authored
llvm-svn: 112592
-
Owen Anderson authored
llvm-svn: 112591
-
Owen Anderson authored
llvm-svn: 112590
-
Owen Anderson authored
More Chris-inspired JumpThreading fixes: use ConstantExpr to correctly constant-fold undef, and be more careful with its return value. This actually exposed an infinite recursion bug in ComputeValueKnownInPredecessors which theoretically already existed (in JumpThreading's handling of and/or of i1's), but never manifested before. This patch adds a tracking set to prevent this case. llvm-svn: 112589
-
John McCall authored
under the ARM ABI. llvm-svn: 112588
-
Michael J. Spencer authored
llvm-svn: 112587
-
Michael J. Spencer authored
getMagicNumber was treating the _binary_ data it read in as a null terminated string. This resulted in the std::string calculating the length, and causing an assert in other code that assumed that the length it passed was the same as the length of the string it would get back. llvm-svn: 112586
-
Michael J. Spencer authored
llvm-svn: 112585
-
Devang Patel authored
llvm-svn: 112584
-
Devang Patel authored
llvm-svn: 112583
-
Nick Lewycky authored
where we hash, compare and fold, instead of one iteration where we build up the hash buckets and a second one to fold. llvm-svn: 112582
-
Chandler Carruth authored
terrible, FIXME left to do a proper job of diagnosing this. llvm-svn: 112581
-