reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Instruction.h
  548   bool isAtomic() const;

References

include/llvm/CodeGen/TargetLowering.h
 3764     assert(SI.isAtomic() && "violated precondition");
 3773     assert(LI.isAtomic() && "violated precondition");
include/llvm/IR/Instructions.h
  281   bool isSimple() const { return !isAtomic() && !isVolatile(); }
  407   bool isSimple() const { return !isAtomic() && !isVolatile(); }
lib/Analysis/Loads.cpp
  372       Load->getPointerOperand(), Load->getType(), Load->isAtomic(), ScanBB,
  420         if (LI->isAtomic() < AtLeastAtomic)
  439         if (SI->isAtomic() < AtLeastAtomic)
lib/Analysis/MemoryDependenceAnalysis.cpp
  567       if (LI->isAtomic() && isStrongerThanUnordered(LI->getOrdering())) {
  620       if (!SI->isUnordered() && SI->isAtomic()) {
lib/Bitcode/Writer/BitcodeWriter.cpp
 2928     if (cast<LoadInst>(I).isAtomic()) {
 2939     if (cast<LoadInst>(I).isAtomic()) {
 2945     if (cast<StoreInst>(I).isAtomic())
 2953     if (cast<StoreInst>(I).isAtomic()) {
lib/CodeGen/AtomicExpandPass.cpp
  213     if (I->isAtomic() && !isa<FenceInst>(I))
lib/CodeGen/InterleavedLoadCombinePass.cpp
  875     if (LI->isAtomic())
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 4000   if (I.isAtomic())
 4185   if (I.isAtomic())
lib/IR/AsmWriter.cpp
 3690   if ((isa<LoadInst>(I)  && cast<LoadInst>(I).isAtomic()) ||
 3691       (isa<StoreInst>(I) && cast<StoreInst>(I).isAtomic()))
 4058     if (LI->isAtomic())
 4063     if (SI->isAtomic())
lib/IR/Instruction.cpp
  569   assert(isAtomic());
  581   assert(isAtomic());
lib/IR/Instructions.cpp
 1286   assert(!(isAtomic() && getAlignment() == 0) &&
 1363   assert(!(isAtomic() && getAlignment() == 0) &&
lib/IR/Verifier.cpp
 3383   if (LI.isAtomic()) {
 3411   if (SI.isAtomic()) {
lib/Target/AArch64/AArch64FastISel.cpp
 1983       cast<LoadInst>(I)->isAtomic())
 2225   if (SI->isAtomic()) {
lib/Target/ARM/ARMFastISel.cpp
 1021   if (cast<LoadInst>(I)->isAtomic())
 1153   if (cast<StoreInst>(I)->isAtomic())
lib/Target/Mips/MipsFastISel.cpp
  894   if (cast<LoadInst>(I)->isAtomic())
  919   if (cast<StoreInst>(I)->isAtomic())
lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp
   92     if (I->isAtomic())
lib/Target/PowerPC/PPCFastISel.cpp
  595   if (cast<LoadInst>(I)->isAtomic())
  744   if (cast<StoreInst>(I)->isAtomic())
lib/Target/SystemZ/SystemZISelLowering.cpp
 3846     if (SI->isAtomic())
 3849     if (LI->isAtomic())
 3852     if (AI->isAtomic())
 3855     if (AI->isAtomic())
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
 1158   if (Load->isAtomic())
 1215   if (Store->isAtomic())
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  243           if (I.isAtomic()) {
lib/Target/X86/X86FastISel.cpp
 1105   if (S->isAtomic())
 1296   if (LI->isAtomic())
lib/Target/XCore/XCoreISelLowering.cpp
 1004     if (SI->isAtomic())
 1007     if (LI->isAtomic())
 1010     if (AI->isAtomic())
 1013     if (AI->isAtomic())
lib/Transforms/IPO/Attributor.cpp
 1291   if (!I->isAtomic())
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  454   assert((!LI.isAtomic() || isSupportedAtomicType(NewTy)) &&
  476   assert((!SI.isAtomic() || isSupportedAtomicType(V->getType())) &&
  622         if (!LI.isAtomic() || isSupportedAtomicType(CI->getDestTy())) {
 1152     if (!SI.isAtomic() || isSupportedAtomicType(V->getType())) {
 1159     if (!SI.isAtomic() || isSupportedAtomicType(U->getType())) {
lib/Transforms/InstCombine/InstCombinePHI.cpp
  536   if (FirstLI->isAtomic())
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1164       Value *Shadow = SI->isAtomic() ? getCleanShadow(Val) : getShadow(Val);
 1176       if (SI->isAtomic())
 1179       if (MS.TrackOrigins && !SI->isAtomic())
 1799     if (I.isAtomic())
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  416     return LI->isAtomic() && LI->getSyncScopeID() != SyncScope::SingleThread;
  418     return SI->isAtomic() && SI->getSyncScopeID() != SyncScope::SingleThread;
lib/Transforms/Scalar/EarlyCSE.cpp
  624       return Inst->isAtomic();
  637       return !Inst->isAtomic();
lib/Transforms/Scalar/GVN.cpp
  873       if (Address && LI->isAtomic() <= DepSI->isAtomic()) {
  873       if (Address && LI->isAtomic() <= DepSI->isAtomic()) {
  891       if (DepLI != LI && Address && LI->isAtomic() <= DepLI->isAtomic()) {
  891       if (DepLI != LI && Address && LI->isAtomic() <= DepLI->isAtomic()) {
  905       if (Address && !LI->isAtomic()) {
  949     if (S->isAtomic() < LI->isAtomic())
  949     if (S->isAtomic() < LI->isAtomic())
  964     if (LD->isAtomic() < LI->isAtomic())
  964     if (LD->isAtomic() < LI->isAtomic())
lib/Transforms/Scalar/GVNSink.cpp
  411     if (isStrongerThanUnordered(I->getOrdering()) || I->isAtomic())
lib/Transforms/Scalar/JumpThreading.cpp
 1379         Ptr, LoadI->getType(), LoadI->isAtomic(), PredBB, BBIt,
 1391             Ptr, LoadI->getType(), LoadI->isAtomic(), SinglePredBB, BBIt,
lib/Transforms/Scalar/LICM.cpp
 1106     if (LI->isAtomic() && !TargetExecutesOncePerLoop)
 1972         SawUnorderedAtomic |= Load->isAtomic();
 1973         SawNotAtomic |= !Load->isAtomic();
 1998         SawUnorderedAtomic |= Store->isAtomic();
 1999         SawNotAtomic |= !Store->isAtomic();
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  569     UnorderedAtomic = UnorderedAtomic || LI->isAtomic();
 1145   if (!SI->isAtomic() && !LI->isAtomic())
 1145   if (!SI->isAtomic() && !LI->isAtomic())
 2020       if ((I.mayHaveSideEffects() || I.isAtomic() || I.isFenceLike()) &&
lib/Transforms/Scalar/LowerAtomic.cpp
  128       if (LI->isAtomic())
  131       if (SI->isAtomic())
lib/Transforms/Scalar/NewGVN.cpp
 1423     if (LI->isAtomic() > DepSI->isAtomic() ||
 1423     if (LI->isAtomic() > DepSI->isAtomic() ||
 1438     if (LI->isAtomic() > DepLI->isAtomic())
 1438     if (LI->isAtomic() > DepLI->isAtomic())
tools/clang/lib/CodeGen/CGCall.cpp
 2694   if (!load || load->isAtomic() || load->isVolatile() ||
 2741     assert(!SI->isAtomic() && !SI->isVolatile());