reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
845 Value *Addr = CI->getPointerOperand(); 846 Value *Cmp = CI->getCompareOperand(); 847 Value *NewVal = CI->getNewValOperand(); 849 BasicBlock *BB = CI->getParent(); 851 IRBuilder<> Builder(CI); 857 BB->splitBasicBlock(CI->getIterator(), "partword.cmpxchg.end"); 868 Builder, CI, CI->getCompareOperand()->getType(), Addr, WordSize); 868 Builder, CI, CI->getCompareOperand()->getType(), Addr, WordSize); 879 InitLoaded->setVolatile(CI->isVolatile()); 892 PMV.AlignedAddr, FullWord_Cmp, FullWord_NewVal, CI->getSuccessOrdering(), 893 CI->getFailureOrdering(), CI->getSyncScopeID()); 893 CI->getFailureOrdering(), CI->getSyncScopeID()); 894 NewCI->setVolatile(CI->isVolatile()); 900 NewCI->setWeak(CI->isWeak()); 905 if (CI->isWeak()) 923 Builder.SetInsertPoint(CI); 927 Value *Res = UndefValue::get(CI->getType()); 931 CI->replaceAllUsesWith(Res); 932 CI->eraseFromParent();