Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp666 void applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, bool IsOne,
1687 bool IsOne, in applyUniqueRetValOpt() argument
1694 B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, Call.VTable, in applyUniqueRetValOpt()
1714 auto tryUniqueRetValOptFor = [&](bool IsOne) { in tryUniqueRetValOpt() argument
1717 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt()
1731 Res->Info = IsOne; in tryUniqueRetValOpt()
1737 applyUniqueRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), IsOne, in tryUniqueRetValOpt()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5325 auto IsOne = MIB.buildICmp( in buildUDivUsingMul() local
5328 return MIB.buildSelect(Ty, IsOne, LHS, Q); in buildUDivUsingMul()
5538 auto IsOne = Builder.buildICmp(CmpInst::Predicate::ICMP_EQ, CCVT, RHS, One); in applySDivByPow2() local
5541 auto IsOneOrMinusOne = Builder.buildOr(CCVT, IsOne, IsMinusOne); in applySDivByPow2()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3641 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand() local
3644 if ((IsOne || IsNegOne) && hasNoCarryFlagUses(StoredVal.getValue(1))) { in foldLoadStoreIntoMemOperand()
3646 ((Opc == X86ISD::ADD) == IsOne) in foldLoadStoreIntoMemOperand()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp5005 bool IsOne = cast<SCEVConstant>(*Res)->getValue()->isOne(); in visitUnknown() local
5006 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp6634 SDValue IsOne = DAG.getSetCC(dl, SetCCVT, N1, One, ISD::SETEQ); in BuildUDIV() local
6635 return DAG.getSelect(dl, VT, IsOne, N0, Q); in BuildUDIV()
H A DDAGCombiner.cpp4825 SDValue IsOne = DAG.getSetCC(DL, CCVT, N1, One, ISD::SETEQ); in visitSDIVLike() local
4827 SDValue IsOneOrAllOnes = DAG.getNode(ISD::OR, DL, CCVT, IsOne, IsAllOnes); in visitSDIVLike()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp14975 bool IsOne = in EmitVectorComparison() local
15060 if (IsOne) in EmitVectorComparison()