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

123456789

/freebsd-11.0-release/contrib/llvm/lib/IR/
H A DUser.cpp1 //===-- User.cpp - Implement the User class -------------------------------===//
10 #include "llvm/IR/User.h"
19 // User Class
22 void User::anchor() {}
24 void User::replaceUsesOfWith(Value *From, Value *To) {
28 "Cannot call User::replaceUsesOfWith on a constant!");
40 // User allocHungoffUses Implementation
43 void User::allocHungoffUses(unsigned N, bool IsPhi) {
53 // the User
[all...]
H A DUse.cpp11 #include "llvm/IR/User.h"
41 User *Use::getUser() const {
45 : reinterpret_cast<User *>(const_cast<Use *>(End));
H A DDominators.cpp74 // dominates - Return true if Def dominates a use in User. This performs
75 // the special checks necessary if Def and User are in the same basic block.
78 const Instruction *User) const {
79 const BasicBlock *UseBB = User->getParent();
82 // Any unreachable use is dominated, even if Def == User.
91 if (Def == User)
98 if (isa<InvokeInst>(Def) || isa<PHINode>(User))
104 // Loop through the basic block until we find Def or User.
106 for (; &*I != Def && &*I != User; ++I)
229 // Any unreachable use is dominated, even if Def == User
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DScalarEvolutionNormalization.cpp21 /// IVUseShouldUsePostIncValue - We have discovered a "User" of an IV expression
29 static bool IVUseShouldUsePostIncValue(Instruction *User, Value *Operand, argument
32 if (L->contains(User)) return false;
40 if (DT->dominates(LatchBlock, User->getParent()))
47 PHINode *PN = dyn_cast<PHINode>(User);
80 const SCEV *TransformSubExpr(const SCEV *S, Instruction *User,
84 const SCEV *TransformImpl(const SCEV *S, Instruction *User,
92 TransformImpl(const SCEV *S, Instruction *User, Value *OperandValToReplace) { argument
96 const SCEV *N = TransformSubExpr(O, User, OperandValToReplace);
133 IVUseShouldUsePostIncValue(User, OperandValToReplac
229 TransformSubExpr(const SCEV *S, Instruction *User, Value *OperandValToReplace) argument
245 TransformForPostIncUse(TransformKind Kind, const SCEV *S, Instruction *User, Value *OperandValToReplace, PostIncLoopSet &Loops, ScalarEvolution &SE, DominatorTree &DT) argument
[all...]
H A DIVUsers.cpp158 Instruction *User = cast<Instruction>(U.getUser()); local
159 if (!UniqueUsers.insert(User).second)
163 if (isa<PHINode>(User) && Processed.count(User))
168 BasicBlock *UseBB = User->getParent();
170 if (PHINode *PHI = dyn_cast<PHINode>(User)) {
182 // If User is already in Processed, we don't want to recurse into it again,
185 if (LI->getLoopFor(User->getParent()) != L) {
186 if (isa<PHINode>(User) || Processed.count(User) ||
244 AddUser(Instruction *User, Value *Operand) argument
[all...]
H A DObjCARCInstKind.cpp75 case ARCInstKind::User:
76 return OS << "ARCInstKind::User";
119 .Case("objc_sync_enter", ARCInstKind::User)
120 .Case("objc_sync_exit", ARCInstKind::User)
248 return ARCInstKind::User;
306 return ARCInstKind::User;
314 for (User::const_op_iterator OI = I->op_begin(), OE = I->op_end();
317 return ARCInstKind::User;
328 case ARCInstKind::User:
386 case ARCInstKind::User
[all...]
H A DCodeMetrics.cpp49 [&](const User *U) { return EphValues.count(U); }))
55 if (const User *U = dyn_cast<User>(V))
/freebsd-11.0-release/contrib/llvm/tools/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), UninitAfterCall(false), UninitAfterDecl(false),
67 const Expr *getUser() const { return User; }
/freebsd-11.0-release/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
H A Dtest_java_pkcs11.in60 certificate cert User certificate FILE:$srcdir/data/test.crt,$srcdir/data/test.key
/freebsd-11.0-release/contrib/llvm/include/llvm/IR/
H A DOperandTraits.h11 // layout of various User subclasses. It also provides the means for accessing
18 #include "llvm/IR/User.h"
27 /// when it is a prefix to the User object, and the number of Use objects is
38 static unsigned operands(const User*) { argument
52 static unsigned operands(const User *U) {
62 /// when it is a prefix to the User object, and the number of Use objects is
68 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands();
73 static unsigned operands(const User *U) {
83 /// when it is not a prefix to the User object, but allocated at an unrelated
85 /// Assumes that the User subclas
[all...]
H A DUser.h1 //===-- llvm/User.h - User class definition ---------------------*- C++ -*-===//
11 // Each instance of the Value class keeps track of what User's have handles
31 /// \brief Compile-time customization of User operands.
37 class User : public Value { class in namespace:llvm
38 User(const User &) = delete;
47 /// Allocate a User with an operand pointer co-allocated.
53 /// Allocate a User with the operands co-allocated.
58 /// Allocate a User wit
68 User(Type *ty, unsigned vty, Use *, unsigned NumOps) function in class:llvm::User
[all...]
H A DConstant.h17 #include "llvm/IR/User.h"
41 class Constant : public User {
48 : User(ty, vty, Ops, NumOps) {}
126 /// This method is a special form of User::replaceUsesOfWith
H A DGetElementPtrTypeIterator.h20 #include "llvm/IR/User.h"
24 template<typename ItTy = User::const_op_iterator>
103 inline gep_type_iterator gep_type_begin(const User *GEP) {
111 inline gep_type_iterator gep_type_end(const User *GEP) {
114 inline gep_type_iterator gep_type_begin(const User &GEP) {
122 inline gep_type_iterator gep_type_end(const User &GEP) {
H A DUse.h12 /// instruction or some other User instance which refers to a Value. The Use
15 /// Pointer tagging is used to efficiently find the User corresponding to a Use
16 /// without having to store a User pointer in every Use. A User is preceded in
19 /// able to find that User given a pointer to any Use. For details, see:
37 class User;
55 /// directly to the used value when we arrive from the User's operands, and
56 /// jumping directly to the User when we arrive from the Value's uses.
58 /// The pointer to the used Value is explicit, and the pointer to the User is
75 // a pointer back to their User wit
[all...]
/freebsd-11.0-release/usr.sbin/cron/crontab/
H A Dcrontab.c61 static char User[MAXLOGNAME], RealUser[MAXLOGNAME]; variable
105 if (!allowed(User)) {
106 warnx("you (%s) are not allowed to use this program", User);
140 (void) strncpy(User, pw->pw_name, (sizeof User)-1);
141 User[(sizeof User)-1] = '\0';
142 strcpy(RealUser, User);
157 (void) strncpy(User, pw->pw_name, (sizeof User)
[all...]
/freebsd-11.0-release/contrib/llvm/include/llvm/Analysis/
H A DScalarEvolutionNormalization.h70 Instruction *User,
H A DObjCARCInstKind.h29 /// of a User or CallOrUser).
53 User, ///< could "use" a pointer member in class:llvm::objcarc::ARCInstKind
110 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User;
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp179 Instruction *User = cast<Instruction>(U.getUser()); local
182 if (PHINode *UserPN = dyn_cast<PHINode>(User))
185 V = GetValueInMiddleOfBlock(User->getParent());
196 Instruction *User = cast<Instruction>(U.getUser()); local
199 if (PHINode *UserPN = dyn_cast<PHINode>(User))
202 V = GetValueAtEndOfBlock(User->getParent());
349 for (Instruction *User : Insts)
350 UsesByBlock[User->getParent()].push_back(User);
358 for (Instruction *User
[all...]
H A DLCSSA.cpp79 Instruction *User = cast<Instruction>(U.getUser()); local
80 BasicBlock *UserBB = User->getParent();
81 if (PHINode *PN = dyn_cast<PHINode>(User))
161 Instruction *User = cast<Instruction>(UseToRewrite->getUser()); local
162 BasicBlock *UserBB = User->getParent();
163 if (PHINode *PN = dyn_cast<PHINode>(User))
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h667 void visit(unsigned Opcode, const User &I);
773 void visitBinary(const User &I, unsigned OpCode);
774 void visitShift(const User &I, unsigned Opcode);
775 void visitAdd(const User &I) { visitBinary(I, ISD::ADD); }
776 void visitFAdd(const User &I) { visitBinary(I, ISD::FADD); }
777 void visitSub(const User &I) { visitBinary(I, ISD::SUB); }
778 void visitFSub(const User &I);
779 void visitMul(const User &I) { visitBinary(I, ISD::MUL); }
780 void visitFMul(const User &I) { visitBinary(I, ISD::FMUL); }
781 void visitURem(const User
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp69 if (User *CurrUser = dyn_cast<User>(Curr))
145 for (auto &User : ToRemove)
146 Promotable.erase(User);
224 User *First = dyn_cast<User>(Pair.first);
225 User *Second = dyn_cast<User>(Pair.second);
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp137 static bool canVectorizeInst(Instruction *Inst, User *User) { argument
146 return SI->getPointerOperand() == User;
170 for (User *AllocaUser : Alloca->users()) {
190 for (User *GEPUser : AllocaUser->users()) {
244 for (User *User : Val->users()) {
245 if(std::find(WorkList.begin(), WorkList.end(), User) != WorkList.end())
247 if (CallInst *CI = dyn_cast<CallInst>(User)) {
253 WorkList.push_back(User);
[all...]
/freebsd-11.0-release/contrib/llvm/include/llvm/CodeGen/
H A DFastISel.h250 bool selectOperator(const User *I, unsigned Opcode);
495 bool canFoldAddIntoGEP(const User *GEP, const Value *Add);
526 bool selectBinaryOp(const User *I, unsigned ISDOpcode);
527 bool selectFNeg(const User *I);
528 bool selectGetElementPtr(const User *I);
531 bool selectCall(const User *Call);
533 bool selectBitCast(const User *I);
534 bool selectCast(const User *I, unsigned Opcode);
535 bool selectExtractValue(const User *I);
536 bool selectInsertValue(const User *
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp332 Instruction *User = cast<Instruction>(Use.getUser()); local
336 if (PHINode *PhiInst = dyn_cast<PHINode>(User))
339 return User;
422 Instruction *User = dyn_cast<Instruction>(Use.getUser()); local
425 if (!User)
429 if (!shouldConvertUse(Val, User, Use.getOperandNo()))
433 DEBUG(User->print(dbgs()));

Completed in 235 milliseconds

123456789