Home
last modified time | relevance | path

Searched refs:isUndef (Results 1 – 25 of 135) 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
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()) {
/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()
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 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.cpp981 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 DRegisterScavenging.cpp443 assert((!MO.isUndef() || MO.isDef()) && "Cannot handle undef uses"); in spill()
458 assert((!MO.isUndef() || MO.isDef()) && "Cannot handle undef uses"); in scavengeRegisterBackwards()
H A DInitUndef.cpp126 if (UseMO.isUndef() || findImplictDefMIFromReg(UseMO.getReg(), MRI)) in handleReg()
210 if (MO.isUndef()) in fixupIllOperand()
H A DPHIElimination.cpp328 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 DDeadMachineInstructionElim.cpp110 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()
1666 if (MOReg.isUndef()) in getRegSequenceInputs()
1691 if (MOReg.isUndef()) in getExtractSubregInputs()
1717 if (MOInsertedReg.isUndef()) in getInsertSubregInputs()
H A DUnreachableBlockElim.cpp179 !Input.isUndef()) { in runOnMachineFunction()
/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()
756 /// for liveness related flags (isKill, isUndef and isDead). Note that this
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.cpp195 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 DDAGCombiner.cpp1046 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 …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefinedNewArraySizeChecker.cpp48 if (SizeVal.isUndef()) in checkPreCall()
H A DDereferenceChecker.cpp248 if (l.isUndef()) { in checkLocation()
294 if (V.isUndef()) in checkBind()
H A DBuiltinFunctionChecker.cpp93 if (Arg.isUndef()) in evalCall()
H A DCStringChecker.cpp471 State->getSVal(*FirstElementVal).isUndef()) { in checkInit()
526 State->getSVal(LastElementVal.castAs<Loc>()).isUndef()) { in checkInit()
959 assert(!strLength.isUndef() && "Attempt to set an undefined string length"); in setCStringLength()
1724 if (strLength.isUndef()) in evalstrLengthCommon()
1902 if (strLength.isUndef()) in evalStrcpyCommon()
2017 if (dstStrLength.isUndef()) in evalStrcpyCommon()
2100 if (dstStrLength.isUndef()) in evalStrcpyCommon()
2128 assert(!finalStrLength.isUndef()); in evalStrcpyCommon()
2312 if (LeftLength.isUndef()) in evalStrcmpCommon()
2317 if (RightLength.isUndef()) in evalStrcmpCommon()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTfrCleanup.cpp251 IsUndef = MI->getOperand(1).isUndef(); in eraseIfRedundant()
258 IsUndef = MI->getOperand(2).isUndef(); in eraseIfRedundant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h370 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(); })) {
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMemIntrinsicResults.cpp124 if (!O.isUndef()) { in replaceDominatedUses()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp299 if (!MO.isReg() || MO.isUndef() || MO.isUse()) in canAddPseudoFlagDep()
308 if (!MO.isReg() || MO.isUndef() || MO.isDef()) in canAddPseudoFlagDep()
982 if (!MO.isReg() || MO.isUndef() || MO.isUse()) in UpdateCPSRDef()
997 if (!MO.isReg() || MO.isUndef() || MO.isDef()) in UpdateCPSRUse()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedPointee.cpp151 if (V.isUndef()) { in isDereferencableUninit()

123456