Searched refs:Usr (Results 1 - 9 of 9) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp167 LLVM_NO_SANITIZE_MEMORY_ATTRIBUTE void User::operator delete(void *Usr) {
170 User *Obj = static_cast<User *>(Usr);
174 Use **HungOffOperandList = static_cast<Use **>(Usr) - 1;
180 Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands;
187 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DUser.h100 void operator delete(void *Usr);
102 void operator delete(void *Usr, unsigned) {
104 // Usr memory pointer, e.g. NumUserOperands, the operator delete of that subclass has
107 User::operator delete(Usr);
114 void operator delete(void *Usr, unsigned, unsigned) {
116 // Usr memory pointer, e.g. NumUserOperands, the operator delete of that subclass has
119 User::operator delete(Usr);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1335 // Return true if Usr has Op as an operand, otherwise false.
1336 static bool usesOperand(User *Usr, Value *Op) {
1337 return find(Usr->operands(), Op) != Usr->op_end();
1344 static bool isOperationFoldable(User *Usr) {
1345 return isa<CastInst>(Usr) || isa<BinaryOperator>(Usr);
1348 // Check if Usr can be simplified to an integer constant when the value of one
1352 static ValueLatticeElement constantFoldUser(User *Usr, Value *Op,
1355 assert(isOperationFoldable(Usr)
[all...]
H A DMemorySSAUpdater.cpp332 User *Usr = U.getUser();
333 return !isa<MemoryUse>(Usr) && Usr != MD;
1099 MemoryAccess *Usr = cast<MemoryAccess>(U.getUser()); local
1100 if (MemoryPhi *UsrPhi = dyn_cast<MemoryPhi>(Usr)) {
1105 BasicBlock *DominatedBlock = Usr->getBlock();
1114 cast<MemoryUseOrDef>(Usr)->resetOptimized();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp132 /// OnlyUsedBy - Return true if V is only used by Usr.
133 static bool OnlyUsedBy(Value *V, Value *Usr) { argument
135 if (U != Usr)
H A DLowerTypeTests.cpp1704 auto *Usr = dyn_cast<CallInst>(U.getUser()); local
1705 if (Usr) {
1706 CallSite CS(Usr);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp617 if (auto *Usr = dyn_cast<Instruction>(U.getUser()))
618 if (L->contains(Usr->getParent()))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6974 if (find_if(GEPI->users(), [&](User *Usr) {
6975 if (auto *I = dyn_cast<Instruction>(Usr)) {
6987 for (User *Usr : GEPIOp->users()) {
6988 if (Usr == GEPI) continue;
6989 // Check if Usr is an Instruction. If not, give up.
6990 if (!isa<Instruction>(Usr))
6992 auto *UI = cast<Instruction>(Usr);
6993 // Check if Usr in the same block as GEPIOp, which is fine, skip.
6996 // Check if Usr is a GEP. If not, give up.
6997 if (!isa<GetElementPtrInst>(Usr))
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4871 auto *Usr = cast<Instruction>(U); local
4872 if (Usr != UI && !DT.dominates(DB, Usr->getParent()))

Completed in 202 milliseconds