| /src/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueLattice.h | 237 bool isUndef() const { return Tag == undef; } in isUndef() function 308 if (isUndef()) in markUndef() 330 assert(isUnknown() || isUndef()); 371 (isUndef() || isConstantRangeIncludingUndef() || Opts.MayIncludeUndef) 390 assert(isUnknown() || isUndef() || isConstant()); 411 if (isUndef()) { 413 if (RHS.isUndef()) 432 if (RHS.isUndef()) 457 if (RHS.isUndef()) {
|
| /src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueLattice.cpp | 23 if (isUndef() || Other.isUndef()) in getCompare() 58 if (Val.isUndef()) in operator <<()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineInstrBundle.cpp | 171 if (MO.isUndef()) in finalizeBundle() 221 bool isUndef = UndefUseSet.count(Reg); in finalizeBundle() local 222 MIB.addReg(Reg, getKillRegState(isKill) | getUndefRegState(isUndef) | in finalizeBundle() 319 if (SubReg == 0 && MO.isUse() && !MO.isUndef()) in AnalyzeVirtRegLanesInBundle() 324 if (!MO.isUndef()) in AnalyzeVirtRegLanesInBundle() 327 } else if (!MO.isUndef()) in AnalyzeVirtRegLanesInBundle()
|
| H A D | BreakFalseDeps.cpp | 118 assert(MO.isUndef() && "Expected undef machine operand"); in pickBestRegisterForUndef() 144 if (CurrMO.isUndef() || !OpRC->contains(CurrMO.getReg())) in pickBestRegisterForUndef() 198 if (!MO.isReg() || !MO.getReg() || !MO.isUse() || !MO.isUndef()) in processDefs()
|
| H A D | RegAllocFast.cpp | 981 assert(MO.isUndef() && "expected undef use"); in allocVirtRegUndef() 1033 if (MO.getSubReg() && !MO.isUndef()) { in defineLiveThroughVirtReg() 1208 if (MO.isDef() && MO.isUndef()) { in setPhysReg() 1358 (MO0.getSubReg() == 0 && !MO0.isUndef()); in findAndSortDefOperandIndexes() 1360 (MO1.getSubReg() == 0 && !MO1.isUndef()); in findAndSortDefOperandIndexes() 1379 return !TiedMO.isUndef(); in isTiedToNotUndef() 1424 if (isTiedToNotUndef(MO) || (MO.getSubReg() != 0 && !MO.isUndef())) in allocateInstruction() 1469 (MO.getSubReg() && !MO.isUndef())) { in allocateInstruction() 1579 if (MO.isUndef()) { in allocateInstruction() 1605 assert(MO.isUndef() && "Should only have undef virtreg uses left"); in allocateInstruction()
|
| H A D | InitUndef.cpp | 126 if (UseMO.isUndef() || findImplictDefMIFromReg(UseMO.getReg(), MRI)) in handleReg() 210 if (MO.isUndef()) in fixupIllOperand()
|
| H A D | PHIElimination.cpp | 328 if (!isImplicitlyDefined(MO.getReg(), MRI) && !MO.isUndef()) in allPhiOperandsUndefined() 525 if (!MPhi->getOperand(i).isUndef()) { in LowerPHINode() 539 bool SrcUndef = MPhi->getOperand(i * 2 + 1).isUndef() || in LowerPHINode() 743 if (!BBI.getOperand(i).isUndef()) { in analyzePHINodes()
|
| H A D | DeadMachineInstructionElim.cpp | 110 assert(U.isUndef() && "'Undef' use on a 'dead' register is found!"); in isDead()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefResultChecker.cpp | 63 if (C.getSVal(B).isUndef()) { in checkPostStmt() 82 if (C.getSVal(B->getLHS()).isUndef()) { in checkPostStmt() 86 else if (C.getSVal(B->getRHS()).isUndef()) { in checkPostStmt()
|
| H A D | UndefinedAssignmentChecker.cpp | 37 if (!val.isUndef()) in checkBind() 69 if (C.getSVal(B->getLHS()).isUndef()) { in checkBind()
|
| H A D | UndefBranchChecker.cpp | 52 return St->getSVal(Ex, LCtx).isUndef(); in MatchesCriteria() 67 if (!Ctx.getSVal(Condition).isUndef()) in checkBranchCondition()
|
| H A D | CallAndMessageChecker.cpp | 221 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 | UndefinedArraySubscriptChecker.cpp | 38 if (!C.getSVal(Index).isUndef()) in checkPreStmt()
|
| H A D | UndefinedNewArraySizeChecker.cpp | 48 if (SizeVal.isUndef()) in checkPreCall()
|
| H A D | ReturnUndefChecker.cpp | 48 if (RetVal.isUndef()) { in checkPreStmt()
|
| H A D | DereferenceChecker.cpp | 248 if (l.isUndef()) { in checkLocation() 294 if (V.isUndef()) in checkBind()
|
| H A D | BuiltinFunctionChecker.cpp | 93 if (Arg.isUndef()) in evalCall()
|
| /src/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCVSXFMAMutate.cpp | 229 bool AddRegUndef = AddendMI->getOperand(1).isUndef(); in processBlock() 230 bool KilledProdRegUndef = MI.getOperand(KilledProdOp).isUndef(); in processBlock() 231 bool OtherProdRegUndef = MI.getOperand(OtherProdOp).isUndef(); in processBlock()
|
| /src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SVals.h | 104 bool isUndef() const { return getKind() == UndefinedValKind; } in isUndef() function 106 bool isUnknownOrUndef() const { return isUnknown() || isUndef(); } in isUnknownOrUndef() 203 bool isUndef() const = delete; 206 static bool classof(SVal V) { return !V.isUndef(); } in classof()
|
| /src/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 404 bool isUndef() const { in isUndef() function 469 return !isUndef() && !isInternalRead() && (isUse() || getSubReg()); in readsReg() 808 bool isUndef = false, bool isDebug = false); 839 bool isUndef = false, 851 Op.IsUndef = isUndef;
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 195 while (i != e && N->getOperand(i).isUndef()) in isConstantSplatVectorAllOnes() 224 if (N->getOperand(i) != NotZero && !N->getOperand(i).isUndef()) in isConstantSplatVectorAllOnes() 243 if (Op.isUndef()) in isConstantSplatVectorAllZeros() 284 if (Op.isUndef()) in isBuildVectorOfConstantSDNodes() 297 if (Op.isUndef()) in isBuildVectorOfConstantFPSDNodes() 327 if (Op.isUndef()) in isVectorShrinkable() 348 return all_of(N->op_values(), [](SDValue Op) { return Op.isUndef(); }); in allOperandsUndef() 352 return N->getOpcode() == ISD::FREEZE && N->getOperand(0).isUndef(); in isFreezeUndef() 370 if (AllowUndefs && Op.getOperand(i).isUndef()) { in matchUnaryPredicateImpl() 410 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate() [all …]
|
| H A D | DAGCombiner.cpp | 1046 if (Op.isUndef()) in isConstantOrConstantVector() 2642 if (N0.isUndef()) in visitADDLike() 2644 if (N1.isUndef()) in visitADDLike() 3026 if (N0.isUndef() || N1.isUndef()) in visitADDSAT() 3956 if (N0.isUndef()) in visitSUB() 3958 if (N1.isUndef()) in visitSUB() 4141 if (N0.isUndef() || N1.isUndef()) in visitSUBSAT() 4294 if (N0.isUndef() || N1.isUndef()) in visitMULFIX() 4319 if (N0.isUndef() || N1.isUndef()) in visitMUL() 4674 if (DAG.isUndef(Opc, {N0, N1})) in simplifyDivRem() [all …]
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineObjC.cpp | 198 if (!recVal.isUndef()) { in VisitObjCMessage() 262 if (!recVal.isUndef()) { in VisitObjCMessage()
|
| /src/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTfrCleanup.cpp | 251 IsUndef = MI->getOperand(1).isUndef(); in eraseIfRedundant() 258 IsUndef = MI->getOperand(2).isUndef(); in eraseIfRedundant()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 370 bool isUndef() const { return !IsConst && ID == ValueIDNum::EmptyValue; } 435 bool isUndef() const { return *this == UndefID; } 436 bool isConst() const { return ID.IsConst && !isUndef(); } 462 if (Op.isUndef()) 552 any_of(DbgOps, [](DbgOpID ID) { return ID.isUndef(); })) {
|