| /freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ProvenanceAnalysis.cpp | 46 return related(A->getTrueValue(), SB->getTrueValue()) || in relatedSelect() 50 return related(A->getTrueValue(), B) || related(A->getFalseValue(), B); in relatedSelect()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 844 Value *T = Sel.getTrueValue(); in foldSetClearBits() 883 auto *TrueVal = SI.getTrueValue(); in foldSelectZeroOrMul() 1339 Value *TrueVal = Sel.getTrueValue(), *FalseVal = Sel.getFalseValue(); in foldSelectValueEquivalence() 1445 Value *XeqY, *XeqZ = Sel.getCondition(), *YeqZ = Sel.getTrueValue(); in foldSelectEqualityTest() 1487 Value *X = Sel0.getTrueValue(); in canonicalizeClampLike() 1767 Value *TVal = SI.getTrueValue(); in foldSelectInstWithICmpConst() 1865 Value *TrueVal = SI.getTrueValue(); in foldSelectICmpEq() 1977 canonicalizeSPF(*ICI, SI.getTrueValue(), SI.getFalseValue(), *this)) in foldSelectInstWithICmp() 1992 Value *TrueVal = SI.getTrueValue(); in foldSelectInstWithICmp() 2080 Value *TrueVal = SI.getTrueValue(); in foldAddSubSelect() [all …]
|
| H A D | InstCombineNegator.cpp | 212 if (match(Sel->getTrueValue(), m_ImmConstant(TrueC)) && in visitImpl() 337 Value *TV = NewSelect->getTrueValue(); in visitImpl()
|
| H A D | InstCombineLoadStoreAlloca.cpp | 320 auto *TrueInst = dyn_cast<Instruction>(SI->getTrueValue()); in collectUsers() 424 Value *TrueValue = SI->getTrueValue(); in replace() 829 Worklist.push_back(SI->getTrueValue()); in isObjectSizeLessThanOrEq()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SelectOptimize.cpp | 156 Value *getTrueValue(bool HonorInverts = true) const { in getTrueValue() function in __anon135b54a50111::SelectOptimizeImpl::SelectLike 160 return Sel->getTrueValue(); in getTrueValue() 174 return getTrueValue(/*HonorInverts=*/false); in getFalseValue() 192 auto *V = IsTrue ? getTrueValue() : getFalseValue(); in getOpCostOnBranch() 483 Value *V = isTrue ? SI.getTrueValue() : SI.getFalseValue(); in getTrueOrFalseValue() 565 if (auto *TI = dyn_cast_or_null<Instruction>(SI.getTrueValue())) { in convertProfitableSIGroups() 665 if ((IsTrue ? SL.getTrueValue() : SL.getFalseValue()) == nullptr) in convertProfitableSIGroups() 1098 ColdI = dyn_cast_or_null<Instruction>(SI.getTrueValue()); in hasExpensiveColdOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 808 getBlockValue(SI->getTrueValue(), BB, SI); in solveBlockValueSelect() 828 ((LHS == SI->getTrueValue() && RHS == SI->getFalseValue()) || in solveBlockValueSelect() 829 (RHS == SI->getTrueValue() && LHS == SI->getFalseValue()))) { in solveBlockValueSelect() 850 if (LHS == SI->getTrueValue()) in solveBlockValueSelect() 860 if (LHS == SI->getTrueValue()) in solveBlockValueSelect() 877 TrueVal.intersect(*getValueFromCondition(SI->getTrueValue(), Cond, in solveBlockValueSelect() 947 Constant *TrueC = dyn_cast<Constant>(Y->getTrueValue()); in solveBlockValueBinaryOpImpl()
|
| H A D | GlobalsModRef.cpp | 666 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAliasWithLoad() 798 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAlias()
|
| H A D | IVDescriptors.cpp | 645 if (OrigPhi == dyn_cast<PHINode>(SI->getTrueValue())) in isAnyOfPattern() 648 NonPhi = SI->getTrueValue(); in isAnyOfPattern() 859 Value *TrueVal = SI->getTrueValue(); in isConditionalRdxPattern()
|
| H A D | BasicAliasAnalysis.cpp | 798 Worklist.push_back(SI->getTrueValue()); in getModRefInfoMask() 1421 AAQI.AAR.alias(MemoryLocation(SI->getTrueValue(), SISize), in aliasSelect() 1422 MemoryLocation(SI2->getTrueValue(), V2Size), AAQI); in aliasSelect() 1433 AliasResult Alias = AAQI.AAR.alias(MemoryLocation(SI->getTrueValue(), SISize), in aliasSelect()
|
| H A D | MemoryBuiltins.cpp | 698 aggregatePossibleConstantValuesImpl(SI->getTrueValue(), EvalMode, in aggregatePossibleConstantValuesImpl() 1162 return combineOffsetRange(computeImpl(I.getTrueValue()), in visitSelectInst() 1395 SizeOffsetValue TrueSide = compute_(I.getTrueValue()); in visitSelectInst()
|
| H A D | Loads.cpp | 121 return isDereferenceableAndAlignedPointer(Sel->getTrueValue(), Alignment, in isDereferenceableAndAlignedPointer()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DFAJumpThreading.cpp | 216 Value *SIOp1 = SI->getTrueValue(); in unfold() 297 Value *TrueVal = SI->getTrueValue(); in unfold() 479 addToQueue(SelI->getTrueValue(), CurrentIncomingBB, Q, SeenValues); in isCandidate() 545 if (PrevSI->getTrueValue() != SI && PrevSI->getFalseValue() != SI && in isValidSelectInst()
|
| H A D | CorrelatedValuePropagation.cpp | 133 U.set(CI->isOne() ? S->getTrueValue() : S->getFalseValue()); in processSelect() 226 return SI->getTrueValue(); in getValueOnEdge() 242 return SI->getTrueValue(); in getValueOnEdge() 246 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 | SROA.cpp | 1716 for (Value *Value : {SI.getTrueValue(), SI.getFalseValue()}) in isSafeLoadOfSelectToSpeculate() 1719 Spec.setAsSpeculatable(/*isTrueVal=*/Value == SI.getTrueValue()); in isSafeLoadOfSelectToSpeculate() 1777 Value *TV = SI.getTrueValue(); in speculateSelectInstLoads() 3724 assert((SI.getTrueValue() == OldPtr || SI.getFalseValue() == OldPtr) && in visitSelectInst() 4073 if (!isa<ConstantInt>(SI->getTrueValue()) || in unfoldGEPSelect() 4111 True = SI->getTrueValue(); in unfoldGEPSelect()
|
| H A D | JumpThreading.cpp | 869 Constant *TrueVal = getKnownConstant(SI->getTrueValue(), Preference); in computeValueKnownInPredecessorsImpl() 2813 SIUse->addIncoming(SI->getTrueValue(), NewBB); in unfoldSelectInstr() 3014 NewPN->addIncoming(SI->getTrueValue(), Term->getParent()); in tryToUnfoldSelectInCurrBB()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 683 Value *TrueV = SelI->getTrueValue(); in matchLeftShift() 797 Value *TrueV = SelI->getTrueValue(); in matchRightShift() 1630 Value *X = Sel->getTrueValue(), *Y = Sel->getFalseValue(); in setupPreSimplifier() 1639 Value *Y = Sel->getTrueValue(), *Z = Sel->getFalseValue(); in setupPreSimplifier() 1655 if (SelectInst *Sel0 = dyn_cast<SelectInst>(Sel->getTrueValue())) { in setupPreSimplifier() 1657 return B.CreateSelect(C, Sel0->getTrueValue(), Sel->getFalseValue()); in setupPreSimplifier() 1661 return B.CreateSelect(C, Sel->getTrueValue(), Sel1->getFalseValue()); in setupPreSimplifier()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/Transforms/ |
| H A D | CIRSimplify.cpp | 129 mlir::Operation *trueValueOp = op.getTrueValue().getDefiningOp(); in matchAndRewrite()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | CalledValuePropagation.cpp | 309 auto RegT = CVPLatticeKey(I.getTrueValue(), IPOGrouping::Register); in visitSelect()
|
| H A D | FunctionSpecialization.cpp | 459 : I.getTrueValue(); in visitSelectInst() 463 if ((I.getTrueValue() == LastVisited->first && Condition->isOneValue()) || in visitSelectInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPerfHintAnalysis.cpp | 181 WorkSet.insert(S->getTrueValue()); in isIndirectAccess()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/ |
| H A D | CIRDialect.cpp | 1606 return conditionValue ? getTrueValue() : getFalseValue(); in fold() 1610 mlir::Attribute trueValue = adaptor.getTrueValue(); in fold() 1614 if (getTrueValue() == getFalseValue()) in fold() 1615 return getTrueValue(); in fold()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerArgs.cpp | 283 if (SI->getTrueValue() == I.OldUse->get()) in INITIALIZE_PASS_DEPENDENCY()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 1305 SelectA->getTrueValue(), SelectB->getTrueValue(), ContextInst, Depth); in getConstantOffsetSelects()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | SafepointIRVerifier.cpp | 357 Worklist.push_back(SI->getTrueValue()); in getBaseType()
|