Home
last modified time | relevance | path

Searched refs:isZeroValue (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DValueLatticeTest.cpp112 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV1)->isZeroValue()); in TEST_F()
113 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLT, I1Ty, LV1)->isZeroValue()); in TEST_F()
114 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGT, I1Ty, LV1)->isZeroValue()); in TEST_F()
122 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_EQ, I1Ty, LV2)->isZeroValue()); in TEST_F()
123 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV2)->isZeroValue()); in TEST_F()
124 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGT, I1Ty, LV2)->isZeroValue()); in TEST_F()
158 EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_ONE, I1Ty, LV2)->isZeroValue()); in TEST_F()
159 EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_OLT, I1Ty, LV2)->isZeroValue()); in TEST_F()
160 EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_OGT, I1Ty, LV2)->isZeroValue()); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstant.h71 bool isZeroValue() const;
/llvm-project-15.0.7/llvm/include/llvm/Analysis/Utils/
H A DLocal.h51 if (OpC->isZeroValue())
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp254 bool IsZeroValue = Init->isZeroValue(); in lowerPrintfForGpu()
426 bool IsZeroValue = Init->isZeroValue(); in lowerPrintfForGpu()
H A DAMDGPUInstCombineIntrinsic.cpp902 if (BC->isZeroValue() || RM->getZExtValue() != 0xF || in instCombineIntrinsic()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp349 if (Cst->isZeroValue()) in shouldConvertImpl()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMustExecute.cpp151 return SimpleCst->isZeroValue(); in CanProveNotTakenFirstIteration()
H A DLint.cpp542 if (C->isZeroValue()) in isZero()
H A DBranchProbabilityInfo.cpp648 ((Result->isZeroValue() && B == BI->getSuccessor(0)) || in computeUnlikelySuccessors()
H A DValueTracking.cpp1371 if (CIndex && CIndex->isZeroValue()) in computeKnownBitsFromOperator()
/llvm-project-15.0.7/polly/lib/Support/
H A DSCEVValidator.cpp419 if (!CI || CI->isZeroValue()) in visitSRemInstruction()
/llvm-project-15.0.7/polly/lib/Transform/
H A DZoneAlgo.cpp438 if (WrittenConstant && WrittenConstant->isZeroValue()) { in getWrittenValue()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp780 if (!isa<UndefValue>(IncValue) && !IncConst->isZeroValue()) in optimizeAMXCastFromPhi()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp237 if (C->isZeroValue()) in getValueOnEdge()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp711 (Inc->getIndex()->isZeroValue() && AtomicFirstCounter)) { in lowerIncrement()
H A DDataFlowSanitizer.cpp2148 if (!ConstantShadow || !ConstantShadow->isZeroValue()) in loadShadowOrigin()
2328 if (!ConstantShadow->isZeroValue()) in storeOrigin()
H A DMemorySanitizer.cpp1156 if (ClCheckConstantShadow && !ConstantShadow->isZeroValue()) in storeOrigin()
1228 if (ClCheckConstantShadow && !ConstantShadow->isZeroValue()) { in materializeOneCheck()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDecl.cpp1055 if (constant->isZeroValue()) in constStructWithPadding()
1886 if (constant && !constant->isZeroValue() && in EmitAutoVarInit()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1379 SecName = Global.getInitializer()->isZeroValue() ? ".bss" : ".data"; in processGlobals()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp961 return C->isZeroValue(); in isZero()
H A DHexagonISelLowering.cpp1125 NewConst.push_back(IRB.getInt8(CV->getOperand(i)->isZeroValue())); in LowerConstantPool()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1972 if (Cmp->isZeroValue()) { in visitAnd()
3696 assert(!C1->isZeroValue() && "Unexpected xor with 0"); in visitXor()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstants.cpp62 bool Constant::isZeroValue() const { in isZeroValue() function in Constant
H A DAutoUpgrade.cpp3921 if (Offset->isZeroValue()) { in UpgradeIntrinsicCall()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp8965 else if (C && *C && (*C)->isZeroValue()) in updateWithSelectInst()

12