Home
last modified time | relevance | path

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

/external/libchrome/base/memory/
Dref_counted.cc21 return ref_count_.IsOne(); in HasOneRef()
/external/libchrome/base/
Datomic_ref_count.h46 bool IsOne() const { return ref_count_.load(std::memory_order_acquire) == 1; } in IsOne() function
/external/abseil-cpp/absl/strings/internal/
Dcord_internal.h71 inline bool IsOne() { return count_.load(std::memory_order_acquire) == 1; } in IsOne() function
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dcord_internal.h71 inline bool IsOne() { return count_.load(std::memory_order_acquire) == 1; } in IsOne() function
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dcord_internal.h73 inline bool IsOne() { return count_.load(std::memory_order_acquire) == 1; } in IsOne() function
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dcord_internal.h73 inline bool IsOne() { return count_.load(std::memory_order_acquire) == 1; } in IsOne() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp550 void applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, bool IsOne,
1313 bool IsOne, in applyUniqueRetValOpt() argument
1318 B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, in applyUniqueRetValOpt()
1338 auto tryUniqueRetValOptFor = [&](bool IsOne) { in tryUniqueRetValOpt() argument
1341 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt()
1355 Res->Info = IsOne; in tryUniqueRetValOpt()
1361 applyUniqueRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), IsOne, in tryUniqueRetValOpt()
/external/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp463 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/openscreen/third_party/abseil/src/absl/strings/internal/
Dcord_internal.h81 inline bool IsOne() { in IsOne() function
/external/llvm-project/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp605 void applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, bool IsOne,
1470 bool IsOne, in applyUniqueRetValOpt() argument
1475 B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, Call.VTable, in applyUniqueRetValOpt()
1495 auto tryUniqueRetValOptFor = [&](bool IsOne) { in tryUniqueRetValOpt() argument
1498 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt()
1512 Res->Info = IsOne; in tryUniqueRetValOpt()
1518 applyUniqueRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), IsOne, in tryUniqueRetValOpt()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord.cc605 while (dst->tag == CONCAT && dst->refcount.IsOne()) { in PrepareAppendRegion()
609 if (dst->tag < FLAT || !dst->refcount.IsOne()) { in PrepareAppendRegion()
766 TagToLength(tree->tag) >= length && tree->refcount.IsOne()) { in operator =()
963 bool inplace_ok = node->refcount.IsOne(); in RemoveSuffixFrom()
976 inplace_ok = inplace_ok && node->refcount.IsOne(); in RemoveSuffixFrom()
1139 if (concat_node->refcount.IsOne()) { in Build()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcord.cc517 while (dst->tag == CONCAT && dst->refcount.IsOne()) { in PrepareAppendRegion()
521 if (dst->tag < FLAT || !dst->refcount.IsOne()) { in PrepareAppendRegion()
709 TagToLength(tree->tag) >= length && tree->refcount.IsOne()) { in operator =()
940 bool inplace_ok = node->refcount.IsOne(); in RemoveSuffixFrom()
953 inplace_ok = inplace_ok && node->refcount.IsOne(); in RemoveSuffixFrom()
1116 if (concat_node->refcount.IsOne()) { in Build()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcord.cc517 while (dst->tag == CONCAT && dst->refcount.IsOne()) { in PrepareAppendRegion()
521 if (dst->tag < FLAT || !dst->refcount.IsOne()) { in PrepareAppendRegion()
709 TagToLength(tree->tag) >= length && tree->refcount.IsOne()) { in operator =()
940 bool inplace_ok = node->refcount.IsOne(); in RemoveSuffixFrom()
953 inplace_ok = inplace_ok && node->refcount.IsOne(); in RemoveSuffixFrom()
1116 if (concat_node->refcount.IsOne()) { in Build()
/external/abseil-cpp/absl/strings/
Dcord.cc605 while (dst->tag == CONCAT && dst->refcount.IsOne()) { in PrepareAppendRegion()
609 if (dst->tag < FLAT || !dst->refcount.IsOne()) { in PrepareAppendRegion()
766 TagToLength(tree->tag) >= length && tree->refcount.IsOne()) { in operator =()
963 bool inplace_ok = node->refcount.IsOne(); in RemoveSuffixFrom()
976 inplace_ok = inplace_ok && node->refcount.IsOne(); in RemoveSuffixFrom()
1139 if (concat_node->refcount.IsOne()) { in Build()
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord.cc514 while (dst->tag == CONCAT && dst->refcount.IsOne()) { in PrepareAppendRegion()
518 if (dst->tag < FLAT || !dst->refcount.IsOne()) { in PrepareAppendRegion()
706 TagToLength(tree->tag) >= length && tree->refcount.IsOne()) { in operator =()
937 bool inplace_ok = node->refcount.IsOne(); in RemoveSuffixFrom()
950 inplace_ok = inplace_ok && node->refcount.IsOne(); in RemoveSuffixFrom()
1113 if (concat_node->refcount.IsOne()) { in Build()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp536 bool IsOne = CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0); in shouldKeepFDivF32() local
539 return HasDenormals ^ IsOne; in shouldKeepFDivF32()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp3087 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand() local
3090 if ((IsOne || IsNegOne) && hasNoCarryFlagUses(StoredVal.getValue(1))) { in foldLoadStoreIntoMemOperand()
3092 ((Opc == X86ISD::ADD) == IsOne) in foldLoadStoreIntoMemOperand()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp3185 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand() local
3188 if ((IsOne || IsNegOne) && hasNoCarryFlagUses(StoredVal.getValue(1))) { in foldLoadStoreIntoMemOperand()
3190 ((Opc == X86ISD::ADD) == IsOne) in foldLoadStoreIntoMemOperand()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp5236 SDValue IsOne = DAG.getSetCC(dl, VT, N1, One, ISD::SETEQ); in BuildUDIV() local
5237 return DAG.getSelect(dl, VT, IsOne, N0, Q); in BuildUDIV()
DDAGCombiner.cpp4127 SDValue IsOne = DAG.getSetCC(DL, CCVT, N1, One, ISD::SETEQ); in visitSDIVLike() local
4129 SDValue IsOneOrAllOnes = DAG.getNode(ISD::OR, DL, CCVT, IsOne, IsAllOnes); in visitSDIVLike()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp4942 SDValue IsOne = DAG.getSetCC(dl, VT, N1, One, ISD::SETEQ); in BuildUDIV() local
4943 return DAG.getSelect(dl, VT, IsOne, N0, Q); in BuildUDIV()
DDAGCombiner.cpp3851 SDValue IsOne = DAG.getSetCC(DL, CCVT, N1, One, ISD::SETEQ); in visitSDIVLike() local
3853 SDValue IsOneOrAllOnes = DAG.getNode(ISD::OR, DL, CCVT, IsOne, IsAllOnes); in visitSDIVLike()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp4362 bool IsOne = cast<SCEVConstant>(Res.getValue())->getValue()->isOne(); in visitUnknown() local
4363 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp4322 bool IsOne = cast<SCEVConstant>(Res.getValue())->getValue()->isOne(); in visitUnknown() local
4323 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()