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

References

include/llvm/Analysis/MemorySSA.h
 1167   static ChildIteratorType child_begin(NodeRef N) { return N->user_begin(); }
include/llvm/IR/CFG.h
   65   explicit inline PredIterator(Ptr *bb) : It(bb->user_begin()) {
include/llvm/IR/Instruction.h
   63   Instruction       *user_back()       { return cast<Instruction>(*user_begin());}
lib/Analysis/AliasSetTracker.cpp
  277     if (std::next(Addr->user_begin()) != Addr->user_end())
  281     return cast<Instruction>(*(Addr->user_begin()));
lib/Analysis/IVDescriptors.cpp
  471     if (!Cmp->hasOneUse() || !(Select = dyn_cast<SelectInst>(*I->user_begin())))
lib/Analysis/MemorySSAUpdater.cpp
  195   std::copy(Phi->user_begin(), Phi->user_end(), std::back_inserter(Uses));
lib/Analysis/ScalarEvolution.cpp
11371   SmallVector<User *, 16> Worklist(Old->user_begin(), Old->user_end());
11384     Worklist.insert(Worklist.end(), U->user_begin(), U->user_end());
lib/Bitcode/Reader/ValueList.cpp
  169       auto UI = Placeholder->user_begin();
lib/CodeGen/CodeGenPrepare.cpp
 1079   for (Value::user_iterator UI = CI->user_begin(), E = CI->user_end();
 1363   for (Value::user_iterator UI = Cmp->user_begin(), E = Cmp->user_end();
 1440       AndI->getParent() == cast<Instruction>(*AndI->user_begin())->getParent())
 1471   for (Value::user_iterator UI = AndI->user_begin(), E = AndI->user_end();
 1530   for (Value::user_iterator TruncUI = TruncI->user_begin(),
 1622   for (Value::user_iterator UI = ShiftI->user_begin(), E = ShiftI->user_end();
 5060   const Instruction *FirstUser = cast<Instruction>(*Val->user_begin());
 5707       InsertedInsts.count(cast<Instruction>(*Load->user_begin())))
 6610     Instruction *ToBePromoted = cast<Instruction>(*Inst->user_begin());
lib/CodeGen/InterleavedAccessPass.cpp
  292   for (auto UI = LI->user_begin(), E = LI->user_end(); UI != E; UI++) {
lib/CodeGen/SjLjEHPrepare.cpp
  137   SmallVector<Value *, 8> UseWorkList(LPI->user_begin(), LPI->user_end());
lib/IR/AutoUpgrade.cpp
 3734     for (auto UI = F->user_begin(), UE = F->user_end(); UI != UE; )
 3871     for (auto I = Fn->user_begin(), E = Fn->user_end(); I != E;) {
lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
   67   for (auto I = F.user_begin(), E = F.user_end(); I != E;) {
lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
  104     auto *BCI = dyn_cast<BitCastInst>(*U->user_begin());
  108     auto *Load = dyn_cast<LoadInst>(*BCI->user_begin());
lib/Target/ARM/ARMCodeGenPrepare.cpp
  346       !isa<ICmpInst>(*I->user_begin()) ||
  358   auto *CI = cast<ICmpInst>(*I->user_begin());
lib/Target/Hexagon/HexagonCommonGEP.cpp
  365   for (Value::user_iterator UI = GepI->user_begin(), UE = GepI->user_end();
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  656   for (auto UI = I->user_begin(), UE = I->user_end(); UI != UE;) {
  754     Value *U = *SelI->user_begin();
 1334     for (auto I = R->user_begin(), E = R->user_end(); I != E; ++I) {
lib/Target/Hexagon/HexagonOptimizeSZextends.cpp
  130         for (auto UI = Ashr->user_begin(), UE = Ashr->user_end();
lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
  106     auto *SI = cast<StoreInst>(*LI->user_begin());
lib/Target/SystemZ/SystemZISelLowering.cpp
  850     auto *SingleUser = cast<Instruction>(*I->user_begin());
  893       User *LoadUser = *I->user_begin();
lib/Target/XCore/XCoreLowerThreadLocal.cpp
  130     SmallVector<WeakTrackingVH, 8> WUsers(CE->user_begin(), CE->user_end());
  203   SmallVector<User *, 16> Users(GV->user_begin(), GV->user_end());
lib/Transforms/IPO/ArgumentPromotion.cpp
  824   WorkList.insert(WorkList.end(), arg->user_begin(), arg->user_end());
  830         WorkList.insert(WorkList.end(), V->user_begin(), V->user_end());
lib/Transforms/IPO/DeadArgumentElimination.cpp
  176   for (Value::user_iterator I = Fn.user_begin(), E = Fn.user_end(); I != E; ) {
lib/Transforms/IPO/GlobalOpt.cpp
  207   for (Value::user_iterator UI = GV->user_begin(), E = GV->user_end();
  283   SmallVector<WeakTrackingVH, 8> WorkList(V->user_begin(), V->user_end());
  681   for (auto UI = V->user_begin(), E = V->user_end(); UI != E; ) {
  711           UI = V->user_begin();
  760   for (Value::user_iterator GUI = GV->user_begin(), E = GV->user_end(); GUI != E;){
  817   for (Value::user_iterator UI = V->user_begin(), E = V->user_end(); UI != E; )
 1015     Instruction *U = cast<Instruction>(*Alloc->user_begin());
 1251   for (auto UI = PN->user_begin(), E = PN->user_end(); UI != E;) {
 1263   for (auto UI = Load->user_begin(), E = Load->user_end(); UI != E;) {
 1400   for (auto UI = GV->user_begin(), E = GV->user_end(); UI != E;) {
 2885   for (auto I = CXAAtExitFn->user_begin(), E = CXAAtExitFn->user_end();
lib/Transforms/IPO/HotColdSplitting.cpp
  319     User *U = *OutF->user_begin();
lib/Transforms/IPO/IPConstantPropagation.cpp
  248     for (auto I = Call->user_begin(), E = Call->user_end(); I != E;) {
lib/Transforms/IPO/LowerTypeTests.cpp
  780     if (auto *Br = dyn_cast<BranchInst>(*CI->user_begin()))
lib/Transforms/IPO/PartialInlining.cpp
  317     User *User = *F->user_begin();
  927   std::vector<User *> Users(DuplicateFunction->user_begin(),
 1380   std::vector<User *> Users(Cloner.ClonedFunc->user_begin(),
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4694     for (auto UI = MulVal->user_begin(), UE = MulVal->user_end(); UI != UE;) {
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  603       for (auto UI = LI.user_begin(), UE = LI.user_end(); UI != UE;) {
lib/Transforms/InstCombine/InstructionCombining.cpp
 1065   for (auto UI = PN->user_begin(), E = PN->user_end(); UI != E;) {
 3263       Instruction *UserInst = cast<Instruction>(*I->user_begin());
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  854         for (Function::user_iterator UI = F.user_begin(), UE = F.user_end();
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
 2016       for (auto UI = Alloca->user_begin(), UE = Alloca->user_end(); UI != UE;) {
lib/Transforms/Scalar/IndVarSimplify.cpp
  333   Value::user_iterator IncrUse = Incr->user_begin();
lib/Transforms/Scalar/LICM.cpp
 1580   for (Value::user_iterator UI = I.user_begin(), UE = I.user_end(); UI != UE;) {
 1620     UI = I.user_begin();
 1640   SmallSetVector<User*, 8> Users(I.user_begin(), I.user_end());
lib/Transforms/Scalar/LoopRerollPass.cpp
  556               UUser = dyn_cast<Instruction>(*(UUser->user_begin()));
  620     C = cast<Instruction>(*C->user_begin());
 1179           UUser = dyn_cast<Instruction>(*(UUser->user_begin()));
 1184           Instruction *BI = dyn_cast<BranchInst>(*UUser->user_begin());
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  819   SmallVector<User*, 8> srcUseList(srcAlloca->user_begin(),
lib/Transforms/Scalar/Reassociate.cpp
  800       ExpressionChanged = cast<BinaryOperator>(*ExpressionChanged->user_begin());
lib/Transforms/Scalar/SCCP.cpp
 2128       for (Value::user_iterator UI = DeadBB->user_begin(),
lib/Transforms/Scalar/SROA.cpp
 4071       assert(*LI->user_begin() == SI && "Single use isn't this store!");
lib/Transforms/Utils/CodeExtractor.cpp
  944     std::vector<User *> Users(inputs[i]->user_begin(), inputs[i]->user_end());
  963   std::vector<User *> Users(header->user_begin(), header->user_end());
 1170     std::vector<User *> Users(outputs[i]->user_begin(), outputs[i]->user_end());
lib/Transforms/Utils/Local.cpp
  505   Value::user_iterator UI = I->user_begin();
  527        I = cast<Instruction>(*I->user_begin())) {
lib/Transforms/Utils/PredicateInfo.cpp
  762     assert(F->user_begin() == F->user_end() &&
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  135     for (auto UI = AI->user_begin(), E = AI->user_end(); UI != E;) {
  319   for (auto UI = AI->user_begin(), UE = AI->user_end(); UI != UE;) {
  329       for (auto UUI = I->user_begin(), UUE = I->user_end(); UUI != UUE;) {
  358   for (auto UI = AI->user_begin(), E = AI->user_end(); UI != E;) {
  468   for (auto UI = AI->user_begin(), E = AI->user_end(); UI != E;) {
lib/Transforms/Utils/SimplifyCFG.cpp
 1565     auto *PNUse = dyn_cast<PHINode>(*I0->user_begin());
 1626     auto *PN = cast<PHINode>(*I0->user_begin());
 5492     if (PHI->hasOneUse() && isa<ReturnInst>(*PHI->user_begin()) &&
 5974     User *Use = *I->user_begin();
lib/Transforms/Utils/SimplifyLibCalls.cpp
  850     for (auto UI = CI->user_begin(), UE = CI->user_end(); UI != UE;) {
lib/Transforms/Vectorize/LoopVectorize.cpp
 3755       for (Value::user_iterator UI = RdxParts[Part]->user_begin();
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2902          std::all_of(I->user_begin(), I->user_end(), [this](User *U) {
 5087     if (!Root->hasOneUse() || Expr.count(*Root->user_begin()))
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  266       dyn_cast<llvm::BranchInst>(*ReturnBlock.getBlock()->user_begin());
unittests/Analysis/ScalarEvolutionTest.cpp
 1660     BinaryOperator *And = cast<BinaryOperator>(*Load->user_begin());
unittests/IR/UserTest.cpp
  131   auto PersonalityUsers = PersonalityF->user_begin();