| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ValueLattice.h | 240 bool isUndef() const { return Tag == undef; } in isUndef() function 296 if (isUndef()) in markUndef() 318 assert(isUnknown() || isUndef()); 359 (isUndef() || isConstantRangeIncludingUndef() || Opts.MayIncludeUndef) 378 assert(isUnknown() || isUndef()); 397 if (isUndef()) { 399 if (RHS.isUndef()) 418 if (RHS.isUndef()) 433 if (RHS.isUndef()) {
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefResultChecker.cpp | 78 if (C.getSVal(B).isUndef()) { in checkPostStmt() 102 if (C.getSVal(B->getLHS()).isUndef()) { in checkPostStmt() 106 else if (C.getSVal(B->getRHS()).isUndef()) { in checkPostStmt()
|
| H A D | UndefinedAssignmentChecker.cpp | 37 if (!val.isUndef()) in checkBind() 75 if (C.getSVal(B->getLHS()).isUndef()) { in checkBind()
|
| H A D | UndefBranchChecker.cpp | 51 return St->getSVal(Ex, LCtx).isUndef(); in MatchesCriteria() 67 if (X.isUndef()) { in checkBranchCondition()
|
| H A D | BuiltinFunctionChecker.cpp | 50 if (Arg.isUndef()) in evalCall() 93 if (Size.isUndef()) in evalCall()
|
| H A D | CallAndMessageChecker.cpp | 222 if (PSV.isUndef()) { in uninitRefOrPointer() 267 if (V.isUndef()) in Find() 295 if (V.isUndef()) { in PreVisitProcessArg() 376 if (L.isUndef()) { in checkFunctionPointerCall() 447 if (V.isUndef()) { in checkCXXMethodCall() 484 if (!Arg.isUndef()) in checkCXXDeallocation() 578 if (recVal.isUndef()) { in checkPreObjCMessage()
|
| H A D | UndefinedArraySubscriptChecker.cpp | 38 if (!C.getSVal(Index).isUndef()) in checkPreStmt()
|
| H A D | DereferenceChecker.cpp | 241 if (l.isUndef()) { in checkLocation() 287 if (V.isUndef()) in checkBind()
|
| H A D | ReturnUndefChecker.cpp | 48 if (RetVal.isUndef()) { in checkPreStmt()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | BreakFalseDeps.cpp | 117 assert(MO.isUndef() && "Expected undef machine operand"); in pickBestRegisterForUndef() 142 if (!CurrMO.isReg() || CurrMO.isDef() || CurrMO.isUndef() || in pickBestRegisterForUndef() 197 if (!MO.isReg() || !MO.getReg() || !MO.isUse() || !MO.isUndef()) in processDefs()
|
| H A D | RegisterScavenging.cpp | 141 if (MO.isUndef()) in determineKillsAndDefs() 190 if (MO.isUndef()) in forward() 309 if (!MO.isReg() || MO.isUndef() || !MO.getReg()) in findSurvivorReg() 528 if (MO.isReg() && MO.getReg() != 0 && !(MO.isUse() && MO.isUndef()) && in scavengeRegister() 734 assert((!MO.isUndef() || MO.isDef()) && "Cannot handle undef uses"); in scavengeFrameVirtualRegsInBlock() 749 assert((!MO.isUndef() || MO.isDef()) && "Cannot handle undef uses"); in scavengeFrameVirtualRegsInBlock()
|
| H A D | ExpandPostRAPseudos.cpp | 153 if (IdentityCopy || SrcMO.isUndef()) { in LowerCopy() 158 if (SrcMO.isUndef() || MI->getNumOperands() > 2) { in LowerCopy()
|
| H A D | MachineInstrBundle.cpp | 173 if (MO.isUndef()) in finalizeBundle() 227 bool isUndef = UndefUseSet.count(Reg); in finalizeBundle() local 228 MIB.addReg(Reg, getKillRegState(isKill) | getUndefRegState(isUndef) | in finalizeBundle()
|
| H A D | RegAllocFast.cpp | 842 assert(MO.isUndef() && "expected undef use"); in allocVirtRegUndef() 888 if (MO.getSubReg() && !MO.isUndef()) { in defineLiveThroughVirtReg() 1027 if (MO.isDef() && MO.isUndef()) { in setPhysReg() 1131 return TiedMO.isUndef(); in allocateInstruction() 1153 (MO.getSubReg() != 0 && !MO.isUndef())) in allocateInstruction() 1237 (MO0.getSubReg() == 0 && !MO0.isUndef()); in allocateInstruction() 1239 (MO1.getSubReg() == 0 && !MO1.isUndef()); in allocateInstruction() 1255 (MO.getSubReg() && !MO.isUndef())) { in allocateInstruction() 1347 if (MO.isUndef()) { in allocateInstruction() 1374 assert(MO.isUndef() && "Should only have undef virtreg uses left"); in allocateInstruction()
|
| H A D | PHIElimination.cpp | 263 if (!isImplicitlyDefined(MO.getReg(), MRI) && !MO.isUndef()) in allPhiOperandsUndefined() 429 if (!MPhi->getOperand(i).isUndef()) { in LowerPHINode() 442 bool SrcUndef = MPhi->getOperand(i*2+1).isUndef() || in LowerPHINode() 641 if (!BBI.getOperand(i).isUndef()) { in analyzePHINodes()
|
| H A D | DeadMachineInstructionElim.cpp | 91 assert(U.isUndef() && "'Undef' use on a 'dead' register is found!"); in isDead()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | Clustering.h | 59 bool isUndef() const { return Id_ == kUndef; } in isUndef() function 98 assert(!Id.isUndef() && "unlabeled cluster"); in getCluster()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ValueLattice.cpp | 15 if (Val.isUndef()) in operator <<()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 394 bool isUndef() const { in isUndef() function 459 return !isUndef() && !isInternalRead() && (isUse() || getSubReg()); in readsReg() 771 bool isUndef = false, bool isDebug = false); 802 bool isUndef = false, 814 Op.IsUndef = isUndef;
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 232 if (Op.isUndef()) in isConstantSplatVectorAllZeros() 273 if (Op.isUndef()) in isBuildVectorOfConstantSDNodes() 286 if (Op.isUndef()) in isBuildVectorOfConstantFPSDNodes() 1886 if (N1.isUndef() && N2.isUndef()) in getVectorShuffle() 1907 if (N1.isUndef()) in getVectorShuffle() 2349 if ((N1.isUndef() || N2.isUndef()) && in FoldSetCC() 2355 if (N1.isUndef() && N2.isUndef()) in FoldSetCC() 5834 if (N1.isUndef() && N2.isUndef()) in foldConstantFPMath() 5836 if (N1.isUndef() || N2.isUndef()) in foldConstantFPMath() 6153 if (N1.isUndef() || N2.isUndef()) in getNode() [all …]
|
| H A D | DAGCombiner.cpp | 2711 if (N0.isUndef() || N1.isUndef()) in visitADDSAT() 3785 if (N0.isUndef() || N1.isUndef()) in visitSUBSAT() 3931 if (N0.isUndef() || N1.isUndef()) in visitMULFIX() 3953 if (N0.isUndef() || N1.isUndef()) in visitMUL() 4687 if (N0.isUndef() || N1.isUndef()) in visitMULHS() 4745 if (N0.isUndef() || N1.isUndef()) in visitMULHU() 5559 if (N0.isUndef() || N1.isUndef()) in visitANDLike() 6860 if (!LegalOperations && (N0.isUndef() || N1.isUndef())) in visitORLike() 8409 if (N0.isUndef() && N1.isUndef()) in visitXOR() 10799 if (N1Elt.isUndef() || N2Elt.isUndef()) in foldVSelectOfConstants() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineObjC.cpp | 185 if (!recVal.isUndef()) { in VisitObjCMessage() 249 if (!recVal.isUndef()) { in VisitObjCMessage()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SVals.h | 129 bool isUndef() const { in isUndef() function 225 bool isUndef() const = delete; 228 static bool classof(SVal V) { return !V.isUndef(); } in classof()
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | FalsePositiveRefutationBRVisitorTest.cpp | 68 if (AssertionVal.isUndef()) in reportIfCanBeTrue()
|