|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Derived Classes
include/llvm/IR/Constant.h 41 class Constant : public User {
include/llvm/IR/DerivedUser.h 27 class DerivedUser : public User {
include/llvm/IR/Instruction.h 43 class Instruction : public User,
include/llvm/IR/Operator.h 30 class Operator : public User {
Declarations
include/llvm/Analysis/GuardUtils.h 18 class User;
include/llvm/Analysis/TargetTransformInfo.h 55 class User;
include/llvm/CodeGen/FastISel.h 60 class User;
include/llvm/CodeGen/GlobalISel/IRTranslator.h 50 class User;
include/llvm/IR/Function.h 57 class User;
include/llvm/IR/Use.h 35 class User;
include/llvm/IR/Value.h 53 class User;
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h 89 class User;
lib/Target/Hexagon/HexagonTargetTransformInfo.h 30 class User;
lib/Transforms/InstCombine/InstCombineInternal.h 64 class User;
References
include/llvm/ADT/DenseMapInfo.h 39 static inline T* getEmptyKey() {
41 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
45 static inline T* getTombstoneKey() {
47 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
51 static unsigned getHashValue(const T *PtrVal) {
56 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
56 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
include/llvm/Analysis/GuardUtils.h 23 bool isGuard(const User *U);
27 bool isGuardAsWidenableBranch(const User *U);
38 bool parseWidenableBranch(const User *U, Value *&Condition,
include/llvm/Analysis/MemorySSA.h 328 void *operator new(size_t s) { return User::operator new(s, 1); }
388 void *operator new(size_t s) { return User::operator new(s, 2); }
483 void *operator new(size_t s) { return User::operator new(s); }
include/llvm/Analysis/SparsePropagation.h 480 for (User *U : V->users())
include/llvm/Analysis/TargetTransformInfo.h 243 const User *U = nullptr) const;
250 const User *U = nullptr) const;
256 const User *U = nullptr) const;
283 const User *U = nullptr) const;
290 const User *U = nullptr) const;
323 int getUserCost(const User *U, ArrayRef<const Value *> Operands) const;
327 int getUserCost(const User *U) const {
1167 virtual int getCallCost(FunctionType *FTy, int NumArgs, const User *U) = 0;
1168 virtual int getCallCost(const Function *F, int NumArgs, const User *U) = 0;
1170 ArrayRef<const Value *> Arguments, const User *U) = 0;
1174 ArrayRef<Type *> ParamTys, const User *U) = 0;
1177 const User *U) = 0;
1182 getUserCost(const User *U, ArrayRef<const Value *> Operands) = 0;
1401 int getCallCost(FunctionType *FTy, int NumArgs, const User *U) override {
1404 int getCallCost(const Function *F, int NumArgs, const User *U) override {
1408 ArrayRef<const Value *> Arguments, const User *U) override {
1418 ArrayRef<Type *> ParamTys, const User *U = nullptr) override {
1423 const User *U = nullptr) override {
1429 int getUserCost(const User *U, ArrayRef<const Value *> Operands) override {
include/llvm/Analysis/TargetTransformInfoImpl.h 126 unsigned getCallCost(FunctionType *FTy, int NumArgs, const User *U) {
699 unsigned getCallCost(const Function *F, int NumArgs, const User *U) {
722 const User *U) {
790 ArrayRef<Type *> ParamTys, const User *U) {
834 ArrayRef<const Value *> Arguments, const User *U) {
845 unsigned getUserCost(const User *U, ArrayRef<const Value *> Operands) {
include/llvm/Analysis/Utils/Local.h 28 Value *EmitGEPOffset(IRBuilderTy *Builder, const DataLayout &DL, User *GEP,
44 for (User::op_iterator i = GEP->op_begin() + 1, e = GEP->op_end(); i != e;
include/llvm/CodeGen/BasicTTIImpl.h 307 ArrayRef<const Value *> Arguments, const User *U) {
312 ArrayRef<Type *> ParamTys, const User *U) {
include/llvm/CodeGen/FastISel.h 269 bool selectOperator(const User *I, unsigned Opcode);
499 bool canFoldAddIntoGEP(const User *GEP, const Value *Add);
529 bool selectBinaryOp(const User *I, unsigned ISDOpcode);
530 bool selectFNeg(const User *I, const Value *In);
531 bool selectGetElementPtr(const User *I);
534 bool selectCall(const User *I);
536 bool selectBitCast(const User *I);
537 bool selectCast(const User *I, unsigned Opcode);
538 bool selectExtractValue(const User *U);
539 bool selectInsertValue(const User *I);
include/llvm/CodeGen/GlobalISel/IRTranslator.h 207 bool translateBitCast(const User &U, MachineIRBuilder &MIRBuilder);
210 bool translateLoad(const User &U, MachineIRBuilder &MIRBuilder);
213 bool translateStore(const User &U, MachineIRBuilder &MIRBuilder);
252 bool translateCall(const User &U, MachineIRBuilder &MIRBuilder);
254 bool translateInvoke(const User &U, MachineIRBuilder &MIRBuilder);
256 bool translateCallBr(const User &U, MachineIRBuilder &MIRBuilder);
258 bool translateLandingPad(const User &U, MachineIRBuilder &MIRBuilder);
262 bool translateCast(unsigned Opcode, const User &U,
266 bool translatePHI(const User &U, MachineIRBuilder &MIRBuilder);
269 bool translateCompare(const User &U, MachineIRBuilder &MIRBuilder);
272 bool translateICmp(const User &U, MachineIRBuilder &MIRBuilder) {
277 bool translateFCmp(const User &U, MachineIRBuilder &MIRBuilder) {
287 bool translateBinaryOp(unsigned Opcode, const User &U,
292 bool translateBr(const User &U, MachineIRBuilder &MIRBuilder);
328 bool translateSwitch(const User &U, MachineIRBuilder &MIRBuilder);
331 bool translateIndirectBr(const User &U, MachineIRBuilder &MIRBuilder);
333 bool translateExtractValue(const User &U, MachineIRBuilder &MIRBuilder);
335 bool translateInsertValue(const User &U, MachineIRBuilder &MIRBuilder);
337 bool translateSelect(const User &U, MachineIRBuilder &MIRBuilder);
339 bool translateGetElementPtr(const User &U, MachineIRBuilder &MIRBuilder);
341 bool translateAlloca(const User &U, MachineIRBuilder &MIRBuilder);
347 bool translateRet(const User &U, MachineIRBuilder &MIRBuilder);
349 bool translateFSub(const User &U, MachineIRBuilder &MIRBuilder);
351 bool translateFNeg(const User &U, MachineIRBuilder &MIRBuilder);
353 bool translateAdd(const User &U, MachineIRBuilder &MIRBuilder) {
356 bool translateSub(const User &U, MachineIRBuilder &MIRBuilder) {
359 bool translateAnd(const User &U, MachineIRBuilder &MIRBuilder) {
362 bool translateMul(const User &U, MachineIRBuilder &MIRBuilder) {
365 bool translateOr(const User &U, MachineIRBuilder &MIRBuilder) {
368 bool translateXor(const User &U, MachineIRBuilder &MIRBuilder) {
372 bool translateUDiv(const User &U, MachineIRBuilder &MIRBuilder) {
375 bool translateSDiv(const User &U, MachineIRBuilder &MIRBuilder) {
378 bool translateURem(const User &U, MachineIRBuilder &MIRBuilder) {
381 bool translateSRem(const User &U, MachineIRBuilder &MIRBuilder) {
384 bool translateIntToPtr(const User &U, MachineIRBuilder &MIRBuilder) {
387 bool translatePtrToInt(const User &U, MachineIRBuilder &MIRBuilder) {
390 bool translateTrunc(const User &U, MachineIRBuilder &MIRBuilder) {
393 bool translateFPTrunc(const User &U, MachineIRBuilder &MIRBuilder) {
396 bool translateFPExt(const User &U, MachineIRBuilder &MIRBuilder) {
399 bool translateFPToUI(const User &U, MachineIRBuilder &MIRBuilder) {
402 bool translateFPToSI(const User &U, MachineIRBuilder &MIRBuilder) {
405 bool translateUIToFP(const User &U, MachineIRBuilder &MIRBuilder) {
408 bool translateSIToFP(const User &U, MachineIRBuilder &MIRBuilder) {
411 bool translateUnreachable(const User &U, MachineIRBuilder &MIRBuilder) {
414 bool translateSExt(const User &U, MachineIRBuilder &MIRBuilder) {
418 bool translateZExt(const User &U, MachineIRBuilder &MIRBuilder) {
422 bool translateShl(const User &U, MachineIRBuilder &MIRBuilder) {
425 bool translateLShr(const User &U, MachineIRBuilder &MIRBuilder) {
428 bool translateAShr(const User &U, MachineIRBuilder &MIRBuilder) {
432 bool translateFAdd(const User &U, MachineIRBuilder &MIRBuilder) {
435 bool translateFMul(const User &U, MachineIRBuilder &MIRBuilder) {
438 bool translateFDiv(const User &U, MachineIRBuilder &MIRBuilder) {
441 bool translateFRem(const User &U, MachineIRBuilder &MIRBuilder) {
445 bool translateVAArg(const User &U, MachineIRBuilder &MIRBuilder);
447 bool translateInsertElement(const User &U, MachineIRBuilder &MIRBuilder);
449 bool translateExtractElement(const User &U, MachineIRBuilder &MIRBuilder);
451 bool translateShuffleVector(const User &U, MachineIRBuilder &MIRBuilder);
453 bool translateAtomicCmpXchg(const User &U, MachineIRBuilder &MIRBuilder);
454 bool translateAtomicRMW(const User &U, MachineIRBuilder &MIRBuilder);
455 bool translateFence(const User &U, MachineIRBuilder &MIRBuilder);
459 bool translateResume(const User &U, MachineIRBuilder &MIRBuilder) {
462 bool translateCleanupRet(const User &U, MachineIRBuilder &MIRBuilder) {
465 bool translateCatchRet(const User &U, MachineIRBuilder &MIRBuilder) {
468 bool translateCatchSwitch(const User &U, MachineIRBuilder &MIRBuilder) {
471 bool translateAddrSpaceCast(const User &U, MachineIRBuilder &MIRBuilder) {
474 bool translateCleanupPad(const User &U, MachineIRBuilder &MIRBuilder) {
477 bool translateCatchPad(const User &U, MachineIRBuilder &MIRBuilder) {
480 bool translateUserOp1(const User &U, MachineIRBuilder &MIRBuilder) {
483 bool translateUserOp2(const User &U, MachineIRBuilder &MIRBuilder) {
include/llvm/IR/CallSite.h 672 class CallSite : public CallSiteBase<Function, BasicBlock, Value, User, Use,
674 CallBrInst, User::op_iterator> {
693 User::op_iterator getCallee() const;
include/llvm/IR/Constant.h 41 class Constant : public User {
include/llvm/IR/Constants.h 67 void *operator new(size_t s) { return User::operator new(s, 0); }
844 void *operator new(size_t s) { return User::operator new(s, 2); }
include/llvm/IR/DerivedUser.h 27 class DerivedUser : public User {
include/llvm/IR/Function.h 807 bool hasAddressTaken(const User** = nullptr) const;
include/llvm/IR/GetElementPtrTypeIterator.h 127 inline gep_type_iterator gep_type_begin(const User *GEP) {
134 inline gep_type_iterator gep_type_end(const User *GEP) {
138 inline gep_type_iterator gep_type_begin(const User &GEP) {
145 inline gep_type_iterator gep_type_end(const User &GEP) {
include/llvm/IR/GlobalIndirectSymbol.h 39 return User::operator new(s, 1);
include/llvm/IR/GlobalVariable.h 74 return User::operator new(s, 1);
80 User *Obj = static_cast<User *>(ptr);
84 User::operator delete(Obj);
include/llvm/IR/InstrTypes.h 72 return User::operator new(s, 1);
205 return User::operator new(s, 2);
781 return User::operator new(s, 2);
1163 User::op_iterator data_operands_begin() { return op_begin(); }
1164 User::const_op_iterator data_operands_begin() const {
1167 User::op_iterator data_operands_end() {
1172 User::const_op_iterator data_operands_end() const {
1175 iterator_range<User::op_iterator> data_ops() {
1178 iterator_range<User::const_op_iterator> data_ops() const {
1211 User::op_iterator arg_begin() { return op_begin(); }
1212 User::const_op_iterator arg_begin() const {
1217 User::op_iterator arg_end() {
1222 User::const_op_iterator arg_end() const {
1227 iterator_range<User::op_iterator> args() {
1230 iterator_range<User::const_op_iterator> args() const {
1238 iterator_range<User::op_iterator> arg_operands() {
1241 iterator_range<User::const_op_iterator> arg_operands() const {
include/llvm/IR/Instruction.h 43 class Instruction : public User,
include/llvm/IR/Instructions.h 352 return User::operator new(s, 2);
480 return User::operator new(s, 0);
559 return User::operator new(s, 3);
755 return User::operator new(s, 2);
1993 return User::operator new(s, 3);
2440 return User::operator new(s, 2);
2809 return User::operator new(s);
3144 return User::operator new(s);
3542 return User::operator new(s);
4246 void *operator new(size_t s) { return User::operator new(s); }
4684 return User::operator new(s, 0);
include/llvm/IR/OperandTraits.h 40 static unsigned operands(const User*) {
54 static unsigned operands(const User *U) {
78 static unsigned operands(const User *U) {
96 static Use *op_begin(User* U) {
99 static Use *op_end(User* U) {
102 static unsigned operands(const User *U) {
include/llvm/IR/Operator.h 30 class Operator : public User {
include/llvm/IR/PatternMatch.h 47 template <typename Val, typename Pattern> bool match(Val *V, const Pattern &P) {
742 template <typename OpTy> bool match(OpTy *V) {
786 template <typename OpTy> bool match(OpTy *V) {
1132 template <typename OpTy> bool match(OpTy *V) {
include/llvm/IR/Statepoint.h 414 for (const User *U : StatepointCall->users())
426 for (const User *LandingPadUser : LandingPad->users()) {
include/llvm/IR/Use.h 66 static inline void *getAsVoidPointer(User *P) { return P; }
68 static inline User *getFromVoidPointer(void *P) {
77 using UserRef = PointerIntPair<User *, 1, unsigned, UserRefPointerTraits>;
113 User *getUser() const LLVM_READONLY;
include/llvm/IR/User.h 97 User(const User &) = delete;
107 User::operator delete(Usr);
119 User::operator delete(Usr);
312 static_assert(alignof(Use) >= alignof(User),
314 static_assert(alignof(Use *) >= alignof(User),
320 static SimpleType getSimplifiedValue(User::op_iterator &Val) {
327 static SimpleType getSimplifiedValue(User::const_op_iterator &Val) {
include/llvm/IR/Value.h 166 : public std::iterator<std::forward_iterator_tag, UserTy *> {
192 UserTy *operator*() const {
196 UserTy *operator->() const { return operator*(); }
198 operator user_iterator_impl<const UserTy>() const {
389 using user_iterator = user_iterator_impl<User>;
390 using const_user_iterator = user_iterator_impl<const User>;
406 User *user_back() {
410 const User *user_back() const {
include/llvm/Support/Casting.h 34 using SimpleType = From; // The real type this represents...
37 static SimpleType &getSimplifiedValue(From &Val) { return Val; }
41 using NonConstSimpleType = typename simplify_type<From>::SimpleType;
47 static RetType getSimplifiedValue(const From& Val) {
57 static inline bool doit(const From &Val) {
58 return To::classof(&Val);
66 static inline bool doit(const From &) { return true; }
76 static inline bool doit(const From &Val) {
77 return isa_impl<To, From>::doit(Val);
92 return isa_impl<To, From>::doit(*Val);
104 static inline bool doit(const From *Val) {
106 return isa_impl<To, From>::doit(*Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
142 return isa_impl_wrap<X, const Y,
142 return isa_impl_wrap<X, const Y,
143 typename simplify_type<const Y>::SimpleType>::doit(Val);
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
218 static typename cast_retty<To, From>::ret_type doit(From &Val) {
219 return cast_convert_val<To, SimpleFrom,
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
236 std::is_same<X, typename simplify_type<X>::SimpleType>::value;
236 std::is_same<X, typename simplify_type<X>::SimpleType>::value;
248 typename cast_retty<X, const Y>::ret_type>::type
252 X, const Y, typename simplify_type<const Y>::SimpleType>::doit(Val);
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
265 return cast_convert_val<X, Y*,
266 typename simplify_type<Y*>::SimpleType>::doit(Val);
331 typename cast_retty<X, const Y>::ret_type>::type
333 return isa<X>(Val) ? cast<X>(Val) : nullptr;
333 return isa<X>(Val) ? cast<X>(Val) : nullptr;
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
367 dyn_cast_or_null(Y *Val) {
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
include/llvm/Support/PointerLikeTypeTraits.h 56 static inline void *getAsVoidPointer(T *P) { return P; }
57 static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
59 enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
91 typedef PointerLikeTypeTraits<T *> NonConst;
93 static inline const void *getAsVoidPointer(const T *P) {
96 static inline const T *getFromVoidPointer(const void *P) {
include/llvm/Support/type_traits.h 55 struct add_const_past_pointer { using type = const T; };
include/llvm/Transforms/InstCombine/InstCombineWorklist.h 90 for (User *U : I.users())
lib/Analysis/BasicAliasAnalysis.cpp 539 for (User::const_op_iterator I = GEPOp->op_begin() + 1, E = GEPOp->op_end();
lib/Analysis/CodeMetrics.cpp 31 const User *U = dyn_cast<User>(V);
31 const User *U = dyn_cast<User>(V);
lib/Analysis/DependenceGraphBuilder.cpp 88 for (User *U : II->users()) {
lib/Analysis/DivergenceAnalysis.cpp 262 for (const auto *User : V.users()) {
lib/Analysis/GlobalsModRef.cpp 351 User *I = U.getUser();
415 for (User *U : GV->users()) {
lib/Analysis/GuardUtils.cpp 17 bool llvm::isGuard(const User *U) {
22 bool llvm::isGuardAsWidenableBranch(const User *U) {
38 bool llvm::parseWidenableBranch(const User *U, Value *&Condition,
lib/Analysis/IVDescriptors.cpp 45 for (User::op_iterator Use = I->op_begin(), E = I->op_end(); Use != E; ++Use)
183 for (Value *O : cast<User>(Val)->operands())
339 for (User *U : Cur->users()) {
601 for (User::op_iterator Use = I->op_begin(), E = I->op_end(); Use != E;
714 for (User *U : Phi->users())
lib/Analysis/InlineCost.cpp 423 for (User::op_iterator I = GEP.idx_begin(), E = GEP.idx_end(); I != E; ++I)
590 for (User::op_iterator I = GEP.idx_begin(), E = GEP.idx_end(); I != E; ++I)
1547 for (User::op_iterator OI = I.op_begin(), OE = I.op_end(); OI != OE; ++OI)
1777 for (User *U : Caller->users()) {
1848 for (User *U : BlockAddress::get(&*BB)->users())
2101 for (User *U : BlockAddress::get(&*BI)->users())
lib/Analysis/InstructionSimplify.cpp 5427 for (User *U : I->users())
5460 for (User *U : I->users())
lib/Analysis/LazyValueInfo.cpp 1332 static bool usesOperand(User *Usr, Value *Op) {
1340 static bool isOperationFoldable(User *Usr) {
1348 static ValueLatticeElement constantFoldUser(User *Usr, Value *Op,
1407 if (User *Usr = dyn_cast<User>(Val)) {
1407 if (User *Usr = dyn_cast<User>(Val)) {
1458 if (User *Usr = dyn_cast<User>(Val))
1458 if (User *Usr = dyn_cast<User>(Val))
1475 User *Usr = cast<User>(Val);
1475 User *Usr = cast<User>(Val);
lib/Analysis/LegacyDivergenceAnalysis.cpp 259 for (User *U : V->users()) {
lib/Analysis/LoopInfo.cpp 344 for (User *U : AuxIndVar.users())
lib/Analysis/MemorySSAUpdater.cpp 332 User *Usr = U.getUser();
1129 for (auto *U : What->users())
lib/Analysis/ModuleSummaryAnalysis.cpp 88 static bool findRefEdges(ModuleSummaryIndex &Index, const User *CurUser,
90 SmallPtrSet<const User *, 8> &Visited) {
92 SmallVector<const User *, 32> Worklist;
96 const User *U = Worklist.pop_back_val();
104 const User *Operand = dyn_cast<User>(OI);
104 const User *Operand = dyn_cast<User>(OI);
262 SmallPtrSet<const User *, 8> Visited;
300 else if (auto *U = dyn_cast<User>(Stored))
300 else if (auto *U = dyn_cast<User>(Stored))
419 SmallPtrSet<const llvm::User *, 8> StoreCache;
574 SmallPtrSet<const User *, 8> Visited;
lib/Analysis/ObjCARCInstKind.cpp 299 for (User::const_op_iterator OI = I->op_begin(), OE = I->op_end();
lib/Analysis/PHITransAddr.cpp 203 for (User *U : PHIIn->users()) {
239 for (User *U : APHIOp->users()) {
291 for (User *U : LHS->users()) {
lib/Analysis/ScalarEvolution.cpp 4187 for (User *U : I->users())
6747 for (auto *U : I->users())
11371 SmallVector<User *, 16> Worklist(Old->user_begin(), Old->user_end());
11372 SmallPtrSet<User *, 8> Visited;
11374 User *U = Worklist.pop_back_val();
lib/Analysis/ScalarEvolutionExpander.cpp 54 for (User *U : V->users())
905 for (User::op_iterator OI = IncV->op_begin()+1,
lib/Analysis/TargetTransformInfo.cpp 156 const User *U) const {
164 const User *U) const {
190 const User *U) const {
202 int TargetTransformInfo::getUserCost(const User *U,
lib/Analysis/ValueTracking.cpp 214 for (const User *U : CxtI->users()) {
489 if (const User *U = dyn_cast<User>(V))
489 if (const User *U = dyn_cast<User>(V))
490 for (User::const_op_iterator J = U->op_begin(), JE = U->op_end();
1934 SmallVector<const User *, 4> WorkList;
1935 SmallPtrSet<const User *, 4> Visited;
3852 getUnderlyingObjectFromInt(cast<User>(V)->getOperand(0));
3872 for (const User *U : V->users()) {
4180 for (const User *U : WO->users()) {
4189 for (const auto *U : EVI->users())
4420 for (const User *User : I.users()) {
lib/Analysis/VectorUtils.cpp 171 for (User *U : Ptr->users()) {
457 for (Value *O : cast<User>(I)->operands()) {
467 for (auto *U : I.first->users())
lib/Bitcode/Reader/BitcodeReader.cpp 5253 User *U = *UI;
5319 for (auto *U : I.first->users()) {
lib/Bitcode/Reader/ValueList.cpp 46 void *operator new(size_t s) { return User::operator new(s, 1); }
170 User *U = *UI;
182 for (User::op_iterator I = UserC->op_begin(), E = UserC->op_end(); I != E;
lib/Bitcode/Writer/ValueEnumerator.cpp 835 for (User::const_op_iterator I = C->op_begin(), E = C->op_end();
lib/CodeGen/CodeGenPrepare.cpp 760 for (const User *U : PN.users()) {
1047 for (auto *U : I.users())
1247 for (User *U : A->users()) {
1315 for (User *U : CmpVariableOperand->users()) {
1450 for (auto *U : AndI->users()) {
2821 bool matchOperationAddr(User *AddrInst, unsigned Opcode, unsigned Depth,
3010 for (auto *U : PI->users())
4038 bool AddressingModeMatcher::matchOperationAddr(User *AddrInst, unsigned Opcode,
5063 for (const User *U : Val->users()) {
5597 for (User *U : I->users()) {
5610 for (User *U : Src->users()) {
5715 for (auto *U : Load->users())
5733 for (auto *U : Phi->users())
6132 for (User *U : SVI->users()) {
6860 for (User *Usr : GEPIOp->users()) {
lib/CodeGen/GlobalISel/IRTranslator.cpp 287 bool IRTranslator::translateBinaryOp(unsigned Opcode, const User &U,
306 bool IRTranslator::translateFSub(const User &U, MachineIRBuilder &MIRBuilder) {
324 bool IRTranslator::translateFNeg(const User &U, MachineIRBuilder &MIRBuilder) {
336 bool IRTranslator::translateCompare(const User &U,
362 bool IRTranslator::translateRet(const User &U, MachineIRBuilder &MIRBuilder) {
384 bool IRTranslator::translateBr(const User &U, MachineIRBuilder &MIRBuilder) {
435 bool IRTranslator::translateSwitch(const User &U, MachineIRBuilder &MIB) {
836 bool IRTranslator::translateIndirectBr(const User &U,
859 bool IRTranslator::translateLoad(const User &U, MachineIRBuilder &MIRBuilder) {
902 bool IRTranslator::translateStore(const User &U, MachineIRBuilder &MIRBuilder) {
942 static uint64_t getOffsetFromIndices(const User &U, const DataLayout &DL) {
966 bool IRTranslator::translateExtractValue(const User &U,
981 bool IRTranslator::translateInsertValue(const User &U,
1001 bool IRTranslator::translateSelect(const User &U,
1021 bool IRTranslator::translateBitCast(const User &U,
1041 bool IRTranslator::translateCast(unsigned Opcode, const User &U,
1049 bool IRTranslator::translateGetElementPtr(const User &U,
1584 bool IRTranslator::translateCall(const User &U, MachineIRBuilder &MIRBuilder) {
1669 bool IRTranslator::translateInvoke(const User &U,
1720 bool IRTranslator::translateCallBr(const User &U,
1726 bool IRTranslator::translateLandingPad(const User &U,
1784 bool IRTranslator::translateAlloca(const User &U,
1844 bool IRTranslator::translateVAArg(const User &U, MachineIRBuilder &MIRBuilder) {
1856 bool IRTranslator::translateInsertElement(const User &U,
1880 bool IRTranslator::translateExtractElement(const User &U,
1917 bool IRTranslator::translateShuffleVector(const User &U,
1927 bool IRTranslator::translatePHI(const User &U, MachineIRBuilder &MIRBuilder) {
1940 bool IRTranslator::translateAtomicCmpXchg(const User &U,
1971 bool IRTranslator::translateAtomicRMW(const User &U,
2039 bool IRTranslator::translateFence(const User &U,
lib/CodeGen/MachineFunction.cpp 678 for (User::op_iterator II = CVal->op_begin(), IE = CVal->op_end();
lib/CodeGen/SafeStackColoring.cpp 77 for (User *U : I->users()) {
lib/CodeGen/SelectionDAG/FastISel.cpp 584 bool FastISel::selectBinaryOp(const User *I, unsigned ISDOpcode) {
675 bool FastISel::selectGetElementPtr(const User *I) {
1287 bool FastISel::selectCall(const User *I) {
1489 bool FastISel::selectCast(const User *I, unsigned Opcode) {
1522 bool FastISel::selectBitCast(const User *I) {
1708 bool FastISel::selectFNeg(const User *I, const Value *In) {
1751 bool FastISel::selectExtractValue(const User *U) {
1791 bool FastISel::selectOperator(const User *I, unsigned Opcode) {
2372 bool FastISel::canFoldAddIntoGEP(const User *GEP, const Value *Add) {
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp 52 for (const User *U : I->users())
69 for (const User *U : V->users()) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 1119 void SelectionDAGBuilder::visit(unsigned Opcode, const User &I) {
1473 for (User::const_op_iterator OI = C->op_begin(), OE = C->op_end();
2961 void SelectionDAGBuilder::visitFSub(const User &I) {
2978 static bool isVectorReductionOp(const User *I) {
3027 SmallVector<const User *, 16> UsersToVisit{Inst};
3028 SmallPtrSet<const User *, 16> Visited;
3102 void SelectionDAGBuilder::visitUnary(const User &I, unsigned Opcode) {
3111 void SelectionDAGBuilder::visitBinary(const User &I, unsigned Opcode) {
3132 void SelectionDAGBuilder::visitShift(const User &I, unsigned Opcode) {
3185 void SelectionDAGBuilder::visitSDiv(const User &I) {
3196 void SelectionDAGBuilder::visitICmp(const User &I) {
3223 void SelectionDAGBuilder::visitFCmp(const User &I) {
3250 void SelectionDAGBuilder::visitSelect(const User &I) {
3378 void SelectionDAGBuilder::visitTrunc(const User &I) {
3386 void SelectionDAGBuilder::visitZExt(const User &I) {
3395 void SelectionDAGBuilder::visitSExt(const User &I) {
3404 void SelectionDAGBuilder::visitFPTrunc(const User &I) {
3415 void SelectionDAGBuilder::visitFPExt(const User &I) {
3423 void SelectionDAGBuilder::visitFPToUI(const User &I) {
3431 void SelectionDAGBuilder::visitFPToSI(const User &I) {
3439 void SelectionDAGBuilder::visitUIToFP(const User &I) {
3447 void SelectionDAGBuilder::visitSIToFP(const User &I) {
3455 void SelectionDAGBuilder::visitPtrToInt(const User &I) {
3469 void SelectionDAGBuilder::visitIntToPtr(const User &I) {
3481 void SelectionDAGBuilder::visitBitCast(const User &I) {
3503 void SelectionDAGBuilder::visitAddrSpaceCast(const User &I) {
3518 void SelectionDAGBuilder::visitInsertElement(const User &I) {
3529 void SelectionDAGBuilder::visitExtractElement(const User &I) {
3539 void SelectionDAGBuilder::visitShuffleVector(const User &I) {
3740 void SelectionDAGBuilder::visitInsertValue(const User &I) {
3794 void SelectionDAGBuilder::visitExtractValue(const User &I) {
3834 void SelectionDAGBuilder::visitGetElementPtr(const User &I) {
9404 for (const User *U : A->users())
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h 470 void visit(unsigned Opcode, const User &I);
669 void visitUnary(const User &I, unsigned Opcode);
670 void visitFNeg(const User &I) { visitUnary(I, ISD::FNEG); }
672 void visitBinary(const User &I, unsigned Opcode);
673 void visitShift(const User &I, unsigned Opcode);
674 void visitAdd(const User &I) { visitBinary(I, ISD::ADD); }
675 void visitFAdd(const User &I) { visitBinary(I, ISD::FADD); }
676 void visitSub(const User &I) { visitBinary(I, ISD::SUB); }
677 void visitFSub(const User &I);
678 void visitMul(const User &I) { visitBinary(I, ISD::MUL); }
679 void visitFMul(const User &I) { visitBinary(I, ISD::FMUL); }
680 void visitURem(const User &I) { visitBinary(I, ISD::UREM); }
681 void visitSRem(const User &I) { visitBinary(I, ISD::SREM); }
682 void visitFRem(const User &I) { visitBinary(I, ISD::FREM); }
683 void visitUDiv(const User &I) { visitBinary(I, ISD::UDIV); }
684 void visitSDiv(const User &I);
685 void visitFDiv(const User &I) { visitBinary(I, ISD::FDIV); }
686 void visitAnd (const User &I) { visitBinary(I, ISD::AND); }
687 void visitOr (const User &I) { visitBinary(I, ISD::OR); }
688 void visitXor (const User &I) { visitBinary(I, ISD::XOR); }
689 void visitShl (const User &I) { visitShift(I, ISD::SHL); }
690 void visitLShr(const User &I) { visitShift(I, ISD::SRL); }
691 void visitAShr(const User &I) { visitShift(I, ISD::SRA); }
692 void visitICmp(const User &I);
693 void visitFCmp(const User &I);
695 void visitTrunc(const User &I);
696 void visitZExt(const User &I);
697 void visitSExt(const User &I);
698 void visitFPTrunc(const User &I);
699 void visitFPExt(const User &I);
700 void visitFPToUI(const User &I);
701 void visitFPToSI(const User &I);
702 void visitUIToFP(const User &I);
703 void visitSIToFP(const User &I);
704 void visitPtrToInt(const User &I);
705 void visitIntToPtr(const User &I);
706 void visitBitCast(const User &I);
707 void visitAddrSpaceCast(const User &I);
709 void visitExtractElement(const User &I);
710 void visitInsertElement(const User &I);
711 void visitShuffleVector(const User &I);
713 void visitExtractValue(const User &I);
714 void visitInsertValue(const User &I);
717 void visitGetElementPtr(const User &I);
718 void visitSelect(const User &I);
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 1182 for (const User *U : CPI->users()) {
1207 for (const User *U : CPI->users()) {
lib/CodeGen/SjLjEHPrepare.cpp 282 for (User *U : Inst.users()) {
lib/CodeGen/StackProtector.cpp 160 for (const User *U : AI->users()) {
lib/CodeGen/TargetFrameLoweringImpl.cpp 142 for (const User *U : F.users())
lib/CodeGen/WasmEHPrepare.cpp 182 for (User *U : ThrowF->users()) {
lib/CodeGen/WinEHPrepare.cpp 166 for (const User *U : CleanupPad->users())
263 for (const User *U : CatchPad->users()) {
306 for (const User *U : CleanupPad->users()) {
373 for (const User *U : CatchPad->users()) {
406 for (const User *U : CleanupPad->users()) {
540 for (const User *U : Cleanup->users())
564 for (const User *U : Catch->users())
601 for (const User *U : Cleanup->users()) {
lib/ExecutionEngine/Interpreter/Interpreter.h 30 typedef generic_gep_type_iterator<User::const_op_iterator> gep_type_iterator;
lib/FuzzMutate/RandomIRBuilder.cpp 112 User *U = Sink->getUser();
lib/IR/AsmWriter.cpp 334 for (const User *U : MAV->users())
1250 static void WriteOptimizationInfo(raw_ostream &Out, const User *U) {
1524 for (User::const_op_iterator OI=CE->op_begin(); OI != CE->op_end(); ++OI) {
lib/IR/Constants.cpp 502 for (const User *U : users()) {
1188 User::const_op_iterator OI = std::next(this->op_begin());
lib/IR/ConstantsContext.h 54 return User::operator new(s, 1);
74 return User::operator new(s, 2);
94 return User::operator new(s, 3);
115 return User::operator new(s, 2);
137 return User::operator new(s, 3);
162 return User::operator new(s, 3);
183 return User::operator new(s, 1);
215 return User::operator new(s, 2);
280 return User::operator new(s, 2);
lib/IR/Core.cpp 994 return wrap(cast<User>(V)->getOperand(Index));
999 return wrap(&cast<User>(V)->getOperandUse(Index));
1003 unwrap<User>(Val)->setOperand(Index, unwrap(Op));
1011 return cast<User>(V)->getNumOperands();
lib/IR/Function.cpp 1420 bool Function::hasAddressTaken(const User* *PutOffender) const {
1422 const User *FU = U.getUser();
1447 for (const User *U : users())
lib/IR/Instructions.cpp 69 User::op_iterator CallSite::getCallee() const {
lib/IR/TypeFinder.cpp 143 const User *U = cast<User>(V);
143 const User *U = cast<User>(V);
lib/IR/Use.cpp 40 User *Use::getUser() const {
lib/IR/User.cpp 127 User *Obj = reinterpret_cast<User*>(End);
153 User *Obj = reinterpret_cast<User *>(HungOffOperandList + 1);
168 User *Obj = static_cast<User *>(Usr);
lib/IR/Value.cpp 87 for (auto *U : users())
lib/IR/Verifier.cpp 2038 for (const User *U : Call.users()) {
2316 const User *U;
3446 for (const User *U : SwiftErrorVal->users()) {
3765 User *FirstUser = nullptr;
3775 for (User *U : CurrentPad->users()) {
4065 for (User *U : I.users()) {
lib/Target/AArch64/AArch64FastISel.cpp 581 const User *U = nullptr;
929 const User *U = nullptr;
lib/Target/AArch64/AArch64TargetTransformInfo.cpp 880 for (const User *U : I.users()) {
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp 59 SmallVector<User *, 16> Stack;
63 for (User *U : GV.users())
67 User *U = Stack.pop_back_val();
82 for (User *UU : U->users())
lib/Target/AMDGPU/AMDGPULibCalls.cpp 1315 for (User* U : CArgVal->users()) {
lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp 121 for (auto *U : F.users()) {
lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp 96 for (User *U : CI->users()) {
175 for (User *U : GroupSize->users()) {
180 for (User *ZextUser : ZextGroupSize->users()) {
249 for (auto *U : DispatchPtr->users()) {
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp 92 static void collectFunctionUsers(User *U, DenseSet<Function *> &Funcs) {
130 auto *UU = &*U;
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 328 static bool canVectorizeInst(Instruction *Inst, User *User) {
384 for (User *AllocaUser : Alloca->users()) {
405 for (User *GEPUser : AllocaUser->users()) {
526 for (User *User : Val->users()) {
654 for (const User *U : GV.users()) {
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp 202 for (User *U : F.users()) {
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp 696 unsigned GCNTTIImpl::getUserCost(const User *U,
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h 217 unsigned getUserCost(const User *U, ArrayRef<const Value *> Operands);
lib/Target/ARM/ARMFastISel.cpp 715 const User *U = nullptr;
760 for (User::const_op_iterator i = U->op_begin() + 1, e = U->op_end();
lib/Target/ARM/ARMISelLowering.cpp 3299 SmallVector<const User*,4> Worklist;
lib/Target/BPF/BPFAbstractMemberAccess.cpp 399 for (User *U : Call->users()) {
431 for (User *U : BitCast->users()) {
461 for (User *U : GEP->users()) {
lib/Target/Hexagon/HexagonCommonGEP.cpp 294 User *R = (*J)->getUser();
383 for (User::op_iterator OI = GepI->idx_begin()+1, OE = GepI->idx_end();
775 User *R = U->getUser();
954 User *R = U->getUser();
1023 User *R = U->getUser();
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp 1861 for (const User *U : V->users()) {
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 1462 cast<User>(S)->replaceUsesOfWith(S, PN);
lib/Target/Hexagon/HexagonTargetTransformInfo.cpp 294 int HexagonTTIImpl::getUserCost(const User *U,
lib/Target/Hexagon/HexagonTargetTransformInfo.h 146 int getUserCost(const User *U, ArrayRef<const Value *> Operands);
lib/Target/Mips/MipsFastISel.cpp 466 const User *U = nullptr;
492 for (User::const_op_iterator i = U->op_begin() + 1, e = U->op_end(); i != e;
547 const User *U = nullptr;
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 104 if (const User *U = dyn_cast<User>(V)) {
104 if (const User *U = dyn_cast<User>(V)) {
624 for (const User *U : C->users())
632 static bool usedInOneFunc(const User *U, Function const *&oneFunc) {
649 for (const User *UU : U->users())
683 for (const User *U : C->users()) {
719 for (const User *U : F->users()) {
lib/Target/PowerPC/PPCBoolRetToInt.cpp 80 auto *CurrUser = dyn_cast<User>(Curr);
80 auto *CurrUser = dyn_cast<User>(Curr);
252 auto *First = dyn_cast<User>(Pair.first);
252 auto *First = dyn_cast<User>(Pair.first);
253 auto *Second = dyn_cast<User>(Pair.second);
253 auto *Second = dyn_cast<User>(Pair.second);
lib/Target/PowerPC/PPCFastISel.cpp 311 const User *U = nullptr;
350 for (User::const_op_iterator II = U->op_begin() + 1, IE = U->op_end();
lib/Target/PowerPC/PPCTargetTransformInfo.cpp 205 unsigned PPCTTIImpl::getUserCost(const User *U,
lib/Target/PowerPC/PPCTargetTransformInfo.h 53 unsigned getUserCost(const User *U, ArrayRef<const Value *> Operands);
lib/Target/SystemZ/SystemZISelLowering.cpp 893 User *LoadUser = *I->user_begin();
lib/Target/SystemZ/SystemZTDC.cpp 99 for (auto *U : I->users()) {
lib/Target/WebAssembly/WebAssemblyFastISel.cpp 210 const User *U = nullptr;
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 712 for (User *U : SetjmpF->users()) {
906 for (User *U : SetjmpF->users()) {
lib/Target/X86/X86FastISel.cpp 831 const User *U = nullptr;
908 for (User::const_op_iterator i = U->op_begin() + 1, e = U->op_end();
990 const User *U = nullptr;
lib/Target/X86/X86TargetTransformInfo.cpp 3092 unsigned X86TTIImpl::getUserCost(const User *U,
lib/Target/X86/X86TargetTransformInfo.h 181 unsigned getUserCost(const User *U, ArrayRef<const Value *> Operands);
lib/Target/XCore/XCoreLowerThreadLocal.cpp 162 for (User *U : GV->users())
203 SmallVector<User *, 16> Users(GV->user_begin(), GV->user_end());
205 User *U = Users[I];
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp 242 for (auto *U : I->users())
lib/Transforms/Coroutines/CoroEarly.cpp 148 for (User *U : CoroId->users())
lib/Transforms/Coroutines/CoroElide.cpp 199 for (User *U : CoroId->users()) {
213 for (User *U : CB->users())
lib/Transforms/Coroutines/CoroFrame.cpp 115 bool isDefinitionAcrossSuspend(BasicBlock *DefBB, User *U) const {
137 bool isDefinitionAcrossSuspend(Argument &A, User *U) const {
141 bool isDefinitionAcrossSuspend(Instruction &I, User *U) const {
295 Spill(Value *Def, llvm::User *U) : Def(Def), User(cast<Instruction>(U)) {}
758 for (User *U : A->users()) {
1144 for (User *U : AI->users()) {
1366 for (User *U : I.users())
1381 for (User *U : A.users())
1412 for (User *U : Alloc->users()) {
1424 for (User *U : I.users())
lib/Transforms/Coroutines/CoroInstr.h 85 for (User *U : users())
92 for (User *U : users())
lib/Transforms/Coroutines/Coroutines.cpp 168 for (User *U : CoroId->users())
lib/Transforms/IPO/AlwaysInliner.cpp 53 for (User *U : F.users())
lib/Transforms/IPO/ArgumentPromotion.cpp 167 for (User *U : I->users()) {
179 for (User::op_iterator II = UI->op_begin() + 1, IE = UI->op_end();
411 for (User *U : TheAlloca->users()) {
441 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end();
493 for (User *U : Callee->users()) {
635 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end();
667 User *UR = U.getUser();
694 for (User::op_iterator i = GEP->idx_begin(), e = GEP->idx_end(); i != e;
702 for (User *GEPU : GEP->users())
lib/Transforms/IPO/Attributor.cpp 3647 auto *UserI = U->getUser();
lib/Transforms/IPO/DeadArgumentElimination.cpp 380 const User *V = U->getUser();
lib/Transforms/IPO/FunctionAttrs.cpp 1573 for (auto *U : F.users()) {
lib/Transforms/IPO/GlobalDCE.cpp 115 for (User *CEUser : CE->users())
124 for (User *User : GV.users())
lib/Transforms/IPO/GlobalOpt.cpp 209 User *U = *UI++;
289 User *U = cast<User>(UV);
289 User *U = cast<User>(UV);
365 static bool isSafeSROAGEP(User *U) {
420 for (User *U : GV->users()) {
553 User *GEP = GV->user_back();
616 for (const User *U : V->users()) {
664 for (const User *U : GV->users())
726 for (User::op_iterator i = GEPI->op_begin() + 1, e = GEPI->op_end();
761 User *GlobalUser = *GUI++;
968 for (const User *U : V->users()) {
1061 for (const User *U : V->users()) {
1111 for (const User *U : GV->users())
1621 for (User *U : GV->users())
1801 for (auto *U : GV->users()) {
1803 for (auto *UU : U->users()) {
1871 for (auto *U : C->users()) {
1877 for (auto *UU : U->users())
1892 for (auto *U : C->users()) {
1906 for (auto *UU : U->users())
2104 for (User *U : F->users()) {
2122 for (User *U : F->users()) {
2145 for (User *U : F->users()) {
2186 for (User *U : F.users()) {
2203 for (User *U : F->users()) {
lib/Transforms/IPO/GlobalSplit.cpp 55 for (User *U : GV.users()) {
115 for (User *U : GV.users()) {
lib/Transforms/IPO/HotColdSplitting.cpp 319 User *U = *OutF->user_begin();
lib/Transforms/IPO/IPConstantPropagation.cpp 60 User *UR = U.getUser();
lib/Transforms/IPO/Inliner.cpp 226 for (User *U : MDV->users())
342 for (User *U : Caller->users()) {
lib/Transforms/IPO/LowerTypeTests.cpp 1277 for (auto *U : C->users()){
lib/Transforms/IPO/MergeFunctions.cpp 584 for (User *U : AI->users()) {
949 for (User *U : V->users())
lib/Transforms/IPO/PartialInlining.cpp 298 DenseMap<User *, uint64_t> &SiteCountMap);
305 static CallSite getCallSite(User *U) {
317 User *User = *F->user_begin();
926 DenseMap<User *, uint64_t> &CallSiteToProfCountMap) {
927 std::vector<User *> Users(DuplicateFunction->user_begin(),
947 for (User *User : Users) {
1380 std::vector<User *> Users(Cloner.ClonedFunc->user_begin(),
1383 DenseMap<User *, uint64_t> CallSiteToProfCountMap;
1392 for (User *User : Users) {
1469 for (User *U : CurrFunc->users())
lib/Transforms/IPO/StripSymbols.cpp 133 for (User *U : V->users())
lib/Transforms/IPO/SyntheticCountsPropagation.cpp 68 for (auto *U : F.users()) {
lib/Transforms/InstCombine/InstCombineCalls.cpp 4152 for (User *U : TrampMem->users()) {
4464 for (User *U : II->users())
lib/Transforms/InstCombine/InstCombineCasts.cpp 2147 for (User *U : CI.users()) {
2262 for (User *V : OldPN->users()) {
lib/Transforms/InstCombine/InstCombineCompares.cpp 66 for (auto *U : I.users())
425 static Value *evaluateGEPOffsetExpression(User *GEP, InstCombiner &IC,
1297 for (User *U : OrigAdd->users()) {
4565 for (User *U : MulVal->users()) {
4695 User *U = *UI++;
4803 for (const User *U : Op0->users()) {
4835 for (const User *U : DI->users()) {
lib/Transforms/InstCombine/InstCombineInternal.h 220 for (User *U : V->users()) {
596 Value *EmitGEPOffset(User *GEP);
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 1340 for (auto *UI : LI->users()) {
lib/Transforms/InstCombine/InstCombinePHI.cpp 107 for (User *U : IIP->users()) {
142 for (User *U : Arg->users()) {
504 for (User *U : AI->users()) {
985 for (User *U : PN->users()) {
lib/Transforms/InstCombine/InstCombineVectorOps.cpp 586 for (User *U : ExtVecOp->users()) {
708 User *U = V->user_back();
2006 for (User *U : SVI.users())
lib/Transforms/InstCombine/InstructionCombining.cpp 146 Value *InstCombiner::EmitGEPOffset(User *GEP) {
939 for (User *U : PN->users()) {
1654 for (User::op_iterator I = GEP.op_begin() + 1, E = GEP.op_end(); I != E;
2280 for (User *U : PI->users()) {
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 1526 for (User *U : ICmp->users()) {
1535 for (User *U : ICmp->users()) {
1592 for (User *U : I.users()) {
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 1440 for (User *U : I.users()) {
lib/Transforms/ObjCARC/DependencyAnalysis.cpp 119 for (User::const_op_iterator OI = Inst->op_begin(), OE = Inst->op_end();
lib/Transforms/ObjCARC/ObjCARCAPElim.cpp 156 for (User::op_iterator OI = Init->op_begin(), OE = Init->op_end();
lib/Transforms/ObjCARC/ObjCARCContract.cpp 724 for (User *U : OrigArg->users())
731 for (User *U : BC->users())
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 109 for (const User *U : Arg->users())
691 for (const User *U : Ptr->users()) {
2004 for (User *U : Alloca->users()) {
lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp 92 const User *Ur = U.getUser();
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp 307 for (User *J : AAPtr->users()) {
363 for (User *UJ : J->users()) {
lib/Transforms/Scalar/BDCE.cpp 46 for (User *JU : I->users()) {
77 for (User *KU : J->users()) {
lib/Transforms/Scalar/ConstantProp.cpp 99 for (User *U : I->users()) {
lib/Transforms/Scalar/Float2Int.cpp 378 for (User *U : I->users()) {
lib/Transforms/Scalar/GVN.cpp 832 User *OtherAccess = nullptr;
838 for (auto *U : LI->getPointerOperand()->users())
1391 for (User *U : V->users())
lib/Transforms/Scalar/GVNHoist.cpp 939 for (User *U : NewMemAcc->users())
lib/Transforms/Scalar/IndVarSimplify.cpp 1698 for (User *U : NarrowDef->users()) {
2151 for (const User *User : I->users())
2208 for (User *U : Phi->users())
2211 for (User *U : IncV->users())
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 345 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(0),
347 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(1),
lib/Transforms/Scalar/InferAddressSpaces.cpp 758 User *Inst = U.getUser();
863 User *CurUser = I->getUser();
894 User *V = UndefUse->getUser();
895 User *NewV = cast<User>(ValueWithNewAddrSpace.lookup(V));
895 User *NewV = cast<User>(ValueWithNewAddrSpace.lookup(V));
942 User *CurUser = U.getUser();
lib/Transforms/Scalar/InstSimplifyPass.cpp 57 for (User *U : I.users())
lib/Transforms/Scalar/LICM.cpp 1005 for (auto *U : Addr->users()) {
1308 for (const User *U : GEP->users()) {
1331 for (const User *U : I.users()) {
1417 for (User::op_iterator OI = New->op_begin(), OE = New->op_end(); OI != OE;
1640 SmallSetVector<User*, 8> Users(I.user_begin(), I.user_end());
1641 for (auto *UI : Users) {
1960 for (User *U : ASIV->users()) {
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 1358 for (User *U : Inst->users()) {
1513 for (User *U : CntPhi->users())
1519 for (User *U : CntInst->users())
lib/Transforms/Scalar/LoopRerollPass.cpp 501 for (User *U : I->users()) {
519 for (auto *User : IV->users()) {
544 for (auto *UU : User->users()) {
639 for (User *U : C->users()) {
708 for (User::op_iterator OI = I->op_begin(),
742 static bool isSimpleArithmeticOp(User *IVU) {
762 static bool isLoopIncrement(User *U, Instruction *IV) {
769 for (auto *UU : U->users()) {
781 for (auto *I : Base->users()) {
865 for (User *V : I->users()) {
970 for (auto *IVU : IV->users()) {
1108 for (auto *U : I->users()) {
1169 for (auto *U : LoopControlIV->users()) {
1173 for (auto *UU : IVUser->users()) {
1562 for (User *U : PossibleReds[i].getReducedValue()->users()) {
lib/Transforms/Scalar/LoopStrengthReduce.cpp 943 for (User *UR : UVal->users()) {
2717 static User::op_iterator
2718 findIVOperand(User::op_iterator OI, User::op_iterator OE,
2718 findIVOperand(User::op_iterator OI, User::op_iterator OE,
2987 for (User *U : IVOper->users()) {
3069 User::op_iterator IVOpEnd = I.op_end();
3070 User::op_iterator IVOpIter = findIVOperand(I.op_begin(), IVOpEnd, L, SE);
3143 User::op_iterator IVOpEnd = Head.UserInst->op_end();
3145 User::op_iterator IVOpIter = findIVOperand(Head.UserInst->op_begin(),
3247 User::op_iterator UseI =
lib/Transforms/Scalar/LoopUnswitch.cpp 1426 for (User *U : I->users())
1470 for (User *U : LIC->users()) {
1487 for (User *U : LIC->users()) {
1634 for (User *U : PN->users())
lib/Transforms/Scalar/MemCpyOptimizer.cpp 819 SmallVector<User*, 8> srcUseList(srcAlloca->user_begin(),
822 User *U = srcUseList.pop_back_val();
825 for (User *UU : U->users())
833 for (User *UU : U->users())
lib/Transforms/Scalar/NewGVN.cpp 2073 for (auto *User : V->users()) {
2570 for (auto *U : ExistingValue->users())
2899 for (auto *U : I.users())
lib/Transforms/Scalar/Reassociate.cpp 856 for (User *U : V->users()) {
2129 for (User *U : NI->users()) {
2156 for (User *U : NI->users()) {
lib/Transforms/Scalar/Reg2Mem.cpp 51 for (const User *U : Inst->users()) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 1633 for (User *U : GCRelocs) {
1809 for (User *U : Def->users()) {
lib/Transforms/Scalar/SCCP.cpp 251 DenseMap<Value *, SmallPtrSet<User *, 2>> AdditionalUsers;
584 void addAdditionalUser(Value *V, User *U) {
591 for (User *U : I->users())
597 for (User *U : Iter->second)
lib/Transforms/Scalar/SROA.cpp 983 for (User *U : I->users())
1206 for (User *U : PN.users()) {
1335 for (User *U : SI.users()) {
3139 for (User *U : I->users())
3221 SmallPtrSet<User *, 8> Visited;
3687 for (User *LU : LI->users()) {
3898 for (User *LU : LI->users()) {
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 237 User *&UserChainTail, const DominatorTree *DT);
328 SmallVector<User *, 8> UserChain;
578 User *U = dyn_cast<User>(V);
578 User *U = dyn_cast<User>(V);
637 for (User *I : UserChain) {
649 User *U = UserChain[ChainIndex];
736 User *&UserChainTail,
767 for (User::op_iterator I = GEP->op_begin() + 1, E = GEP->op_end();
981 User *UserChainTail;
1282 for (User *U : V->users()) {
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp 54 SmallVector<std::pair<Instruction *, User::value_op_iterator>, 16> DFSStack;
95 User::value_op_iterator OpIt;
346 SmallVector<std::pair<Instruction *, User::value_op_iterator>, 16> DFSStack;
358 User::value_op_iterator OpIt;
lib/Transforms/Scalar/StructurizeCFG.cpp 416 for (User *U : Condition->users())
lib/Transforms/Utils/BasicBlockUtils.cpp 777 for (User::op_iterator i = NewRet->op_begin(), e = NewRet->op_end();
lib/Transforms/Utils/CallPromotionUtils.cpp 112 SmallVector<User *, 16> UsersToUpdate;
113 for (User *U : OrigInst->users())
115 for (User *U : UsersToUpdate)
165 SmallVector<User *, 16> UsersToUpdate;
166 for (User *U : CS.getInstruction()->users())
185 for (User *U : UsersToUpdate)
lib/Transforms/Utils/CloneFunction.cpp 634 for (const User *U : OrigV->users())
lib/Transforms/Utils/CodeExtractor.cpp 94 SmallPtrSet<User const *, 16> Visited;
95 SmallVector<User const *, 16> ToVisit;
101 User const *Curr = ToVisit.pop_back_val();
111 if (auto *UU = dyn_cast<User>(U))
111 if (auto *UU = dyn_cast<User>(U))
149 for (const auto *U : CPI->users())
160 for (const auto *U : CPI->users())
448 for (User *U : Addr->users()) {
532 for (User *U : AI->users()) {
610 for (User *U : II.users())
944 std::vector<User *> Users(inputs[i]->user_begin(), inputs[i]->user_end());
945 for (User *use : Users)
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/Evaluator.cpp 436 for (User::op_iterator i = GEP->op_begin() + 1, e = GEP->op_end();
lib/Transforms/Utils/GlobalStatus.cpp 52 for (const User *U : C->users())
68 const User *UR = U.getUser();
lib/Transforms/Utils/InlineFunction.cpp 255 for (User *Child : CatchPad->users()) {
289 for (User *U : CleanupPad->users()) {
489 for (User *U : CatchPad->users()) {
502 for (User *U : UselessPad->users()) {
1315 for (User *U : V->users())
1332 for (User *U : AI->users()) {
lib/Transforms/Utils/Local.cpp 510 User *TheUse = *UI;
576 for (User *U : I->users()) {
1425 User *U = AIUse.getUser();
1505 for (User *U : MDV->users()) {
1521 for (User *U : MDV->users())
1534 for (User *U : MDV->users())
lib/Transforms/Utils/LoopRotationUtils.cpp 565 for (User *UseI : IVOpnd->users()) {
lib/Transforms/Utils/LoopVersioning.cpp 142 SmallVector<User*, 8> UsersToUpdate;
143 for (User *U : Inst->users())
146 for (User *U : UsersToUpdate)
lib/Transforms/Utils/PromoteMemoryToRegister.cpp 70 for (const User *U : AI->users()) {
458 for (User *U : AI->users())
lib/Transforms/Utils/SimplifyCFG.cpp 315 static unsigned ComputeSpeculationCost(const User *I,
398 for (User::op_iterator i = I->op_begin(), e = I->op_end(); i != e; ++i)
2020 for (User::op_iterator i = I->op_begin(), e = I->op_end(); i != e; ++i) {
2159 for (User *U : I.users()) {
2247 for (User::op_iterator i = N->op_begin(), e = N->op_end(); i != e; ++i) {
4703 User *User = Use.getUser();
5226 User *PhiUser, BasicBlock *PhiBlock, BranchInst *RangeCheckBranch,
5504 for (auto *User : PHI->users()) {
5974 User *Use = *I->user_begin();
lib/Transforms/Utils/SimplifyIndVar.cpp 460 for (auto *U : WO->users()) {
539 for (auto *U : TI->users()) {
771 for (auto *U : BO->users()) {
796 for (User *U : Def->users()) {
lib/Transforms/Utils/SimplifyLibCalls.cpp 94 for (User *U : V->users()) {
164 for (User *U : V->users()) {
1262 for (User *U : CI->users()) {
2136 for (User *U : Arg->users())
lib/Transforms/Utils/SplitModule.cpp 62 const GlobalValue *GV, const User *U) {
80 SmallVector<const User *, 4> Worklist;
83 const User *UU = Worklist.pop_back_val();
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp 397 for (User *U : Inst->users()) {
1209 for (User *U : AE->users()) {
lib/Transforms/Vectorize/LoopVectorize.cpp 802 for (User::op_iterator OI = I->op_begin(), OE = I->op_end(); OI != OE; ++OI) {
3121 for (User *U : PostInc->users()) {
3132 for (User *U : OrigPhi->users()) {
3730 for (User *U : VecLoopExitInst->users()) {
lib/Transforms/Vectorize/SLPVectorizer.cpp 1461 ExternalUser(Value *S, llvm::User *U, int L)
1468 llvm::User *User;
2138 for (User *U : Scalar->users()) {
4029 ExternalUses.push_back(ExternalUser(PO, cast<User>(VecPtr), 0));
4068 ExternalUses.push_back(ExternalUser(ScalarPtr, cast<User>(VecPtr), 0));
4147 ExternalUses.push_back(ExternalUser(ScalarArg, cast<User>(V), 0));
4279 llvm::User *User = ExternalUse.User;
4372 for (User *U : Scalar->users()) {
4751 for (User *U : BundleMember->Inst->users()) {
tools/bugpoint/ExtractFunction.cpp 73 for (User::op_iterator i = V->op_begin(), e = V->op_end(); i != e; ++i) {
tools/clang/lib/CodeGen/CGException.cpp 272 for (llvm::User::op_iterator
289 for (llvm::User *U : Fn->users()) {
tools/clang/lib/CodeGen/CGStmt.cpp 504 for (llvm::User *u : block->users()) {
tools/clang/lib/CodeGen/CodeGenModule.cpp 4267 llvm::User *user = use->getUser();
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp 1364 for (llvm::User *u : global_variable->users()) {
1541 SmallVector<User *, 16> users;
1545 for (llvm::User *u : old_constant->users())
1549 User *user = users[i];
tools/llvm-reduce/deltas/ReduceArguments.cpp 69 for (auto *U : A.users())
tools/opt/AnalysisWrappers.cpp 39 for (User *U : I->users()) {
tools/polly/include/polly/Support/VirtualInstruction.h 178 User::op_iterator U;
180 VirtualOperandIterator(ScopStmt *User, User::op_iterator U)
tools/polly/lib/Analysis/ScopDetection.cpp 1203 for (User *U : PHI->users()) {
tools/polly/lib/CodeGen/BlockGenerators.cpp 532 for (User *U : Inst->users()) {
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 1429 for (auto *U : MAAccInst->users())
tools/polly/lib/Support/ScopHelper.cpp 579 for (auto *User : Ptr->users()) {
unittests/Analysis/LazyCallGraphTest.cpp 1137 for (User *U : D2F.users()) {
unittests/IR/InstructionsTest.cpp 52 User::const_op_iterator b(r1->op_begin());
151 User::const_op_iterator b(b1->op_begin());
unittests/IR/UseTest.cpp 50 for (User *U : X.users()) {
60 for (User *U : X.users()) {
95 for (User *U : X.users()) {
103 for (User *U : X.users()) {
unittests/IR/UserTest.cpp 102 User::value_op_iterator I = P.value_op_begin();
111 User::const_value_op_iterator CI = IP->value_op_begin();
unittests/Transforms/Utils/IntegerDivisionTest.cpp 48 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
78 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
108 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
138 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
169 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
199 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
229 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
259 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
usr/include/c++/7.4.0/type_traits 381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
1554 { typedef _Tp type; };
1558 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1983 { typedef _Up type; };
utils/unittest/googletest/include/gtest/gtest-message.h 116 inline Message& operator <<(const T& val) {
utils/unittest/googletest/include/gtest/gtest-printers.h 407 T* p, ::std::ostream* os) {
416 if (IsTrue(ImplicitlyConvertible<T*, const void*>::value)) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h 35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
37 return StreamSwitch<T>::printable(V);
54 const T& V;
55 friend std::ostream &operator<<(std::ostream &S, const RawStreamProxy<T> &V) {
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }