Home
last modified time | relevance | path

Searched refs:IsOne (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp666 void applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, bool IsOne,
1695 bool IsOne, in applyUniqueRetValOpt() argument
1702 B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, Call.VTable, in applyUniqueRetValOpt()
1722 auto tryUniqueRetValOptFor = [&](bool IsOne) { in tryUniqueRetValOpt() argument
1725 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt()
1739 Res->Info = IsOne; in tryUniqueRetValOpt()
1745 applyUniqueRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), IsOne, in tryUniqueRetValOpt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3579 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand() local
3582 if ((IsOne || IsNegOne) && hasNoCarryFlagUses(StoredVal.getValue(1))) { in foldLoadStoreIntoMemOperand()
3584 ((Opc == X86ISD::ADD) == IsOne) in foldLoadStoreIntoMemOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5125 auto IsOne = MIB.buildICmp( in buildUDivUsingMul() local
5128 return MIB.buildSelect(Ty, IsOne, LHS, Q); in buildUDivUsingMul()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp6505 SDValue IsOne = DAG.getSetCC(dl, SetCCVT, N1, One, ISD::SETEQ); in BuildUDIV() local
6506 return DAG.getSelect(dl, VT, IsOne, N0, Q); in BuildUDIV()
H A DDAGCombiner.cpp4856 SDValue IsOne = DAG.getSetCC(DL, CCVT, N1, One, ISD::SETEQ); in visitSDIVLike() local
4858 SDValue IsOneOrAllOnes = DAG.getNode(ISD::OR, DL, CCVT, IsOne, IsAllOnes); in visitSDIVLike()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp5000 bool IsOne = cast<SCEVConstant>(*Res)->getValue()->isOne(); in visitUnknown() local
5001 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp13922 bool IsOne = in EmitVectorComparison() local
14007 if (IsOne) in EmitVectorComparison()