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

1234567

/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DDataFlow.h18 #include "llvm/IR/User.h"
60 template <> struct GraphTraits<Inverse<const User*> > {
62 typedef User::const_op_iterator ChildIteratorType;
64 static NodeType *getEntryNode(Inverse<const User*> G) {
69 if (const User *U = dyn_cast<User>(N))
75 if(const User *U = dyn_cast<User>(N))
81 template <> struct GraphTraits<Inverse<User*> > {
83 typedef User
[all...]
H A DGetElementPtrTypeIterator.h19 #include "llvm/IR/User.h"
22 template<typename ItTy = User::const_op_iterator>
85 inline gep_type_iterator gep_type_begin(const User *GEP) {
89 inline gep_type_iterator gep_type_end(const User *GEP) {
92 inline gep_type_iterator gep_type_begin(const User &GEP) {
96 inline gep_type_iterator gep_type_end(const User &GEP) {
H A DCallSite.h41 typename UserTy = const User,
45 typename IterTy = User::const_op_iterator>
295 class CallSite : public CallSiteBase<Function, Value, User, Instruction,
296 CallInst, InvokeInst, User::op_iterator> {
297 typedef CallSiteBase<Function, Value, User, Instruction,
298 CallInst, InvokeInst, User::op_iterator> Base;
314 User::op_iterator getCallee() const;
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DUser.cpp1 //===-- User.cpp - Implement the User class -------------------------------===//
10 #include "llvm/IR/User.h"
18 // User Class
21 void User::anchor() {}
26 void User::replaceUsesOfWith(Value *From, Value *To) {
30 "Cannot call User::replaceUsesOfWith on a constant!");
42 // User allocHungoffUses Implementation
45 Use *User::allocHungoffUses(unsigned N) const {
47 // the User
[all...]
H A DUse.cpp10 // This file implements the algorithm for finding the User of a Use.
137 User *Use::getUser() const {
142 : reinterpret_cast<User*>(const_cast<Use*>(End));
H A DDominators.cpp96 // dominates - Return true if Def dominates a use in User. This performs
97 // the special checks necessary if Def and User are in the same basic block.
100 const Instruction *User) const {
101 const BasicBlock *UseBB = User->getParent();
104 // Any unreachable use is dominated, even if Def == User.
113 if (Def == User)
120 if (isa<InvokeInst>(Def) || isa<PHINode>(User))
126 // Loop through the basic block until we find Def or User.
128 for (; &*I != Def && &*I != User; ++I)
251 // Any unreachable use is dominated, even if Def == User
[all...]
H A DTypeFinder.cpp66 for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end();
142 const User *U = cast<User>(V);
/freebsd-9.3-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-9.3-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
206 TransformSubExpr(const SCEV *S, Instruction *User, Value *OperandValToReplace) argument
222 TransformForPostIncUse(TransformKind Kind, const SCEV *S, Instruction *User, Value *OperandValToReplace, PostIncLoopSet &Loops, ScalarEvolution &SE, DominatorTree &DT) argument
[all...]
H A DIVUsers.cpp148 Instruction *User = cast<Instruction>(*UI); local
149 if (!UniqueUsers.insert(User))
153 if (isa<PHINode>(User) && Processed.count(User))
158 BasicBlock *UseBB = User->getParent();
160 if (PHINode *PHI = dyn_cast<PHINode>(User)) {
172 // If User is already in Processed, we don't want to recurse into it again,
175 if (LI->getLoopFor(User->getParent()) != L) {
176 if (isa<PHINode>(User) || Processed.count(User) ||
234 AddUser(Instruction *User, Value *Operand) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h588 void visit(unsigned Opcode, const User &I);
689 void visitBinary(const User &I, unsigned OpCode);
690 void visitShift(const User &I, unsigned Opcode);
691 void visitAdd(const User &I) { visitBinary(I, ISD::ADD); }
692 void visitFAdd(const User &I) { visitBinary(I, ISD::FADD); }
693 void visitSub(const User &I) { visitBinary(I, ISD::SUB); }
694 void visitFSub(const User &I);
695 void visitMul(const User &I) { visitBinary(I, ISD::MUL); }
696 void visitFMul(const User &I) { visitBinary(I, ISD::FMUL); }
697 void visitURem(const User
[all...]
/freebsd-9.3-release/contrib/llvm/tools/opt/
H A DAnalysisWrappers.cpp42 Instruction *User = dyn_cast<Instruction>(*UI); local
43 if (!User) continue;
45 CallSite CS(cast<Value>(User));
56 errs() << *User;
/freebsd-9.3-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-9.3-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
29 /// for use of the User class
33 class User : public Value { class in namespace:llvm
34 User(const User &) LLVM_DELETED_FUNCTION;
40 /// OperandList - This is a pointer to the array of Uses for this User.
47 /// NumOperands - The number of values used by this User.
52 User(Typ 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) {}
131 /// User::replaceUsesOfWith (which does not work on constants) that does work
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
15 // to a Use without having to store a User pointer in every Use. A
16 // User is preceded in memory by all the Uses corresponding to its
18 // class are used to encode offsets to be able to find that User given
38 class User;
67 // a pointer back to their User with the bottom bit set.
68 typedef PointerIntPair<User*, 1, unsigned> UserRef;
96 /// getUser - This returns the User that contains this Use. For an
98 User *getUse
[all...]
/freebsd-9.3-release/usr.sbin/cron/crontab/
H A Dcrontab.c60 static char User[MAX_UNAME], RealUser[MAX_UNAME]; variable
104 if (!allowed(User)) {
105 warnx("you (%s) are not allowed to use this program", User);
139 (void) strncpy(User, pw->pw_name, (sizeof User)-1);
140 User[(sizeof User)-1] = '\0';
141 strcpy(RealUser, User);
156 (void) strncpy(User, pw->pw_name, (sizeof User)
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/Analysis/
H A DScalarEvolutionNormalization.h70 Instruction *User,
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp178 Instruction *User = cast<Instruction>(U.getUser()); local
181 if (PHINode *UserPN = dyn_cast<PHINode>(User))
184 V = GetValueInMiddleOfBlock(User->getParent());
195 Instruction *User = cast<Instruction>(U.getUser()); local
198 if (PHINode *UserPN = dyn_cast<PHINode>(User))
201 V = GetValueAtEndOfBlock(User->getParent());
350 Instruction *User = Insts[i]; local
351 UsesByBlock[User->getParent()].push_back(User);
361 Instruction *User local
459 Instruction *User = Insts[i]; local
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/CodeGen/
H A DFastISel.h42 class User;
104 bool SelectOperator(const User *I, unsigned Opcode);
368 bool canFoldAddIntoGEP(const User *GEP, const Value *Add);
371 bool SelectBinaryOp(const User *I, unsigned ISDOpcode);
373 bool SelectFNeg(const User *I);
375 bool SelectGetElementPtr(const User *I);
377 bool SelectCall(const User *I);
379 bool SelectBitCast(const User *I);
381 bool SelectCast(const User *I, unsigned Opcode);
383 bool SelectExtractValue(const User *
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Analysis/IPA/
H A DFindUsedTypes.cpp50 for (User::const_op_iterator OI = C->op_begin(), OE = C->op_end();
82 for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end();
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp146 void MarkUnsafe(AllocaInfo &I, Instruction *User) { argument
148 DEBUG(dbgs() << " Transformation preventing inst: " << *User << '\n');
154 void isSafePHISelectUseForScalarRepl(Instruction *User, uint64_t Offset,
470 Instruction *User = cast<Instruction>(*UI); local
472 if (LoadInst *LI = dyn_cast<LoadInst>(User)) {
484 if (StoreInst *SI = dyn_cast<StoreInst>(User)) {
495 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) {
503 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(User)) {
535 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
562 if (MemTransferInst *MTI = dyn_cast<MemTransferInst>(User)) {
600 Instruction *User = cast<Instruction>(Ptr->use_back()); local
1602 Instruction *User = cast<Instruction>(*UI); local
1669 Instruction *User = cast<Instruction>(*UI); local
1871 Instruction *User = cast<Instruction>(*UI++); local
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DLocal.h25 class User;
187 Value *EmitGEPOffset(IRBuilderTy *Builder, const DataLayout &TD, User *GEP,
202 for (User::op_iterator i = GEP->op_begin() + 1, e = GEP->op_end(); i != e;

Completed in 163 milliseconds

1234567