Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h237 bool isUndef() const { return Tag == undef; } in isUndef() function
293 if (isUndef()) in markUndef()
315 assert(isUnknown() || isUndef());
356 (isUndef() || isConstantRangeIncludingUndef() || Opts.MayIncludeUndef)
375 assert(isUnknown() || isUndef());
394 if (isUndef()) {
396 if (RHS.isUndef())
415 if (RHS.isUndef())
430 if (RHS.isUndef()) {
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLattice.cpp23 if (isUndef() || Other.isUndef()) in getCompare()
58 if (Val.isUndef()) in operator <<()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstrBundle.cpp171 if (MO.isUndef()) in finalizeBundle()
222 bool isUndef = UndefUseSet.count(Reg); in finalizeBundle() local
223 MIB.addReg(Reg, getKillRegState(isKill) | getUndefRegState(isUndef) | in finalizeBundle()
321 if (SubReg == 0 && MO.isUse() && !MO.isUndef()) in AnalyzeVirtRegLanesInBundle()
326 if (!MO.isUndef()) in AnalyzeVirtRegLanesInBundle()
329 } else if (!MO.isUndef()) in AnalyzeVirtRegLanesInBundle()
H A DBreakFalseDeps.cpp118 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 DRegAllocFast.cpp954 assert(MO.isUndef() && "expected undef use"); in allocVirtRegUndef()
1005 if (MO.getSubReg() && !MO.isUndef()) { in defineLiveThroughVirtReg()
1180 if (MO.isDef() && MO.isUndef()) { in setPhysReg()
1322 (MO0.getSubReg() == 0 && !MO0.isUndef()); in findAndSortDefOperandIndexes()
1324 (MO1.getSubReg() == 0 && !MO1.isUndef()); in findAndSortDefOperandIndexes()
1343 return !TiedMO.isUndef(); in isTiedToNotUndef()
1383 if (isTiedToNotUndef(MO) || (MO.getSubReg() != 0 && !MO.isUndef())) in allocateInstruction()
1430 (MO.getSubReg() && !MO.isUndef())) { in allocateInstruction()
1540 if (MO.isUndef()) { in allocateInstruction()
1566 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()
449 if (!MPhi->getOperand(i).isUndef()) { in LowerPHINode()
462 bool SrcUndef = MPhi->getOperand(i*2+1).isUndef() || in LowerPHINode()
665 if (!BBI.getOperand(i).isUndef()) { in analyzePHINodes()
H A DDeadMachineInstructionElim.cpp89 assert(U.isUndef() && "'Undef' use on a 'dead' register is found!"); in isDead()
H A DTargetInstrInfo.cpp193 bool Reg1IsUndef = MI.getOperand(Idx1).isUndef(); in commuteInstructionImpl()
194 bool Reg2IsUndef = MI.getOperand(Idx2).isUndef(); in commuteInstructionImpl()
811 if (IdentityCopy || SrcMO.isUndef()) { in lowerCopy()
814 if (SrcMO.isUndef() || MI->getNumOperands() > 2) { in lowerCopy()
1606 if (MOReg.isUndef()) in getRegSequenceInputs()
1631 if (MOReg.isUndef()) in getExtractSubregInputs()
1657 if (MOInsertedReg.isUndef()) in getInsertSubregInputs()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefResultChecker.cpp63 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 DUndefBranchChecker.cpp52 return St->getSVal(Ex, LCtx).isUndef(); in MatchesCriteria()
67 if (!Ctx.getSVal(Condition).isUndef()) in checkBranchCondition()
H A DUndefinedAssignmentChecker.cpp37 if (!val.isUndef()) in checkBind()
69 if (C.getSVal(B->getLHS()).isUndef()) { in checkBind()
H A DCallAndMessageChecker.cpp221 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 DUndefinedArraySubscriptChecker.cpp38 if (!C.getSVal(Index).isUndef()) in checkPreStmt()
H A DUndefinedNewArraySizeChecker.cpp48 if (SizeVal.isUndef()) in checkPreCall()
H A DDereferenceChecker.cpp241 if (l.isUndef()) { in checkLocation()
287 if (V.isUndef()) in checkBind()
H A DReturnUndefChecker.cpp48 if (RetVal.isUndef()) { in checkPreStmt()
H A DBuiltinFunctionChecker.cpp50 if (Arg.isUndef()) in evalCall()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h104 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()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h404 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;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp241 if (Op.isUndef()) in isConstantSplatVectorAllZeros()
282 if (Op.isUndef()) in isBuildVectorOfConstantSDNodes()
295 if (Op.isUndef()) in isBuildVectorOfConstantFPSDNodes()
2056 if (N1.isUndef() && N2.isUndef()) in getVectorShuffle()
2527 if ((N1.isUndef() || N2.isUndef()) && in FoldSetCC()
2533 if (N1.isUndef() && N2.isUndef()) in FoldSetCC()
2538 if (N1.isUndef() || N2.isUndef() || N1 == N2) in FoldSetCC()
6499 if (N1.isUndef() && N2.isUndef()) in foldConstantFPMath()
6501 if (N1.isUndef() || N2.isUndef()) in foldConstantFPMath()
6831 if (N1.isUndef() || N2.isUndef()) in getNode()
[all …]
H A DDAGCombiner.cpp3031 if (N0.isUndef() || N1.isUndef()) in visitADDSAT()
4190 if (N0.isUndef() || N1.isUndef()) in visitSUBSAT()
4345 if (N0.isUndef() || N1.isUndef()) in visitMULFIX()
4367 if (N0.isUndef() || N1.isUndef()) in visitMUL()
5123 if (N0.isUndef() || N1.isUndef()) in visitMULHS()
5181 if (N0.isUndef() || N1.isUndef()) in visitMULHU()
5299 if (N0.isUndef() || N1.isUndef()) in visitABD()
6367 if (N0.isUndef() || N1.isUndef()) in visitANDLike()
9381 if (N0.isUndef() && N1.isUndef()) in visitXOR()
12110 if (N1Elt.isUndef() || N2Elt.isUndef()) in foldVSelectOfConstants()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineObjC.cpp198 if (!recVal.isUndef()) { in VisitObjCMessage()
262 if (!recVal.isUndef()) { in VisitObjCMessage()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRVVInitUndef.cpp158 if (UseMO.isUndef() || findImplictDefMIFromReg(UseMO.getReg(), MRI)) in handleReg()
238 if (MO.isUndef()) in fixupIllOperand()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h332 bool isUndef() const { return !IsConst && ID == ValueIDNum::EmptyValue; }
397 bool isUndef() const { return *this == UndefID; }
398 bool isConst() const { return ID.IsConst && !isUndef(); }
424 if (Op.isUndef())
514 any_of(DbgOps, [](DbgOpID ID) { return ID.isUndef(); })) {

123456