/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | User.cpp | 179 LLVM_NO_SANITIZE_MEMORY_ATTRIBUTE void User::operator delete(void *Usr) { in operator delete() argument 182 User *Obj = static_cast<User *>(Usr); in operator delete() 186 Use **HungOffOperandList = static_cast<Use **>(Usr) - 1; in operator delete() 192 Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete() 199 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete()
|
H A D | Value.cpp | 209 void Value::dropDroppableUsesIn(User &Usr) { in dropDroppableUsesIn() argument 210 assert(Usr.isDroppable() && "Expected a droppable user!"); in dropDroppableUsesIn() 211 for (Use &UsrOp : Usr.operands()) { in dropDroppableUsesIn()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | User.h | 100 void operator delete(void *Usr); 102 void operator delete(void *Usr, unsigned) { in delete() argument 107 User::operator delete(Usr); in delete() 114 void operator delete(void *Usr, unsigned, unsigned) { in delete() argument 119 User::operator delete(Usr); in delete()
|
H A D | Value.h | 490 void dropDroppableUsesIn(User &Usr);
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LazyValueInfo.cpp | 1311 return is_contained(Usr->operands(), Op); in usesOperand() 1318 static bool isOperationFoldable(User *Usr) { in isOperationFoldable() argument 1319 return isa<CastInst>(Usr) || isa<BinaryOperator>(Usr) || isa<FreezeInst>(Usr); in isOperationFoldable() 1332 if (auto *CI = dyn_cast<CastInst>(Usr)) { in constantFoldUser() 1350 } else if (isa<FreezeInst>(Usr)) { in constantFoldUser() 1389 if (User *Usr = dyn_cast<User>(Val)) { in getEdgeValueLocal() local 1394 if (isa<IntegerType>(Usr->getType()) && isOperationFoldable(Usr)) { in getEdgeValueLocal() 1396 if (usesOperand(Usr, Condition)) { in getEdgeValueLocal() 1441 if (User *Usr = dyn_cast<User>(Val)) in getEdgeValueLocal() local 1443 usesOperand(Usr, Condition); in getEdgeValueLocal() [all …]
|
H A D | MemorySSAUpdater.cpp | 333 User *Usr = U.getUser(); in insertDef() local 334 return !isa<MemoryUse>(Usr) && Usr != MD; in insertDef() 1114 MemoryAccess *Usr = cast<MemoryAccess>(U.getUser()); in applyInsertUpdates() local 1115 if (MemoryPhi *UsrPhi = dyn_cast<MemoryPhi>(Usr)) { in applyInsertUpdates() 1120 BasicBlock *DominatedBlock = Usr->getBlock(); in applyInsertUpdates() 1129 cast<MemoryUseOrDef>(Usr)->resetOptimized(); in applyInsertUpdates()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | StripSymbols.cpp | 46 static bool OnlyUsedBy(Value *V, Value *Usr) { in OnlyUsedBy() argument 48 if (U != Usr) in OnlyUsedBy()
|
H A D | AttributorAttributes.cpp | 1610 auto &UsrOI = OffsetInfoMap[Usr]; in updateImpl() 1628 User *Usr = U.getUser(); in updateImpl() local 1648 auto &UsrOI = OffsetInfoMap[Usr]; in updateImpl() 1663 if (isa<PtrToIntInst>(Usr)) in updateImpl() 1665 if (isa<CastInst>(Usr) || isa<SelectInst>(Usr) || isa<ReturnInst>(Usr)) in updateImpl() 1671 if (isa<PHINode>(Usr)) { in updateImpl() 1675 auto &UsrOI = OffsetInfoMap[Usr]; in updateImpl() 1740 if (auto *LoadI = dyn_cast<LoadInst>(Usr)) { in updateImpl() 1866 if (auto *StoreI = dyn_cast<StoreInst>(Usr)) in updateImpl() 1879 if (auto *CB = dyn_cast<CallBase>(Usr)) { in updateImpl() [all …]
|
H A D | LowerTypeTests.cpp | 1901 auto *Usr = dyn_cast<CallInst>(U.getUser()); in isDirectCall() local 1902 if (Usr) { in isDirectCall() 1903 auto *CB = dyn_cast<CallBase>(Usr); in isDirectCall()
|
H A D | Attributor.cpp | 1849 User &Usr = *U->getUser(); in checkForAllUses() local 1850 AddUsers(Usr, /* OldUse */ nullptr); in checkForAllUses() 1852 auto *RI = dyn_cast<ReturnInst>(&Usr); in checkForAllUses()
|
H A D | OpenMPOpt.cpp | 1130 for (User *Usr : I.users()) { in mergeParallelRegions() 1131 Instruction &UsrI = *cast<Instruction>(Usr); in mergeParallelRegions()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPerfHintAnalysis.cpp | 208 for (const User *Usr : Ld->users()) { in isGlobalLoadUsedInBB() local 209 if (const Instruction *UsrInst = dyn_cast<Instruction>(Usr)) { in isGlobalLoadUsedInBB()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 8038 if (llvm::none_of(GEPI->users(), [&](User *Usr) { in tryUnmergingGEPsAcrossIndirectBr() argument 8039 if (auto *I = dyn_cast<Instruction>(Usr)) { in tryUnmergingGEPsAcrossIndirectBr() 8051 for (User *Usr : GEPIOp->users()) { in tryUnmergingGEPsAcrossIndirectBr() 8052 if (Usr == GEPI) in tryUnmergingGEPsAcrossIndirectBr() 8055 if (!isa<Instruction>(Usr)) in tryUnmergingGEPsAcrossIndirectBr() 8057 auto *UI = cast<Instruction>(Usr); in tryUnmergingGEPsAcrossIndirectBr() 8062 if (!isa<GetElementPtrInst>(Usr)) in tryUnmergingGEPsAcrossIndirectBr() 8064 auto *UGEPI = cast<GetElementPtrInst>(Usr); in tryUnmergingGEPsAcrossIndirectBr() 8111 [&](User *Usr) { in tryUnmergingGEPsAcrossIndirectBr() argument 8112 return cast<Instruction>(Usr)->getParent() != SrcBlock; in tryUnmergingGEPsAcrossIndirectBr()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopUtils.cpp | 622 if (auto *Usr = dyn_cast<Instruction>(U.getUser())) in deleteDeadLoop() local 623 if (L->contains(Usr->getParent())) in deleteDeadLoop()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | DataFlowSanitizer.cpp | 1643 User *Usr = U.getUser(); in runImpl() local 1644 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Usr)) { in runImpl() 1650 if (Instruction *I = dyn_cast<Instruction>(Usr)) { in runImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 6016 auto *Usr = cast<Instruction>(U); in dominatesAllUses() local 6017 if (Usr != UI && !DT.dominates(DB, Usr->getParent())) in dominatesAllUses()
|
/freebsd/contrib/byacc/ |
H A D | CHANGES | 4235 "BSD 4.4 Lite Usr.bin Sources". See
|