/external/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 | 571 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()
|
D | GlobalOpt.cpp | 747 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()
|
D | DeadArgumentElimination.cpp | 881 CallSite CS(F->use_back()); in RemoveDeadStuffFromFunction()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.h | 49 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
|
D | Value.h | 151 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/ |
D | LCSSA.cpp | 156 (I->hasOneUse() && I->use_back()->getParent() == BB && in runOnLoop() 157 !isa<PHINode>(I->use_back()))) in runOnLoop()
|
D | DemoteRegToStack.cpp | 44 Instruction *U = cast<Instruction>(I.use_back()); in DemoteRegToStack()
|
D | LowerInvoke.cpp | 328 cast<Instruction>(Inst->use_back())->getParent() == BB && in splitLiveRangesLiveAcrossInvokes() 329 !isa<PHINode>(Inst->use_back())) continue; in splitLiveRangesLiveAcrossInvokes()
|
D | PromoteMemoryToRegister.cpp | 564 StoreInst *SI = cast<StoreInst>(AI->use_back()); in promoteSingleBlockAlloca()
|
D | SimplifyCFG.cpp | 2657 PHINode *PHIUse = dyn_cast<PHINode>(ICI->use_back()); in TryToSimplifyUncondBranchWithICmpInIt()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 917 (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()
|
D | TailRecursionElimination.cpp | 380 if (!I->hasOneUse() || !isa<ReturnInst>(I->use_back())) in CanTransformAccumulatorRecursion() 386 return getCommonReturnValue(cast<ReturnInst>(I->use_back()), CI); in CanTransformAccumulatorRecursion()
|
D | ScalarReplAggregates.cpp | 600 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()
|
D | IndVarSimplify.cpp | 281 !isa<BranchInst>(Compare->use_back())) in HandleFloatingPointIV() 284 BranchInst *TheBr = cast<BranchInst>(Compare->use_back()); in HandleFloatingPointIV()
|
D | SCCP.cpp | 1928 StoreInst *SI = cast<StoreInst>(GV->use_back()); in runOnModule()
|
/external/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 | 127 if (!PHIUser->hasOneUse() || !(PHIUser->use_back() == PN) || in scalarizePHI() 474 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.use_back())) { in visitInsertElementInst()
|
D | InstCombineCasts.cpp | 760 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitZExt() 1062 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitSExt()
|
D | InstructionCombining.cpp | 1063 Ancestor = Ancestor->use_back(); in Descale() 2364 Instruction *UserInst = cast<Instruction>(I->use_back()); in DoOneIteration()
|
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 299 cast<Instruction>(Inst->use_back())->getParent() == BB && in lowerAcrossUnwindEdges() 300 !isa<PHINode>(Inst->use_back())) continue; in lowerAcrossUnwindEdges()
|
/external/llvm/lib/IR/ |
D | BasicBlock.cpp | 73 BlockAddress *BA = cast<BlockAddress>(use_back()); in ~BasicBlock()
|
D | Constants.cpp | 221 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/ |
D | FastISel.cpp | 1529 const Instruction *TheUser = LI->use_back(); in tryToFoldLoad() 1538 TheUser = TheUser->use_back(); in tryToFoldLoad()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1638 dyn_cast<llvm::StoreInst>(CGF.ReturnValue->use_back()); in findDominatingStoreToReturnValue()
|