/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 998 Value *VB = Or->user_back(); in shouldConvertOrWithNoCommonBitsToAdd() 1043 Value *VB = Sub->user_back(); in ShouldBreakUpSubtract() 2044 Op = Op->user_back(); in EraseInst() 2198 (isReassociableOp(I->user_back(), Instruction::Mul) || in OptimizeInst() 2199 isReassociableOp(I->user_back(), Instruction::Add)))) { in OptimizeInst() 2256 !isReassociableOp(I->user_back(), Instruction::Mul))) { in OptimizeInst() 2305 if (BO->hasOneUse() && BO->user_back()->getOpcode() == Opcode) { in OptimizeInst() 2309 if (BO->user_back() != BO && in OptimizeInst() 2310 BO->getParent() == BO->user_back()->getParent()) in OptimizeInst() 2311 RedoInsts.insert(BO->user_back()); in OptimizeInst() [all …]
|
H A D | DFAJumpThreading.cpp | 472 if (auto *SelIUse = dyn_cast<PHINode>(SelI->user_back())) in isCandidate() 502 Instruction *SIUse = dyn_cast<Instruction>(SI->user_back()); in isValidSelectInst()
|
H A D | TailRecursionElimination.cpp | 381 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back())) in canTransformAccumulatorRecursion()
|
H A D | IndVarSimplify.cpp | 252 !isa<BranchInst>(Compare->user_back())) in handleFloatingPointIV() 255 BranchInst *TheBr = cast<BranchInst>(Compare->user_back()); in handleFloatingPointIV()
|
H A D | ConstantHoisting.cpp | 919 assert(isa<Instruction>(Base->user_back()) && in emitBaseConstants()
|
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerAggrCopies.cpp | 78 if (StoreInst *SI = dyn_cast<StoreInst>(LI->user_back())) { in runOnFunction()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | LCSSA.cpp | 380 (I.hasOneUse() && I.user_back()->getParent() == BB && in formLCSSA() 381 !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 | 609 StoreInst *SI = cast<StoreInst>(AI->user_back()); in promoteSingleBlockAlloca()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 112 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back()); in foldIntegerTypedPHI() 989 if (PHINode *PU = dyn_cast<PHINode>(PN->user_back())) in isDeadPHICycle() 1156 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || in SliceUpIllegalIntegerPHI() 1166 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI() 1425 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode() 1441 PHIUser->user_back() == &PN) { in visitPHINode()
|
H A D | InstCombineVectorOps.cpp | 127 if (!PHIUser->hasOneUse() || !(PHIUser->user_back() == PN) || in scalarizePHI() 729 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back())) in replaceExtractElements() 1142 User *U = V->user_back(); in visitInsertValueInst() 1194 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back())) in foldInsSequenceIntoSplat() 1671 auto *InsertUser = dyn_cast<InsertElementInst>(Insert.user_back()); in visitInsertElementInst()
|
H A D | InstCombineLoadStoreAlloca.cpp | 691 if (auto *BC = dyn_cast<BitCastInst>(Load.user_back())) { in combineLoadToOperationType() 697 if (auto *CastUser = dyn_cast<CastInst>(Load.user_back())) { in combineLoadToOperationType()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMParallelDSP.cpp | 356 !Ld->hasOneUse() || !isa<SExtInst>(Ld->user_back())) in RecordMemoryOps() 739 Instruction *BaseSExt = dyn_cast<SExtInst>(Base->user_back()); in CreateWideLoad() 740 Instruction *OffsetSExt = dyn_cast<SExtInst>(Offset->user_back()); in CreateWideLoad()
|
/openbsd/gnu/llvm/llvm/include/llvm/IR/ |
H A D | Instruction.h | 87 Instruction *user_back() { return cast<Instruction>(*user_begin());} 88 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
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | SjLjEHPrepare.cpp | 280 cast<Instruction>(Inst.user_back())->getParent() == &BB && in lowerAcrossUnwindEdges() 281 !isa<PHINode>(Inst.user_back())) in lowerAcrossUnwindEdges()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/ |
H A D | StripSymbols.cpp | 262 CallInst *CI = cast<CallInst>(Declare->user_back()); in stripDebugDeclareImpl()
|
H A D | SCCP.cpp | 369 StoreInst *SI = cast<StoreInst>(GV->user_back()); in runIPSCCP()
|
H A D | GlobalOpt.cpp | 892 Instruction *User = cast<Instruction>(CI->user_back()); in OptimizeGlobalAddressOfAllocation() 976 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfAllocation() 1222 Instruction *UI = cast<Instruction>(GV->user_back()); in TryToShrinkGlobalToBoolean()
|
H A D | ArgumentPromotion.cpp | 224 CallBase &CB = cast<CallBase>(*F->user_back()); in doPromotion()
|
H A D | DeadArgumentElimination.cpp | 871 CallBase &CB = cast<CallBase>(*F->user_back()); in removeDeadStuffFromFunction()
|
H A D | IROutliner.cpp | 1843 User *InstAsUser = Arg->user_back(); in replaceArgumentUses() 2737 User *InstAsUser = Region.ExtractedFunction->user_back(); in extractSection()
|
/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | BasicBlock.cpp | 84 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
|
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/ |
H A D | SPIRVEmitIntrinsics.cpp | 138 auto *U = Old->user_back(); in replaceMemInstrUses()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 2560 if (isLifetimeStart(U->user_back())) { in sinkLifetimeStartMarkers() 2561 Lifetimes.push_back(U->user_back()); in sinkLifetimeStartMarkers()
|