Searched refs:User (Results 1 - 25 of 275) sorted by relevance

1234567891011

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DGuardUtils.h19 class User;
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,
H A DObjCARCInstKind.h29 /// of a User or CallOrUser).
54 User, ///< could "use" a pointer member in class:llvm::objcarc::ARCInstKind
115 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp1 //===-- User.cpp - Implement the User class -------------------------------===//
9 #include "llvm/IR/User.h"
17 // User Class
20 void User::replaceUsesOfWith(Value *From, Value *To) {
24 "Cannot call User::replaceUsesOfWith on a constant!");
36 // User allocHungoffUses Implementation
39 void User::allocHungoffUses(unsigned N, bool IsPhi) {
48 // the User.
54 (void) new(End) Use::UserRef(const_cast<User*>(thi
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h50 class User;
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
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedUser.h12 #include "llvm/IR/User.h"
20 /// that wish to inherit from User should instead inherit from DerivedUser
25 /// loophole that allows classes outside of lib/IR to extend User to leverage
27 class DerivedUser : public User {
39 : User(Ty, VK, U, NumOps), DeleteValue(DeleteValue) {}
H A DOperandTraits.h10 // layout of various User subclasses. It also provides the means for accessing
17 #include "llvm/IR/User.h"
26 /// when it is a prefix to the User object, and the number of Use objects is
34 "adding virtual methods to subclasses of User breaks use lists");
40 static unsigned operands(const User*) { argument
54 static unsigned operands(const User *U) {
64 /// when it is a prefix to the User object, and the number of Use objects is
72 "adding virtual methods to subclasses of User breaks use lists");
73 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands();
78 static unsigned operands(const User *
[all...]
H A DUser.h1 //===- llvm/User.h - User class definition ----------------------*- C++ -*-===//
10 // Each instance of the Value class keeps track of what User's have handles
38 /// Compile-time customization of User operands.
44 class User : public Value { class in namespace:llvm
52 /// Allocate a User with an operand pointer co-allocated.
58 /// Allocate a User with the operands co-allocated.
63 /// Allocate a User with the operands co-allocated. If DescBytes is non-zero
73 User(Type *ty, unsigned vty, Use *, unsigned NumOps) function in class:llvm::User
80 "Error in initializing hung off uses for User");
[all...]
H A DUse.h11 /// instruction or some other User instance which refers to a Value. The Use
14 /// Pointer tagging is used to efficiently find the User corresponding to a Use
15 /// without having to store a User pointer in every Use. A User is preceded in
18 /// able to find that User given a pointer to any Use. For details, see:
35 class User;
42 /// directly to the used value when we arrive from the User's operands, and
43 /// jumping directly to the User when we arrive from the Value's uses.
45 /// The pointer to the used Value is explicit, and the pointer to the User is
66 static inline void *getAsVoidPointer(User *
[all...]
H A DConstant.h16 #include "llvm/IR/User.h"
41 class Constant : public User {
44 : User(ty, vty, Ops, NumOps) {}
160 /// This method is a special form of User::replaceUsesOfWith
H A DGetElementPtrTypeIterator.h21 #include "llvm/IR/User.h"
30 template<typename ItTy = User::const_op_iterator>
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) {
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DUninitializedValues.h39 const Expr *User; member in class:clang::UninitUse
55 UninitUse(const Expr *User, bool AlwaysUninit) argument
56 : User(User), AlwaysUninit(AlwaysUninit) {}
66 const Expr *getUser() const { return User; }
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h89 class User;
490 void visit(unsigned Opcode, const User &I);
689 void visitUnary(const User &I, unsigned Opcode);
690 void visitFNeg(const User &I) { visitUnary(I, ISD::FNEG); }
692 void visitBinary(const User &I, unsigned Opcode);
693 void visitShift(const User &I, unsigned Opcode);
694 void visitAdd(const User &I) { visitBinary(I, ISD::ADD); }
695 void visitFAdd(const User &I) { visitBinary(I, ISD::FADD); }
696 void visitSub(const User &I) { visitBinary(I, ISD::SUB); }
697 void visitFSub(const User
[all...]
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A Dtest_pkcs11.in44 certificate cert User certificate FILE:$srcdir/data/test.crt,$srcdir/data/test.key
54 certificate cert User certificate FILE:$srcdir/data/test.crt,$srcdir/data/test-pw.key
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MCA/
H A DInstruction.cpp60 for (const std::pair<ReadState *, int> &User : Users) {
61 ReadState *RS = User.first;
62 unsigned ReadCycles = std::max(0, CyclesLeft - User.second);
71 void WriteState::addUser(unsigned IID, ReadState *User, int ReadAdvance) { argument
77 User->writeStartEvent(IID, RegisterID, ReadCycles);
81 Users.emplace_back(User, ReadAdvance);
84 void WriteState::addUser(unsigned IID, WriteState *User) { argument
86 User->writeStartEvent(IID, RegisterID, std::max(0, CyclesLeft));
91 PartialWrite = User;
92 User
[all...]
/freebsd-11-stable/usr.sbin/cron/crontab/
H A Dcrontab.c61 static char User[MAXLOGNAME], RealUser[MAXLOGNAME]; variable
106 if (!allowed(User)) {
107 warnx("you (%s) are not allowed to use this program", User);
141 (void) strncpy(User, pw->pw_name, (sizeof User)-1);
142 User[(sizeof User)-1] = '\0';
143 strcpy(RealUser, User);
158 (void) strncpy(User, pw->pw_name, (sizeof User)
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp104 Instruction *User; member in struct:__anon2044::AArch64PromoteConstant::UpdateRecord
107 UpdateRecord(Constant *C, Instruction *User, unsigned Op) argument
108 : C(C), User(User), Op(Op) {}
152 Instruction *findInsertionPoint(Instruction &User, unsigned OpNo);
159 /// \param User the user of the constant
165 bool isDominated(Instruction *NewPt, Instruction *User, unsigned OpNo,
173 /// \param User the user of the constant
181 bool tryAndMerge(Instruction *NewPt, Instruction *User, unsigned OpNo,
188 /// \param User th
207 appendAndTransferDominatedUses(Instruction *NewPt, Instruction *User, unsigned OpNo, InsertionPoints::iterator &IPI, InsertionPoints &InsertPts) argument
357 findInsertionPoint(Instruction &User, unsigned OpNo) argument
367 isDominated(Instruction *NewPt, Instruction *User, unsigned OpNo, InsertionPoints &InsertPts) argument
393 tryAndMerge(Instruction *NewPt, Instruction *User, unsigned OpNo, InsertionPoints &InsertPts) argument
444 computeInsertionPoint( Instruction *User, unsigned OpNo, InsertionPoints &InsertPts) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DGuardUtils.cpp18 bool llvm::isGuard(const User *U) {
22 bool llvm::isWidenableBranch(const User *U) {
29 bool llvm::isGuardAsWidenableBranch(const User *U) {
44 bool llvm::parseWidenableBranch(const User *U, Value *&Condition,
49 if (parseWidenableBranch(const_cast<User*>(U), C, WC, IfTrueBB, IfFalseBB)) {
60 bool llvm::parseWidenableBranch(User *U, Use *&C,Use *&WC,
H A DTypeMetadataUtils.cpp28 Instruction *User = cast<Instruction>(U.getUser()); local
35 if (!DT.dominates(CI, User))
37 if (isa<BitCastInst>(User)) {
38 findCallsAtConstantOffset(DevirtCalls, HasNonCallUses, User, Offset, CI,
40 } else if (auto CI = dyn_cast<CallInst>(User)) {
42 } else if (auto II = dyn_cast<InvokeInst>(User)) {
55 Value *User = U.getUser(); local
56 if (isa<BitCastInst>(User)) {
57 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset, CI, DT);
58 } else if (isa<LoadInst>(User)) {
[all...]
H A DIVUsers.cpp121 /// IVUseShouldUsePostIncValue - We have discovered a "User" of an IV expression
129 static bool IVUseShouldUsePostIncValue(Instruction *User, Value *Operand, argument
132 if (L->contains(User))
141 if (DT->dominates(LatchBlock, User->getParent()))
148 PHINode *PN = dyn_cast<PHINode>(User);
208 Instruction *User = cast<Instruction>(U.getUser()); local
209 if (!UniqueUsers.insert(User).second)
213 if (isa<PHINode>(User) && Processed.count(User))
218 BasicBlock *UseBB = User
300 AddUser(Instruction *User, Value *Operand) argument
[all...]
H A DValueLatticeUtils.cpp31 return !any_of(GV->users(), [&](User *U) {
H A DObjCARCInstKind.cpp76 case ARCInstKind::User:
77 return OS << "ARCInstKind::User";
141 return ARCInstKind::User;
143 return ARCInstKind::User;
233 return ARCInstKind::User;
291 return ARCInstKind::User;
299 for (User::const_op_iterator OI = I->op_begin(), OE = I->op_end();
302 return ARCInstKind::User;
313 case ARCInstKind::User:
372 case ARCInstKind::User
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp190 Instruction *User = cast<Instruction>(U.getUser()); local
193 if (PHINode *UserPN = dyn_cast<PHINode>(User))
196 V = GetValueInMiddleOfBlock(User->getParent());
207 Instruction *User = cast<Instruction>(U.getUser()); local
210 if (PHINode *UserPN = dyn_cast<PHINode>(User))
213 V = GetValueAtEndOfBlock(User->getParent());
358 for (Instruction *User : Insts)
359 UsesByBlock[User->getParent()].push_back(User);
367 for (Instruction *User
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp138 SmallVector<User *, 4> MASSVUsers;
139 for (auto *User: Func.users())
140 MASSVUsers.push_back(User);
142 for (auto *User : MASSVUsers) {
143 auto *CI = dyn_cast<CallInst>(User);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAlwaysInlinePass.cpp59 SmallVector<User *, 16> Stack;
63 for (User *U : GV.users())
67 User *U = Stack.pop_back_val();
82 for (User *UU : U->users())
/freebsd-11-stable/contrib/llvm-project/llvm/tools/opt/
H A DAnalysisWrappers.cpp39 for (User *U : I->users()) {

Completed in 318 milliseconds

1234567891011