Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/IR/
H A DDominators.cpp232 Instruction *UserInst = cast<Instruction>(U.getUser()); in dominates() local
234 PHINode *PN = dyn_cast<PHINode>(UserInst); in dominates()
245 UseBB = UserInst->getParent(); in dominates()
250 Instruction *UserInst = cast<Instruction>(U.getUser()); in dominates() local
257 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in dominates()
260 UseBB = UserInst->getParent(); in dominates()
289 if (isa<PHINode>(UserInst)) in dominates()
294 for (; &*I != Def && &*I != UserInst; ++I) in dominates()
297 return &*I != UserInst; in dominates()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLegacyDivergenceAnalysis.cpp213 Instruction *UserInst = cast<Instruction>(U); in findUsersOutsideInfluenceRegion() local
214 if (!InfluenceRegion.count(UserInst->getParent())) { in findUsersOutsideInfluenceRegion()
215 if (DV.insert(UserInst).second) in findUsersOutsideInfluenceRegion()
216 Worklist.push_back(UserInst); in findUsersOutsideInfluenceRegion()
254 Instruction *UserInst = cast<Instruction>(U); in exploreDataDependency() local
255 if (!TTI.isAlwaysUniform(U) && DV.insert(UserInst).second) in exploreDataDependency()
256 Worklist.push_back(UserInst); in exploreDataDependency()
H A DDivergenceAnalysis.cpp264 const auto *UserInst = dyn_cast<const Instruction>(User); in pushUsers() local
265 if (!UserInst) in pushUsers()
268 if (isDivergent(*UserInst)) in pushUsers()
272 if (!inRegion(*UserInst)) in pushUsers()
274 Worklist.push_back(UserInst); in pushUsers()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp1073 Instruction *UserInst = nullptr; member
1457 return !L->contains(UserInst); in isUseFullyOutsideLoop()
1468 OS << UserInst->getOpcodeName(); in print()
1833 Instruction *UserInst; member
2921 if (isa<PHINode>(UserInst)) in ChainInstruction()
2969 if (IncIter->UserInst == OtherUse) in ChainInstruction()
3214 Instruction *UserInst = U.getUser(); in CollectFixupsAndInitialFormulae() local
3278 LF.UserInst = UserInst; in CollectFixupsAndInitialFormulae()
3382 if (!UserInst) in CollectLoopInvariantFixupsAndFormulae()
3390 UserInst->getParent() : in CollectLoopInvariantFixupsAndFormulae()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp124 Instruction *UserInst = cast<Instruction>(U.getUser()); in RewriteUsesOfClonedInstructions() local
125 if (!isa<PHINode>(UserInst)) { in RewriteUsesOfClonedInstructions()
126 BasicBlock *UserBB = UserInst->getParent(); in RewriteUsesOfClonedInstructions()
564 auto *UserInst = cast<Instruction>(UseI); in shouldSpeculateInstrs() local
565 if (!L->contains(UserInst)) in shouldSpeculateInstrs()
H A DPromoteMemoryToRegister.cpp369 Instruction *UserInst = cast<Instruction>(*UI++); in rewriteSingleStoreAlloca() local
370 if (!isa<LoadInst>(UserInst)) { in rewriteSingleStoreAlloca()
371 assert(UserInst == OnlyStore && "Should only have load/stores"); in rewriteSingleStoreAlloca()
374 LoadInst *LI = cast<LoadInst>(UserInst); in rewriteSingleStoreAlloca()
/freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp1956 const Instruction *UserInst = cast<Instruction>(U); in OptimizeWeakCalls() local
1957 switch (GetBasicARCInstKind(UserInst)) { in OptimizeWeakCalls()
1968 CallInst *UserInst = cast<CallInst>(*UI++); in OptimizeWeakCalls() local
1969 switch (GetBasicARCInstKind(UserInst)) { in OptimizeWeakCalls()
1973 UserInst->replaceAllUsesWith(UserInst->getArgOperand(1)); in OptimizeWeakCalls()
1981 UserInst->eraseFromParent(); in OptimizeWeakCalls()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp426 static bool InTreeUserNeedToExtract(Value *Scalar, Instruction *UserInst, in InTreeUserNeedToExtract() argument
428 unsigned Opcode = UserInst->getOpcode(); in InTreeUserNeedToExtract()
431 LoadInst *LI = cast<LoadInst>(UserInst); in InTreeUserNeedToExtract()
435 StoreInst *SI = cast<StoreInst>(UserInst); in InTreeUserNeedToExtract()
439 CallInst *CI = cast<CallInst>(UserInst); in InTreeUserNeedToExtract()
1364 Instruction *UserInst = dyn_cast<Instruction>(U); in buildTree() local
1365 if (!UserInst) in buildTree()
1375 !InTreeUserNeedToExtract(Scalar, UserInst, TLI)) { in buildTree()
1384 if (is_contained(UserIgnoreList, UserInst)) in buildTree()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3168 Instruction *UserInst = cast<Instruction>(*I->user_begin()); in run() local
3172 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in run()
3175 UserParent = UserInst->getParent(); in run()