Home
last modified time | relevance | path

Searched refs:user_back (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp894 Value *VB = Sub->user_back(); in ShouldBreakUpSubtract()
1878 while (Op->hasOneUse() && Op->user_back()->getOpcode() == Opcode && in EraseInst()
1880 Op = Op->user_back(); in EraseInst()
1915 Instruction *User = I->user_back(); in canonicalizeNegConstExpr()
1975 (isReassociableOp(I->user_back(), Instruction::Mul) || in OptimizeInst()
1976 isReassociableOp(I->user_back(), Instruction::Add)))) { in OptimizeInst()
2024 !isReassociableOp(I->user_back(), Instruction::Mul))) { in OptimizeInst()
2048 !isReassociableOp(I->user_back(), Instruction::FMul))) { in OptimizeInst()
2070 if (BO->hasOneUse() && BO->user_back()->getOpcode() == Opcode) { in OptimizeInst()
2074 if (BO->user_back() != BO && in OptimizeInst()
[all …]
DConstantHoisting.cpp569 assert(isa<Instruction>(Base->user_back()) && in emitBaseConstants()
571 Base->setDebugLoc(cast<Instruction>(Base->user_back())->getDebugLoc()); in emitBaseConstants()
DTailRecursionElimination.cpp429 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back())) in canTransformAccumulatorRecursion()
435 return getCommonReturnValue(cast<ReturnInst>(I->user_back()), CI); in canTransformAccumulatorRecursion()
DIndVarSimplify.cpp284 !isa<BranchInst>(Compare->user_back())) in handleFloatingPointIV()
287 BranchInst *TheBr = cast<BranchInst>(Compare->user_back()); in handleFloatingPointIV()
/external/llvm/include/llvm/IR/
DInstruction.h55 Instruction *user_back() { return cast<Instruction>(*user_begin());}
56 const Instruction *user_back() const { return cast<Instruction>(*user_begin());}
DValue.h346 User *user_back() { in user_back() function
350 const User *user_back() const { in user_back() function
/external/llvm/lib/Transforms/Utils/
DLCSSA.cpp242 (I.hasOneUse() && I.user_back()->getParent() == BB && in formLCSSA()
243 !isa<PHINode>(I.user_back()))) in formLCSSA()
DDemoteRegToStack.cpp57 Instruction *U = cast<Instruction>(I.user_back()); in DemoteRegToStack()
DPromoteMemoryToRegister.cpp492 StoreInst *SI = cast<StoreInst>(AI->user_back()); in promoteSingleBlockAlloca()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h59 Instruction *user_back() { return cast<Instruction>(*user_begin());} in user_back() function
60 const Instruction *user_back() const { return cast<Instruction>(*user_begin());} in user_back() function
DValue.h355 User *user_back() { in user_back() function
359 const User *user_back() const { in user_back() function
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp588 if (PHINode *PU = dyn_cast<PHINode>(PN->user_back())) in DeadPHICycle()
746 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || in SliceUpIllegalIntegerPHI()
751 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI()
889 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode()
905 PHIUser->user_back() == &PN) { in visitPHINode()
DInstCombineVectorOps.cpp94 if (!PHIUser->hasOneUse() || !(PHIUser->user_back() == PN) || in scalarizePHI()
552 User *U = V->user_back(); in visitInsertValueInst()
602 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.user_back())) { in visitInsertElementInst()
DInstCombineCasts.cpp835 if (CI.hasOneUse() && isa<TruncInst>(CI.user_back())) in visitZExt()
1120 if (CI.hasOneUse() && isa<TruncInst>(CI.user_back())) in visitSExt()
DInstCombineLoadStoreAlloca.cpp504 if (auto* CI = dyn_cast<CastInst>(LI.user_back())) { in combineLoadToOperationType()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp724 OrigLoad = cast<LoadInst>(UI->user_back()); in DoPromotion()
781 CallSite CS(F->user_back()); in DoPromotion()
974 if (LoadInst *LI = dyn_cast<LoadInst>(I->user_back())) { in DoPromotion()
983 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back()); in DoPromotion()
1013 LoadInst *L = cast<LoadInst>(GEP->user_back()); in DoPromotion()
DGlobalOpt.cpp520 User *GEP = GV->user_back(); in SRAGlobal()
816 Instruction *User = cast<Instruction>(CI->user_back()); in OptimizeGlobalAddressOfMalloc()
846 if (StoreInst *SI = dyn_cast<StoreInst>(GV->user_back())) { in OptimizeGlobalAddressOfMalloc()
854 LoadInst *LI = cast<LoadInst>(GV->user_back()); in OptimizeGlobalAddressOfMalloc()
896 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
989 if (StoreInst *SI = dyn_cast<StoreInst>(GEPI->user_back())) in ReplaceUsesOfMallocWithGlobal()
1595 Instruction *UI = cast<Instruction>(GV->user_back()); in TryToShrinkGlobalToBoolean()
DStripSymbols.cpp258 CallInst *CI = cast<CallInst>(Declare->user_back()); in runOnModule()
DDeadArgumentElimination.cpp829 CallSite CS(F->user_back()); in RemoveDeadStuffFromFunction()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp259 cast<Instruction>(Inst.user_back())->getParent() == &BB && in lowerAcrossUnwindEdges()
260 !isa<PHINode>(Inst.user_back())) in lowerAcrossUnwindEdges()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp259 if (StoreInst *SI = dyn_cast<StoreInst>(LI->user_back())) { in runOnFunction()
/external/llvm/lib/IR/
DBasicBlock.cpp76 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
DConstants.cpp309 Value *V = user_back(); in destroyConstant()
321 assert((use_empty() || user_back() != V) && "Constant not removed!"); in destroyConstant()
454 const Constant *User = dyn_cast<Constant>(C->user_back()); in removeDeadUsersOfConstant()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp2095 const Instruction *TheUser = LI->user_back(); in tryToFoldLoad()
2104 TheUser = TheUser->user_back(); in tryToFoldLoad()
/external/clang/lib/CodeGen/
DCGCleanup.cpp797 NormalCleanupDestSlot->user_back()->eraseFromParent(); in PopCleanupBlock()

12