| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueLattice.h | 235 bool isUndef() const { return Tag == undef; } in isUndef() function 306 if (isUndef()) in markUndef() 328 assert(isUnknown() || isUndef()); 369 (isUndef() || isConstantRangeIncludingUndef() || Opts.MayIncludeUndef) 388 assert(isUnknown() || isUndef() || isConstant()); 409 if (isUndef()) { 411 if (RHS.isUndef()) 430 if (RHS.isUndef()) 455 if (RHS.isUndef()) {
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineInstrBundle.cpp | 162 if (MO.isUndef()) in finalizeBundle() 210 bool isUndef = UndefUseSet.contains(Reg); in finalizeBundle() local 211 MIB.addReg(Reg, getKillRegState(isKill) | getUndefRegState(isUndef) | in finalizeBundle() 299 if (SubReg == 0 && MO.isUse() && !MO.isUndef()) in AnalyzeVirtRegLanesInBundle() 304 if (!MO.isUndef()) in AnalyzeVirtRegLanesInBundle() 307 } else if (!MO.isUndef()) in AnalyzeVirtRegLanesInBundle()
|
| H A D | MachineSSAContext.cpp | 57 static bool isUndef(const MachineInstr &MI) { in isUndef() function 78 if (Incoming != This && !isUndef(*MRI.getVRegDef(Incoming))) { in isConstantOrUndefValuePhi()
|
| H A D | BreakFalseDeps.cpp | 117 assert(MO.isUndef() && "Expected undef machine operand"); in pickBestRegisterForUndef() 143 if (CurrMO.isUndef() || !OpRC->contains(CurrMO.getReg())) in pickBestRegisterForUndef() 197 if (!MO.isReg() || !MO.getReg() || !MO.isUse() || !MO.isUndef()) in processDefs()
|
| H A D | RegAllocFast.cpp | 995 assert(MO.isUndef() && "expected undef use"); in allocVirtRegUndef() 1057 if (MO.getSubReg() && !MO.isUndef()) { in defineLiveThroughVirtReg() 1274 if (MO.isDef() && MO.isUndef()) { in setPhysReg() 1423 (MO0.getSubReg() == 0 && !MO0.isUndef()); in findAndSortDefOperandIndexes() 1425 (MO1.getSubReg() == 0 && !MO1.isUndef()); in findAndSortDefOperandIndexes() 1444 return !TiedMO.isUndef(); in isTiedToNotUndef() 1489 if (isTiedToNotUndef(MO) || (MO.getSubReg() != 0 && !MO.isUndef())) in allocateInstruction() 1534 (MO.getSubReg() && !MO.isUndef())) { in allocateInstruction() 1639 if (MO.isUndef()) { in allocateInstruction() 1665 assert(MO.isUndef() && "Should only have undef virtreg uses left"); in allocateInstruction()
|
| H A D | InitUndef.cpp | 131 if (UseMO.isUndef() || findImplictDefMIFromReg(UseMO.getReg(), MRI)) in handleReg() 217 if (MO.isUndef()) in fixupIllOperand()
|
| H A D | PHIElimination.cpp | 336 if (!isImplicitlyDefined(MO.getReg(), MRI) && !MO.isUndef()) in allPhiOperandsUndefined() 533 if (!MPhi->getOperand(i).isUndef()) { in LowerPHINode() 547 bool SrcUndef = MPhi->getOperand(i * 2 + 1).isUndef() || in LowerPHINode() 751 if (!BBI.getOperand(i).isUndef()) { in analyzePHINodes()
|
| H A D | VirtRegMap.cpp | 455 if (MO.isUndef()) in readsUndefSubreg() 498 if (MI.getOperand(1).isUndef() || MI.getNumOperands() > 2) { in handleIdentityCopy() 693 if (MO.isUndef()) { in rewrite()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueLattice.cpp | 24 if (isUndef() || Other.isUndef()) in getCompare() 115 if (Val.isUndef()) in operator <<()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefResultChecker.cpp | 62 if (C.getSVal(B).isUndef()) { in checkPostStmt() 81 if (C.getSVal(B->getLHS()).isUndef()) { in checkPostStmt() 85 else if (C.getSVal(B->getRHS()).isUndef()) { in checkPostStmt()
|
| H A D | UndefinedAssignmentChecker.cpp | 37 if (!val.isUndef()) in checkBind() 68 if (C.getSVal(B->getLHS()).isUndef()) { in checkBind()
|
| H A D | CallAndMessageChecker.cpp | 219 if (PSV.isUndef()) { in uninitRefOrPointer() 266 if (V.isUndef()) in Find() 294 if (V.isUndef()) { in PreVisitProcessArg() 375 if (L.isUndef()) { in checkFunctionPointerCall() 446 if (V.isUndef()) { in checkCXXMethodCall() 483 if (!Arg.isUndef()) in checkCXXDeallocation() 577 if (recVal.isUndef()) { in checkPreObjCMessage()
|
| H A D | UndefinedNewArraySizeChecker.cpp | 48 if (SizeVal.isUndef()) in checkPreCall()
|
| H A D | AssumeModeling.cpp | 68 if (Arg.isUndef()) in evalCall()
|
| H A D | DereferenceChecker.cpp | 275 if (l.isUndef()) { in checkLocation() 328 if (V.isUndef()) in checkBind()
|
| H A D | CStringChecker.cpp | 472 State->getSVal(*FirstElementVal).isUndef()) { in checkInit() 528 State->getSVal(LastElementVal.castAs<Loc>()).isUndef()) { in checkInit() 965 assert(!strLength.isUndef() && "Attempt to set an undefined string length"); in setCStringLength() 1728 if (strLength.isUndef()) in evalstrLengthCommon() 1904 if (strLength.isUndef()) in evalStrcpyCommon() 2019 if (dstStrLength.isUndef()) in evalStrcpyCommon() 2102 if (dstStrLength.isUndef()) in evalStrcpyCommon() 2130 assert(!finalStrLength.isUndef()); in evalStrcpyCommon() 2355 if (LeftLength.isUndef()) in evalStrcmpCommon() 2360 if (RightLength.isUndef()) in evalStrcmpCommon()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCVSXFMAMutate.cpp | 221 bool AddRegUndef = AddendMI->getOperand(1).isUndef(); in processBlock() 222 bool KilledProdRegUndef = MI.getOperand(KilledProdOp).isUndef(); in processBlock() 223 bool OtherProdRegUndef = MI.getOperand(OtherProdOp).isUndef(); in processBlock()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SVals.h | 107 bool isUndef() const { return getKind() == UndefinedValKind; } in isUndef() function 109 bool isUnknownOrUndef() const { return isUnknown() || isUndef(); } in isUnknownOrUndef() 206 bool isUndef() const = delete; 209 static bool classof(SVal V) { return !V.isUndef(); } in classof()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 197 while (i != e && N->getOperand(i).isUndef()) in isConstantSplatVectorAllOnes() 223 if (N->getOperand(i) != NotZero && !N->getOperand(i).isUndef()) in isConstantSplatVectorAllOnes() 242 if (Op.isUndef()) in isConstantSplatVectorAllZeros() 280 if (Op.isUndef()) in isBuildVectorOfConstantSDNodes() 293 if (Op.isUndef()) in isBuildVectorOfConstantFPSDNodes() 323 if (Op.isUndef()) in isVectorShrinkable() 344 return all_of(N->op_values(), [](SDValue Op) { return Op.isUndef(); }); in allOperandsUndef() 348 return N->getOpcode() == ISD::FREEZE && N->getOperand(0).isUndef(); in isFreezeUndef() 366 if (AllowUndefs && Op.getOperand(i).isUndef()) { in matchUnaryPredicateImpl() 407 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate() [all …]
|
| H A D | DAGCombiner.cpp | 1066 if (Op.isUndef()) in isConstantOrConstantVector() 2160 if (Operand.isUndef()) { in visitFCANONICALIZE() 2804 if (N0.isUndef()) in visitADDLike() 2806 if (N1.isUndef()) in visitADDLike() 3186 if (N0.isUndef() || N1.isUndef()) in visitADDSAT() 4256 if (N0.isUndef()) in visitSUB() 4258 if (N1.isUndef()) in visitSUB() 4471 if (N0.isUndef() || N1.isUndef()) in visitSUBSAT() 4624 if (N0.isUndef() || N1.isUndef()) in visitMULFIX() 4649 if (N0.isUndef() || N1.isUndef()) in visitMUL() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 403 bool isUndef() const { in isUndef() function 468 return !isUndef() && !isInternalRead() && (isUse() || getSubReg()); in readsReg() 813 bool isUndef = false, bool isDebug = false); 844 bool isUndef = false, 856 Op.IsUndef = isUndef;
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineObjC.cpp | 202 if (!recVal.isUndef()) { in VisitObjCMessage() 266 if (!recVal.isUndef()) { in VisitObjCMessage()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTfrCleanup.cpp | 232 IsUndef = MI->getOperand(1).isUndef(); in eraseIfRedundant() 239 IsUndef = MI->getOperand(2).isUndef(); in eraseIfRedundant()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 371 bool isUndef() const { return !IsConst && ID == ValueIDNum::EmptyValue; } 436 bool isUndef() const { return *this == UndefID; } 437 bool isConst() const { return ID.IsConst && !isUndef(); } 463 if (Op.isUndef()) 547 any_of(DbgOps, [](DbgOpID ID) { return ID.isUndef(); })) {
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMemIntrinsicResults.cpp | 124 if (!O.isUndef()) { in replaceDominatedUses()
|