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

References

lib/CodeGen/AtomicExpandPass.cpp
  977       Builder, CI, CI->getCompareOperand()->getType(), CI->getPointerOperand(),
  980   Value *CmpVal_Shifted = Builder.CreateShl(
  981       Builder.CreateZExt(CI->getCompareOperand(), PMV.WordType), PMV.ShiftAmt,
  983   Value *NewVal_Shifted = Builder.CreateShl(
  984       Builder.CreateZExt(CI->getNewValOperand(), PMV.WordType), PMV.ShiftAmt,
  987       Builder, CI, PMV.AlignedAddr, CmpVal_Shifted, NewVal_Shifted, PMV.Mask,
  989   Value *FinalOldVal = Builder.CreateTrunc(
  990       Builder.CreateLShr(OldVal, PMV.ShiftAmt), PMV.ValueType);
  993   Res = Builder.CreateInsertValue(Res, FinalOldVal, 0);
  994   Value *Success = Builder.CreateICmpEQ(
  995       CmpVal_Shifted, Builder.CreateAnd(OldVal, PMV.Mask), "Success");
  996   Res = Builder.CreateInsertValue(Res, Success, 1);