| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 1036 Value *VB = Or->user_back(); in shouldConvertOrWithNoCommonBitsToAdd() 1081 Value *VB = Sub->user_back(); in ShouldBreakUpSubtract() 2081 Op = Op->user_back(); in EraseInst() 2235 (isReassociableOp(I->user_back(), Instruction::Mul) || in OptimizeInst() 2236 isReassociableOp(I->user_back(), Instruction::Add)))) { in OptimizeInst() 2294 !isReassociableOp(I->user_back(), Instruction::Mul))) { in OptimizeInst() 2343 if (BO->hasOneUse() && BO->user_back()->getOpcode() == Opcode) { in OptimizeInst() 2347 if (BO->user_back() != BO && in OptimizeInst() 2348 BO->getParent() == BO->user_back()->getParent()) in OptimizeInst() 2349 RedoInsts.insert(BO->user_back()); in OptimizeInst() [all …]
|
| H A D | DFAJumpThreading.cpp | 431 if (auto *SelIUse = dyn_cast<PHINode>(SelI->user_back())) in isCandidate() 461 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 | 240 !isa<BranchInst>(Compare->user_back())) in handleFloatingPointIV() 243 BranchInst *TheBr = cast<BranchInst>(Compare->user_back()); in handleFloatingPointIV()
|
| H A D | ConstantHoisting.cpp | 908 assert(isa<Instruction>(Base->user_back()) && in emitBaseConstants()
|
| H A D | LoopPredication.cpp | 1087 WC->user_back()->replaceUsesOfWith( in predicateLoopExits()
|
| /freebsd-14.2/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() 1428 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode() 1445 PHIUser->user_back() == &PN) { in visitPHINode() 1471 CmpInst = dyn_cast<ICmpInst>(U->user_back()); in visitPHINode()
|
| H A D | InstCombineVectorOps.cpp | 127 if (!PHIUser->hasOneUse() || !(PHIUser->user_back() == PN) || in scalarizePHI() 733 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back())) in replaceExtractElements() 1157 User *U = V->user_back(); in visitInsertValueInst() 1209 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back())) in foldInsSequenceIntoSplat() 1687 auto *InsertUser = dyn_cast<InsertElementInst>(Insert.user_back()); in visitInsertElementInst()
|
| H A D | InstCombineLoadStoreAlloca.cpp | 670 if (auto *BC = dyn_cast<BitCastInst>(Load.user_back())) { in combineLoadToOperationType() 676 if (auto *CastUser = dyn_cast<CastInst>(Load.user_back())) { in combineLoadToOperationType()
|
| H A D | InstCombineCasts.cpp | 1107 if (Zext.hasOneUse() && isa<TruncInst>(Zext.user_back()) && in visitZExt() 1242 match(Zext.user_back(), m_Shift(m_Value(), m_Specific(&Zext)))) { in visitZExt() 1393 if (Sext.hasOneUse() && isa<TruncInst>(Sext.user_back())) in visitSExt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAggrCopies.cpp | 78 if (StoreInst *SI = dyn_cast<StoreInst>(LI->user_back())) { in runOnFunction()
|
| /freebsd-14.2/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 | 57 Instruction *U = cast<Instruction>(I.user_back()); in DemoteRegToStack()
|
| H A D | PromoteMemoryToRegister.cpp | 684 StoreInst *SI = cast<StoreInst>(AI->user_back()); in promoteSingleBlockAlloca()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 351 !Ld->hasOneUse() || !isa<SExtInst>(Ld->user_back())) in RecordMemoryOps() 734 Instruction *BaseSExt = dyn_cast<SExtInst>(Base->user_back()); in CreateWideLoad() 735 Instruction *OffsetSExt = dyn_cast<SExtInst>(Offset->user_back()); in CreateWideLoad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 136 Instruction *user_back() { return cast<Instruction>(*user_begin());} 137 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
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SjLjEHPrepare.cpp | 297 cast<Instruction>(Inst.user_back())->getParent() == &BB && in lowerAcrossUnwindEdges() 298 !isa<PHINode>(Inst.user_back())) in lowerAcrossUnwindEdges()
|
| /freebsd-14.2/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 | 372 StoreInst *SI = cast<StoreInst>(GV->user_back()); in runIPSCCP()
|
| H A D | ArgumentPromotion.cpp | 210 CallBase &CB = cast<CallBase>(*F->user_back()); in doPromotion()
|
| H A D | DeadArgumentElimination.cpp | 887 CallBase &CB = cast<CallBase>(*F->user_back()); in removeDeadStuffFromFunction()
|
| H A D | GlobalOpt.cpp | 998 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfAllocation() 1240 Instruction *UI = cast<Instruction>(GV->user_back()); in TryToShrinkGlobalToBoolean()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | BasicBlock.cpp | 262 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 154 auto *U = Old->user_back(); in replaceMemInstrUses()
|