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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp171 LLVM_NO_SANITIZE_MEMORY_ATTRIBUTE void User::operator delete(void *Usr) {
174 User *Obj = static_cast<User *>(Usr);
178 Use **HungOffOperandList = static_cast<Use **>(Usr) - 1;
184 Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands;
191 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands;
/freebsd-13-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-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1245 // Return true if Usr has Op as an operand, otherwise false.
1246 static bool usesOperand(User *Usr, Value *Op) {
1247 return find(Usr->operands(), Op) != Usr->op_end();
1254 static bool isOperationFoldable(User *Usr) {
1255 return isa<CastInst>(Usr) || isa<BinaryOperator>(Usr);
1258 // Check if Usr can be simplified to an integer constant when the value of one
1262 static ValueLatticeElement constantFoldUser(User *Usr, Value *Op,
1265 assert(isOperationFoldable(Usr)
[all...]
H A DMemorySSAUpdater.cpp334 User *Usr = U.getUser();
335 return !isa<MemoryUse>(Usr) && Usr != MD;
1101 MemoryAccess *Usr = cast<MemoryAccess>(U.getUser()); local
1102 if (MemoryPhi *UsrPhi = dyn_cast<MemoryPhi>(Usr)) {
1107 BasicBlock *DominatedBlock = Usr->getBlock();
1116 cast<MemoryUseOrDef>(Usr)->resetOptimized();
/freebsd-13-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.cpp1721 auto *Usr = dyn_cast<CallInst>(U.getUser()); local
1722 if (Usr) {
1723 auto *CB = dyn_cast<CallBase>(Usr);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7362 if (find_if(GEPI->users(), [&](User *Usr) {
7363 if (auto *I = dyn_cast<Instruction>(Usr)) {
7375 for (User *Usr : GEPIOp->users()) {
7376 if (Usr == GEPI) continue;
7377 // Check if Usr is an Instruction. If not, give up.
7378 if (!isa<Instruction>(Usr))
7380 auto *UI = cast<Instruction>(Usr);
7381 // Check if Usr in the same block as GEPIOp, which is fine, skip.
7384 // Check if Usr is a GEP. If not, give up.
7385 if (!isa<GetElementPtrInst>(Usr))
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp652 if (auto *Usr = dyn_cast<Instruction>(U.getUser()))
653 if (L->contains(Usr->getParent()))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4873 auto *Usr = cast<Instruction>(U); local
4874 if (Usr != UI && !DT.dominates(DB, Usr->getParent()))

Completed in 370 milliseconds