| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Dominators.cpp | 123 Instruction *UserInst = cast<Instruction>(U.getUser()); in dominates() local 124 if (auto *PN = dyn_cast<PHINode>(UserInst)) in dominates() 129 return properlyDominates(BB, UserInst->getParent()); in dominates() 258 Instruction *UserInst = cast<Instruction>(U.getUser()); in dominates() local 260 PHINode *PN = dyn_cast<PHINode>(UserInst); in dominates() 271 UseBB = UserInst->getParent(); in dominates() 283 Instruction *UserInst = cast<Instruction>(U.getUser()); in dominates() local 290 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in dominates() 293 UseBB = UserInst->getParent(); in dominates() 329 if (isa<PHINode>(UserInst)) in dominates() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | UnifyLoopExits.cpp | 100 auto UserInst = cast<Instruction>(U.getUser()); in INITIALIZE_PASS_DEPENDENCY() local 101 auto UserBlock = UserInst->getParent(); in INITIALIZE_PASS_DEPENDENCY() 108 << ": " << UserInst->getName() << "(" in INITIALIZE_PASS_DEPENDENCY() 111 ExternalUsers[&I].push_back(UserInst); in INITIALIZE_PASS_DEPENDENCY()
|
| H A D | LoopRotationUtils.cpp | 133 Instruction *UserInst = cast<Instruction>(U.getUser()); in RewriteUsesOfClonedInstructions() local 134 if (!isa<PHINode>(UserInst)) { in RewriteUsesOfClonedInstructions() 135 BasicBlock *UserBB = UserInst->getParent(); in RewriteUsesOfClonedInstructions() 742 auto *UserInst = cast<Instruction>(UseI); in shouldSpeculateInstrs() local 743 if (!L->contains(UserInst)) in shouldSpeculateInstrs()
|
| H A D | ModuleUtils.cpp | 442 Instruction *UserInst = dyn_cast<Instruction>(User); in lowerGlobalIFuncUsersAsGlobalCtor() local 443 if (!UserInst) { in lowerGlobalIFuncUsersAsGlobalCtor() 450 IRBuilder<> UseBuilder(UserInst); in lowerGlobalIFuncUsersAsGlobalCtor() 455 UserInst->replaceUsesOfWith(GI, ResolvedCast); in lowerGlobalIFuncUsersAsGlobalCtor()
|
| H A D | CodeMoverUtils.cpp | 339 if (auto *UserInst = dyn_cast<Instruction>(U.getUser())) in isSafeToMoveBefore() local 340 if (UserInst != &InsertPoint && !DT.dominates(&InsertPoint, U)) in isSafeToMoveBefore()
|
| H A D | PromoteMemoryToRegister.cpp | 453 Instruction *UserInst = cast<Instruction>(U); in rewriteSingleStoreAlloca() local 454 if (UserInst == OnlyStore) in rewriteSingleStoreAlloca() 456 LoadInst *LI = cast<LoadInst>(UserInst); in rewriteSingleStoreAlloca()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | DivergenceAnalysis.cpp | 144 const auto *UserInst = dyn_cast<const Instruction>(User); in pushUsers() local 145 if (!UserInst) in pushUsers() 149 if (!inRegion(*UserInst)) in pushUsers() 153 if (markDivergent(*UserInst)) in pushUsers() 154 Worklist.push_back(UserInst); in pushUsers()
|
| H A D | LegacyDivergenceAnalysis.cpp | 221 Instruction *UserInst = cast<Instruction>(Use.getUser()); in findUsersOutsideInfluenceRegion() local 222 if (!InfluenceRegion.count(UserInst->getParent())) { in findUsersOutsideInfluenceRegion() 224 if (DV.insert(UserInst).second) in findUsersOutsideInfluenceRegion() 225 Worklist.push_back(UserInst); in findUsersOutsideInfluenceRegion()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 1123 Instruction *UserInst = nullptr; member 1423 Offset, F.HasBaseReg, F.Scale, Fixup.UserInst)) in RateFormula() 1518 if (const PHINode *PN = dyn_cast<PHINode>(UserInst)) { in isUseFullyOutsideLoop() 1526 return !L->contains(UserInst); in isUseFullyOutsideLoop() 1533 if (StoreInst *Store = dyn_cast<StoreInst>(UserInst)) { in print() 1536 } else if (UserInst->getType()->isVoidTy()) in print() 1537 OS << UserInst->getOpcodeName(); in print() 1539 UserInst->printAsOperand(OS, /*PrintType=*/false); in print() 1794 F.Scale, Fixup.UserInst)) in isAMCompletelyFolded() 1902 Instruction *UserInst; member [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCOpts.cpp | 2200 const Instruction *UserInst = cast<Instruction>(U); in OptimizeWeakCalls() local 2201 switch (GetBasicARCInstKind(UserInst)) { in OptimizeWeakCalls() 2212 CallInst *UserInst = cast<CallInst>(U); in OptimizeWeakCalls() local 2213 switch (GetBasicARCInstKind(UserInst)) { in OptimizeWeakCalls() 2217 UserInst->replaceAllUsesWith(UserInst->getArgOperand(1)); in OptimizeWeakCalls() 2225 UserInst->eraseFromParent(); in OptimizeWeakCalls()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 785 static bool InTreeUserNeedToExtract(Value *Scalar, Instruction *UserInst, in InTreeUserNeedToExtract() argument 787 unsigned Opcode = UserInst->getOpcode(); in InTreeUserNeedToExtract() 790 LoadInst *LI = cast<LoadInst>(UserInst); in InTreeUserNeedToExtract() 794 StoreInst *SI = cast<StoreInst>(UserInst); in InTreeUserNeedToExtract() 798 CallInst *CI = cast<CallInst>(UserInst); in InTreeUserNeedToExtract() 4671 Instruction *UserInst = dyn_cast<Instruction>(U); in buildExternalUses() local 4672 if (!UserInst) in buildExternalUses() 4675 if (isDeleted(UserInst)) in buildExternalUses() 4686 !InTreeUserNeedToExtract(Scalar, UserInst, TLI)) { in buildExternalUses() 4695 if (UserIgnoreList && UserIgnoreList->contains(UserInst)) in buildExternalUses() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 4265 Instruction *UserInst = cast<Instruction>(U); in run() local 4267 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) { in run() 4280 if (UserParent && UserParent != UserInst->getParent()) in run() 4282 UserParent = UserInst->getParent(); in run()
|