Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/llvm/lib/IR/
H A DDominators.cpp201 Instruction *UserInst = cast<Instruction>(U.getUser()); in dominates() local
203 PHINode *PN = dyn_cast<PHINode>(UserInst); in dominates()
214 UseBB = UserInst->getParent(); in dominates()
219 Instruction *UserInst = cast<Instruction>(U.getUser()); in dominates() local
226 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in dominates()
229 UseBB = UserInst->getParent(); in dominates()
258 if (isa<PHINode>(UserInst)) in dominates()
263 for (; &*I != Def && &*I != UserInst; ++I) in dominates()
266 return &*I != UserInst; in dominates()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp1091 Instruction *UserInst; member
1138 return !L->contains(UserInst); in isUseFullyOutsideLoop()
1148 OS << UserInst->getOpcodeName(); in print()
1599 Instruction *UserInst; member
2677 if (isa<PHINode>(UserInst)) in ChainInstruction()
2846 std::find(I->UserInst->op_begin(), I->UserInst->op_end(), I->IVOperand); in FinalizeChain()
2982 User::op_iterator UseI = std::find(UserInst->op_begin(), UserInst->op_end(), in CollectFixupsAndInitialFormulae()
2990 LF.UserInst = UserInst; in CollectFixupsAndInitialFormulae()
3146 if (!UserInst) in CollectLoopInvariantFixupsAndFormulae()
3154 UserInst->getParent() : in CollectLoopInvariantFixupsAndFormulae()
[all …]
H A DLoopRotation.cpp170 Instruction *UserInst = cast<Instruction>(U.getUser()); in RewriteUsesOfClonedInstructions() local
171 if (!isa<PHINode>(UserInst)) { in RewriteUsesOfClonedInstructions()
172 BasicBlock *UserBB = UserInst->getParent(); in RewriteUsesOfClonedInstructions()
244 auto *UserInst = cast<Instruction>(UseI); in shouldSpeculateInstrs() local
245 if (!L->contains(UserInst)) in shouldSpeculateInstrs()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp364 Instruction *UserInst = cast<Instruction>(*UI++); in rewriteSingleStoreAlloca() local
365 if (!isa<LoadInst>(UserInst)) { in rewriteSingleStoreAlloca()
366 assert(UserInst == OnlyStore && "Should only have load/stores"); in rewriteSingleStoreAlloca()
369 LoadInst *LI = cast<LoadInst>(UserInst); in rewriteSingleStoreAlloca()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp2754 const Instruction *UserInst = cast<Instruction>(U); in OptimizeWeakCalls() local
2755 switch (GetBasicInstructionClass(UserInst)) { in OptimizeWeakCalls()
2766 CallInst *UserInst = cast<CallInst>(*UI++); in OptimizeWeakCalls() local
2767 switch (GetBasicInstructionClass(UserInst)) { in OptimizeWeakCalls()
2771 UserInst->replaceAllUsesWith(UserInst->getArgOperand(1)); in OptimizeWeakCalls()
2779 UserInst->eraseFromParent(); in OptimizeWeakCalls()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp381 static bool InTreeUserNeedToExtract(Value *Scalar, Instruction *UserInst, in InTreeUserNeedToExtract() argument
384 unsigned Opcode = UserInst->getOpcode(); in InTreeUserNeedToExtract()
387 LoadInst *LI = cast<LoadInst>(UserInst); in InTreeUserNeedToExtract()
391 StoreInst *SI = cast<StoreInst>(UserInst); in InTreeUserNeedToExtract()
395 CallInst *CI = cast<CallInst>(UserInst); in InTreeUserNeedToExtract()
988 Instruction *UserInst = dyn_cast<Instruction>(U); in buildTree() local
989 if (!UserInst) in buildTree()
1001 !InTreeUserNeedToExtract(Scalar, UserInst, TLI)) { in buildTree()
1010 if (std::find(UserIgnoreList.begin(), UserIgnoreList.end(), UserInst) != in buildTree()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2850 Instruction *UserInst = cast<Instruction>(*I->user_begin()); in DoOneIteration() local
2854 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in DoOneIteration()
2857 UserParent = UserInst->getParent(); in DoOneIteration()