Home
last modified time | relevance | path

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

123

/external/clang/lib/StaticAnalyzer/Checkers/
DUndefResultChecker.cpp42 if (state->getSVal(B, LCtx).isUndef()) { in checkPostStmt()
66 if (state->getSVal(B->getLHS(), LCtx).isUndef()) { in checkPostStmt()
70 else if (state->getSVal(B->getRHS(), LCtx).isUndef()) { in checkPostStmt()
DCallAndMessageChecker.cpp171 if (PSV.isUndef()) { in uninitRefOrPointer()
202 if (V.isUndef()) { in PreVisitProcessArg()
251 if (V.isUndef()) in PreVisitProcessArg()
313 if (L.isUndef()) { in checkPreStmt()
339 if (Arg.isUndef()) { in checkPreStmt()
368 if (V.isUndef()) { in checkPreCall()
445 if (recVal.isUndef()) { in checkPreObjCMessage()
DUndefinedAssignmentChecker.cpp38 if (!val.isUndef()) in checkBind()
66 if (state->getSVal(B->getLHS(), C.getLocationContext()).isUndef()) { in checkBind()
DUndefBranchChecker.cpp49 return St->getSVal(Ex, LCtx).isUndef(); in MatchesCriteria()
62 if (X.isUndef()) { in checkBranchCondition()
DUndefinedArraySubscriptChecker.cpp39 if (!C.getSVal(Index).isUndef()) in checkPreStmt()
DDereferenceChecker.cpp183 if (l.isUndef()) { in checkLocation()
233 if (V.isUndef()) in checkBind()
DReturnUndefChecker.cpp49 if (RetVal.isUndef()) { in checkPreStmt()
DCStringChecker.cpp631 assert(!strLength.isUndef() && "Attempt to set an undefined string length"); in setCStringLength()
1280 if (strLength.isUndef()) in evalstrLengthCommon()
1437 if (strLength.isUndef()) in evalStrcpyCommon()
1497 if (dstStrLength.isUndef()) in evalStrcpyCommon()
1547 assert(!amountCopied.isUndef()); in evalStrcpyCommon()
1596 if (dstStrLength.isUndef()) in evalStrcpyCommon()
1619 assert(!finalStrLength.isUndef()); in evalStrcpyCommon()
1794 if (s1Length.isUndef()) in evalStrcmpCommon()
1799 if (s2Length.isUndef()) in evalStrcmpCommon()
DVLASizeChecker.cpp100 if (sizeV.isUndef()) { in checkPreStmt()
DExprInspectionChecker.cpp74 if (AssertionVal.isUndef()) in getArgumentValueString()
/external/llvm/include/llvm/CodeGen/
DMachineOperand.h302 bool isUndef() const { in isUndef() function
336 return !isUndef() && !isInternalRead() && (isUse() || getSubReg()); in readsReg()
573 bool isUndef = false, bool isDebug = false);
599 bool isUndef = false,
611 Op.IsUndef = isUndef;
/external/llvm/lib/CodeGen/
DRegisterScavenging.cpp135 if (MO.isUndef()) in determineKillsAndDefs()
205 if (MO.isUndef()) in forward()
316 if (!MO.isReg() || MO.isUndef() || !MO.getReg()) in findSurvivorReg()
376 if (MO.isReg() && MO.getReg() != 0 && !(MO.isUse() && MO.isUndef()) && in scavengeRegister()
DMachineInstrBundle.cpp157 if (MO.isUndef()) in finalizeBundle()
211 bool isUndef = UndefUseSet.count(Reg); in finalizeBundle() local
212 MIB.addReg(Reg, getKillRegState(isKill) | getUndefRegState(isUndef) | in finalizeBundle()
DMachineInstr.cpp177 bool isKill, bool isDead, bool isUndef, in ChangeToRegister() argument
198 IsUndef = isUndef; in ChangeToRegister()
318 if (isDef() || isKill() || isDead() || isImplicit() || isUndef() || in print()
332 if (isUndef() && getSubReg()) in print()
349 if (isUndef() && isUse()) { in print()
1216 Use |= !MO.isUndef(); in readsWritesVirtualRegister()
1217 else if (MO.getSubReg() && !MO.isUndef()) in readsWritesVirtualRegister()
1816 if (!MO.isReg() || !MO.isUse() || MO.isUndef()) in addRegisterKilled()
DLivePhysRegs.cpp60 if (!O->isReg() || !O->readsReg() || O->isUndef()) in stepBackward()
DExpandPostRAPseudos.cpp153 if (SrcMO.isUndef() || MI->getNumOperands() > 2) { in LowerCopy()
/external/llvm/lib/Target/PowerPC/
DPPCVSXFMAMutate.cpp211 bool AddRegUndef = AddendMI->getOperand(1).isUndef(); in processBlock()
212 bool KilledProdRegUndef = MI->getOperand(KilledProdOp).isUndef(); in processBlock()
213 bool OtherProdRegUndef = MI->getOperand(OtherProdOp).isUndef(); in processBlock()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineObjC.cpp173 if (!recVal.isUndef()) { in VisitObjCMessage()
232 if (!recVal.isUndef()) { in VisitObjCMessage()
DBugReporterVisitors.cpp531 if (V.isUndef() || in VisitNode()
599 if (V.isUndef()) { in VisitNode()
628 } else if (V.isUndef()) { in VisitNode()
665 } else if (V.isUndef()) { in VisitNode()
1627 if (BoundVal.isUndef() || BoundVal.isZeroConstant()) { in VisitNode()
DSValBuilder.cpp364 if (lhs.isUndef() || rhs.isUndef()) in evalBinOp()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSVals.h121 inline bool isUndef() const { in isUndef() function
206 bool isUndef() const = delete;
220 return !V.isUndef(); in isKind()
/external/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp267 if (!MO.isReg() || MO.isUndef() || MO.isUse()) in canAddPseudoFlagDep()
276 if (!MO.isReg() || MO.isUndef() || MO.isDef()) in canAddPseudoFlagDep()
878 if (!MO.isReg() || MO.isUndef() || MO.isUse()) in UpdateCPSRDef()
893 if (!MO.isReg() || MO.isUndef() || MO.isDef()) in UpdateCPSRUse()
DARMLoadStoreOptimizer.cpp934 unsigned PRegNum = PMO.isUndef() ? UINT_MAX : TRI->getEncodingValue(PReg); in FormCandidates()
968 unsigned RegNum = MO.isUndef() ? UINT_MAX : TRI->getEncodingValue(Reg); in FormCandidates()
1479 if (MI.getOperand(0).isReg() && MI.getOperand(0).isUndef()) in isMemoryOp()
1483 if (MI.getOperand(1).isUndef()) in isMemoryOp()
1542 bool EvenUndef = MI->getOperand(0).isUndef(); in FixInvalidRegPairOp()
1545 bool OddUndef = MI->getOperand(1).isUndef(); in FixInvalidRegPairOp()
1547 bool BaseUndef = BaseOp.isUndef(); in FixInvalidRegPairOp()
1549 bool OffUndef = isT2 ? false : MI->getOperand(3).isUndef(); in FixInvalidRegPairOp()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp2541 unsigned &NewSrc, bool &isKill, bool &isUndef, in classifyLEAReg() argument
2558 isUndef = Src.isUndef(); in classifyLEAReg()
2584 isUndef = false; in classifyLEAReg()
2589 isUndef = true; in classifyLEAReg()
2603 isUndef = false; in classifyLEAReg()
2780 bool isKill, isUndef; in convertToThreeAddress() local
2784 SrcReg, isKill, isUndef, ImplicitOp)) in convertToThreeAddress()
2790 .addReg(SrcReg, getKillRegState(isKill) | getUndefRegState(isUndef)) in convertToThreeAddress()
2815 bool isKill, isUndef; in convertToThreeAddress() local
2819 SrcReg, isKill, isUndef, ImplicitOp)) in convertToThreeAddress()
[all …]
/external/llvm/lib/IR/
DConstants.cpp1001 bool isUndef = false; in get() local
1004 isUndef = isa<UndefValue>(V[0]); in get()
1006 if (isUndef || isZero) { in get()
1011 isUndef = false; in get()
1017 if (isUndef) in get()
1059 bool isUndef = isa<UndefValue>(C); in getImpl() local
1061 if (isZero || isUndef) { in getImpl()
1064 isZero = isUndef = false; in getImpl()
1071 if (isUndef) in getImpl()

123