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

References

lib/CodeGen/AtomicExpandPass.cpp
 1349   LLVMContext &Ctx = Builder.getContext();
 1350   BasicBlock *BB = Builder.GetInsertBlock();
 1369       BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end");
 1376   Builder.SetInsertPoint(BB);
 1377   LoadInst *InitLoaded = Builder.CreateLoad(ResultTy, Addr);
 1380   Builder.CreateBr(LoopBB);
 1383   Builder.SetInsertPoint(LoopBB);
 1384   PHINode *Loaded = Builder.CreatePHI(ResultTy, 2, "loaded");
 1387   Value *NewVal = PerformOp(Builder, Loaded);
 1392   CreateCmpXchg(Builder, Addr, Loaded, NewVal,
 1401   Builder.CreateCondBr(Success, ExitBB, LoopBB);
 1403   Builder.SetInsertPoint(ExitBB, ExitBB->begin());