Searched refs:IsOne (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | WholeProgramDevirt.cpp | 513 void applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, bool IsOne, 1110 bool IsOne, in applyUniqueRetValOpt() argument 1115 B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, in applyUniqueRetValOpt() 1135 auto tryUniqueRetValOptFor = [&](bool IsOne) { in tryUniqueRetValOpt() argument 1138 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt() 1152 Res->Info = IsOne; in tryUniqueRetValOpt() 1158 applyUniqueRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), IsOne, in tryUniqueRetValOpt()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 404 bool IsOne = CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0); in shouldKeepFDivF32() local 407 return HasDenormals ^ IsOne; in shouldKeepFDivF32()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86ISelDAGToDAG.cpp | 2651 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand() local 2654 if ((IsOne || IsNegOne) && hasNoCarryFlagUses(StoredVal.getValue(1))) { in foldLoadStoreIntoMemOperand() 2656 ((Opc == X86ISD::ADD) == IsOne) in foldLoadStoreIntoMemOperand()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 3999 SDValue IsOne = DAG.getSetCC(dl, VT, N1, One, ISD::SETEQ); in BuildUDIV() local 4000 return DAG.getSelect(dl, VT, IsOne, N0, Q); in BuildUDIV()
|
| H A D | DAGCombiner.cpp | 3330 SDValue IsOne = DAG.getSetCC(DL, CCVT, N1, One, ISD::SETEQ); in visitSDIVLike() local 3332 SDValue IsOneOrAllOnes = DAG.getNode(ISD::OR, DL, CCVT, IsOne, IsAllOnes); in visitSDIVLike()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 4338 bool IsOne = cast<SCEVConstant>(Res.getValue())->getValue()->isOne(); in visitUnknown() local 4339 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()
|