/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | AutoUpgrade.cpp | 387 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()
|
D | BasicBlock.cpp | 73 BlockAddress *BA = cast<BlockAddress>(use_back()); in ~BasicBlock()
|
D | Constants.cpp | 157 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/ |
D | BasicBlock.h | 116 User *use_back() { return cast<User>(*use_begin());} 117 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/swiftshader/third_party/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 | 526 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()
|
D | IndVarSimplify.cpp | 293 !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/ |
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 | 573 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()
|
D | GlobalOpt.cpp | 581 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()
|
D | DeadArgumentElimination.cpp | 227 CallSite CS(Fn.use_back()); in DeleteDeadVarargs() 780 CallSite CS(F->use_back()); in RemoveDeadStuffFromFunction()
|
/external/swiftshader/third_party/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 | 460 StoreInst *SI = cast<StoreInst>(AI->use_back()); in run()
|
D | SimplifyCFG.cpp | 1998 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/ |
D | InstCombinePHI.cpp | 521 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()
|
D | InstCombineVectorOps.cpp | 423 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.use_back())) { in visitInsertElementInst()
|
D | InstCombineCasts.cpp | 749 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/ |
D | SjLjEHPrepare.cpp | 309 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/ |
D | SelectionDAGISel.cpp | 756 const Instruction *TheUser = LI->use_back(); in TryToFoldFastISelLoad() 765 TheUser = TheUser->use_back(); in TryToFoldFastISelLoad()
|
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/ |
D | CBackend.cpp | 250 const Instruction &User = cast<Instruction>(*I.use_back()); in isInlinableInst() 257 return I.getParent() == cast<Instruction>(I.use_back())->getParent(); in isInlinableInst()
|