Searched refs:isZero (Results 51 - 75 of 189) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp127 assert(!NumBytes.isZero() && "Empty byte arrays aren't allowed.");
161 if (!Size.isZero())
500 !Context.getASTRecordLayout(BaseDecl).getNonVirtualSize().isZero())
H A DCGClass.cpp132 if (CXXThisAlignment.isZero()) {
202 if (Offset.isZero())
235 if (!Offset.isZero()) {
251 assert(!nonVirtualOffset.isZero() || virtualOffset != nullptr);
255 if (!nonVirtualOffset.isZero()) {
337 if (NonVirtualOffset.isZero() && !VBase) {
1952 if (constantCount->isZero()) return;
2303 if (!NonVirtualOffset.isZero())
2505 if (!NonVirtualOffset.isZero() || VirtualOffset)
H A DCGExprCXX.cpp526 if (!SplitBeforeSize.isZero())
532 if (!SplitAfterSize.isZero())
1704 CalculateCookiePadding(*this, E).isZero());
1776 assert((!NumElements && CookieSize.isZero()) ||
1810 if (!CookieSize.isZero())
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h200 bool isZero() const { function in class:llvm::final
314 bool isZero() const { return Val.isZero(); } function in class:llvm::final
H A DOperator.h524 if (C->isZero())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp235 bool IsAPow2 = (ACst && !ACst->isZero() && ACst->getValue().isPowerOf2());
236 bool IsBPow2 = (BCst && !BCst->isZero() && BCst->getValue().isPowerOf2());
238 if (CCst && CCst->isZero()) {
540 if (ECst->isZero()) {
764 (Pred0 == ICmpInst::ICMP_SGE && RangeStart->isZero())))
875 if (!LHSC || !RHSC || !LHSC->isZero() || !RHSC->isZero())
1257 (PredL == ICmpInst::ICMP_EQ && LHSC->isZero())) {
1348 if (LHSC->isZero()) // (X != 0 & X u< C) -> X-1 u< C-1
2390 if (PredL == ICmpInst::ICMP_EQ && LHSC && LHSC->isZero()) {
[all...]
H A DInstCombineAddSub.cpp73 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); } function in class:__anon4559::FAddendCoef
141 bool isZero() const { return Coeff.isZero(); } function in class:__anon4559::FAddend
358 if ((C0 = dyn_cast<ConstantFP>(Opnd0)) && C0->isZero())
361 if ((C1 = dyn_cast<ConstantFP>(Opnd1)) && C1->isZero())
572 if (!R.isZero()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp720 if (CI->isZero() && !(BO->getOpcode() == Instruction::Sub && OpNo == 0))
856 if (CI->isZero())
917 if (CI->isZero())
H A DFloat2Int.cpp320 (F.isZero() && F.isNegative() && isa<FPMathOperator>(I) &&
H A DNaryReassociate.cpp440 if (SE->getSCEV(I)->isZero())
H A DGVN.cpp1434 if (isa<ConstantFP>(LHS) && !cast<ConstantFP>(LHS)->isZero())
1436 if (isa<ConstantFP>(RHS) && !cast<ConstantFP>(RHS)->isZero())
1460 if (isa<ConstantFP>(LHS) && !cast<ConstantFP>(LHS)->isZero())
1462 if (isa<ConstantFP>(RHS) && !cast<ConstantFP>(RHS)->isZero())
1484 if (Cond->isZero()) {
H A DIndVarSimplify.cpp1981 if (BestInit->isZero() != Init->isZero()) {
1982 if (BestInit->isZero())
2428 if (ExitCount->isZero()) {
2758 if (ExitCount->isZero())
H A DInductiveRangeCheckElimination.cpp870 assert(!StepCI->isZero() && "Zero step?");
1623 assert(!B->isZero() && "Recurrence with zero step?");
1630 assert(!D->getValue()->isZero() && "Recurrence with zero step?");
H A DLoopIdiomRecognize.cpp1225 if (!CmpZero || !CmpZero->isZero())
1733 if (!InitConst || !InitConst->isZero())
1805 if (!InitConst || !InitConst->isZero()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.h94 template <typename T> inline bool IsTrue(const T &V) { return !V.isZero(); }
199 if (LHS.isZero() && RHS.isZero()) {
731 if (Offset.isZero()) {
732 S.Stk.push<Pointer>(Index.isZero() ? Ptr.atIndex(0) : Ptr);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DVTableBuilder.cpp56 bool isEmpty() const { return NonVirtualOffset.isZero() && !VirtualBase; }
635 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() &&
644 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() &&
691 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() &&
1381 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() &&
1395 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() &&
1455 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() &&
1470 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() &&
2742 if (LastVBaseOffset.isZero()) {
3671 if (!I.second.VFPtrOffset.isZero() ||
[all...]
H A DAPValue.cpp453 if (!O.isZero()) {
480 if (!O.isZero()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp904 if ((CF && CF->isZero()) || (CINT && ci_opr1 == 0) || CZero) {
1213 if ((CF0 && CF0->isZero()) || (CF1 && CF1->isZero())) {
1236 if (CF->isZero()) {
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DObjCLanguage.cpp1112 bool isZero = valobj.GetValueAsUnsigned(0, &canReadValue) == 0; local
1113 return canReadValue && isZero;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp396 if (OldReachableSum.isZero()) {
803 } else if (CV->isZero()) {
H A DLoopInfo.cpp160 if (CI->isZero())
408 if (!Init || !Init->isZero())
H A DMemoryBuiltins.cpp530 bool MaxVal = cast<ConstantInt>(ObjectSize->getArgOperand(1))->isZero();
544 bool StaticOnly = cast<ConstantInt>(ObjectSize->getArgOperand(3))->isZero();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp108 if (C.isZero())
242 Record.MappingRegions[0].Count.isZero() && Counts[0] > 0)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp469 BucketChain.Elements[j].Offset->isZero())
627 if (!I->Offset || I->Offset->getValue()->isZero()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitSimplify.cpp205 static bool isZero(const BitTracker::RegisterCell &RC, uint16_t B,
330 bool HexagonBitSimplify::isZero(const BitTracker::RegisterCell &RC, function in class:HexagonBitSimplify
2050 if (!matchHalf(RD.Reg, RC, 0, L) || !HBS::isZero(RC, 16, 16))
2639 return !Op.getCImm()->isZero();
2641 return !Op.getFPImm()->isZero();
2651 return Op.getCImm()->isZero();
2653 return Op.getFPImm()->isZero();

Completed in 473 milliseconds

12345678