Home
last modified time | relevance | path

Searched refs:use_back (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/lib/VMCore/
DAutoUpgrade.cpp246 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()
DBasicBlock.cpp73 BlockAddress *BA = cast<BlockAddress>(use_back()); in ~BasicBlock()
DConstants.cpp142 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/
DBasicBlock.h115 User *use_back() { return cast<User>(*use_begin());}
116 const User *use_back() const { return cast<User>(*use_begin());}
DInstruction.h48 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
DValue.h161 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/
DLowerSetJmp.cpp157 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()
DStripSymbols.cpp245 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()
DArgumentPromotion.cpp571 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()
DGlobalOpt.cpp579 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()
DDeadArgumentElimination.cpp227 CallSite CS(Fn.use_back()); in DeleteDeadVarargs()
780 CallSite CS(F->use_back()); in RemoveDeadStuffFromFunction()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp484 (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()
DTailRecursionElimination.cpp344 if (!I->hasOneUse() || !isa<ReturnInst>(I->use_back())) in CanTransformAccumulatorRecursion()
350 return getCommonReturnValue(cast<ReturnInst>(I->use_back()), CI); in CanTransformAccumulatorRecursion()
DScalarReplAggregates.cpp580 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()
DIndVarSimplify.cpp316 !isa<BranchInst>(Compare->use_back())) in HandleFloatingPointIV()
319 BranchInst *TheBr = cast<BranchInst>(Compare->use_back()); in HandleFloatingPointIV()
/external/llvm/lib/Transforms/Utils/
DLCSSA.cpp152 (I->hasOneUse() && I->use_back()->getParent() == BB && in runOnLoop()
153 !isa<PHINode>(I->use_back()))) in runOnLoop()
DDemoteRegToStack.cpp53 Instruction *U = cast<Instruction>(I.use_back()); in DemoteRegToStack()
DLowerInvoke.cpp346 cast<Instruction>(Inst->use_back())->getParent() == BB && in splitLiveRangesLiveAcrossInvokes()
347 !isa<PHINode>(Inst->use_back())) continue; in splitLiveRangesLiveAcrossInvokes()
DPromoteMemoryToRegister.cpp456 StoreInst *SI = cast<StoreInst>(AI->use_back()); in run()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp517 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()
DInstCombineVectorOps.cpp423 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.use_back())) { in visitInsertElementInst()
DInstCombineCasts.cpp748 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/
DSjLjEHPrepare.cpp245 cast<Instruction>(Inst->use_back())->getParent() == BB && in splitLiveRangesAcrossInvokes()
246 !isa<PHINode>(Inst->use_back())) continue; in splitLiveRangesAcrossInvokes()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp745 const Instruction *TheUser = LI->use_back(); in TryToFoldFastISelLoad()
754 TheUser = TheUser->use_back(); in TryToFoldFastISelLoad()
/external/llvm/lib/Target/CBackend/
DCBackend.cpp260 const Instruction &User = cast<Instruction>(*I.use_back()); in isInlinableInst()
267 return I.getParent() == cast<Instruction>(I.use_back())->getParent(); in isInlinableInst()

12