| /netbsd-src/external/apache2/llvm/dist/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 …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 1081 Instruction *UserInst = nullptr; member 1379 Offset, F.HasBaseReg, F.Scale, Fixup.UserInst)) in RateFormula() 1474 if (const PHINode *PN = dyn_cast<PHINode>(UserInst)) { in isUseFullyOutsideLoop() 1482 return !L->contains(UserInst); in isUseFullyOutsideLoop() 1489 if (StoreInst *Store = dyn_cast<StoreInst>(UserInst)) { in print() 1492 } else if (UserInst->getType()->isVoidTy()) in print() 1493 OS << UserInst->getOpcodeName(); in print() 1495 UserInst->printAsOperand(OS, /*PrintType=*/false); in print() 1750 F.Scale, Fixup.UserInst)) in isAMCompletelyFolded() 1858 Instruction *UserInst; member [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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() 740 auto *UserInst = cast<Instruction>(UseI); in shouldSpeculateInstrs() local 741 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()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCOpts.cpp | 2184 const Instruction *UserInst = cast<Instruction>(U); in OptimizeWeakCalls() local 2185 switch (GetBasicARCInstKind(UserInst)) { in OptimizeWeakCalls() 2196 CallInst *UserInst = cast<CallInst>(*UI++); in OptimizeWeakCalls() local 2197 switch (GetBasicARCInstKind(UserInst)) { in OptimizeWeakCalls() 2201 UserInst->replaceAllUsesWith(UserInst->getArgOperand(1)); in OptimizeWeakCalls() 2209 UserInst->eraseFromParent(); in OptimizeWeakCalls()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 488 static bool InTreeUserNeedToExtract(Value *Scalar, Instruction *UserInst, in InTreeUserNeedToExtract() argument 490 unsigned Opcode = UserInst->getOpcode(); in InTreeUserNeedToExtract() 493 LoadInst *LI = cast<LoadInst>(UserInst); in InTreeUserNeedToExtract() 497 StoreInst *SI = cast<StoreInst>(UserInst); in InTreeUserNeedToExtract() 501 CallInst *CI = cast<CallInst>(UserInst); in InTreeUserNeedToExtract() 2631 Instruction *UserInst = dyn_cast<Instruction>(U); in buildTree() local 2632 if (!UserInst) in buildTree() 2643 !InTreeUserNeedToExtract(Scalar, UserInst, TLI)) { in buildTree() 2652 if (is_contained(UserIgnoreList, UserInst)) in buildTree()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 3665 Instruction *UserInst = cast<Instruction>(SingleUse->getUser()); in run() local 3669 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in run() 3672 UserParent = UserInst->getParent(); in run()
|