Home
last modified time | relevance | path

Searched refs:User (Results 1 – 25 of 621) sorted by relevance

12345678910>>...25

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h55 class User; variable
229 bool translateCopy(const User &U, const Value &V,
234 bool translateBitCast(const User &U, MachineIRBuilder &MIRBuilder);
237 bool translateLoad(const User &U, MachineIRBuilder &MIRBuilder);
240 bool translateStore(const User &U, MachineIRBuilder &MIRBuilder);
303 bool translateCall(const User &U, MachineIRBuilder &MIRBuilder);
318 bool translateInvoke(const User &U, MachineIRBuilder &MIRBuilder);
320 bool translateCallBr(const User &U, MachineIRBuilder &MIRBuilder);
322 bool translateLandingPad(const User &U, MachineIRBuilder &MIRBuilder);
326 bool translateCast(unsigned Opcode, const User &U,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp21 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()
100 auto MutableARef = const_cast<User *>(this)->getDescriptor(); in getDescriptor()
104 MutableArrayRef<uint8_t> User::getDescriptor() { in getDescriptor()
115 bool User::isDroppable() const { in isDroppable()
123 void *User::allocateFixedOperandUser(size_t Size, unsigned Us, in allocateFixedOperandUser()
138 User *Obj = reinterpret_cast<User*>(End); in allocateFixedOperandUser()
153 void *User::operator new(size_t Size, unsigned Us) { in operator new()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp104 Instruction *User; member
107 UpdateRecord(Constant *C, Instruction *User, unsigned Op) in UpdateRecord()
108 : C(C), User(User), Op(Op) {} in UpdateRecord()
152 Instruction *findInsertionPoint(Instruction &User, unsigned OpNo);
165 bool isDominated(Instruction *NewPt, Instruction *User, unsigned OpNo,
181 bool tryAndMerge(Instruction *NewPt, Instruction *User, unsigned OpNo,
191 void computeInsertionPoint(Instruction *User, unsigned OpNo,
208 Instruction *User, unsigned OpNo, in appendAndTransferDominatedUses() argument
212 IPI->second.emplace_back(User, OpNo); in appendAndTransferDominatedUses()
371 Instruction *AArch64PromoteConstant::findInsertionPoint(Instruction &User, in findInsertionPoint() argument
[all …]
H A DSVEIntrinsicOpts.cpp101 for (User *User : PTrue->users()) { in isPTruePromoted()
102 if (match(User, m_Intrinsic<Intrinsic::aarch64_sve_convert_to_svbool>())) { in isPTruePromoted()
103 ConvertToUses.push_back(cast<IntrinsicInst>(User)); in isPTruePromoted()
116 for (User *User : ConvertToUse->users()) { in isPTruePromoted()
117 auto *IntrUser = dyn_cast<IntrinsicInst>(User); in isPTruePromoted()
451 for (User *U : F.users()) in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVUsers.cpp97 static bool IVUseShouldUsePostIncValue(Instruction *User, Value *Operand, in IVUseShouldUsePostIncValue() argument
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()
[all …]
H A DTypeMetadataUtils.cpp29 Instruction *User = cast<Instruction>(U.getUser()); in findCallsAtConstantOffset() local
36 if (!DT.dominates(CI, User)) in findCallsAtConstantOffset()
38 if (isa<BitCastInst>(User)) { in findCallsAtConstantOffset()
39 findCallsAtConstantOffset(DevirtCalls, HasNonCallUses, User, Offset, CI, 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()
[all …]
H A DGuardUtils.cpp18 bool llvm::isGuard(const User *U) { in isGuard()
26 bool llvm::isWidenableBranch(const User *U) { in isWidenableBranch()
33 bool llvm::isGuardAsWidenableBranch(const User *U) { in isGuardAsWidenableBranch()
53 bool llvm::parseWidenableBranch(const User *U, Value *&Condition, in parseWidenableBranch()
58 if (parseWidenableBranch(const_cast<User*>(U), C, WC, IfTrueBB, IfFalseBB)) { in parseWidenableBranch()
69 bool llvm::parseWidenableBranch(User *U, Use *&C,Use *&WC, in parseWidenableBranch()
138 void llvm::parseWidenableGuard(const User *U,
151 Value *llvm::extractWidenableCondition(const User *U) {
H A DObjCARCInstKind.cpp75 case ARCInstKind::User: in operator <<()
140 return ARCInstKind::User; in GetFunctionClass()
142 return ARCInstKind::User; in GetFunctionClass()
233 return ARCInstKind::User; in GetARCInstKind()
291 return ARCInstKind::User; in GetARCInstKind()
301 return ARCInstKind::User; in GetARCInstKind()
312 case ARCInstKind::User: in IsUser()
371 case ARCInstKind::User: in IsRetain()
406 case ARCInstKind::User: in IsAutorelease()
441 case ARCInstKind::User: in IsForwarding()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h90 class User; variable
329 void visit(unsigned Opcode, const User &I);
543 void visitUnary(const User &I, unsigned Opcode);
544 void visitFNeg(const User &I) { visitUnary(I, ISD::FNEG); } in visitFNeg()
546 void visitBinary(const User &I, unsigned Opcode);
547 void visitShift(const User &I, unsigned Opcode);
548 void visitAdd(const User &I) { visitBinary(I, ISD::ADD); } in visitAdd()
549 void visitFAdd(const User &I) { visitBinary(I, ISD::FADD); } in visitFAdd()
550 void visitSub(const User &I) { visitBinary(I, ISD::SUB); } in visitSub()
551 void visitFSub(const User &I) { visitBinary(I, ISD::FSUB); } in visitFSub()
[all …]
/freebsd/usr.sbin/cron/crontab/
H A Dcrontab.c47 static char User[MAXLOGNAME], RealUser[MAXLOGNAME]; variable
88 if (!allowed(User)) { in main()
89 warnx("you (%s) are not allowed to use this program", User); in main()
125 (void) strncpy(User, pw->pw_name, (sizeof User)-1); in parse_args()
126 User[(sizeof User)-1] = '\0'; in parse_args()
127 strcpy(RealUser, User); in parse_args()
142 (void) strncpy(User, pw->pw_name, (sizeof User)-1); in parse_args()
143 User[(sizeof User)-1] = '\0'; in parse_args()
215 User, Filename, Options[(int)Option])) in parse_args()
254 log_it(RealUser, Pid, "LIST", User); in list_cmd()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DUser.h44 class User : public Value {
73 User(Type *ty, unsigned vty, Use *, unsigned NumOps) in User() function
94 ~User() = default; // Use deleteValue() to delete a generic Instruction.
97 User(const User &) = delete;
107 User::operator delete(Usr); in delete()
119 User::operator delete(Usr); in delete()
166 return const_cast<Use *>(static_cast<const User *>(this)->getOperandList()); in getOperandList()
317 static_assert(alignof(Use) >= alignof(User),
319 static_assert(alignof(Use *) >= alignof(User),
322 template<> struct simplify_type<User::op_iterator> {
[all …]
H A DGenericConvergenceVerifierImpl.h145 auto checkToken = [&](const InstructionT *Token, const InstructionT *User, in verify()
147 Check(DT.dominates(Token->getParent(), User->getParent()), in verify()
149 {Context.print(Token), Context.print(User)}); in verify()
153 {Context.print(Token), Context.print(User)}); in verify()
158 auto *BB = User->getParent(); in verify()
169 Check(getConvOp(*User) == CONV_LOOP, in verify()
173 {Context.print(User), CI.print(BBCycle)}); in verify()
184 {Context.print(User), Context.printAsOperand(BB), CI.print(BBCycle)}); in verify()
188 {Context.print(User), Context.print(CycleHearts[BBCycle]), in verify()
190 CycleHearts[BBCycle] = User; in verify()
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"); in op_begin()
40 static unsigned operands(const User*) { in operands()
54 static unsigned operands(const User *U) { in operands()
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"); in op_begin()
73 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands(); in op_begin()
78 static unsigned operands(const User * in op_end()
[all...]
H A DUse.h34 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 DGetElementPtrTypeIterator.h22 #include "llvm/IR/User.h"
30 template <typename ItTy = User::const_op_iterator>
173 inline gep_type_iterator gep_type_begin(const User *GEP) {
180 inline gep_type_iterator gep_type_end(const User *GEP) {
184 inline gep_type_iterator gep_type_begin(const User &GEP) {
191 inline gep_type_iterator gep_type_end(const User &GEP) {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp189 Instruction *User = cast<Instruction>(U.getUser()); in RewriteUse() local
192 if (PHINode *UserPN = dyn_cast<PHINode>(User)) in RewriteUse()
195 V = GetValueInMiddleOfBlock(User->getParent()); in RewriteUse()
249 Instruction *User = cast<Instruction>(U.getUser()); in RewriteUseAfterInsertions() local
252 if (PHINode *UserPN = dyn_cast<PHINode>(User)) in RewriteUseAfterInsertions()
255 V = GetValueAtEndOfBlock(User->getParent()); in RewriteUseAfterInsertions()
393 for (Instruction *User : Insts) in run()
394 UsesByBlock[User->getParent()].push_back(User); in run()
402 for (Instruction *User : Insts) { in run()
403 BasicBlock *BB = User->getParent(); in run()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DGuardUtils.h19 class User; variable
25 bool isGuard(const User *U);
33 bool isWidenableBranch(const User *U);
37 bool isGuardAsWidenableBranch(const User *U);
48 bool parseWidenableBranch(const User *U, Value *&Condition,
54 bool parseWidenableBranch(User *U, Use *&Cond, Use *&WC, BasicBlock *&IfTrueBB,
62 void parseWidenableGuard(const User *U, llvm::SmallVectorImpl<Value *> &Checks);
66 Value *extractWidenableCondition(const User *U);
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DInstruction.cpp61 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()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DUse.h23 class User; variable
31 User *Usr;
35 Use(llvm::Use *LLVMUse, User *Usr, Context &Ctx) in Use()
40 friend class User; // For constructor variable
48 class User *getUser() const { return Usr; } in getUser()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DUninitializedValues.h39 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()
/freebsd/stand/forth/
H A Dmenu.rc31 set mainmenu_caption[1]="Boot Multi User [Enter]"
32 set maintoggled_text[1]="Boot [S]ingle User [Enter]"
34 set mainansi_caption[1]="^[1mB^[moot Multi User ^[1m[Enter]^[m"
35 set maintoggled_ansi[1]="Boot ^[1mS^[mingle User ^[1m[Enter]^[m"
39 set mainmenu_caption[2]="Boot [S]ingle User"
40 set maintoggled_text[2]="Boot [M]ulti User"
42 set mainansi_caption[2]="Boot ^[1mS^[mingle User"
43 set maintoggled_ansi[2]="Boot ^[1mM^[multi User"
128 set optionsmenu_caption[5]="[S]ingle User. off"
129 set optionstoggled_text[5]="[S]ingle User. On"
[all …]
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DSandboxIR.cpp59 User *User = Use.getUser(); in operator ++() local
60 Use = User->getOperandUseInternal(Use.getOperandNo() + 1, /*Verify=*/false); in operator ++()
76 Use.Usr = cast_or_null<sandboxir::User>(Ctx->getValue(LLVMUser)); in operator ++()
91 User *User = LLVMUse != nullptr ? cast_or_null<sandboxir::User>(Ctx.getValue( in use_begin() local
94 return use_iterator(Use(LLVMUse, User, Ctx)); in use_begin()
102 User *User = in user_begin() local
104 : cast_or_null<sandboxir::User>(Ctx.getValue(&*LLVMUse->getUser())); in user_begin()
105 return user_iterator(Use(LLVMUse, User, Ctx), UseToUser()); in user_begin()
117 User *DstU = cast_or_null<User>(Ctx.getValue(LLVMUse.getUser())); in replaceUsesWithIf()
193 Use User::getOperandUseDefault(unsigned OpIdx, bool Verify) const { in getOperandUseDefault()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCGenScalarMASSEntries.cpp126 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp603 for (auto User : ConstCand->Uses) { in maximizeConstantsInRange() local
604 unsigned Opcode = User.Inst->getOpcode(); in maximizeConstantsInRange()
605 unsigned OpndIdx = User.OpndIdx; in maximizeConstantsInRange()
781 Mat->setDebugLoc(Adj->User.Inst->getDebugLoc()); in emitBaseConstants()
783 Value *Opnd = Adj->User.Inst->getOperand(Adj->User.OpndIdx); in emitBaseConstants()
787 LLVM_DEBUG(dbgs() << "Update: " << *Adj->User.Inst << '\n'); in emitBaseConstants()
788 if (!updateOperand(Adj->User.Inst, Adj->User.OpndIdx, Mat) && Adj->Offset) in emitBaseConstants()
790 LLVM_DEBUG(dbgs() << "To : " << *Adj->User.Inst << '\n'); in emitBaseConstants()
810 LLVM_DEBUG(dbgs() << "Update: " << *Adj->User.Inst << '\n'); in emitBaseConstants()
811 updateOperand(Adj->User.Inst, Adj->User.OpndIdx, ClonedCastInst); in emitBaseConstants()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFastISel.h60 class User; variable
265 bool selectOperator(const User *I, unsigned Opcode);
494 bool canFoldAddIntoGEP(const User *GEP, const Value *Add);
509 bool selectBinaryOp(const User *I, unsigned ISDOpcode);
510 bool selectFNeg(const User *I, const Value *In);
511 bool selectGetElementPtr(const User *I);
514 bool selectCall(const User *I);
516 bool selectBitCast(const User *I);
517 bool selectFreeze(const User *I);
518 bool selectCast(const User *I, unsigned Opcode);
[all …]

12345678910>>...25