Searched refs:hasOneUse (Results 1 - 25 of 69) sorted by path

123

/external/clang/lib/CodeGen/
H A DCGCall.cpp1713 if (!bitcast->hasOneUse()) break;
1794 if (!CGF.ReturnValue->hasOneUse()) {
H A DCodeGenFunction.cpp163 if (ReturnBlock.getBlock()->hasOneUse()) {
/external/llvm/include/llvm/CodeGen/
H A DMachineRegisterInfo.h435 /// hasOneUse - Return true if there is exactly one instruction using the
437 bool hasOneUse(unsigned RegNo) const { function in class:llvm::MachineRegisterInfo
H A DSelectionDAGNodes.h202 /// hasOneUse - Return true if there is exactly one node using value
205 inline bool hasOneUse() const;
436 /// hasOneUse - Return true if there is exactly one use of this node.
438 bool hasOneUse() const { function in class:llvm::SDNode
910 inline bool SDValue::hasOneUse() const { function in class:llvm::SDValue
/external/llvm/include/llvm/IR/
H A DPatternMatch.h55 return V->hasOneUse() && SubPattern.match(V);
H A DValue.h273 /// hasOneUse - Return true if there is exactly one user of this value. This
277 bool hasOneUse() const { function in class:llvm::Value
295 /// is a linear time operation. Use hasOneUse, hasNUses, or hasNUsesOrMore
/external/llvm/lib/Analysis/
H A DCodeMetrics.cpp39 if (!CS.isNoInline() && F->hasInternalLinkage() && F->hasOneUse())
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp1034 bool OnlyOneCallAndLocalLinkage = F.hasLocalLinkage() && F.hasOneUse() &&
/external/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp974 if (CI && CI->hasOneUse() && CI->getParent() == PN->getIncomingBlock(I) &&
1802 if (!SExtOpnd->hasOneUse() &&
1843 if (!SExtOpnd->hasOneUse()) {
2218 if (I->hasOneUse() ||
2858 if (!LI->hasOneUse() &&
2889 if (Src->hasOneUse())
2977 return Cmp->hasOneUse() &&
2978 ((isa<LoadInst>(CmpOp0) && CmpOp0->hasOneUse()) ||
2979 (isa<LoadInst>(CmpOp1) && CmpOp1->hasOneUse()));
H A DSjLjEHPrepare.cpp297 if (Inst->hasOneUse() &&
H A DTwoAddressInstructionPass.cpp410 (allowFalsePositives || MRI->hasOneUse(Reg)))
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp456 if (!Op.hasOneUse()) return 0;
518 assert(Op.hasOneUse() && "Unknown reuse!");
620 if (isSetCCEquivalent(N, N0, N1, N2) && N.getNode()->hasOneUse())
684 if (N0.hasOneUse()) {
705 if (N1.hasOneUse()) {
779 if (TLO.Old.getNode()->getOperand(i).getNode()->hasOneUse())
1400 if (Op.hasOneUse() &&
1467 if (N01C && N00.getOpcode() == ISD::ADD && N00.getNode()->hasOneUse() &&
1598 if (N0.getOpcode() == ISD::SHL && N0.getNode()->hasOneUse()) {
1602 if (N1.getOpcode() == ISD::SHL && N1.getNode()->hasOneUse()) {
[all...]
H A DFastISel.cpp136 return I->hasOneUse() &&
1677 assert(LI->hasOneUse() &&
1690 if (!TheUser->hasOneUse())
1716 if (!MRI.hasOneUse(LoadReg))
H A DInstrEmitter.cpp192 if (!Node->hasOneUse())
347 bool isKill = Op.hasOneUse() &&
H A DSelectionDAGBuilder.cpp1439 (unsigned)BOp->getOpcode() != Opc || !BOp->hasOneUse() ||
1605 BOp->hasOneUse() &&
H A DSelectionDAGDumper.cpp535 if (N->getOperand(i).getNode()->hasOneUse())
552 if (!N->hasOneUse() && N != getRoot().getNode())
H A DSelectionDAGISel.cpp1150 BeforeInst->hasOneUse() &&
1775 return N.hasOneUse();
2809 if (!NodeStack[i].hasOneUse()) {
2891 !RecordedNodes[RecNo].first.hasOneUse()) {
2928 !RecordedNodes[RecNo].first.hasOneUse()) {
H A DTargetLowering.cpp336 if (!Op.getNode()->hasOneUse())
388 if (!Op.getNode()->hasOneUse()) {
661 if (InOp.hasOneUse() &&
663 InnerOp.hasOneUse() &&
968 if (Op.getOperand(0).getNode()->hasOneUse()) {
1263 if (N0.hasOneUse() && N0.getOpcode() == ISD::TRUNCATE)
1266 if (CTPOP.hasOneUse() && CTPOP.getOpcode() == ISD::CTPOP &&
1286 if (DCI.isBeforeLegalize() && N0->hasOneUse() &&
1328 N0.getNode()->hasOneUse() &&
1330 N0.getOperand(0).getNode()->hasOneUse()
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64AddressTypePromotion.cpp183 (Inst->getType() == ConsideredSExtType || Inst->hasOneUse()))
188 if (!Inst->hasOneUse())
H A DAArch64FastISel.cpp766 if (CI->hasOneUse() && (CI->getParent() == I->getParent())) {
787 if (TI->hasOneUse() && TI->getParent() == I->getParent() &&
H A DAArch64ISelDAGToDAG.cpp308 if (ForCodeSize || V.hasOneUse())
H A DAArch64ISelLowering.cpp6432 if (ISD::isNormalLoad(N0.getNode()) && N0.hasOneUse() &&
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1257 if (CI->hasOneUse() && (CI->getParent() == I->getParent())) {
1285 if (TI->hasOneUse() && TI->getParent() == I->getParent() &&
H A DARMISelDAGToDAG.cpp420 if (!N->hasOneUse())
460 if (Shift.hasOneUse())
572 ((!Subtarget->isLikeA9() && !Subtarget->isSwift()) || N.hasOneUse())) {
637 N.getOperand(0).hasOneUse())) {
671 (!(Subtarget->isLikeA9() || Subtarget->isSwift()) || N.hasOneUse())) {
738 if ((Subtarget->isLikeA9() || Subtarget->isSwift()) && !N.hasOneUse()) {
777 N.getOperand(0).hasOneUse())) {
1037 if (N.getOpcode() == ARMISD::PIC_ADD && N.hasOneUse()) {
2578 if (N0.getOpcode() == ISD::OR && N0.getNode()->hasOneUse()) {
H A DARMISelLowering.cpp2225 if (!Copy->hasOneUse())
3326 if (Cond.getOpcode() == ARMISD::CMOV && Cond.hasOneUse()) {
3512 if (!N->hasOneUse())
5789 return N0->hasOneUse() && N1->hasOneUse() &&
5800 return N0->hasOneUse() && N1->hasOneUse() &&
7678 if (N0.getNode()->hasOneUse()) {
7683 if (N1.getNode()->hasOneUse()) {
7946 if (N0.getNode()->hasOneUse()) {
[all...]

Completed in 876 milliseconds

123