| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ProvenanceAnalysis.cpp | 47 return related(A->getTrueValue(), SB->getTrueValue()) || in relatedSelect() 51 return related(A->getTrueValue(), B) || related(A->getFalseValue(), B); in relatedSelect()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 805 Value *T = Sel.getTrueValue(); in foldSetClearBits() 844 auto *TrueVal = SI.getTrueValue(); in foldSelectZeroOrMul() 1358 Value *X = Sel0.getTrueValue(); in canonicalizeClampLike() 1639 Value *TVal = SI.getTrueValue(); in foldSelectInstWithICmpConst() 2177 Value *TVal = Sel.getTrueValue(); in foldSelectCmpBitcasts() 2337 Value *TVal = Sel.getTrueValue(); in foldSelectFunnelShift() 2512 IfTrue = Sel.getTrueValue(); in foldSelectToPhiImpl() 2518 IfFalse = Sel.getTrueValue(); in foldSelectToPhiImpl() 2657 Value *A = SI.getTrueValue(); in foldAndOrOfSelectUsingImpliedCond() 2796 Value *X = SI.getTrueValue(); in foldRoundUpIntegerWithPow2Alignment() [all …]
|
| H A D | InstCombineLoadStoreAlloca.cpp | 323 if (!isa<Instruction>(SI->getTrueValue()) || in collectUsersRecursive() 327 if (!isAvailable(cast<Instruction>(SI->getTrueValue())) || in collectUsersRecursive() 403 SI->getCondition(), getReplacement(SI->getTrueValue()), in replace() 822 Worklist.push_back(SI->getTrueValue()); in isObjectSizeLessThanOrEq()
|
| H A D | InstCombineNegator.cpp | 216 if (match(Sel->getTrueValue(), m_ImmConstant(TrueC)) && in visitImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SelectOptimize.cpp | 184 Value *getTrueValue() const { in getTrueValue() function in __anonf7d98fdb0111::SelectOptimizeImpl::SelectLike 186 return Sel->getTrueValue(); in getTrueValue() 220 if (auto *I = dyn_cast<Instruction>(Sel->getTrueValue())) in getTrueOpCost() 515 V = (isTrue ? DefSI->getTrueValue() : DefSI->getFalseValue()); in getTrueOrFalseValue() 576 if (auto *TI = dyn_cast_or_null<Instruction>(SI.getTrueValue())) { in convertProfitableSIGroups() 929 ColdI = dyn_cast_or_null<Instruction>(SI.getTrueValue()); in hasExpensiveColdOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DFAJumpThreading.cpp | 218 if (SelectInst *SIOp = dyn_cast<SelectInst>(SI->getTrueValue())) { in unfold() 252 SIUse->addIncoming(SI->getTrueValue(), TrueBlock); in unfold() 269 Value *SIOp1 = SI->getTrueValue(); in unfold() 428 addToQueue(SelI->getTrueValue(), Q, SeenValues); in isCandidate() 483 if (PrevSI->getTrueValue() != SI && PrevSI->getFalseValue() != SI && in isValidSelectInst()
|
| H A D | CorrelatedValuePropagation.cpp | 140 U.set(CI->isOne() ? S->getTrueValue() : S->getFalseValue()); in processSelect() 233 return SI->getTrueValue(); in getValueOnEdge() 248 return SI->getTrueValue(); in getValueOnEdge() 252 if (auto *C = dyn_cast<Constant>(SI->getTrueValue())) in getValueOnEdge()
|
| H A D | LoopDeletion.cpp | 203 auto *Selected = C->isAllOnesValue() ? Select->getTrueValue() in getValueOnFirstIteration()
|
| H A D | JumpThreading.cpp | 883 Constant *TrueVal = getKnownConstant(SI->getTrueValue(), Preference); in computeValueKnownInPredecessorsImpl() 2782 SIUse->addIncoming(SI->getTrueValue(), NewBB); in unfoldSelectInstr() 2983 NewPN->addIncoming(SI->getTrueValue(), Term->getParent()); in tryToUnfoldSelectInCurrBB()
|
| H A D | SROA.cpp | 1736 for (Value *Value : {SI.getTrueValue(), SI.getFalseValue()}) in isSafeLoadOfSelectToSpeculate() 1739 Spec.setAsSpeculatable(/*isTrueVal=*/Value == SI.getTrueValue()); in isSafeLoadOfSelectToSpeculate() 1797 Value *TV = SI.getTrueValue(); in speculateSelectInstLoads() 3665 assert((SI.getTrueValue() == OldPtr || SI.getFalseValue() == OldPtr) && in visitSelectInst() 3982 Value *True = Sel->getTrueValue(); in foldGEPSelect()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 847 getBlockValue(SI->getTrueValue(), BB, SI); in solveBlockValueSelect() 867 ((LHS == SI->getTrueValue() && RHS == SI->getFalseValue()) || in solveBlockValueSelect() 868 (RHS == SI->getTrueValue() && LHS == SI->getFalseValue()))) { in solveBlockValueSelect() 889 if (LHS == SI->getTrueValue()) in solveBlockValueSelect() 899 if (LHS == SI->getTrueValue()) in solveBlockValueSelect() 916 intersect(TrueVal, *getValueFromCondition(SI->getTrueValue(), Cond, in solveBlockValueSelect()
|
| H A D | BasicAliasAnalysis.cpp | 761 Worklist.push_back(SI->getTrueValue()); in getModRefInfoMask() 1319 AAQI.AAR.alias(MemoryLocation(SI->getTrueValue(), SISize), in aliasSelect() 1320 MemoryLocation(SI2->getTrueValue(), V2Size), AAQI); in aliasSelect() 1331 AliasResult Alias = AAQI.AAR.alias(MemoryLocation(SI->getTrueValue(), SISize), in aliasSelect()
|
| H A D | IVDescriptors.cpp | 646 if (OrigPhi == dyn_cast<PHINode>(SI->getTrueValue())) in isAnyOfPattern() 649 NonPhi = SI->getTrueValue(); in isAnyOfPattern() 734 Value *TrueVal = SI->getTrueValue(); in isConditionalRdxPattern()
|
| H A D | GlobalsModRef.cpp | 658 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAliasWithLoad() 775 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAlias()
|
| H A D | MemoryBuiltins.cpp | 1026 return combineSizeOffset(computeImpl(I.getTrueValue()), in visitSelectInst() 1253 SizeOffsetValue TrueSide = compute_(I.getTrueValue()); in visitSelectInst()
|
| H A D | Loads.cpp | 88 return isDereferenceableAndAlignedPointer(Sel->getTrueValue(), Alignment, in isDereferenceableAndAlignedPointer()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 693 Value *TrueV = SelI->getTrueValue(); in matchLeftShift() 808 Value *TrueV = SelI->getTrueValue(); in matchRightShift() 1650 Value *X = Sel->getTrueValue(), *Y = Sel->getFalseValue(); in setupPreSimplifier() 1659 Value *Y = Sel->getTrueValue(), *Z = Sel->getFalseValue(); in setupPreSimplifier() 1675 if (SelectInst *Sel0 = dyn_cast<SelectInst>(Sel->getTrueValue())) { in setupPreSimplifier() 1677 return B.CreateSelect(C, Sel0->getTrueValue(), Sel->getFalseValue()); in setupPreSimplifier() 1681 return B.CreateSelect(C, Sel->getTrueValue(), Sel1->getFalseValue()); in setupPreSimplifier()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | CalledValuePropagation.cpp | 304 auto RegT = CVPLatticeKey(I.getTrueValue(), IPOGrouping::Register); in visitSelect()
|
| H A D | FunctionAttrs.cpp | 1084 FlowsToReturn.insert(SI->getTrueValue()); in isFunctionMallocLike() 1200 FlowsToReturn.insert(SI->getTrueValue()); in isReturnNonNull()
|
| H A D | FunctionSpecialization.cpp | 430 : I.getTrueValue(); in visitSelectInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPerfHintAnalysis.cpp | 184 WorkSet.insert(S->getTrueValue()); in isIndirectAccess()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 1292 SelectA->getTrueValue(), SelectB->getTrueValue(), ContextInst, Depth); in getConstantOffsetSelects()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | SafepointIRVerifier.cpp | 356 Worklist.push_back(SI->getTrueValue()); in getBaseType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopUtils.cpp | 1074 if (SI->getTrueValue() == OrigPhi) in createAnyOfTargetReduction() 1079 NewVal = SI->getTrueValue(); in createAnyOfTargetReduction()
|
| H A D | SCCPSolver.cpp | 1380 Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue(); in visitSelectInst() 1388 ValueLatticeElement TVal = getValueState(I.getTrueValue()); in visitSelectInst()
|