| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | IRTranslator.h | 51 class User; variable 207 bool translateCopy(const User &U, const Value &V, 215 bool translateLoad(const User &U, MachineIRBuilder &MIRBuilder); 255 bool translateCall(const User &U, MachineIRBuilder &MIRBuilder); 278 bool translateCast(unsigned Opcode, const User &U, 282 bool translatePHI(const User &U, MachineIRBuilder &MIRBuilder); 303 bool translateUnaryOp(unsigned Opcode, const User &U, 308 bool translateBinaryOp(unsigned Opcode, const User &U, 334 bool translateBr(const User &U, MachineIRBuilder &MIRBuilder); 401 bool translateRet(const User &U, MachineIRBuilder &MIRBuilder); [all …]
|
| /llvm-project-15.0.7/lldb/unittests/TestingSupport/ |
| H A D | MockTildeExpressionResolver.cpp | 22 void MockTildeExpressionResolver::AddKnownUser(StringRef User, in AddKnownUser() argument 24 assert(UserDirectories.find(User) == UserDirectories.end()); in AddKnownUser() 25 UserDirectories.insert(std::make_pair(User, HomeDir)); in AddKnownUser() 34 assert(UserDirectories.find(User) != UserDirectories.end()); in SetCurrentUser() 35 CurrentUser = User; in SetCurrentUser() 52 for (const auto &User : UserDirectories) { in ResolveExact() local 53 if (User.getKey() != Expr) in ResolveExact() 55 Output.append(User.getValue().begin(), User.getValue().end()); in ResolveExact() 71 for (const auto &User : UserDirectories) { in ResolvePartial() local 72 if (!User.getKey().startswith(Expr)) in ResolvePartial() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | User.cpp | 21 bool User::replaceUsesOfWith(Value *From, Value *To) { in replaceUsesOfWith() 50 void User::allocHungoffUses(unsigned N, bool IsPhi) { in allocHungoffUses() 67 void User::growHungoffUses(unsigned NewNumUses, bool IsPhi) { in growHungoffUses() 99 ArrayRef<const uint8_t> User::getDescriptor() const { in getDescriptor() 104 MutableArrayRef<uint8_t> User::getDescriptor() { in getDescriptor() 115 bool User::isDroppable() const { in isDroppable() 138 User *Obj = reinterpret_cast<User*>(End); in allocateFixedOperandUser() 153 void *User::operator new(size_t Size, unsigned Us) { in operator new() 161 void *User::operator new(size_t Size) { in operator new() 165 User *Obj = reinterpret_cast<User *>(HungOffOperandList + 1); in operator new() [all …]
|
| /llvm-project-15.0.7/polly/include/polly/Support/ |
| H A D | VirtualInstruction.h | 20 using llvm::User; 68 ScopStmt *User; 87 : User(User), Val(Val), Kind(Kind), ScevExpr(ScevExpr), InputMA(InputMA) { in VirtualUse() 138 ScopStmt *getUser() const { return User; } in getUser() 176 ScopStmt *User; variable 177 User::op_iterator U; 179 VirtualOperandIterator(ScopStmt *User, User::op_iterator U) in VirtualOperandIterator() argument 180 : User(User), U(U) {} in VirtualOperandIterator() 190 assert(this->User == that.User); 195 assert(this->User == that.User); [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 87 class User; variable 502 void visitSDiv(const User &I); 510 void visitICmp(const User &I); 511 void visitFCmp(const User &I); 513 void visitTrunc(const User &I); 514 void visitZExt(const User &I); 515 void visitSExt(const User &I); 517 void visitFPExt(const User &I); 518 void visitFPToUI(const User &I); 519 void visitFPToSI(const User &I); [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64PromoteConstant.cpp | 104 Instruction *User; member 108 : C(C), User(User), Op(Op) {} in UpdateRecord() 212 IPI->second.emplace_back(User, OpNo); in appendAndTransferDominatedUses() 375 if (PHINode *PhiInst = dyn_cast<PHINode>(&User)) in findInsertionPoint() 378 return &User; in findInsertionPoint() 400 IPI.second.emplace_back(User, OpNo); in isDominated() 461 LLVM_DEBUG(User->print(dbgs())); in computeInsertionPoint() 470 if (isDominated(InsertionPoint, User, OpNo, InsertPts)) in computeInsertionPoint() 474 if (tryAndMerge(InsertionPoint, User, OpNo, InsertPts)) in computeInsertionPoint() 480 InsertPts[InsertionPoint].emplace_back(User, OpNo); in computeInsertionPoint() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | IVUsers.cpp | 100 if (L->contains(User)) in IVUseShouldUsePostIncValue() 109 if (DT->dominates(LatchBlock, User->getParent())) in IVUseShouldUsePostIncValue() 116 PHINode *PN = dyn_cast<PHINode>(User); in IVUseShouldUsePostIncValue() 175 Instruction *User = cast<Instruction>(U.getUser()); in AddUsersIfInteresting() local 176 if (!UniqueUsers.insert(User).second) in AddUsersIfInteresting() 180 if (isa<PHINode>(User) && Processed.count(User)) in AddUsersIfInteresting() 190 if (LI->getLoopFor(User->getParent()) != L) { in AddUsersIfInteresting() 191 if (isa<PHINode>(User) || Processed.count(User) || in AddUsersIfInteresting() 192 !AddUsersIfInteresting(User)) { in AddUsersIfInteresting() 197 } else if (Processed.count(User) || !AddUsersIfInteresting(User)) { in AddUsersIfInteresting() [all …]
|
| H A D | TypeMetadataUtils.cpp | 29 Instruction *User = cast<Instruction>(U.getUser()); in findCallsAtConstantOffset() local 36 if (!DT.dominates(CI, User)) in findCallsAtConstantOffset() 38 if (isa<BitCastInst>(User)) { in findCallsAtConstantOffset() 41 } else if (auto *CI = dyn_cast<CallInst>(User)) { in findCallsAtConstantOffset() 43 } else if (auto *II = dyn_cast<InvokeInst>(User)) { in findCallsAtConstantOffset() 56 Value *User = U.getUser(); in findLoadCallsAtConstantOffset() local 57 if (isa<BitCastInst>(User)) { in findLoadCallsAtConstantOffset() 58 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset, CI, DT); in findLoadCallsAtConstantOffset() 59 } else if (isa<LoadInst>(User)) { in findLoadCallsAtConstantOffset() 60 findCallsAtConstantOffset(DevirtCalls, nullptr, User, Offset, CI, DT); in findLoadCallsAtConstantOffset() [all …]
|
| H A D | GuardUtils.cpp | 18 bool llvm::isGuard(const User *U) { in isGuard() 22 bool llvm::isWidenableBranch(const User *U) { in isWidenableBranch() 29 bool llvm::isGuardAsWidenableBranch(const User *U) { in isGuardAsWidenableBranch() 44 bool llvm::parseWidenableBranch(const User *U, Value *&Condition, in parseWidenableBranch() 49 if (parseWidenableBranch(const_cast<User*>(U), C, WC, IfTrueBB, IfFalseBB)) { in parseWidenableBranch() 60 bool llvm::parseWidenableBranch(User *U, Use *&C,Use *&WC, in parseWidenableBranch()
|
| H A D | ObjCARCInstKind.cpp | 75 case ARCInstKind::User: in operator <<() 312 case ARCInstKind::User: in IsUser() 371 case ARCInstKind::User: in IsRetain() 406 case ARCInstKind::User: in IsAutorelease() 441 case ARCInstKind::User: in IsForwarding() 475 case ARCInstKind::User: in IsNoopOnNull() 510 case ARCInstKind::User: in IsNoopOnGlobal() 546 case ARCInstKind::User: in IsAlwaysTail() 585 case ARCInstKind::User: in IsNeverTail() 622 case ARCInstKind::User: in IsNoThrow() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SSAUpdater.cpp | 342 for (Instruction *User : Insts) in run() 343 UsesByBlock[User->getParent()].push_back(User); in run() 351 for (Instruction *User : Insts) { in run() 352 BasicBlock *BB = User->getParent(); in run() 447 for (Instruction *User : Insts) { in run() 448 if (!shouldDelete(User)) in run() 455 if (!User->use_empty()) { in run() 456 Value *NewVal = ReplacedLoads[User]; in run() 469 User->replaceAllUsesWith(NewVal); in run() 472 instructionDeleted(User); in run() [all …]
|
| H A D | SimplifyIndVar.cpp | 819 for (User *U : Def->users()) { in pushIVUsers() 1136 return User; in getInsertPointForUses() 1560 if (User == NarrowDef) in widenWithVariantUse() 1562 if (!L->contains(User)) { in widenWithVariantUse() 1585 User = dyn_cast<SExtInst>(User); in widenWithVariantUse() 1587 User = dyn_cast<ZExtInst>(User); in widenWithVariantUse() 1588 if (!User || User->getType() != WideType) in widenWithVariantUse() 1590 ExtUsers.push_back(User); in widenWithVariantUse() 1659 DeadInsts.emplace_back(User); in widenWithVariantUse() 1664 Builder.SetInsertPoint(User); in widenWithVariantUse() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | User.h | 44 class User : public Value { 73 User(Type *ty, unsigned vty, Use *, unsigned NumOps) in User() function 97 User(const User &) = delete; 107 User::operator delete(Usr); in delete() 119 User::operator delete(Usr); in delete() 317 static_assert(alignof(Use) >= alignof(User), 319 static_assert(alignof(Use *) >= alignof(User), 322 template<> struct simplify_type<User::op_iterator> { 325 static SimpleType getSimplifiedValue(User::op_iterator &Val) { 329 template<> struct simplify_type<User::const_op_iterator> { [all …]
|
| H A D | OperandTraits.h | 40 static unsigned operands(const User*) { in operands() 54 static unsigned operands(const User *U) { in operands() 73 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands(); in op_begin() 78 static unsigned operands(const User *U) { in operands() 96 static Use *op_begin(User* U) { in op_begin() 99 static Use *op_end(User* U) { in op_end() 102 static unsigned operands(const User *U) { in operands()
|
| H A D | Use.h | 34 class User; variable 59 Use(User *Parent) : Parent(Parent) {} in Use() 63 friend class User; variable 72 User *getUser() const { return Parent; }; in getUser() 96 User *Parent = nullptr;
|
| H A D | GetElementPtrTypeIterator.h | 30 template <typename ItTy = User::const_op_iterator> 123 inline gep_type_iterator gep_type_begin(const User *GEP) { in gep_type_begin() 130 inline gep_type_iterator gep_type_end(const User *GEP) { in gep_type_end() 134 inline gep_type_iterator gep_type_begin(const User &GEP) { in gep_type_begin() 141 inline gep_type_iterator gep_type_end(const User &GEP) { in gep_type_end()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | GuardUtils.h | 19 class User; variable 24 bool isGuard(const User *U); 28 bool isWidenableBranch(const User *U); 32 bool isGuardAsWidenableBranch(const User *U); 43 bool parseWidenableBranch(const User *U, Value *&Condition, 49 bool parseWidenableBranch(User *U, Use *&Cond, Use *&WC, BasicBlock *&IfTrueBB,
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | TodoCommentCheck.cpp | 20 TodoCommentHandler(TodoCommentCheck &Check, llvm::Optional<std::string> User) in TodoCommentHandler() argument 21 : Check(Check), User(User ? *User : "unknown"), in TodoCommentHandler() 39 std::string NewText = ("// TODO(" + Twine(User) + "): " + Comment).str(); in HandleComment() 49 std::string User; member in clang::tidy::google::readability::TodoCommentCheck::TodoCommentHandler 56 *this, Context->getOptions().User)) {} in TodoCommentCheck()
|
| /llvm-project-15.0.7/llvm/lib/MCA/ |
| H A D | Instruction.cpp | 61 for (const std::pair<ReadState *, int> &User : Users) { in onInstructionIssued() local 62 ReadState *RS = User.first; in onInstructionIssued() 63 unsigned ReadCycles = std::max(0, CyclesLeft - User.second); in onInstructionIssued() 72 void WriteState::addUser(unsigned IID, ReadState *User, int ReadAdvance) { in addUser() argument 78 User->writeStartEvent(IID, RegisterID, ReadCycles); in addUser() 82 Users.emplace_back(User, ReadAdvance); in addUser() 85 void WriteState::addUser(unsigned IID, WriteState *User) { in addUser() argument 87 User->writeStartEvent(IID, RegisterID, std::max(0, CyclesLeft)); in addUser() 92 PartialWrite = User; in addUser() 93 User->setDependentWrite(this); in addUser()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/ |
| H A D | UninitializedValues.h | 39 const Expr *User; 55 UninitUse(const Expr *User, bool AlwaysUninit) in UninitUse() argument 56 : User(User), AlwaysUninit(AlwaysUninit) {} in UninitUse() 66 const Expr *getUser() const { return User; } in getUser()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCGenScalarMASSEntries.cpp | 126 SmallVector<User *, 4> TheUsers; in runOnModule() 127 for (auto *User : Func.users()) in runOnModule() local 128 TheUsers.push_back(User); in runOnModule() 130 for (auto *User : TheUsers) in runOnModule() local 131 if (auto *CI = dyn_cast_or_null<CallInst>(User)) { in runOnModule()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | PointerTypeAnalysis.cpp | 33 for (const auto *User : V->users()) { in classifyPointerType() local 35 if (const auto *Inst = dyn_cast<LoadInst>(User)) { in classifyPointerType() 37 } else if (const auto *Inst = dyn_cast<StoreInst>(User)) { in classifyPointerType() 39 } else if (const auto *Inst = dyn_cast<GetElementPtrInst>(User)) { in classifyPointerType() 47 return TypedPointerType::get(classifyPointerType(User), in classifyPointerType()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | FastISel.h | 59 class User; variable 265 bool selectOperator(const User *I, unsigned Opcode); 493 bool canFoldAddIntoGEP(const User *GEP, const Value *Add); 508 bool selectBinaryOp(const User *I, unsigned ISDOpcode); 509 bool selectFNeg(const User *I, const Value *In); 510 bool selectGetElementPtr(const User *I); 513 bool selectCall(const User *I); 515 bool selectBitCast(const User *I); 516 bool selectFreeze(const User *I); 517 bool selectCast(const User *I, unsigned Opcode); [all …]
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unique_ptr/ |
| H A D | main.cpp | 4 struct User { struct 15 std::unique_ptr<User> up_user = std::make_unique<User>(); in main() argument
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr/ |
| H A D | main.cpp | 4 struct User { struct 15 std::shared_ptr<User> sp_user = std::make_shared<User>(); in main() argument
|