Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp697 void applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, bool IsOne,
1738 bool IsOne, in applyUniqueRetValOpt() argument
1745 B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, Call.VTable, in applyUniqueRetValOpt()
1765 auto tryUniqueRetValOptFor = [&](bool IsOne) { in tryUniqueRetValOpt() argument
1768 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt()
1782 Res->Info = IsOne; in tryUniqueRetValOpt()
1788 applyUniqueRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), IsOne, in tryUniqueRetValOpt()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5459 auto IsOne = MIB.buildICmp( in buildUDivorURemUsingMul() local
5462 auto ret = MIB.buildSelect(Ty, IsOne, LHS, Q); in buildUDivorURemUsingMul()
5770 auto IsOne = Builder.buildICmp(CmpInst::Predicate::ICMP_EQ, CCVT, RHS, One); in applySDivByPow2() local
5773 auto IsOneOrMinusOne = Builder.buildOr(CCVT, IsOne, IsMinusOne); in applySDivByPow2()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3707 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand() local
3710 if ((IsOne || IsNegOne) && hasNoCarryFlagUses(StoredVal.getValue(1))) { in foldLoadStoreIntoMemOperand()
3712 ((Opc == X86ISD::ADD) == IsOne) in foldLoadStoreIntoMemOperand()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp4971 bool IsOne = cast<SCEVConstant>(*Res)->getValue()->isOne(); in visitUnknown() local
4972 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp6860 SDValue IsOne = DAG.getSetCC(dl, SetCCVT, N1, One, ISD::SETEQ); in BuildUDIV() local
6861 return DAG.getSelect(dl, VT, IsOne, N0, Q); in BuildUDIV()
H A DDAGCombiner.cpp5159 SDValue IsOne = DAG.getSetCC(DL, CCVT, N1, One, ISD::SETEQ); in visitSDIVLike() local
5161 SDValue IsOneOrAllOnes = DAG.getNode(ISD::OR, DL, CCVT, IsOne, IsAllOnes); in visitSDIVLike()