Searched refs:IsOne (Results 1 – 7 of 7) sorted by relevance
/external/libchrome/base/memory/ |
D | ref_counted.cc | 21 return ref_count_.IsOne(); in HasOneRef()
|
/external/libchrome/base/ |
D | atomic_ref_count.h | 46 bool IsOne() const { return ref_count_.load(std::memory_order_acquire) == 1; } in IsOne() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | WholeProgramDevirt.cpp | 509 void applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, bool IsOne, 1088 bool IsOne, in applyUniqueRetValOpt() argument 1093 B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, in applyUniqueRetValOpt() 1113 auto tryUniqueRetValOptFor = [&](bool IsOne) { in tryUniqueRetValOpt() argument 1116 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt() 1130 Res->Info = IsOne; in tryUniqueRetValOpt() 1136 applyUniqueRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), IsOne, in tryUniqueRetValOpt()
|
/external/llvm/lib/Transforms/IPO/ |
D | WholeProgramDevirt.cpp | 463 auto tryUniqueRetValOptFor = [&](bool IsOne) { in tryUniqueRetValOpt() argument 466 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt() 482 Value *Cmp = B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, in tryUniqueRetValOpt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 405 bool IsOne = CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0); in shouldKeepFDivF32() local 408 return HasDenormals ^ IsOne; in shouldKeepFDivF32()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 4333 bool IsOne = cast<SCEVConstant>(Res.getValue())->getValue()->isOne(); in visitUnknown() local 4334 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 3201 SDValue IsOne = DAG.getSetCC(DL, CCVT, N1, One, ISD::SETEQ); in visitSDIVLike() local 3203 SDValue IsOneOrAllOnes = DAG.getNode(ISD::OR, DL, CCVT, IsOne, IsAllOnes); in visitSDIVLike()
|