HomeSort by: relevance | last modified time | path
    Searched refs:hasOneUse (Results 1 - 25 of 145) sorted by relevancy

1 2 3 4 5 6

  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
GuardUtils.cpp 67 if (!Cond->hasOneUse())
93 A->hasOneUse()) {
100 B->hasOneUse()) {
CodeMetrics.cpp 143 ((F->hasInternalLinkage() && F->hasOneUse()) || PrepareForLTO)) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVMergeBaseOffset.cpp 86 !MRI->hasOneUse(HiLUI.getOperand(0).getReg()))
94 !MRI->hasOneUse(LoADDI->getOperand(0).getReg()))
143 if (!MRI->hasOneUse(Reg))
159 !MRI->hasOneUse(OffsetLui.getOperand(0).getReg()))
182 assert(MRI->hasOneUse(DestReg) && "expected one use for LoADDI");
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
RelLookupTableConverter.cpp 36 !GV.hasOneUse())
41 if (!GEP || !GEP->hasOneUse())
45 if (!Load || !Load->hasOneUse())
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86PartialReduction.cpp 94 if (!isa<Constant>(LHS) && !LHS->hasOneUse())
96 if (!isa<Constant>(RHS) && !RHS->hasOneUse())
310 if (!BO || BO->getOpcode() != Instruction::Add || !BO->hasOneUse())
361 if (!Phi->hasOneUse())
368 while (U->hasOneUse() && U->getOpcode() == BO->getOpcode())
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 100 if (!OldLHS->hasOneUse() && !OldRHS->hasOneUse())
105 if (!OldLHS->hasOneUse())
1013 (ZeroICmp->hasOneUse() || UnsignedICmp->hasOneUse())) {
1118 if (!Cmp0->hasOneUse() || !Cmp1->hasOneUse())
1198 if (!Cmp1->hasOneUse())
1290 if (PredL == ICmpInst::ICMP_EQ && PredL == PredR && LHS->hasOneUse() &&
1291 RHS->hasOneUse()) {
    [all...]
InstCombineSelect.cpp 177 if (!Cmp->hasOneUse())
266 // Don't break up min/max patterns. The hasOneUse checks below prevent that
298 // without checking 'hasOneUse' when it matches min/max patterns, so this
301 (!TI->hasOneUse() || !FI->hasOneUse()))
303 } else if (!TI->hasOneUse() || !FI->hasOneUse()) {
321 (TI->hasOneUse() || FI->hasOneUse())) {
332 (TII->hasOneUse() || FII->hasOneUse()))
    [all...]
InstCombineVectorOps.cpp 121 if (!PHIUser->hasOneUse() || !(PHIUser->user_back() == PN) ||
246 if (!X->hasOneUse() || !Ext.getVectorOperand()->hasOneUse())
257 if (!Ext.getVectorOperand()->hasOneUse())
361 if (SrcVec->hasOneUse()) {
460 if (CI->hasOneUse() && (CI->getOpcode() != Instruction::BitCast)) {
590 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back()))
1004 while (V->hasOneUse() && Depth < 10) {
1057 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back()))
1089 (!CurrIE->hasOneUse() && (NextIE != nullptr || !Idx->isZero()))
    [all...]
