| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
memcpy, memset and other intrinsics that only access their arguments
to be readnone if the intrinsic's arguments all point to local memory.
This improves the testcase in the README to readonly, but it could in
theory be made readnone, however this would involve more sophisticated
analysis that looks through the memcpy.
llvm-svn: 92829
|
|
|
|
| |
llvm-svn: 92772
|
|
|
|
| |
llvm-svn: 92771
|
|
|
|
| |
llvm-svn: 92760
|
|
|
|
|
|
|
|
|
|
| |
Intrinsic::dbg_stoppoint
Intrinsic::dbg_region_start
Intrinsic::dbg_region_end
Intrinsic::dbg_func_start
AutoUpgrade simply ignores these intrinsics now.
llvm-svn: 92557
|
|
|
|
|
|
| |
wrapping up PR3351.
llvm-svn: 92410
|
|
|
|
|
|
|
| |
by moving one method out of line and eliminating redundant checks
from other methods.
llvm-svn: 92337
|
|
|
|
|
|
|
| |
things that occur in types. "operands" are things that occur
in values.
llvm-svn: 92322
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
after the MDNode in memory. This eliminates the operands
pointer and saves a new[] per node.
Note that the code in DIDerivedType::replaceAllUsesWith is wrong
and quite scary. A MDNode should not be RAUW'd with something
else: this changes all uses of the mdnode, which may not be debug
info related! Debug info should use something non-mdnode for
declarations.
llvm-svn: 92321
|
|
|
|
| |
llvm-svn: 92263
|
|
|
|
| |
llvm-svn: 92262
|
|
|
|
| |
llvm-svn: 92261
|
|
|
|
|
|
|
|
| |
getMDKindID/getMDKindNames methods to LLVMContext (and add
convenience methods to Module), eliminating MetadataContext.
Move the state that it maintains out to LLVMContext.
llvm-svn: 92259
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I asked Devang to do back on Sep 27. Instead of going through the
MetadataContext class with methods like getMD() and getMDs(), just
ask the instruction directly for its metadata with getMetadata()
and getAllMetadata().
This includes a variety of other fixes and improvements: previously
all Value*'s were bloated because the HasMetadata bit was thrown into
value, adding a 9th bit to a byte. Now this is properly sunk down to
the Instruction class (the only place where it makes sense) and it
will be folded away somewhere soon.
This also fixes some confusion in getMDs and its clients about
whether the returned list is indexed by the MDID or densely packed.
This is now returned sorted and densely packed and the comments make
this clear.
This introduces a number of fixme's which I'll follow up on.
llvm-svn: 92235
|
|
|
|
|
|
|
| |
doesn't exist already, eliminate registerMDKind. Tidy up a bunch
of random stuff.
llvm-svn: 92225
|
|
|
|
| |
llvm-svn: 92086
|
|
|
|
| |
llvm-svn: 92085
|
|
|
|
| |
llvm-svn: 92081
|
|
|
|
| |
llvm-svn: 92080
|
|
|
|
| |
llvm-svn: 92077
|
|
|
|
| |
llvm-svn: 92076
|
|
|
|
|
|
| |
other files to compensate.
llvm-svn: 92075
|
|
|
|
| |
llvm-svn: 92073
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92071
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92068
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92067
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92066
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92063
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92060
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92050
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92048
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92046
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92042
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92040
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92039
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92037
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92035
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92034
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92033
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92032
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92029
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92026
|
|
|
|
|
|
| |
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92024
|
|
|
|
|
|
|
|
|
|
| |
result
instead of stored. This reduces memdep memory usage, and also eliminates a bunch of
weakvh's. This speeds up gvn on gcc.c-torture/20001226-1.c from 23.9s to 8.45s (2.8x)
on a different machine than earlier.
llvm-svn: 91885
|
|
|
|
|
|
| |
a call. This speeds up memdep ~1.5%
llvm-svn: 91869
|
|
|
|
|
|
|
|
| |
cache a pointer as being unavailable due to phi trans in the
wrong place. This would cause later queries to fail even when
they didn't involve phi trans.
llvm-svn: 91787
|
|
|
|
| |
llvm-svn: 91742
|
|
|
|
| |
llvm-svn: 91729
|
|
|
|
| |
llvm-svn: 91722
|
|
|
|
|
|
| |
associative either.
llvm-svn: 91701
|