Home
last modified time | relevance | path

Searched refs:hasOneUser (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFIRPeephole.cpp63 if (!II->hasOneUser()) in BPFIRPeepholeImpl()
75 if (!LD->hasOneUser()) in BPFIRPeepholeImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp338 if (!I || !I->hasOneUser() || I->getIndices() != FirstIVI->getIndices()) in foldPHIArgInsertValueInstructionIntoPHI()
378 if (!I || !I->hasOneUser() || I->getIndices() != FirstEVI->getIndices() || in foldPHIArgExtractValueInstructionIntoPHI()
420 if (!I || I->getOpcode() != Opc || !I->hasOneUser() || in foldPHIArgBinOpIntoPHI()
522 if (!GEP || !GEP->hasOneUser() || in foldPHIArgGEPIntoPHI()
700 if (!LI || !LI->hasOneUser() || LI->isAtomic()) in foldPHIArgLoadIntoPHI()
822 if (Zext->getSrcTy() != NarrowType || !Zext->hasOneUser()) in foldPHIArgZextsIntoPHI()
910 if (!I || !I->hasOneUser() || !I->isSameOperationAs(FirstInst)) in foldPHIArgOpIntoPHI()
1451 Inst0->hasOneUser()) in visitPHINode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp622 !(U->hasOneUser() && *U->users().begin() == I); in tryReassociateMinOrMax()
H A DLICM.cpp1406 while (isa<PHINode>(UI) && UI->hasOneUser() && in isNotUsedOrFoldableInLoop()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValue.h452 bool hasOneUser() const;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp669 if (CI->hasOneUser()) { in getMemCmpOneBlock()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp360 return any_of(operands(), [](Value *V) { return V->hasOneUser(); }); in isOnlyUserOfAnyOperand()
H A DValue.cpp157 bool Value::hasOneUser() const { in hasOneUser() function in Value
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h1231 if (GEP->hasOneUser() && I) in getInstructionCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp2485 if (I && I->hasOneUser()) { in getCastInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp5755 if (!RetI->hasOneUser()) in getReductionPatternCost()
H A DSLPVectorizer.cpp2528 OpI && !DeletedInstructions.contains(OpI) && OpI->hasOneUser() && in removeInstructionsAndOperands()
4138 if (Op && !DeletedInstructions.count(Op) && Op->hasOneUser() && in ~BoUpSLP()