| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ValueLatticeTest.cpp | 109 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_EQ, I1Ty, LV1)->isOneValue()); in TEST_F() 110 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV1)->isOneValue()); in TEST_F() 111 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV1)->isOneValue()); in TEST_F() 119 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLT, I1Ty, LV2)->isOneValue()); in TEST_F() 120 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV2)->isOneValue()); in TEST_F() 121 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV2)->isOneValue()); in TEST_F() 155 EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_OEQ, I1Ty, LV2)->isOneValue()); in TEST_F() 156 EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_OGE, I1Ty, LV2)->isOneValue()); in TEST_F() 157 EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_OLE, I1Ty, LV2)->isOneValue()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Constant.h | 56 bool isOneValue() const;
|
| H A D | PatternMatch.h | 2524 if (C && C->isOneValue())
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroInstr.h | 459 return cast<Constant>(getArgOperand(FromArg))->isOneValue(); in isFromPromise() 506 return cast<Constant>(getArgOperand(FinalArg))->isOneValue(); in isFinal() 620 return cast<Constant>(getArgOperand(UnwindArg))->isOneValue(); in isUnwind()
|
| /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceOperandsSkip.cpp | 67 if (C->isOneValue()) in classifyReductivePower()
|
| H A D | ReduceOperands.cpp | 37 return C && C->isOneValue(); in isOne()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/LinalgToSPIRV/ |
| H A D | LinalgToSPIRV.cpp | 129 [](const APInt &size) { return !size.isOneValue(); })) in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | LocalTest.cpp | 535 else if (CI.isOneValue()) in doesDebugValueDescribeX() 548 else if (CI.isOneValue()) in doesDebugValueDescribeY()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SimpleLoopUnswitch.cpp | 2095 (PartiallyInvariant && !PartialIVInfo.KnownValue->isOneValue())) { in unswitchNontrivialInvariants() 2930 } else if ((PartialIVInfo.KnownValue->isOneValue() && in unswitchBestCondition() 2932 (!PartialIVInfo.KnownValue->isOneValue() && in unswitchBestCondition()
|
| H A D | CorrelatedValuePropagation.cpp | 235 if (C->isOneValue()) in getValueOnEdge()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/ControlFlow/IR/ |
| H A D | ControlFlowOps.cpp | 447 return condAttr.getValue().isOneValue() ? getTrueDest() : getFalseDest(); in getSuccessorForOperands()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 378 bool isOneValue() const { return isOne(); } in isOneValue() function
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | BranchProbabilityInfo.cpp | 649 (Result->isOneValue() && B == BI->getSuccessor(1)))) in computeUnlikelySuccessors()
|
| H A D | ConstantFolding.cpp | 3094 } else if (MaskElt->isOneValue()) { in ConstantFoldFixedVectorCall()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Constants.cpp | 110 bool Constant::isOneValue() const { in isOneValue() function in Constant 122 return SplatVal->isOneValue(); in isOneValue() 130 return !CI->isOneValue(); in isNotOneValue()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/ |
| H A D | VectorTransforms.cpp | 2343 [](const APInt &val) { return !val.isOneValue(); })) in matchAndRewrite() 2426 [](const APInt &val) { return !val.isOneValue(); })) in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | BuiltinAttributes.cpp | 529 return setBit(rawData, bitPos, value.isOneValue()); in writeBits()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGException.cpp | 2183 C->isOneValue()) { in EnterSEHTryStmt()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/ |
| H A D | SCF.cpp | 1436 condition = condAttr.getValue().isOneValue(); in getSuccessorRegions()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 2030 if (Elt->isOneValue()) { in canonicalizeSelectToShuffle()
|
| H A D | InstCombineCalls.cpp | 1257 bool IntMinIsPoison = cast<Constant>(II->getArgOperand(1))->isOneValue(); in visitCallInst()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APIntTest.cpp | 2923 EXPECT_TRUE(One.isOneValue()); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 4819 if (!magics.IsAdd || Divisor.isOneValue()) { in buildUDivUsingMul()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 8963 if (C && *C && (*C)->isOneValue()) in updateWithSelectInst()
|