aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/LibCallAliasAnalysis.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-10-07Now with fewer extraneous semicolons!Owen Anderson1-1/+1
llvm-svn: 115996
2010-09-14Remove the experimental AliasAnalysis::getDependency interface, whichDan Gohman1-9/+9
isn't a good level of abstraction for memdep. Instead, generalize AliasAnalysis::alias and related interfaces with a new Location class for describing a memory location. For now, this is the same Pointer and Size as before, plus an additional field for a TBAA tag. Also, introduce a fixed MD_tbaa metadata tag kind. llvm-svn: 113858
2010-08-03Thread const correctness through a bunch of AliasAnalysis interfaces andDan Gohman1-3/+4
eliminate several const_casts. Make CallSite implicitly convertible to ImmutableCallSite. Rename the getModRefBehavior for intrinsic IDs to getIntrinsicModRefBehavior to avoid overload ambiguity with CallSite, which happens to be implicitly convertible to bool. llvm-svn: 110155
2010-07-21Add INSTANTIATE_AG_PASS, which combines RegisterPass<> with ↵Owen Anderson1-5/+2
RegisterAnalysisGroup<> for pass registration. llvm-svn: 109058
2009-07-31LibCallAliasAnalysis doesn't use TargetData.Dan Gohman1-2/+0
llvm-svn: 77729
2008-06-05Expose a public interface to this pass.Chris Lattner1-40/+12
llvm-svn: 52029
2008-06-05Let libcall semantics decide whether it knows about functions Chris Lattner1-2/+2
with definitions or not. llvm-svn: 52028
2008-05-30Fix a typo in a comment.Dan Gohman1-1/+1
llvm-svn: 51718
2008-05-15Use static and anonymous namespaces consistently with other passes.Dan Gohman1-8/+8
llvm-svn: 51156
2008-05-09put LibCallAliasAnalysis into anonymous namespace to avoidTorok Edwin1-1/+1
clashes on ::X llvm-svn: 50912
2008-05-07Add a new LibCallAliasAnalysis pass, which is parameterizedChris Lattner1-0/+169
by an instance of LibCallInfo to provide mod/ref info of standard library functions. This is powerful enough to say that 'sqrt' is readonly except that it modifies errno, or that "printf doesn't store to memory unless the %n constraint is present" etc. llvm-svn: 50827