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

References

lib/CodeGen/AtomicExpandPass.cpp
  223     assert((LI || SI || RMWI || CASI) && "Unknown atomic instruction");
  244     } else if (CASI) {
  245       if (!atomicSizeSupported(TLI, CASI)) {
  246         expandAtomicCASToLibcall(CASI);
  264       } else if (CASI &&
  265                  TLI->shouldExpandAtomicCmpXchgInIR(CASI) ==
  267                  (isReleaseOrStronger(CASI->getSuccessOrdering()) ||
  268                   isAcquireOrStronger(CASI->getSuccessOrdering()))) {
  273         FenceOrdering = CASI->getSuccessOrdering();
  274         CASI->setSuccessOrdering(AtomicOrdering::Monotonic);
  275         CASI->setFailureOrdering(AtomicOrdering::Monotonic);
  326     } else if (CASI) {
  329       assert(!CASI->getCompareOperand()->getType()->isFloatingPointTy() &&
  331       if (CASI->getCompareOperand()->getType()->isPointerTy() ) {
  334         CASI = convertCmpXchgToIntegerType(CASI);
  334         CASI = convertCmpXchgToIntegerType(CASI);
  335         assert(CASI->getCompareOperand()->getType()->isIntegerTy() &&
  340       MadeChange |= tryExpandAtomicCmpXchg(CASI);