Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/VMCore/
DAutoUpgrade.cpp387 cast<CallInst>(FuncStart->use_back())->eraseFromParent(); in CheckDebugInfoIntrinsics()
393 cast<CallInst>(StopPoint->use_back())->eraseFromParent(); in CheckDebugInfoIntrinsics()
399 cast<CallInst>(RegionStart->use_back())->eraseFromParent(); in CheckDebugInfoIntrinsics()
405 cast<CallInst>(RegionEnd->use_back())->eraseFromParent(); in CheckDebugInfoIntrinsics()
411 DbgDeclareInst *DDI = cast<DbgDeclareInst>(Declare->use_back()); in CheckDebugInfoIntrinsics()
415 CallInst *CI = cast<CallInst>(Declare->use_back()); in CheckDebugInfoIntrinsics()
648 CallInst *Resume = cast<CallInst>(EHResume->use_back()); in UpgradeExceptionHandling()
DBasicBlock.cpp73 BlockAddress *BA = cast<BlockAddress>(use_back()); in ~BasicBlock()
DConstants.cpp157 Value *V = use_back(); in destroyConstantImpl()
170 assert((use_empty() || use_back() != V) && "Constant not removed!"); in destroyConstantImpl()
310 const Constant *User = dyn_cast<Constant>(C->use_back()); in removeDeadUsersOfConstant()
/external/swiftshader/third_party/LLVM/include/llvm/
DBasicBlock.h116 User *use_back() { return cast<User>(*use_begin());}
117 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/swiftshader/third_party/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.cpp526 Instruction *User = cast<Instruction>(Ptr->use_back()); in ConvertUsesToScalar()
1213 LoadInst *LI = cast<LoadInst>(SI->use_back()); in tryToMakeAllocaBePromotable()
1254 LoadInst *SomeLoad = cast<LoadInst>(PN->use_back()); in tryToMakeAllocaBePromotable()
1260 LoadInst *LI = cast<LoadInst>(PN->use_back()); in tryToMakeAllocaBePromotable()
DIndVarSimplify.cpp293 !isa<BranchInst>(Compare->use_back())) in HandleFloatingPointIV()
296 BranchInst *TheBr = cast<BranchInst>(Compare->use_back()); in HandleFloatingPointIV()
/external/swiftshader/third_party/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.cpp573 OrigLoad = cast<LoadInst>(User->use_back()); in DoPromotion()
642 CallSite CS(F->use_back()); in DoPromotion()
828 if (LoadInst *LI = dyn_cast<LoadInst>(I->use_back())) { in DoPromotion()
838 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->use_back()); in DoPromotion()
868 LoadInst *L = cast<LoadInst>(GEP->use_back()); in DoPromotion()
DGlobalOpt.cpp581 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()
1652 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/swiftshader/third_party/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.cpp460 StoreInst *SI = cast<StoreInst>(AI->use_back()); in run()
DSimplifyCFG.cpp1998 PHINode *PHIUse = dyn_cast<PHINode>(ICI->use_back()); in TryToSimplifyUncondBranchWithICmpInIt()
2783 Instruction *Use = I->use_back(); in passingValueIsAlwaysUndefined()
/external/swiftshader/third_party/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.cpp423 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.use_back())) { in visitInsertElementInst()
DInstCombineCasts.cpp749 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitZExt()
1055 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitSExt()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSjLjEHPrepare.cpp309 cast<Instruction>(Inst->use_back())->getParent() == BB && in splitLiveRangesAcrossInvokes()
310 !isa<PHINode>(Inst->use_back())) continue; in splitLiveRangesAcrossInvokes()
391 Instruction *I = cast<Instruction>(Inst->use_back()); in ReplaceLandingPadVal()
854 cast<Instruction>(Inst->use_back())->getParent() == BB && in lowerAcrossUnwindEdges()
855 !isa<PHINode>(Inst->use_back())) continue; in lowerAcrossUnwindEdges()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp756 const Instruction *TheUser = LI->use_back(); in TryToFoldFastISelLoad()
765 TheUser = TheUser->use_back(); in TryToFoldFastISelLoad()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp250 const Instruction &User = cast<Instruction>(*I.use_back()); in isInlinableInst()
257 return I.getParent() == cast<Instruction>(I.use_back())->getParent(); in isInlinableInst()

12