InstCombineCompares.cpp 893 (GEPLHS->hasAllConstantIndices() || GEPLHS->hasOneUse()) &&
894 (GEPRHS->hasAllConstantIndices() || GEPRHS->hasOneUse()) &&
973 if (GEPsInBounds && (isa<ConstantExpr>(GEPLHS) || GEPLHS->hasOneUse()) &&
974 (isa<ConstantExpr>(GEPRHS) || GEPRHS->hasOneUse())) {
1229 if (!AddWithCst->hasOneUse())
1505 if (Cmp.hasOneUse() &&
1534 if (Cmp.isEquality() && Trunc->hasOneUse()) {
1597 if (Xor->hasOneUse()) {
1705 if (Shift->hasOneUse() && C1.isNullValue() && Cmp.isEquality() &&
1739 if (!And->hasOneUse())
    [all...]
InstCombineMulDivRem.cpp 55 if (!V->hasOneUse()) return nullptr;
205 if (Op0->hasOneUse() && match(Op1, m_NegatedPower2())) {
277 if (Div && Div->hasOneUse() &&
331 (Op0->hasOneUse() || Op1->hasOneUse())) {
341 (Op0->hasOneUse() || Op1->hasOneUse())) {
416 (Op0->hasOneUse() || Op1->hasOneUse())) {
484 if (Op0->hasOneUse() && C1DivC->isNormalFP()
    [all...]
InstructionCombining.cpp 313 if (!Cast || !Cast->hasOneUse())
327 if (!BinOp2 || !BinOp2->hasOneUse() || BinOp2->getOpcode() != AssocOpcode)
623 if (!V && LHS->hasOneUse() && RHS->hasOneUse())
643 if (!V && LHS->hasOneUse() && RHS->hasOneUse())
847 if (LHS->hasOneUse() && RHS->hasOneUse()) {
853 } else if (LHSIsSelect && LHS->hasOneUse()) {
858 } else if (RHSIsSelect && RHS->hasOneUse()) {
    [all...]
InstCombineAddSub.cpp 471 InstQuota = ((!isa<Constant>(V0) && V0->hasOneUse()) &&
472 (!isa<Constant>(V1) && V1->hasOneUse())) ? 2 : 1;
773 if (!LHS->hasOneUse() && !RHS->hasOneUse())
950 if (Op0->hasOneUse() && *C2 == -(*C)) {
966 if (C->isOneValue() && Op0->hasOneUse()) {
1261 if (!Op0 || !Op1 || !(Op0->hasOneUse() || Op1->hasOneUse()))
1384 if (SI && SI->hasOneUse()) {
1589 if (LHSConv->hasOneUse() &
    [all...]
InstCombineNegator.cpp 160 if (!V->hasOneUse() && !IsTrulyNegation)
223 (I->hasOneUse() || match(I->getOperand(0), m_ImmConstant()))) {
233 if (!V->hasOneUse())
InstCombineShifts.cpp 199 !Trunc->hasOneUse())
303 if (!Masked->hasOneUse())
334 if (!LogicInst || !LogicInst->isBitwiseLogicOp() || !LogicInst->hasOneUse())
414 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Constant(C))) &&
494 if (!I->hasOneUse()) return false;
731 if (Op0->hasOneUse()) {
744 if (isLeftShift && Op0BO->getOperand(1)->hasOneUse() &&
760 if (isLeftShift && Op0BOOp1->hasOneUse() &&
776 if (isLeftShift && Op0BO->getOperand(0)->hasOneUse() &&
791 if (isLeftShift && Op0BO->getOperand(0)->hasOneUse() &
    [all...]
InstCombineCasts.cpp 116 if (!AI.hasOneUse() && CastElTyAlign == AllocElTyAlign) return nullptr;
127 if (!AI.hasOneUse() && CastElTyStoreSize < AllocElTyStoreSize) return nullptr;
168 if (!AI.hasOneUse()) {
289 if (CSrc->hasOneUse())
346 if (!V->hasOneUse())
484 if (!TruncOp->hasOneUse() || !isa<IntegerType>(DestType))
683 if (Shuf && Shuf->hasOneUse() && match(Shuf->getOperand(1), m_Undef()) &&
707 if (!InsElt || !InsElt->hasOneUse())
844 if (Src->hasOneUse()) {
884 if (Src->hasOneUse() &
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
AbstractCallSite.h 147 if (CE->hasOneUse() && CE->isCast())
  /src/external/apache2/llvm/dist/llvm/lib/IR/
AbstractCallSite.cpp 67 if (CE->hasOneUse() && CE->isCast()) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXLowerAggrCopies.cpp 73 if (!LI->hasOneUse())
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
VectorCombine.cpp 106 !Scalar->hasOneUse())
120 if (!Load || !Load->isSimple() || !Load->hasOneUse() ||
336 : !Ext0->hasOneUse() || !Ext1->hasOneUse();
344 !Ext0->hasOneUse() * Extract0Cost +
345 !Ext1->hasOneUse() * Extract1Cost;
475 if (I.hasOneUse())
637 (IsConst0 ? 0 : !Ins0->hasOneUse() * InsertCost) +
638 (IsConst1 ? 0 : !Ins1->hasOneUse() * InsertCost);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
DAGCombiner.cpp 872 if (Op->hasOneUse() || Op->getNumValues() > 1)
930 if (isSetCCEquivalent(N, N0, N1, N2) && N.getNode()->hasOneUse())
1011 if (N0.hasOneUse())
1071 if (N0.hasOneUse()) {
1317 Replace0 &= !N0->hasOneUse();
1318 Replace1 &= (N0 != N1) && !N1->hasOneUse();
1849 if (N->hasOneUse() && N->use_begin()->getOpcode() == ISD::TokenFactor)
1886 if (Op.hasOneUse() && !is_contained(TFs, Op.getNode())) {
2108 if (Sel.getOpcode() != ISD::SELECT || !Sel.hasOneUse()) {
2113 if (Sel.getOpcode() != ISD::SELECT || !Sel.hasOneUse())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
Reassociate.cpp 151 if (I && I->hasOneUse() && I->getOpcode() == Opcode)
160 if (I && I->hasOneUse() &&
523 if (!Op->hasOneUse()) {
544 assert(!Op->hasOneUse() && "Only one use, but we got here twice!");
562 if (!Op->hasOneUse())
579 assert(Op->hasOneUse() && "Has uses outside the expression tree!");
994 if (Or->hasOneUse() && isInteresting(VB))
1039 if (Sub->hasOneUse() &&
1310 if (!Opnd1->getValue()->hasOneUse())
1344 if (Opnd1->getValue()->hasOneUse())
    [all...]
MergedLoadStoreMotion.cpp 233 return A0 && A1 && A0->isIdenticalTo(A1) && A0->hasOneUse() &&
234 (A0->getParent() == S0->getParent()) && A1->hasOneUse() &&
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPULowerKernelAttributes.cpp 88 if (!U->hasOneUse())
96 if (!BCI || !BCI->hasOneUse())
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZTargetTransformInfo.cpp 451 if (I->hasOneUse() &&
461 if (I->hasOneUse() && I->getOpcode() == Instruction::Xor)
889 if (!Ld->hasOneUse() && Ld->getParent() == I->getParent() &&
980 if (!Ld->hasOneUse())
988 if (UserI->hasOneUse()) {
1111 if (Opcode == Instruction::Load && I->hasOneUse()) {
1115 (!LdUser->hasOneUse() || !isa<StoreInst>(*LdUser->user_begin())))
1120 if (StoredVal->hasOneUse() && isBswapIntrinsicCall(StoredVal))
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
MVELaneInterleavingPass.cpp 135 if (T->hasOneUse() && !isa<StoreInst>(*T->user_begin())) {
144 if (!E->hasOneUse() ||

Completed in 100 milliseconds

1 2 3 4 5 6