Searched refs:IsOne (Results 1 – 5 of 5) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | WholeProgramDevirt.cpp | 613 void applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, bool IsOne, 1515 bool IsOne, in applyUniqueRetValOpt() argument 1520 B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, Call.VTable, in applyUniqueRetValOpt() 1540 auto tryUniqueRetValOptFor = [&](bool IsOne) { in tryUniqueRetValOpt() argument 1543 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt() 1557 Res->Info = IsOne; in tryUniqueRetValOpt() 1563 applyUniqueRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), IsOne, in tryUniqueRetValOpt()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86ISelDAGToDAG.cpp | 3210 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand() local 3213 if ((IsOne || IsNegOne) && hasNoCarryFlagUses(StoredVal.getValue(1))) { in foldLoadStoreIntoMemOperand() 3215 ((Opc == X86ISD::ADD) == IsOne) in foldLoadStoreIntoMemOperand()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 5400 SDValue IsOne = DAG.getSetCC(dl, SetCCVT, N1, One, ISD::SETEQ); in BuildUDIV() local 5401 return DAG.getSelect(dl, VT, IsOne, N0, Q); in BuildUDIV()
|
H A D | DAGCombiner.cpp | 4230 SDValue IsOne = DAG.getSetCC(DL, CCVT, N1, One, ISD::SETEQ); in visitSDIVLike() local 4232 SDValue IsOneOrAllOnes = DAG.getNode(ISD::OR, DL, CCVT, IsOne, IsAllOnes); in visitSDIVLike()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 4348 bool IsOne = cast<SCEVConstant>(Res.getValue())->getValue()->isOne(); in visitUnknown() local 4349 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()
|