Searched refs:SimpleV (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LoopUnrollAnalyzer.cpp | 86 Value *SimpleV = nullptr; in visitBinaryOperator() local 89 SimpleV = in visitBinaryOperator() 92 SimpleV = simplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator() 94 if (SimpleV) { in visitBinaryOperator() 95 SimplifiedValues[&I] = SimpleV; in visitBinaryOperator()
|
H A D | InlineCost.cpp | 2123 Value *SimpleV = nullptr; in visitBinaryOperator() local 2125 SimpleV = simplifyBinOp(I.getOpcode(), CLHS ? CLHS : LHS, CRHS ? CRHS : RHS, in visitBinaryOperator() 2128 SimpleV = in visitBinaryOperator() 2131 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) in visitBinaryOperator() 2134 if (SimpleV) in visitBinaryOperator() 2159 Value *SimpleV = simplifyFNegInst( in visitFNeg() local 2162 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) in visitFNeg() 2165 if (SimpleV) in visitFNeg()
|
H A D | InstructionSimplify.cpp | 7223 Instruction *I, Value *SimpleV, const TargetLibraryInfo *TLI, in replaceAndRecursivelySimplifyImpl() argument 7232 if (SimpleV) { in replaceAndRecursivelySimplifyImpl() 7238 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl() 7251 SimpleV = simplifyInstruction(I, {DL, TLI, DT, AC}); in replaceAndRecursivelySimplifyImpl() 7252 if (!SimpleV) { in replaceAndRecursivelySimplifyImpl() 7267 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl() 7276 Instruction *I, Value *SimpleV, const TargetLibraryInfo *TLI, in replaceAndRecursivelySimplify() argument 7279 assert(I != SimpleV && "replaceAndRecursivelySimplify(X,X) is not valid!"); in replaceAndRecursivelySimplify() 7280 assert(SimpleV && "Must provide a simplified value."); in replaceAndRecursivelySimplify() 7281 return replaceAndRecursivelySimplifyImpl(I, SimpleV, TLI, DT, AC, in replaceAndRecursivelySimplify()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | InstructionSimplify.h | 279 Instruction *I, Value *SimpleV, const TargetLibraryInfo *TLI = nullptr,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | AttributorAttributes.cpp | 6196 std::optional<Value *> SimpleV = A.getAssumedSimplified( in reproduceValue() local 6198 if (!SimpleV.has_value()) in reproduceValue() 6201 if (*SimpleV) in reproduceValue() 6202 EffectiveV = *SimpleV; in reproduceValue() 6806 std::optional<Constant *> SimpleV = in getAPInt() local 6808 if (!SimpleV) in getAPInt() 6810 if (auto *CI = dyn_cast_or_null<ConstantInt>(*SimpleV)) in getAPInt() 6819 if (std::optional<Constant *> SimpleV = in getSize() local 6821 if (*SimpleV) in getSize() 6822 return *SimpleV; in getSize() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 702 if (Value *SimpleV = simplifyInstruction(I, DL)) { in simplifyAndDCEInstruction() local 714 I->replaceAllUsesWith(SimpleV); in simplifyAndDCEInstruction()
|