Searched refs:hasOneUse (Results 26 - 50 of 69) sorted by relevance

123

/external/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp480 if (BI->isConditional() && BI->getCondition()->hasOneUse())
1206 !I1->hasOneUse() || !I2->hasOneUse() ||
1612 if (!PN || PN->getParent() != BB || !PN->hasOneUse())
2000 Cond->getParent() != BB || !Cond->hasOneUse())
2017 FrontIt->hasOneUse() && FrontIt->user_back() == Cond &&
2095 bool UsedByBranch = (BonusInst && BonusInst->hasOneUse() &&
2139 if (NewCond->hasOneUse() && isa<CmpInst>(NewCond)) {
2657 if (isa<PHINode>(BB->begin()) || !ICI->hasOneUse()) return false;
3885 if (PHI->hasOneUse()
[all...]
H A DSimplifyIndVar.cpp294 else if (ExtractInst->getIndices()[0] == 1 && ExtractInst->hasOneUse())
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp618 if (requireIntermediatesHaveOneUse && !AddOp.hasOneUse())
622 if (requireIntermediatesHaveOneUse && !OtherOp.hasOneUse())
632 if (requireIntermediatesHaveOneUse && !AddOp.getOperand(0).hasOneUse())
642 if (requireIntermediatesHaveOneUse && !AddOp.getOperand(1).hasOneUse())
1620 if (OutVal.hasOneUse()) {
1637 if (Time.hasOneUse()) {
/external/llvm/include/llvm/IR/
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/CodeGen/SelectionDAG/
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 DSelectionDAGISel.cpp1150 BeforeInst->hasOneUse() &&
1775 return N.hasOneUse();
2809 if (!NodeStack[i].hasOneUse()) {
2891 !RecordedNodes[RecNo].first.hasOneUse()) {
2928 !RecordedNodes[RecNo].first.hasOneUse()) {
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp3355 return Op.hasOneUse() && ISD::isNormalLoad(Op.getNode());
3359 return Op.hasOneUse() && ISD::isNormalStore(*Op.getNode()->use_begin());
5821 if (!ConstSplatVal && ((!Sc.hasOneUse() || !Ld.hasOneUse()) &&
6115 CanFold = Op->getOpcode() == Opcode && Op->hasOneUse();
8899 while (V.hasOneUse() && V.getOpcode() == ISD::BITCAST)
8902 if (V.hasOneUse() && V.getOpcode() == ISD::SCALAR_TO_VECTOR)
8904 if (V.hasOneUse() && V.getOpcode() == ISD::BUILD_VECTOR &&
9172 (!ISD::isNormalLoad(V.getNode()) || !V.hasOneUse())) {
9355 if (isShift && ShVal.hasOneUse()) {
[all...]
H A DX86FastISel.cpp837 // Moreover, things like hasOneUse could not be used accurately, if we
1341 if (CI->hasOneUse() && CI->getParent() == I->getParent()) {
1427 if (TI->hasOneUse() && TI->getParent() == I->getParent() &&
2795 ArgVal->hasOneUse()) {
2804 ArgVal->hasOneUse(), 1);
/external/llvm/lib/Target/ARM/
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...]
/external/llvm/include/llvm/CodeGen/
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
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
/external/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp297 if (Inst->hasOneUse() &&
/external/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp552 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back()))
H A DMemCpyOptimizer.cpp501 if (LI->isSimple() && LI->hasOneUse() &&
/external/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp508 if (Index->hasOneUse())
521 if (Base->hasOneUse())
H A DSystemZISelLowering.cpp1137 if (!C.Op0.hasOneUse() ||
1245 if (isNaturalMemoryOperand(C.Op1, C.ICmpType) && C.Op1.hasOneUse())
1250 if (isNaturalMemoryOperand(C.Op0, C.ICmpType) && C.Op0.hasOneUse()) {
2541 if (N0.hasOneUse() && N0.getOpcode() == ISD::SRA) {
2544 if (SraAmt && Inner.hasOneUse() && Inner.getOpcode() == ISD::SHL) {
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp157 if (!V->hasOneUse())
210 if (I->hasOneUse())
218 if (I->hasOneUse())
227 if (I->hasOneUse())
1029 if (GEPI->hasAllZeroIndices() && GEPI->hasOneUse())
2790 if (!GA.hasOneUse())
/external/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1169 if (E->hasOneUse())
2513 if (B && B->hasOneUse()) {
2527 if (A && A->hasOneUse()) {
2678 if (!TreeN->hasOneUse() && TreeN != B)
2871 if (!IE->hasOneUse())
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp687 if (Source->hasOneUse() &&
1053 (!Underlying->hasOneUse() || Underlying->user_back() != TrampMem))
/external/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp421 if (!MultHi.hasOneUse() || !MultLo.hasOneUse())
493 if (!MultHi.hasOneUse() || !MultLo.hasOneUse())
/external/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp766 if (CI->hasOneUse() && (CI->getParent() == I->getParent())) {
787 if (TI->hasOneUse() && TI->getParent() == I->getParent() &&
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp1034 bool OnlyOneCallAndLocalLinkage = F.hasLocalLinkage() && F.hasOneUse() &&
/external/clang/lib/CodeGen/
H A DCodeGenFunction.cpp163 if (ReturnBlock.getBlock()->hasOneUse()) {

Completed in 526 milliseconds

123