Home
last modified time | relevance | path

Searched refs:isKnownNonZero (Results 1 – 24 of 24) sorted by relevance

/external/llvm/lib/Analysis/
DValueTracking.cpp170 static bool isKnownNonZero(Value *V, unsigned Depth, const Query &Q);
172 bool llvm::isKnownNonZero(Value *V, const DataLayout &DL, unsigned Depth, in isKnownNonZero() function in llvm
175 return ::isKnownNonZero(V, Depth, Query(DL, AC, safeCxtI(V, CxtI), DT)); in isKnownNonZero()
195 isKnownNonZero(V, DL, Depth, AC, CxtI, DT); in isKnownPositive()
341 isKnownNonZero(Op0, Depth, Q)) || in computeKnownBitsMul()
343 isKnownNonZero(Op1, Depth, Q)); in computeKnownBitsMul()
828 isKnownNonZero(I->getOperand(1), Depth + 1, Q); in computeKnownBitsFromShiftOperator()
849 isKnownNonZero(I->getOperand(1), Depth + 1, Q); in computeKnownBitsFromShiftOperator()
1603 if (isKnownNonZero(GEP->getPointerOperand(), Depth, Q)) in isGEPKnownNonNull()
1642 if (isKnownNonZero(GTI.getOperand(), Depth, Q)) in isGEPKnownNonNull()
[all …]
DInstructionSimplify.cpp2246 if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in SimplifyICmpInst()
2251 if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in SimplifyICmpInst()
2268 isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in SimplifyICmpInst()
2285 isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in SimplifyICmpInst()
DDependenceAnalysis.cpp968 return SE->isKnownNonZero(Delta); in isKnownPredicate()
1149 bool DeltaMaybeZero = !SE->isKnownNonZero(Delta); in strongSIVtest()
3135 if (!SE->isKnownNonZero(Level.Distance)) // if may be zero in updateDirection()
DScalarEvolution.cpp7571 bool ScalarEvolution::isKnownNonZero(const SCEV *S) { in isKnownNonZero() function in ScalarEvolution
7763 isKnownNonZero(getMinusSCEV(LHS, RHS)); in isKnownPredicateViaConstantRanges()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp233 static bool isKnownNonZero(const Value *V, unsigned Depth, const Query &Q);
235 bool llvm::isKnownNonZero(const Value *V, const DataLayout &DL, unsigned Depth, in isKnownNonZero() function in llvm
238 return ::isKnownNonZero(V, Depth, Query(DL, AC, safeCxtI(V, CxtI), DT)); in isKnownNonZero()
258 isKnownNonZero(V, DL, Depth, AC, CxtI, DT); in isKnownPositive()
341 isKnownNonZero(Op0, Depth, Q)) || in computeKnownBitsMul()
343 isKnownNonZero(Op1, Depth, Q)); in computeKnownBitsMul()
923 ShifterOperandIsNonZero = isKnownNonZero(I->getOperand(1), Depth + 1, Q); in computeKnownBitsFromShiftOperator()
945 isKnownNonZero(I->getOperand(1), Depth + 1, Q); in computeKnownBitsFromShiftOperator()
1785 if (isKnownNonZero(GEP->getPointerOperand(), Depth, Q)) in isGEPKnownNonNull()
1824 if (isKnownNonZero(GTI.getOperand(), Depth, Q)) in isGEPKnownNonNull()
[all …]
DLoads.cpp75 if (!CheckForNonNull || isKnownNonZero(V, DL, 0, nullptr, CtxI, DT)) in isDereferenceableAndAlignedPointer()
DLazyValueInfo.cpp629 if (PT && isKnownNonZero(BBI, DL)) { in solveBlockValueImpl()
709 (isKnownNonZero(Val, DL) || in solveBlockValueNonLocal()
1711 isKnownNonZero(V->stripPointerCasts(), DL)) { in getPredicateAt()
DInstructionSimplify.cpp2151 if (llvm::isKnownNonZero(LHS, DL) && isa<ConstantPointerNull>(RHS) && in computePointerICmp()
2310 llvm::isKnownNonZero(RHS, DL, 0, nullptr, CxtI, DT)) in computePointerICmp()
2313 llvm::isKnownNonZero(LHS, DL, 0, nullptr, CxtI, DT)) in computePointerICmp()
2416 if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in simplifyICmpWithZero()
2421 if (isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in simplifyICmpWithZero()
2437 isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in simplifyICmpWithZero()
2454 isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in simplifyICmpWithZero()
DDependenceAnalysis.cpp983 return SE->isKnownNonZero(Delta); in isKnownPredicate()
1215 bool DeltaMaybeZero = !SE->isKnownNonZero(Delta); in strongSIVtest()
3208 if (!SE->isKnownNonZero(Level.Distance)) // if may be zero in updateDirection()
DScalarEvolution.cpp8835 bool ScalarEvolution::isKnownNonZero(const SCEV *S) { in isKnownNonZero() function in ScalarEvolution
9072 isKnownNonZero(getMinusSCEV(LHS, RHS)); in isKnownPredicateViaConstantRanges()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp758 bool llvm::isKnownNonZero(Value *V, const TargetData *TD, unsigned Depth) { in isKnownNonZero() function in llvm
778 return isKnownNonZero(X, TD, Depth) || isKnownNonZero(Y, TD, Depth); in isKnownNonZero()
782 return isKnownNonZero(cast<Instruction>(V)->getOperand(0), TD, Depth); in isKnownNonZero()
790 return isKnownNonZero(X, TD, Depth); in isKnownNonZero()
804 return isKnownNonZero(X, TD, Depth); in isKnownNonZero()
815 return isKnownNonZero(X, TD, Depth); in isKnownNonZero()
827 if (isKnownNonZero(X, TD, Depth) || isKnownNonZero(Y, TD, Depth)) in isKnownNonZero()
856 if (isKnownNonZero(SI->getTrueValue(), TD, Depth) && in isKnownNonZero()
857 isKnownNonZero(SI->getFalseValue(), TD, Depth)) in isKnownNonZero()
DInstructionSimplify.cpp1506 if (isKnownNonZero(LHS, TD)) in SimplifyICmpInst()
1511 if (isKnownNonZero(LHS, TD)) in SimplifyICmpInst()
1525 if (LHSKnownNonNegative && isKnownNonZero(LHS, TD)) in SimplifyICmpInst()
1539 if (LHSKnownNonNegative && isKnownNonZero(LHS, TD)) in SimplifyICmpInst()
DScalarEvolution.cpp5708 bool ScalarEvolution::isKnownNonZero(const SCEV *S) { in isKnownNonZero() function in ScalarEvolution
5803 if (isKnownNonZero(Diff)) in isKnownPredicateWithRanges()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DValueTracking.h58 bool isKnownNonZero(Value *V, const TargetData *TD = 0, unsigned Depth = 0);
DScalarEvolution.h808 bool isKnownNonZero(const SCEV *S);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp415 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in rewriteSingleStoreAlloca()
511 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in promoteSingleBlockAlloca()
972 !isKnownNonZero(V, SQ.DL, 0, AC, LI, &DT)) in RenamePass()
/external/llvm/include/llvm/Analysis/
DValueTracking.h91 bool isKnownNonZero(Value *V, const DataLayout &DL, unsigned Depth = 0,
DScalarEvolution.h1468 bool isKnownNonZero(const SCEV *S);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DValueTracking.h99 bool isKnownNonZero(const Value *V, const DataLayout &DL, unsigned Depth = 0,
DScalarEvolution.h842 bool isKnownNonZero(const SCEV *S);
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp924 if (isKnownNonZero(VA, DL, 0, AC, CtxI, DT)) { in visitPHINode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp935 if (isKnownNonZero(RetVal, DL)) in isReturnNonNull()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1182 if (isKnownNonZero(VA, DL, 0, &AC, CtxI, &DT)) { in visitPHINode()
DInstCombineCalls.cpp1340 isKnownNonZero(Op0, IC.getDataLayout(), 0, &IC.getAssumptionCache(), &II, in foldCttzCtlz()
3791 if (isKnownNonZero(DerivedPtr, DL, 0, &AC, II, &DT)) in visitCallInst()
3993 isKnownNonZero(V, DL, 0, &AC, CS.getInstruction(), &DT)) in visitCallSite()