/external/llvm/lib/VMCore/ |
D | AutoUpgrade.cpp | 246 cast<CallInst>(FuncStart->use_back())->eraseFromParent(); in CheckDebugInfoIntrinsics() 252 cast<CallInst>(StopPoint->use_back())->eraseFromParent(); in CheckDebugInfoIntrinsics() 258 cast<CallInst>(RegionStart->use_back())->eraseFromParent(); in CheckDebugInfoIntrinsics() 264 cast<CallInst>(RegionEnd->use_back())->eraseFromParent(); in CheckDebugInfoIntrinsics() 270 DbgDeclareInst *DDI = cast<DbgDeclareInst>(Declare->use_back()); in CheckDebugInfoIntrinsics() 274 CallInst *CI = cast<CallInst>(Declare->use_back()); in CheckDebugInfoIntrinsics()
|
D | BasicBlock.cpp | 73 BlockAddress *BA = cast<BlockAddress>(use_back()); in ~BasicBlock()
|
D | Constants.cpp | 142 Value *V = use_back(); in destroyConstantImpl() 155 assert((use_empty() || use_back() != V) && "Constant not removed!"); in destroyConstantImpl() 295 const Constant *User = dyn_cast<Constant>(C->use_back()); in removeDeadUsersOfConstant()
|
/external/llvm/include/llvm/ |
D | BasicBlock.h | 115 User *use_back() { return cast<User>(*use_begin());} 116 const User *use_back() const { return cast<User>(*use_begin());}
|
D | Instruction.h | 48 Instruction *use_back() { return cast<Instruction>(*use_begin());} in use_back() function 49 const Instruction *use_back() const { return cast<Instruction>(*use_begin());} in use_back() function
|
D | Value.h | 161 User *use_back() { return *use_begin(); } in use_back() function 162 const User *use_back() const { return *use_begin(); } in use_back() function
|
/external/llvm/lib/Transforms/IPO/ |
D | LowerSetJmp.cpp | 157 assert(isa<CallInst>(SetJmp->use_back()) && in runOnModule() 159 TransformSetJmpCall(cast<CallInst>(SetJmp->use_back())); in runOnModule() 166 assert(isa<CallInst>(LongJmp->use_back()) && in runOnModule() 168 TransformLongJmpCall(cast<CallInst>(LongJmp->use_back())); in runOnModule()
|
D | StripSymbols.cpp | 245 CallInst *CI = cast<CallInst>(Declare->use_back()); in StripDebugInfo() 254 CallInst *CI = cast<CallInst>(DbgVal->use_back()); in StripDebugInfo() 304 CallInst *CI = cast<CallInst>(Declare->use_back()); in runOnModule()
|
D | ArgumentPromotion.cpp | 571 OrigLoad = cast<LoadInst>(User->use_back()); in DoPromotion() 642 CallSite CS(F->use_back()); in DoPromotion() 829 if (LoadInst *LI = dyn_cast<LoadInst>(I->use_back())) { in DoPromotion() 839 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->use_back()); in DoPromotion() 869 LoadInst *L = cast<LoadInst>(GEP->use_back()); in DoPromotion()
|
D | GlobalOpt.cpp | 579 User *GEP = GV->use_back(); in SRAGlobal() 876 Instruction *User = cast<Instruction>(CI->use_back()); in OptimizeGlobalAddressOfMalloc() 907 if (StoreInst *SI = dyn_cast<StoreInst>(GV->use_back())) { in OptimizeGlobalAddressOfMalloc() 914 LoadInst *LI = cast<LoadInst>(GV->use_back()); in OptimizeGlobalAddressOfMalloc() 953 cast<StoreInst>(InitBool->use_back())->eraseFromParent(); in OptimizeGlobalAddressOfMalloc() 1049 if (StoreInst *SI = dyn_cast<StoreInst>(GEPI->use_back())) in ReplaceUsesOfMallocWithGlobal() 1656 Instruction *UI = cast<Instruction>(GV->use_back()); in TryToShrinkGlobalToBoolean()
|
D | DeadArgumentElimination.cpp | 227 CallSite CS(Fn.use_back()); in DeleteDeadVarargs() 780 CallSite CS(F->use_back()); in RemoveDeadStuffFromFunction()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 484 (isReassociableOp(Sub->use_back(), Instruction::Add) || in ShouldBreakUpSubtract() 485 isReassociableOp(Sub->use_back(), Instruction::Sub))) in ShouldBreakUpSubtract() 526 (isReassociableOp(Shl->use_back(), Instruction::Mul) || in ConvertShiftToMul() 527 isReassociableOp(Shl->use_back(), Instruction::Add)))) { in ConvertShiftToMul() 1009 !isReassociableOp(BI->use_back(), Instruction::Mul))) { in ReassociateInst() 1022 if (I->hasOneUse() && isReassociableOp(I->use_back(), I->getOpcode())) in ReassociateInst() 1028 cast<Instruction>(I->use_back())->getOpcode() == Instruction::Sub) in ReassociateInst() 1070 cast<Instruction>(I->use_back())->getOpcode() == Instruction::Add && in ReassociateExpression()
|
D | TailRecursionElimination.cpp | 344 if (!I->hasOneUse() || !isa<ReturnInst>(I->use_back())) in CanTransformAccumulatorRecursion() 350 return getCommonReturnValue(cast<ReturnInst>(I->use_back()), CI); in CanTransformAccumulatorRecursion()
|
D | ScalarReplAggregates.cpp | 580 Instruction *User = cast<Instruction>(Ptr->use_back()); in ConvertUsesToScalar() 1361 LoadInst *LI = cast<LoadInst>(SI->use_back()); in tryToMakeAllocaBePromotable() 1402 LoadInst *SomeLoad = cast<LoadInst>(PN->use_back()); in tryToMakeAllocaBePromotable() 1408 LoadInst *LI = cast<LoadInst>(PN->use_back()); in tryToMakeAllocaBePromotable()
|
D | IndVarSimplify.cpp | 316 !isa<BranchInst>(Compare->use_back())) in HandleFloatingPointIV() 319 BranchInst *TheBr = cast<BranchInst>(Compare->use_back()); in HandleFloatingPointIV()
|
/external/llvm/lib/Transforms/Utils/ |
D | LCSSA.cpp | 152 (I->hasOneUse() && I->use_back()->getParent() == BB && in runOnLoop() 153 !isa<PHINode>(I->use_back()))) in runOnLoop()
|
D | DemoteRegToStack.cpp | 53 Instruction *U = cast<Instruction>(I.use_back()); in DemoteRegToStack()
|
D | LowerInvoke.cpp | 346 cast<Instruction>(Inst->use_back())->getParent() == BB && in splitLiveRangesLiveAcrossInvokes() 347 !isa<PHINode>(Inst->use_back())) continue; in splitLiveRangesLiveAcrossInvokes()
|
D | PromoteMemoryToRegister.cpp | 456 StoreInst *SI = cast<StoreInst>(AI->use_back()); in run()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 517 if (PHINode *PU = dyn_cast<PHINode>(PN->use_back())) in DeadPHICycle() 670 !User->hasOneUse() || !isa<TruncInst>(User->use_back()) || in SliceUpIllegalIntegerPHI() 675 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, User->use_back())); in SliceUpIllegalIntegerPHI() 810 Instruction *PHIUser = cast<Instruction>(PN.use_back()); in visitPHINode() 826 PHIUser->use_back() == &PN) { in visitPHINode()
|
D | InstCombineVectorOps.cpp | 423 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.use_back())) { in visitInsertElementInst()
|
D | InstCombineCasts.cpp | 748 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitZExt() 1054 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitSExt()
|
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 245 cast<Instruction>(Inst->use_back())->getParent() == BB && in splitLiveRangesAcrossInvokes() 246 !isa<PHINode>(Inst->use_back())) continue; in splitLiveRangesAcrossInvokes()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGISel.cpp | 745 const Instruction *TheUser = LI->use_back(); in TryToFoldFastISelLoad() 754 TheUser = TheUser->use_back(); in TryToFoldFastISelLoad()
|
/external/llvm/lib/Target/CBackend/ |
D | CBackend.cpp | 260 const Instruction &User = cast<Instruction>(*I.use_back()); in isInlinableInst() 267 return I.getParent() == cast<Instruction>(I.use_back())->getParent(); in isInlinableInst()
|