/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 170 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 …]
|
D | InstructionSimplify.cpp | 2246 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()
|
D | DependenceAnalysis.cpp | 968 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()
|
D | ScalarEvolution.cpp | 7571 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/ |
D | ValueTracking.cpp | 233 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 …]
|
D | Loads.cpp | 75 if (!CheckForNonNull || isKnownNonZero(V, DL, 0, nullptr, CtxI, DT)) in isDereferenceableAndAlignedPointer()
|
D | LazyValueInfo.cpp | 629 if (PT && isKnownNonZero(BBI, DL)) { in solveBlockValueImpl() 709 (isKnownNonZero(Val, DL) || in solveBlockValueNonLocal() 1711 isKnownNonZero(V->stripPointerCasts(), DL)) { in getPredicateAt()
|
D | InstructionSimplify.cpp | 2151 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()
|
D | DependenceAnalysis.cpp | 983 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()
|
D | ScalarEvolution.cpp | 8835 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/ |
D | ValueTracking.cpp | 758 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()
|
D | InstructionSimplify.cpp | 1506 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()
|
D | ScalarEvolution.cpp | 5708 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/ |
D | ValueTracking.h | 58 bool isKnownNonZero(Value *V, const TargetData *TD = 0, unsigned Depth = 0);
|
D | ScalarEvolution.h | 808 bool isKnownNonZero(const SCEV *S);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | PromoteMemoryToRegister.cpp | 415 !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/ |
D | ValueTracking.h | 91 bool isKnownNonZero(Value *V, const DataLayout &DL, unsigned Depth = 0,
|
D | ScalarEvolution.h | 1468 bool isKnownNonZero(const SCEV *S);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 99 bool isKnownNonZero(const Value *V, const DataLayout &DL, unsigned Depth = 0,
|
D | ScalarEvolution.h | 842 bool isKnownNonZero(const SCEV *S);
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 924 if (isKnownNonZero(VA, DL, 0, AC, CtxI, DT)) { in visitPHINode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 935 if (isKnownNonZero(RetVal, DL)) in isReturnNonNull()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 1182 if (isKnownNonZero(VA, DL, 0, &AC, CtxI, &DT)) { in visitPHINode()
|
D | InstCombineCalls.cpp | 1340 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()
|