| /src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 951 Value *VB = Or->user_back(); in shouldConvertOrWithNoCommonBitsToAdd() 996 Value *VB = Sub->user_back(); in ShouldBreakUpSubtract() 1996 while (Op->hasOneUse() && Op->user_back()->getOpcode() == Opcode && in EraseInst() 1998 Op = Op->user_back(); in EraseInst() 2152 (isReassociableOp(I->user_back(), Instruction::Mul) || in OptimizeInst() 2153 isReassociableOp(I->user_back(), Instruction::Add)))) { in OptimizeInst() 2211 !isReassociableOp(I->user_back(), Instruction::Mul))) { in OptimizeInst() 2238 !isReassociableOp(I->user_back(), Instruction::FMul))) { in OptimizeInst() 2260 if (BO->hasOneUse() && BO->user_back()->getOpcode() == Opcode) { in OptimizeInst() 2264 if (BO->user_back() != BO && in OptimizeInst() [all …]
|
| H A D | DFAJumpThreading.cpp | 453 if (auto *SelIUse = dyn_cast<PHINode>(SelI->user_back())) in isCandidate() 496 Instruction *SIUse = dyn_cast<Instruction>(SI->user_back()); in isValidSelectInst()
|
| H A D | TailRecursionElimination.cpp | 387 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back())) in canTransformAccumulatorRecursion()
|
| H A D | IndVarSimplify.cpp | 245 !isa<BranchInst>(Compare->user_back())) in handleFloatingPointIV() 248 BranchInst *TheBr = cast<BranchInst>(Compare->user_back()); in handleFloatingPointIV()
|
| H A D | ConstantHoisting.cpp | 916 assert(isa<Instruction>(Base->user_back()) && in emitBaseConstants()
|
| H A D | LoopPredication.cpp | 1087 WC->user_back()->replaceUsesOfWith( in predicateLoopExits()
|
| /src/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAggrCopies.cpp | 78 if (StoreInst *SI = dyn_cast<StoreInst>(LI->user_back())) { in runOnFunction()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 112 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back()); in foldIntegerTypedPHI() 990 if (PHINode *PU = dyn_cast<PHINode>(PN->user_back())) in isDeadPHICycle() 1160 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || in SliceUpIllegalIntegerPHI() 1170 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI() 1481 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode() 1498 PHIUser->user_back() == &PN) { in visitPHINode() 1524 CmpInst = dyn_cast<ICmpInst>(U->user_back()); in visitPHINode()
|
| H A D | InstCombineVectorOps.cpp | 127 if (!PHIUser->hasOneUse() || !(PHIUser->user_back() == PN) || in scalarizePHI() 740 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back())) in replaceExtractElements() 1164 User *U = V->user_back(); in visitInsertValueInst() 1216 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back())) in foldInsSequenceIntoSplat() 1695 auto *InsertUser = dyn_cast<InsertElementInst>(Insert.user_back()); in visitInsertElementInst()
|
| H A D | InstCombineLoadStoreAlloca.cpp | 669 if (auto *BC = dyn_cast<BitCastInst>(Load.user_back())) { in combineLoadToOperationType() 675 if (auto *CastUser = dyn_cast<CastInst>(Load.user_back())) { in combineLoadToOperationType()
|
| H A D | InstCombineCasts.cpp | 1141 if (Zext.hasOneUse() && isa<TruncInst>(Zext.user_back()) && in visitZExt() 1280 match(Zext.user_back(), m_Shift(m_Value(), m_Specific(&Zext)))) { in visitZExt() 1431 if (Sext.hasOneUse() && isa<TruncInst>(Sext.user_back())) in visitSExt()
|
| H A D | InstCombineSimplifyDemanded.cpp | 643 auto *Inst = dyn_cast<Instruction>(I->user_back()); in SimplifyDemandedUseBits() 725 auto *Inst = dyn_cast<Instruction>(I->user_back()); in SimplifyDemandedUseBits()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LCSSA.cpp | 402 (I.hasOneUse() && I.user_back()->getParent() == BB && in formLCSSA() 403 !isa<PHINode>(I.user_back()))) in formLCSSA()
|
| H A D | DemoteRegToStack.cpp | 67 Instruction *U = cast<Instruction>(I.user_back()); in DemoteRegToStack()
|
| H A D | PromoteMemoryToRegister.cpp | 703 StoreInst *SI = cast<StoreInst>(AI->user_back()); in promoteSingleBlockAlloca()
|
| /src/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 353 !Ld->hasOneUse() || !isa<SExtInst>(Ld->user_back())) in RecordMemoryOps() 736 Instruction *BaseSExt = dyn_cast<SExtInst>(Base->user_back()); in CreateWideLoad() 737 Instruction *OffsetSExt = dyn_cast<SExtInst>(Offset->user_back()); in CreateWideLoad()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SjLjEHPrepare.cpp | 295 cast<Instruction>(Inst.user_back())->getParent() == &BB && in lowerAcrossUnwindEdges() 296 !isa<PHINode>(Inst.user_back())) in lowerAcrossUnwindEdges()
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 169 Instruction *user_back() { return cast<Instruction>(*user_begin());} 170 const Instruction *user_back() const { return cast<Instruction>(*user_begin());}
|
| H A D | Value.h | 407 User *user_back() { in user_back() function 411 const User *user_back() const { in user_back() function
|
| /src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | StripSymbols.cpp | 152 CallInst *CI = cast<CallInst>(Declare->user_back()); in stripDebugDeclareImpl()
|
| H A D | SCCP.cpp | 360 StoreInst *SI = cast<StoreInst>(GV->user_back()); in runIPSCCP()
|
| H A D | ArgumentPromotion.cpp | 211 CallBase &CB = cast<CallBase>(*F->user_back()); in doPromotion()
|
| H A D | DeadArgumentElimination.cpp | 885 CallBase &CB = cast<CallBase>(*F->user_back()); in removeDeadStuffFromFunction()
|
| H A D | GlobalOpt.cpp | 1009 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfAllocation() 1251 Instruction *UI = cast<Instruction>(GV->user_back()); in TryToShrinkGlobalToBoolean()
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | BasicBlock.cpp | 224 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
|