summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Path.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-11-11 21:23:25 +0000
committerDan Gohman <gohman@apple.com>2010-11-11 21:23:25 +0000
commita826a887550a4fc706516a9d8861acd5a5efd693 (patch)
tree4bd54d98e9819e7ed2481a9425783c233e1b391a /llvm/lib/System/Path.cpp
parentcdab9f1933ba3ea1f1214499917b55975d36aaa5 (diff)
downloadbcm5719-llvm-a826a887550a4fc706516a9d8861acd5a5efd693.tar.gz
bcm5719-llvm-a826a887550a4fc706516a9d8861acd5a5efd693.zip
Factor out Instruction::isSafeToSpeculativelyExecute's code for
testing for dereferenceable pointers into a helper function, isDereferenceablePointer. Teach it how to reason about GEPs with simple non-zero indices. Also eliminate ArgumentPromtion's IsAlwaysValidPointer, which didn't check for weak externals or out of range gep indices. llvm-svn: 118840
Diffstat (limited to 'llvm/lib/System/Path.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud