Home
last modified time | relevance | path

Searched refs:isUndef (Results 1 – 25 of 147) sorted by relevance

123456

/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DValueLattice.h240 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 DUndefResultChecker.cpp78 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 DUndefinedAssignmentChecker.cpp37 if (!val.isUndef()) in checkBind()
75 if (C.getSVal(B->getLHS()).isUndef()) { in checkBind()
H A DUndefBranchChecker.cpp51 return St->getSVal(Ex, LCtx).isUndef(); in MatchesCriteria()
67 if (X.isUndef()) { in checkBranchCondition()
H A DBuiltinFunctionChecker.cpp50 if (Arg.isUndef()) in evalCall()
93 if (Size.isUndef()) in evalCall()
H A DCallAndMessageChecker.cpp222 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 DUndefinedArraySubscriptChecker.cpp38 if (!C.getSVal(Index).isUndef()) in checkPreStmt()
H A DDereferenceChecker.cpp241 if (l.isUndef()) { in checkLocation()
287 if (V.isUndef()) in checkBind()
H A DReturnUndefChecker.cpp48 if (RetVal.isUndef()) { in checkPreStmt()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DBreakFalseDeps.cpp117 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 DRegisterScavenging.cpp141 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 DExpandPostRAPseudos.cpp153 if (IdentityCopy || SrcMO.isUndef()) { in LowerCopy()
158 if (SrcMO.isUndef() || MI->getNumOperands() > 2) { in LowerCopy()
H A DMachineInstrBundle.cpp173 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 DRegAllocFast.cpp842 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 DPHIElimination.cpp263 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 DDeadMachineInstructionElim.cpp91 assert(U.isUndef() && "'Undef' use on a 'dead' register is found!"); in isDead()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCVSXFMAMutate.cpp229 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 DClustering.h59 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 DValueLattice.cpp15 if (Val.isUndef()) in operator <<()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineOperand.h394 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 DSelectionDAG.cpp232 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 DDAGCombiner.cpp2711 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 DExprEngineObjC.cpp185 if (!recVal.isUndef()) { in VisitObjCMessage()
249 if (!recVal.isUndef()) { in VisitObjCMessage()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h129 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 DFalsePositiveRefutationBRVisitorTest.cpp68 if (AssertionVal.isUndef()) in reportIfCanBeTrue()

123456