Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp665 void applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, bool IsOne,
1591 bool IsOne, in applyUniqueRetValOpt() argument
1598 B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, Call.VTable, in applyUniqueRetValOpt()
1619 auto tryUniqueRetValOptFor = [&](bool IsOne) { in tryUniqueRetValOpt() argument
1622 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt()
1636 Res->Info = IsOne; in tryUniqueRetValOpt()
1642 applyUniqueRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), IsOne, in tryUniqueRetValOpt()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3315 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand() local
3318 if ((IsOne || IsNegOne) && hasNoCarryFlagUses(StoredVal.getValue(1))) { in foldLoadStoreIntoMemOperand()
3320 ((Opc == X86ISD::ADD) == IsOne) in foldLoadStoreIntoMemOperand()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp4884 auto IsOne = MIB.buildICmp( in buildUDivUsingMul() local
4887 return MIB.buildSelect(Ty, IsOne, LHS, Q); in buildUDivUsingMul()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp6077 SDValue IsOne = DAG.getSetCC(dl, SetCCVT, N1, One, ISD::SETEQ); in BuildUDIV() local
6078 return DAG.getSelect(dl, VT, IsOne, N0, Q); in BuildUDIV()
H A DDAGCombiner.cpp4422 SDValue IsOne = DAG.getSetCC(DL, CCVT, N1, One, ISD::SETEQ); in visitSDIVLike() local
4424 SDValue IsOneOrAllOnes = DAG.getNode(ISD::OR, DL, CCVT, IsOne, IsAllOnes); in visitSDIVLike()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DScalarEvolution.cpp4841 bool IsOne = cast<SCEVConstant>(Res.value())->getValue()->isOne(); in visitUnknown() local
4842 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()