Searched refs:UserInst (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/IR/ |
D | Dominators.cpp | 201 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()
|
/external/llvm/lib/Analysis/ |
D | DivergenceAnalysis.cpp | 237 Instruction *UserInst = cast<Instruction>(U); in findUsersOutsideInfluenceRegion() local 238 if (!InfluenceRegion.count(UserInst->getParent())) { in findUsersOutsideInfluenceRegion() 239 if (DV.insert(UserInst).second) in findUsersOutsideInfluenceRegion() 240 Worklist.push_back(UserInst); in findUsersOutsideInfluenceRegion() 266 Instruction *UserInst = cast<Instruction>(U); in exploreDataDependency() local 267 if (DV.insert(UserInst).second) in exploreDataDependency() 268 Worklist.push_back(UserInst); in exploreDataDependency()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 1090 Instruction *UserInst; member 1122 : UserInst(nullptr), OperandValToReplace(nullptr), LUIdx(~size_t(0)), in LSRFixup() 1129 if (const PHINode *PN = dyn_cast<PHINode>(UserInst)) { in isUseFullyOutsideLoop() 1137 return !L->contains(UserInst); in isUseFullyOutsideLoop() 1143 if (StoreInst *Store = dyn_cast<StoreInst>(UserInst)) { in print() 1146 } else if (UserInst->getType()->isVoidTy()) in print() 1147 OS << UserInst->getOpcodeName(); in print() 1149 UserInst->printAsOperand(OS, /*PrintType=*/false); in print() 1596 Instruction *UserInst; member 1601 UserInst(U), IVOperand(O), IncExpr(E) {} in IVInc() [all …]
|
D | LoopRotation.cpp | 176 Instruction *UserInst = cast<Instruction>(U.getUser()); in RewriteUsesOfClonedInstructions() local 177 if (!isa<PHINode>(UserInst)) { in RewriteUsesOfClonedInstructions() 178 BasicBlock *UserBB = UserInst->getParent(); in RewriteUsesOfClonedInstructions() 247 auto *UserInst = cast<Instruction>(UseI); in shouldSpeculateInstrs() local 248 if (!L->contains(UserInst)) in shouldSpeculateInstrs()
|
/external/llvm/lib/Transforms/Utils/ |
D | PromoteMemoryToRegister.cpp | 365 Instruction *UserInst = cast<Instruction>(*UI++); in rewriteSingleStoreAlloca() local 366 if (!isa<LoadInst>(UserInst)) { in rewriteSingleStoreAlloca() 367 assert(UserInst == OnlyStore && "Should only have load/stores"); in rewriteSingleStoreAlloca() 370 LoadInst *LI = cast<LoadInst>(UserInst); in rewriteSingleStoreAlloca()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCOpts.cpp | 1929 const Instruction *UserInst = cast<Instruction>(U); in OptimizeWeakCalls() local 1930 switch (GetBasicARCInstKind(UserInst)) { in OptimizeWeakCalls() 1941 CallInst *UserInst = cast<CallInst>(*UI++); in OptimizeWeakCalls() local 1942 switch (GetBasicARCInstKind(UserInst)) { in OptimizeWeakCalls() 1946 UserInst->replaceAllUsesWith(UserInst->getArgOperand(1)); in OptimizeWeakCalls() 1954 UserInst->eraseFromParent(); in OptimizeWeakCalls()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 292 static bool InTreeUserNeedToExtract(Value *Scalar, Instruction *UserInst, in InTreeUserNeedToExtract() argument 295 unsigned Opcode = UserInst->getOpcode(); in InTreeUserNeedToExtract() 298 LoadInst *LI = cast<LoadInst>(UserInst); in InTreeUserNeedToExtract() 302 StoreInst *SI = cast<StoreInst>(UserInst); in InTreeUserNeedToExtract() 306 CallInst *CI = cast<CallInst>(UserInst); in InTreeUserNeedToExtract() 919 Instruction *UserInst = dyn_cast<Instruction>(U); in buildTree() local 920 if (!UserInst) in buildTree() 932 !InTreeUserNeedToExtract(Scalar, UserInst, TLI)) { in buildTree() 941 if (std::find(UserIgnoreList.begin(), UserIgnoreList.end(), UserInst) != in buildTree()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2676 Instruction *UserInst = cast<Instruction>(*I->user_begin()); in run() local 2680 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in run() 2683 UserParent = UserInst->getParent(); in run()
|