Home
last modified time | relevance | path

Searched refs:UserInst (Results 1 – 12 of 12) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DDominators.cpp116 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-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DUnifyLoopExits.cpp92 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()
DLoopRotationUtils.cpp143 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()
DCodeMoverUtils.cpp337 if (auto *UserInst = dyn_cast<Instruction>(U.getUser())) in isSafeToMoveBefore() local
338 if (UserInst != &InsertPoint && !DT.dominates(&InsertPoint, U)) in isSafeToMoveBefore()
DPromoteMemoryToRegister.cpp366 Instruction *UserInst = cast<Instruction>(U); in rewriteSingleStoreAlloca() local
367 if (UserInst == OnlyStore) in rewriteSingleStoreAlloca()
369 LoadInst *LI = cast<LoadInst>(UserInst); in rewriteSingleStoreAlloca()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DDivergenceAnalysis.cpp145 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()
DLegacyDivergenceAnalysis.cpp220 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-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1107 Instruction *UserInst = nullptr; member
1405 Offset, F.HasBaseReg, F.Scale, Fixup.UserInst)) in RateFormula()
1500 if (const PHINode *PN = dyn_cast<PHINode>(UserInst)) { in isUseFullyOutsideLoop()
1508 return !L->contains(UserInst); in isUseFullyOutsideLoop()
1515 if (StoreInst *Store = dyn_cast<StoreInst>(UserInst)) { in print()
1518 } else if (UserInst->getType()->isVoidTy()) in print()
1519 OS << UserInst->getOpcodeName(); in print()
1521 UserInst->printAsOperand(OS, /*PrintType=*/false); in print()
1776 F.Scale, Fixup.UserInst)) in isAMCompletelyFolded()
1884 Instruction *UserInst; member
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp2242 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-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp393 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-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp492 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-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp3828 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()