| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Dominators.cpp | 116 Instruction *UserInst = cast<Instruction>(U.getUser()); in dominates() local 117 if (auto *PN = dyn_cast<PHINode>(UserInst)) in dominates() 122 return properlyDominates(BB, UserInst->getParent()); in dominates() 251 Instruction *UserInst = cast<Instruction>(U.getUser()); in dominates() local 253 PHINode *PN = dyn_cast<PHINode>(UserInst); in dominates() 264 UseBB = UserInst->getParent(); in dominates() 276 Instruction *UserInst = cast<Instruction>(U.getUser()); in dominates() local 283 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in dominates() 286 UseBB = UserInst->getParent(); in dominates() 322 if (isa<PHINode>(UserInst)) in dominates() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | UnifyLoopExits.cpp | 92 auto UserInst = cast<Instruction>(U.getUser()); in INITIALIZE_PASS_DEPENDENCY() local 93 auto UserBlock = UserInst->getParent(); in INITIALIZE_PASS_DEPENDENCY() 100 << ": " << UserInst->getName() << "(" in INITIALIZE_PASS_DEPENDENCY() 103 ExternalUsers[&I].push_back(UserInst); in INITIALIZE_PASS_DEPENDENCY()
|
| H A D | LoopRotationUtils.cpp | 143 Instruction *UserInst = cast<Instruction>(U.getUser()); in RewriteUsesOfClonedInstructions() local 144 if (!isa<PHINode>(UserInst)) { in RewriteUsesOfClonedInstructions() 145 BasicBlock *UserBB = UserInst->getParent(); in RewriteUsesOfClonedInstructions() 741 auto *UserInst = cast<Instruction>(UseI); in shouldSpeculateInstrs() local 742 if (!L->contains(UserInst)) in shouldSpeculateInstrs()
|
| H A D | CodeMoverUtils.cpp | 337 if (auto *UserInst = dyn_cast<Instruction>(U.getUser())) in isSafeToMoveBefore() local 338 if (UserInst != &InsertPoint && !DT.dominates(&InsertPoint, U)) in isSafeToMoveBefore()
|
| H A D | PromoteMemoryToRegister.cpp | 366 Instruction *UserInst = cast<Instruction>(U); in rewriteSingleStoreAlloca() local 367 if (UserInst == OnlyStore) in rewriteSingleStoreAlloca() 369 LoadInst *LI = cast<LoadInst>(UserInst); in rewriteSingleStoreAlloca()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DivergenceAnalysis.cpp | 145 const auto *UserInst = dyn_cast<const Instruction>(User); in pushUsers() local 146 if (!UserInst) in pushUsers() 150 if (!inRegion(*UserInst)) in pushUsers() 154 if (markDivergent(*UserInst)) in pushUsers() 155 Worklist.push_back(UserInst); in pushUsers()
|
| H A D | LegacyDivergenceAnalysis.cpp | 220 Instruction *UserInst = cast<Instruction>(Use.getUser()); in findUsersOutsideInfluenceRegion() local 221 if (!InfluenceRegion.count(UserInst->getParent())) { in findUsersOutsideInfluenceRegion() 223 if (DV.insert(UserInst).second) in findUsersOutsideInfluenceRegion() 224 Worklist.push_back(UserInst); in findUsersOutsideInfluenceRegion()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 1107 Instruction *UserInst = nullptr; member 1508 return !L->contains(UserInst); in isUseFullyOutsideLoop() 1519 OS << UserInst->getOpcodeName(); in print() 1884 Instruction *UserInst; member 2993 if (isa<PHINode>(UserInst)) in ChainInstruction() 3362 LF.UserInst = UserInst; in CollectFixupsAndInitialFormulae() 3466 if (!UserInst) in CollectLoopInvariantFixupsAndFormulae() 3469 if (UserInst->isEHPad()) in CollectLoopInvariantFixupsAndFormulae() 3477 UserInst->getParent() : in CollectLoopInvariantFixupsAndFormulae() 3515 LF.UserInst = const_cast<Instruction *>(UserInst); in CollectLoopInvariantFixupsAndFormulae() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 393 Instruction *UserInst = dyn_cast<Instruction>(User); in canVectorizeInst() local 394 if (!UserInst) in canVectorizeInst() 398 (UserInst->getOpcode() == Instruction::GetElementPtr || in canVectorizeInst() 399 UserInst->getOpcode() == Instruction::BitCast) && in canVectorizeInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCOpts.cpp | 2242 const Instruction *UserInst = cast<Instruction>(U); in OptimizeWeakCalls() local 2243 switch (GetBasicARCInstKind(UserInst)) { in OptimizeWeakCalls() 2254 CallInst *UserInst = cast<CallInst>(*UI++); in OptimizeWeakCalls() local 2255 switch (GetBasicARCInstKind(UserInst)) { in OptimizeWeakCalls() 2259 UserInst->replaceAllUsesWith(UserInst->getArgOperand(1)); in OptimizeWeakCalls() 2267 UserInst->eraseFromParent(); in OptimizeWeakCalls()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 492 static bool InTreeUserNeedToExtract(Value *Scalar, Instruction *UserInst, in InTreeUserNeedToExtract() argument 494 unsigned Opcode = UserInst->getOpcode(); in InTreeUserNeedToExtract() 497 LoadInst *LI = cast<LoadInst>(UserInst); in InTreeUserNeedToExtract() 501 StoreInst *SI = cast<StoreInst>(UserInst); in InTreeUserNeedToExtract() 505 CallInst *CI = cast<CallInst>(UserInst); in InTreeUserNeedToExtract() 2635 Instruction *UserInst = dyn_cast<Instruction>(U); in buildTree() local 2636 if (!UserInst) in buildTree() 2647 !InTreeUserNeedToExtract(Scalar, UserInst, TLI)) { in buildTree() 2656 if (is_contained(UserIgnoreList, UserInst)) in buildTree()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 3828 Instruction *UserInst = cast<Instruction>(SingleUse->getUser()); in run() local 3832 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in run() 3835 UserParent = UserInst->getParent(); in run()
|