Searched defs:User (Results 1 - 25 of 107) sorted by relevance

12345

/external/llvm/include/llvm/IR/
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
33 /// \brief Compile-time customization of User operands.
39 class User : public Value { class in namespace:llvm
40 User(const User &) = delete;
49 /// Allocate a User with an operand pointer co-allocated.
55 /// Allocate a User with the operands co-allocated.
60 /// Allocate a User wit
70 User(Type *ty, unsigned vty, Use *, unsigned NumOps) function in class:llvm::User
[all...]
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...]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
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
39 /// \brief Compile-time customization of User operands.
45 class User : public Value { class in namespace:llvm
55 /// Allocate a User with an operand pointer co-allocated.
61 /// Allocate a User with the operands co-allocated.
66 /// Allocate a User with the operands co-allocated. If DescBytes is non-zero
76 User(Type *ty, unsigned vty, Use *, unsigned NumOps) function in class:llvm::User
83 "Error in initializing hung off uses for User");
[all...]
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...]
/external/swiftshader/third_party/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;
/external/swiftshader/third_party/LLVM/include/llvm/
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
14 // * Instructions are the largest class of User's.
28 /// for use of the User class
32 class User : public Value { class in namespace:llvm
33 User(const User &); // Do not implement
38 /// OperandList - This is a pointer to the array of Uses for this User.
45 /// NumOperands - The number of values used by this User
50 User(Type *ty, unsigned vty, Use *OpList, unsigned NumOps) function in class:llvm::User
[all...]
H A DOperandTraits.h11 // layout of various User subclasses. It also provides the means for accessing
18 #include "llvm/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...]
/external/robolectric-shadows/integration_tests/mockito-experimental/src/test/java/org/robolectric/integration_tests/mockito_experimental/
H A DMockitoMockFinalsTest.java34 User user = mock(User.class);
40 final static class User { class in class:MockitoMockFinalsTest
/external/autotest/frontend/
H A Dapache_auth.py1 from django.contrib.auth.models import User, Group, check_password namespace
17 frontend.afe.models.User database.
21 user = User.objects.get(username=username)
22 except User.DoesNotExist:
24 user = User(username=username,
37 user, created = models.User.objects.get_or_create(login=username)
43 return User.objects.get(pk=user_id)
44 except User.DoesNotExist:
73 system, and replaces the username in thread_local with the actual User model
85 thread_local.set_user(models.User
[all...]
/external/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp27 Value *User = U.getUser(); local
28 if (isa<BitCastInst>(User)) {
29 findCallsAtConstantOffset(DevirtCalls, HasNonCallUses, User, Offset);
30 } else if (auto CI = dyn_cast<CallInst>(User)) {
32 } else if (auto II = dyn_cast<InvokeInst>(User)) {
46 Value *User = U.getUser(); local
47 if (isa<BitCastInst>(User)) {
48 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset);
49 } else if (isa<LoadInst>(User)) {
50 findCallsAtConstantOffset(DevirtCalls, nullptr, User, Offse
[all...]
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...]
/external/llvm/lib/Transforms/Utils/
H A DLCSSA.cpp78 Instruction *User = cast<Instruction>(U.getUser()); local
79 BasicBlock *UserBB = User->getParent();
80 if (PHINode *PN = dyn_cast<PHINode>(User))
160 Instruction *User = cast<Instruction>(UseToRewrite->getUser()); local
161 BasicBlock *UserBB = User->getParent();
162 if (PHINode *PN = dyn_cast<PHINode>(User))
/external/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; }
/external/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h29 /// of a User or CallOrUser).
54 User, ///< could "use" a pointer member in class:llvm::objcarc::ARCInstKind
111 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User;
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DIVUsers.cpp110 Instruction *User = cast<Instruction>(*UI); local
111 if (!UniqueUsers.insert(User))
115 if (isa<PHINode>(User) && Processed.count(User))
122 // If User is already in Processed, we don't want to recurse into it again,
125 if (LI->getLoopFor(User->getParent()) != L) {
126 if (isa<PHINode>(User) || Processed.count(User) ||
127 !AddUsersIfInteresting(User)) {
128 DEBUG(dbgs() << "FOUND USER in other loop: " << *User << '\
156 AddUser(Instruction *User, Value *Operand) argument
[all...]
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);
123 if (IVUseShouldUsePostIncValue(User, OperandValToReplac
200 TransformSubExpr(const SCEV *S, Instruction *User, Value *OperandValToReplace) argument
216 TransformForPostIncUse(TransformKind Kind, const SCEV *S, Instruction *User, Value *OperandValToReplace, PostIncLoopSet &Loops, ScalarEvolution &SE, DominatorTree &DT) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DLCSSA.cpp186 User *U = *UI;
256 Instruction *User = cast<Instruction>(UsesToRewrite[i]->getUser()); local
257 BasicBlock *UserBB = User->getParent();
258 if (PHINode *PN = dyn_cast<PHINode>(User))
H A DAddrModeMatcher.cpp153 bool AddressingModeMatcher::MatchOperationAddr(User *AddrInst, unsigned Opcode,
420 User *U = *UI;
552 Instruction *User = MemoryUses[i].first; local
557 Value *Address = User->getOperand(OpNo);
H A DSimplifyIndVar.cpp284 Instruction *User = cast<Instruction>(*UI); local
290 if (User != Def && Simplified.insert(User))
291 SimpleIVUsers.push_back(std::make_pair(User, Def));
/external/clang/test/Sema/
H A Dattr-availability.c98 enum User { enum
/external/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp110 static void CheckForPhysRegDependency(SDNode *Def, SDNode *User, unsigned Op, argument
114 if (Op != 2 || User->getOpcode() != ISD::CopyToReg)
117 unsigned Reg = cast<RegisterSDNode>(User->getOperand(1))->getReg();
121 unsigned ResNo = User->getOperand(2).getResNo();
222 SDNode *User = *I; local
223 if (User == Node || !Visited.insert(User).second)
226 if (!TII->areLoadsFromSameBasePtr(Base, User, Offset1, Offset2) ||
233 O2SMap.insert(std::make_pair(Offset2, User));
236 Base = User;
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64AddressTypePromotion.cpp217 for (const User *U : SExt->users()) {
288 Instruction *User = dyn_cast<Instruction>(U.getUser()); local
289 assert(User && "User of sext is not an Instruction!");
290 User->setOperand(U.getOperandNo(), SExt);
438 for (const User *U : SExt->users()) {
H A DAArch64PromoteConstant.cpp96 Instruction *User; member in struct:__anon14174::AArch64PromoteConstant::UpdateRecord
99 UpdateRecord(Constant *C, Instruction *User, unsigned Op) argument
100 : C(C), User(User), Op(Op) {}
141 Instruction *findInsertionPoint(Instruction &User, unsigned OpNo);
148 /// \param User the user of the constant
154 bool isDominated(Instruction *NewPt, Instruction *User, unsigned OpNo,
162 /// \param User the user of the constant
170 bool tryAndMerge(Instruction *NewPt, Instruction *User, unsigned OpNo,
177 /// \param User th
196 appendAndTransferDominatedUses(Instruction *NewPt, Instruction *User, unsigned OpNo, InsertionPoints::iterator &IPI, InsertionPoints &InsertPts) argument
349 findInsertionPoint(Instruction &User, unsigned OpNo) argument
359 isDominated(Instruction *NewPt, Instruction *User, unsigned OpNo, InsertionPoints &InsertPts) argument
386 tryAndMerge(Instruction *NewPt, Instruction *User, unsigned OpNo, InsertionPoints &InsertPts) argument
437 computeInsertionPoint( Instruction *User, unsigned OpNo, InsertionPoints &InsertPts) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp94 SDNode *User = *UI; local
96 if (User->getOpcode() == ISD::CopyToReg &&
97 User->getOperand(2).getNode() == Node &&
98 User->getOperand(2).getResNo() == ResNo) {
99 unsigned DestReg = cast<RegisterSDNode>(User->getOperand(1))->getReg();
106 for (unsigned i = 0, e = User->getNumOperands(); i != e; ++i) {
107 SDValue Op = User->getOperand(i);
114 if (User->isMachineOpcode()) {
115 const MCInstrDesc &II = TII->get(User->getMachineOpcode());
176 SDNode *User
211 SDNode *User = *UI; local
[all...]

Completed in 1670 milliseconds

12345