summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-09-11 17:08:28 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-09-11 17:08:28 +0000
commit524686738460d61df0cb46d1398fffa9734f1378 (patch)
tree0c8575397f2551bca1b01b4cc0f2dfeaee0292e2 /clang/lib/StaticAnalyzer/Core/CallEvent.cpp
parent9d677131c441dd238f8d5b218b1cb9ef47cac5c2 (diff)
downloadbcm5719-llvm-524686738460d61df0cb46d1398fffa9734f1378.tar.gz
bcm5719-llvm-524686738460d61df0cb46d1398fffa9734f1378.zip
[CodeGen] Refactor TLI/AtomicExpand interface to make LLSC explicit.
We used to have this magic "hasLoadLinkedStoreConditional()" callback, which really meant two things: - expand cmpxchg (to ll/sc). - expand atomic loads using ll/sc (rather than cmpxchg). Remove it, and, instead, introduce explicit callbacks: - bool shouldExpandAtomicCmpXchgInIR(inst) - AtomicExpansionKind shouldExpandAtomicLoadInIR(inst) Differential Revision: http://reviews.llvm.org/D12557 llvm-svn: 247429
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/CallEvent.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud