Home
last modified time | relevance | path

Searched refs:getTrueValue (Results 1 – 25 of 56) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysis.cpp47 return related(A->getTrueValue(), SB->getTrueValue()) || in relatedSelect()
51 return related(A->getTrueValue(), B) || related(A->getFalseValue(), B); in relatedSelect()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp125 if (!match(Sel.getTrueValue(), m_APInt(SelTC)) || in foldSelectICmpAnd()
821 Value *T = Sel.getTrueValue(); in foldSetClearBits()
860 auto *TrueVal = SI.getTrueValue(); in foldSelectZeroOrMul()
1292 Value *TrueVal = Sel.getTrueValue(), *FalseVal = Sel.getFalseValue(); in foldSelectValueEquivalence()
1396 Value *X = Sel0.getTrueValue(); in canonicalizeClampLike()
1677 Value *TVal = SI.getTrueValue(); in foldSelectInstWithICmpConst()
1723 Value *TrueVal = SI.getTrueValue(); in foldSelectICmpEq()
1827 canonicalizeSPF(*ICI, SI.getTrueValue(), SI.getFalseValue(), *this)) in foldSelectInstWithICmp()
1845 Value *TrueVal = SI.getTrueValue(); in foldSelectInstWithICmp()
2026 Value *TrueVal = SI.getTrueValue(); in foldAddSubSelect()
[all …]
H A DInstCombineNegator.cpp216 if (match(Sel->getTrueValue(), m_ImmConstant(TrueC)) && in visitImpl()
338 Value *TV = NewSelect->getTrueValue(); in visitImpl()
H A DInstCombineLoadStoreAlloca.cpp323 if (!isa<Instruction>(SI->getTrueValue()) || in collectUsersRecursive()
327 if (!isAvailable(cast<Instruction>(SI->getTrueValue())) || in collectUsersRecursive()
397 Value *TrueValue = SI->getTrueValue(); in replace()
821 Worklist.push_back(SI->getTrueValue()); in isObjectSizeLessThanOrEq()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp207 Value *getTrueValue(bool HonorInverts = true) const { in getTrueValue() function in __anon135b54a50111::SelectOptimizeImpl::SelectLike
211 return Sel->getTrueValue(); in getTrueValue()
225 return getTrueValue(/*HonorInverts=*/false); in getFalseValue()
247 if (auto *I = dyn_cast<Instruction>(getTrueValue())) in getTrueOpCost()
541 V = (isTrue ? DefSI->getTrueValue() : DefSI->getFalseValue()); in getTrueOrFalseValue()
543 V = (!isTrue ? DefSI->getTrueValue() : DefSI->getFalseValue()); in getTrueOrFalseValue()
604 if (auto *TI = dyn_cast_or_null<Instruction>(SI.getTrueValue())) { in convertProfitableSIGroups()
982 ColdI = dyn_cast_or_null<Instruction>(SI.getTrueValue()); in hasExpensiveColdOperand()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp226 if (SelectInst *SIOp = dyn_cast<SelectInst>(SI->getTrueValue())) { in unfold()
260 SIUse->addIncoming(SI->getTrueValue(), TrueBlock); in unfold()
277 Value *SIOp1 = SI->getTrueValue(); in unfold()
450 addToQueue(SelI->getTrueValue(), CurrentIncomingBB, Q, SeenValues); in isCandidate()
518 if (PrevSI->getTrueValue() != SI && PrevSI->getFalseValue() != SI && in isValidSelectInst()
H A DCorrelatedValuePropagation.cpp134 U.set(CI->isOne() ? S->getTrueValue() : S->getFalseValue()); in processSelect()
227 return SI->getTrueValue(); in getValueOnEdge()
243 return SI->getTrueValue(); in getValueOnEdge()
247 if (auto *C = dyn_cast<Constant>(SI->getTrueValue())) in getValueOnEdge()
H A DLoopDeletion.cpp203 auto *Selected = C->isAllOnesValue() ? Select->getTrueValue() in getValueOnFirstIteration()
H A DSROA.cpp1689 for (Value *Value : {SI.getTrueValue(), SI.getFalseValue()}) in isSafeLoadOfSelectToSpeculate()
1692 Spec.setAsSpeculatable(/*isTrueVal=*/Value == SI.getTrueValue()); in isSafeLoadOfSelectToSpeculate()
1750 Value *TV = SI.getTrueValue(); in speculateSelectInstLoads()
3632 assert((SI.getTrueValue() == OldPtr || SI.getFalseValue() == OldPtr) && in visitSelectInst()
3950 if (!isa<ConstantInt>(Sel->getTrueValue()) || in unfoldGEPSelect()
3977 Value *True = Sel->getTrueValue(); in unfoldGEPSelect()
H A DJumpThreading.cpp872 Constant *TrueVal = getKnownConstant(SI->getTrueValue(), Preference); in computeValueKnownInPredecessorsImpl()
2776 SIUse->addIncoming(SI->getTrueValue(), NewBB); in unfoldSelectInstr()
2975 NewPN->addIncoming(SI->getTrueValue(), Term->getParent()); in tryToUnfoldSelectInCurrBB()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp848 getBlockValue(SI->getTrueValue(), BB, SI); in solveBlockValueSelect()
868 ((LHS == SI->getTrueValue() && RHS == SI->getFalseValue()) || in solveBlockValueSelect()
869 (RHS == SI->getTrueValue() && LHS == SI->getFalseValue()))) { in solveBlockValueSelect()
890 if (LHS == SI->getTrueValue()) in solveBlockValueSelect()
900 if (LHS == SI->getTrueValue()) in solveBlockValueSelect()
917 intersect(TrueVal, *getValueFromCondition(SI->getTrueValue(), Cond, in solveBlockValueSelect()
H A DIVDescriptors.cpp645 if (OrigPhi == dyn_cast<PHINode>(SI->getTrueValue())) in isAnyOfPattern()
648 NonPhi = SI->getTrueValue(); in isAnyOfPattern()
733 Value *TrueVal = SI->getTrueValue(); in isConditionalRdxPattern()
H A DBasicAliasAnalysis.cpp793 Worklist.push_back(SI->getTrueValue()); in getModRefInfoMask()
1392 AAQI.AAR.alias(MemoryLocation(SI->getTrueValue(), SISize), in aliasSelect()
1393 MemoryLocation(SI2->getTrueValue(), V2Size), AAQI); in aliasSelect()
1404 AliasResult Alias = AAQI.AAR.alias(MemoryLocation(SI->getTrueValue(), SISize), in aliasSelect()
H A DGlobalsModRef.cpp666 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAliasWithLoad()
783 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAlias()
H A DMemoryBuiltins.cpp1026 return combineSizeOffset(computeImpl(I.getTrueValue()), in visitSelectInst()
1253 SizeOffsetValue TrueSide = compute_(I.getTrueValue()); in visitSelectInst()
H A DLoads.cpp88 return isDereferenceableAndAlignedPointer(Sel->getTrueValue(), Alignment, in isDereferenceableAndAlignedPointer()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp693 Value *TrueV = SelI->getTrueValue(); in matchLeftShift()
807 Value *TrueV = SelI->getTrueValue(); in matchRightShift()
1644 Value *X = Sel->getTrueValue(), *Y = Sel->getFalseValue(); in setupPreSimplifier()
1653 Value *Y = Sel->getTrueValue(), *Z = Sel->getFalseValue(); in setupPreSimplifier()
1669 if (SelectInst *Sel0 = dyn_cast<SelectInst>(Sel->getTrueValue())) { in setupPreSimplifier()
1671 return B.CreateSelect(C, Sel0->getTrueValue(), Sel->getFalseValue()); in setupPreSimplifier()
1675 return B.CreateSelect(C, Sel->getTrueValue(), Sel1->getFalseValue()); in setupPreSimplifier()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp305 auto RegT = CVPLatticeKey(I.getTrueValue(), IPOGrouping::Register); in visitSelect()
H A DFunctionAttrs.cpp1084 FlowsToReturn.insert(SI->getTrueValue()); in isFunctionMallocLike()
1200 FlowsToReturn.insert(SI->getTrueValue()); in isReturnNonNull()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp184 WorkSet.insert(S->getTrueValue()); in isIndirectAccess()
H A DAMDGPULowerBufferFatPointers.cpp844 Value *TrueVal = rsrcPartRoot(SI->getTrueValue()); in getPossibleRsrcRoots()
1497 Value *True = SI.getTrueValue(); in visitSelectInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1291 SelectA->getTrueValue(), SelectB->getTrueValue(), ContextInst, Depth); in getConstantOffsetSelects()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DSafepointIRVerifier.cpp356 Worklist.push_back(SI->getTrueValue()); in getBaseType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1193 if (SI->getTrueValue() == OrigPhi) in createAnyOfTargetReduction()
1198 NewVal = SI->getTrueValue(); in createAnyOfTargetReduction()
H A DSCCPSolver.cpp1418 Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue(); in visitSelectInst()
1426 ValueLatticeElement TVal = getValueState(I.getTrueValue()); in visitSelectInst()

123