Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/IPO/
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()
632 CallSite CS(F->use_back()); in DoPromotion()
822 if (LoadInst *LI = dyn_cast<LoadInst>(I->use_back())) { in DoPromotion()
832 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->use_back()); in DoPromotion()
862 LoadInst *L = cast<LoadInst>(GEP->use_back()); in DoPromotion()
DGlobalOpt.cpp747 User *GEP = GV->use_back(); in SRAGlobal()
1053 Instruction *User = cast<Instruction>(CI->use_back()); in OptimizeGlobalAddressOfMalloc()
1084 if (StoreInst *SI = dyn_cast<StoreInst>(GV->use_back())) { in OptimizeGlobalAddressOfMalloc()
1092 LoadInst *LI = cast<LoadInst>(GV->use_back()); in OptimizeGlobalAddressOfMalloc()
1134 cast<StoreInst>(InitBool->use_back())->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
1230 if (StoreInst *SI = dyn_cast<StoreInst>(GEPI->use_back())) in ReplaceUsesOfMallocWithGlobal()
1844 Instruction *UI = cast<Instruction>(GV->use_back()); in TryToShrinkGlobalToBoolean()
DDeadArgumentElimination.cpp881 CallSite CS(F->use_back()); in RemoveDeadStuffFromFunction()
/external/llvm/include/llvm/IR/
DInstruction.h49 Instruction *use_back() { return cast<Instruction>(*use_begin());} in use_back() function
50 const Instruction *use_back() const { return cast<Instruction>(*use_begin());} in use_back() function
DValue.h151 User *use_back() { return *use_begin(); } in use_back() function
152 const User *use_back() const { return *use_begin(); } in use_back() function
/external/llvm/lib/Transforms/Utils/
DLCSSA.cpp156 (I->hasOneUse() && I->use_back()->getParent() == BB && in runOnLoop()
157 !isa<PHINode>(I->use_back()))) in runOnLoop()
DDemoteRegToStack.cpp44 Instruction *U = cast<Instruction>(I.use_back()); in DemoteRegToStack()
DLowerInvoke.cpp328 cast<Instruction>(Inst->use_back())->getParent() == BB && in splitLiveRangesLiveAcrossInvokes()
329 !isa<PHINode>(Inst->use_back())) continue; in splitLiveRangesLiveAcrossInvokes()
DPromoteMemoryToRegister.cpp564 StoreInst *SI = cast<StoreInst>(AI->use_back()); in promoteSingleBlockAlloca()
DSimplifyCFG.cpp2657 PHINode *PHIUse = dyn_cast<PHINode>(ICI->use_back()); in TryToSimplifyUncondBranchWithICmpInIt()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp917 (isReassociableOp(Sub->use_back(), Instruction::Add) || in ShouldBreakUpSubtract()
918 isReassociableOp(Sub->use_back(), Instruction::Sub))) in ShouldBreakUpSubtract()
1798 while (Op->hasOneUse() && Op->use_back()->getOpcode() == Opcode && in EraseInst()
1800 Op = Op->use_back(); in EraseInst()
1818 (isReassociableOp(I->use_back(), Instruction::Mul) || in OptimizeInst()
1819 isReassociableOp(I->use_back(), Instruction::Add)))) { in OptimizeInst()
1872 !isReassociableOp(I->use_back(), Instruction::Mul))) { in OptimizeInst()
1888 if (BO->hasOneUse() && BO->use_back()->getOpcode() == Opcode) in OptimizeInst()
1894 cast<Instruction>(BO->use_back())->getOpcode() == Instruction::Sub) in OptimizeInst()
1946 cast<Instruction>(I->use_back())->getOpcode() == Instruction::Add && in ReassociateExpression()
DTailRecursionElimination.cpp380 if (!I->hasOneUse() || !isa<ReturnInst>(I->use_back())) in CanTransformAccumulatorRecursion()
386 return getCommonReturnValue(cast<ReturnInst>(I->use_back()), CI); in CanTransformAccumulatorRecursion()
DScalarReplAggregates.cpp600 Instruction *User = cast<Instruction>(Ptr->use_back()); in ConvertUsesToScalar()
1329 LoadInst *LI = cast<LoadInst>(SI->use_back()); in tryToMakeAllocaBePromotable()
1370 LoadInst *SomeLoad = cast<LoadInst>(PN->use_back()); in tryToMakeAllocaBePromotable()
1376 LoadInst *LI = cast<LoadInst>(PN->use_back()); in tryToMakeAllocaBePromotable()
DIndVarSimplify.cpp281 !isa<BranchInst>(Compare->use_back())) in HandleFloatingPointIV()
284 BranchInst *TheBr = cast<BranchInst>(Compare->use_back()); in HandleFloatingPointIV()
DSCCP.cpp1928 StoreInst *SI = cast<StoreInst>(GV->use_back()); in runOnModule()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp521 if (PHINode *PU = dyn_cast<PHINode>(PN->use_back())) in DeadPHICycle()
674 !User->hasOneUse() || !isa<TruncInst>(User->use_back()) || in SliceUpIllegalIntegerPHI()
679 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, User->use_back())); in SliceUpIllegalIntegerPHI()
814 Instruction *PHIUser = cast<Instruction>(PN.use_back()); in visitPHINode()
830 PHIUser->use_back() == &PN) { in visitPHINode()
DInstCombineVectorOps.cpp127 if (!PHIUser->hasOneUse() || !(PHIUser->use_back() == PN) || in scalarizePHI()
474 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.use_back())) { in visitInsertElementInst()
DInstCombineCasts.cpp760 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitZExt()
1062 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitSExt()
DInstructionCombining.cpp1063 Ancestor = Ancestor->use_back(); in Descale()
2364 Instruction *UserInst = cast<Instruction>(I->use_back()); in DoOneIteration()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp299 cast<Instruction>(Inst->use_back())->getParent() == BB && in lowerAcrossUnwindEdges()
300 !isa<PHINode>(Inst->use_back())) continue; in lowerAcrossUnwindEdges()
/external/llvm/lib/IR/
DBasicBlock.cpp73 BlockAddress *BA = cast<BlockAddress>(use_back()); in ~BasicBlock()
DConstants.cpp221 Value *V = use_back(); in destroyConstantImpl()
233 assert((use_empty() || use_back() != V) && "Constant not removed!"); in destroyConstantImpl()
380 const Constant *User = dyn_cast<Constant>(C->use_back()); in removeDeadUsersOfConstant()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1529 const Instruction *TheUser = LI->use_back(); in tryToFoldLoad()
1538 TheUser = TheUser->use_back(); in tryToFoldLoad()
/external/clang/lib/CodeGen/
DCGCall.cpp1638 dyn_cast<llvm::StoreInst>(CGF.ReturnValue->use_back()); in findDominatingStoreToReturnValue()

12