Home
last modified time | relevance | path

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

1234

/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.cpp50 return St->getSVal(Ex, LCtx).isUndef(); in MatchesCriteria()
63 if (X.isUndef()) { in checkBranchCondition()
DUndefinedArraySubscriptChecker.cpp39 if (!C.getSVal(Index).isUndef()) in checkPreStmt()
DDereferenceChecker.cpp192 if (l.isUndef()) { in checkLocation()
245 if (V.isUndef()) in checkBind()
DReturnUndefChecker.cpp49 if (RetVal.isUndef()) { in checkPreStmt()
DCStringChecker.cpp635 assert(!strLength.isUndef() && "Attempt to set an undefined string length"); in setCStringLength()
1284 if (strLength.isUndef()) in evalstrLengthCommon()
1441 if (strLength.isUndef()) in evalStrcpyCommon()
1501 if (dstStrLength.isUndef()) in evalStrcpyCommon()
1551 assert(!amountCopied.isUndef()); in evalStrcpyCommon()
1600 if (dstStrLength.isUndef()) in evalStrcpyCommon()
1623 assert(!finalStrLength.isUndef()); in evalStrcpyCommon()
1798 if (s1Length.isUndef()) in evalStrcmpCommon()
1803 if (s2Length.isUndef()) in evalStrcmpCommon()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineOperand.h256 bool isUndef() const { in isUndef() function
277 return !isUndef() && (isUse() || getSubReg()); in readsReg()
465 bool isUndef = false, bool isDebug = false);
491 bool isUndef = false,
500 Op.IsUndef = isUndef;
/external/llvm/lib/Target/AMDGPU/
DSILowerControlFlow.cpp424 if (!Val->isUndef()) { in splitLoadM0BlockLiveIns()
436 if (!Src->isUndef()) in splitLoadM0BlockLiveIns()
439 if (!IdxReg.isUndef()) in splitLoadM0BlockLiveIns()
453 .addReg(IdxReg.getReg(), getUndefRegState(IdxReg.isUndef())); in emitLoadM0FromVGPRLoop()
462 .addReg(IdxReg.getReg(), getUndefRegState(IdxReg.isUndef())); in emitLoadM0FromVGPRLoop()
536 .addReg(Idx->getReg(), getUndefRegState(Idx->isUndef())) in loadM0()
540 .addReg(Idx->getReg(), getUndefRegState(Idx->isUndef())); in loadM0()
643 .addReg(Reg, getUndefRegState(SrcVec->isUndef())); in indirectSrc()
650 .addReg(Reg, getUndefRegState(SrcVec->isUndef())) in indirectSrc()
679 .addReg(Val->getReg(), getUndefRegState(Val->isUndef())) in indirectDst()
/external/llvm/include/llvm/CodeGen/
DMachineOperand.h302 bool isUndef() const { in isUndef() function
336 return !isUndef() && !isInternalRead() && (isUse() || getSubReg()); in readsReg()
582 bool isUndef = false, bool isDebug = false);
608 bool isUndef = false,
620 Op.IsUndef = isUndef;
/external/llvm/lib/CodeGen/
DRegisterScavenging.cpp130 if (MO.isUndef()) in determineKillsAndDefs()
199 if (MO.isUndef()) in forward()
300 if (!MO.isReg() || MO.isUndef() || !MO.getReg()) in findSurvivorReg()
359 if (MO.isReg() && MO.getReg() != 0 && !(MO.isUse() && MO.isUndef()) && in scavengeRegister()
DMachineInstrBundle.cpp158 if (MO.isUndef()) in finalizeBundle()
212 bool isUndef = UndefUseSet.count(Reg); in finalizeBundle() local
213 MIB.addReg(Reg, getKillRegState(isKill) | getUndefRegState(isUndef) | in finalizeBundle()
DMachineInstr.cpp178 bool isKill, bool isDead, bool isUndef, in ChangeToRegister() argument
199 IsUndef = isUndef; in ChangeToRegister()
319 if (isDef() || isKill() || isDead() || isImplicit() || isUndef() || in print()
333 if (isUndef() && getSubReg()) in print()
350 if (isUndef() && isUse()) { in print()
1324 Use |= !MO.isUndef(); in readsWritesVirtualRegister()
1325 else if (MO.getSubReg() && !MO.isUndef()) in readsWritesVirtualRegister()
1950 if (!MO.isReg() || !MO.isUse() || MO.isUndef()) in addRegisterKilled()
/external/llvm/lib/Target/PowerPC/
DPPCVSXFMAMutate.cpp228 bool AddRegUndef = AddendMI->getOperand(1).isUndef(); in processBlock()
229 bool KilledProdRegUndef = MI->getOperand(KilledProdOp).isUndef(); in processBlock()
230 bool OtherProdRegUndef = MI->getOperand(OtherProdOp).isUndef(); in processBlock()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DProcessImplicitDefs.cpp123 if (MO.isUndef() || ImpDefRegs.count(MO.getReg())) { in runOnMachineFunction()
143 if (!MO.isReg() || (MO.isDef() && !MO.getSubReg()) || MO.isUndef()) in runOnMachineFunction()
237 if (UI.getOperand().isUndef()) in runOnMachineFunction()
DRegisterScavenging.cpp165 if (MO.isUndef()) in forward()
190 if (MO.isUndef()) in forward()
289 if (!MO.isReg() || MO.isUndef() || !MO.getReg()) in findSurvivorReg()
DMachineInstr.cpp156 bool isKill, bool isDead, bool isUndef, in ChangeToRegister() argument
180 IsUndef = isUndef; in ChangeToRegister()
242 if (isDef() || isKill() || isDead() || isImplicit() || isUndef() || in print()
259 if (isKill() || isDead() || isUndef()) { in print()
263 if (isUndef()) { in print()
930 Use |= !MO.isUndef(); in readsWritesVirtualRegister()
931 else if (MO.getSubReg() && !MO.isUndef()) in readsWritesVirtualRegister()
1571 if (!MO.isReg() || !MO.isUse() || MO.isUndef()) in addRegisterKilled()
DLiveRangeEdit.cpp93 if (MO.isUndef() || !lis.hasInterval(MO.getReg())) in allUsesAvailableAt()
180 } else if (!MO.isUndef()) { in foldAsLoad()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineObjC.cpp173 if (!recVal.isUndef()) { in VisitObjCMessage()
232 if (!recVal.isUndef()) { in VisitObjCMessage()
/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/swiftshader/third_party/LLVM/lib/Target/ARM/
DThumb2SizeReduction.cpp220 if (!MO.isReg() || MO.isUndef() || MO.isUse()) in canAddPseudoFlagDep()
230 if (!MO.isReg() || MO.isUndef() || MO.isDef()) in canAddPseudoFlagDep()
784 if (!MO.isReg() || MO.isUndef() || MO.isUse()) in UpdateCPSRDef()
800 if (!MO.isReg() || MO.isUndef() || MO.isDef()) in UpdateCPSRUse()
DARMLoadStoreOptimizer.cpp451 unsigned PRegNum = PMO.isUndef() ? UINT_MAX in MergeLDR_STR()
478 unsigned RegNum = MO.isUndef() ? UINT_MAX in MergeLDR_STR()
976 MI->getOperand(0).isUndef()) in isMemoryOp()
981 MI->getOperand(1).isUndef()) in isMemoryOp()
1086 bool EvenUndef = MI->getOperand(0).isUndef(); in FixInvalidRegPairOp()
1089 bool OddUndef = MI->getOperand(1).isUndef(); in FixInvalidRegPairOp()
1093 bool BaseUndef = BaseOp.isUndef(); in FixInvalidRegPairOp()
1095 bool OffUndef = isT2 ? false : MI->getOperand(3).isUndef(); in FixInvalidRegPairOp()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp122 while (i != e && N->getOperand(i).isUndef()) in isBuildVectorAllOnes()
151 if (N->getOperand(i) != NotZero && !N->getOperand(i).isUndef()) in isBuildVectorAllOnes()
165 if (Op.isUndef()) in isBuildVectorAllZeros()
198 if (Op.isUndef()) in isBuildVectorOfConstantSDNodes()
211 if (Op.isUndef()) in isBuildVectorOfConstantFPSDNodes()
227 if (!Op.isUndef()) in allOperandsUndef()
1483 if (N1.isUndef() && N2.isUndef()) in getVectorShuffle()
1503 if (N1.isUndef()) in getVectorShuffle()
1537 bool N2Undef = N2.isUndef(); in getVectorShuffle()
1557 N2Undef = N2.isUndef(); in getVectorShuffle()
[all …]
DDAGCombiner.cpp1651 if (N0.isUndef()) in visitADD()
1653 if (N1.isUndef()) in visitADD()
1928 if (N0.isUndef()) in visitSUB()
1930 if (N1.isUndef()) in visitSUB()
2008 if (N0.isUndef() || N1.isUndef()) in visitMUL()
2312 if (N0.isUndef()) in visitSDIV()
2315 if (N1.isUndef()) in visitSDIV()
2376 if (N0.isUndef()) in visitUDIV()
2379 if (N1.isUndef()) in visitUDIV()
2458 if (N0.isUndef()) in visitREM()
[all …]

1234