Searched refs:SimpleV (Results 1 – 7 of 7) sorted by relevance
| /openbsd-src/gnu/llvm/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 | 2027 Value *SimpleV = nullptr; in visitBinaryOperator() local 2029 SimpleV = simplifyBinOp(I.getOpcode(), CLHS ? CLHS : LHS, CRHS ? CRHS : RHS, in visitBinaryOperator() 2032 SimpleV = in visitBinaryOperator() 2035 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) in visitBinaryOperator() 2038 if (SimpleV) in visitBinaryOperator() 2063 Value *SimpleV = simplifyFNegInst( in visitFNeg() local 2066 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) in visitFNeg() 2069 if (SimpleV) in visitFNeg()
|
| H A D | InstructionSimplify.cpp | 6733 Instruction *I, Value *SimpleV, const TargetLibraryInfo *TLI, in replaceAndRecursivelySimplifyImpl() argument 6742 if (SimpleV) { in replaceAndRecursivelySimplifyImpl() 6748 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl() 6764 SimpleV = simplifyInstruction(I, {DL, TLI, DT, AC}); in replaceAndRecursivelySimplifyImpl() 6765 if (!SimpleV) { in replaceAndRecursivelySimplifyImpl() 6780 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl() 6792 Instruction *I, Value *SimpleV, const TargetLibraryInfo *TLI, in replaceAndRecursivelySimplify() argument 6795 assert(I != SimpleV && "replaceAndRecursivelySimplify(X,X) is not valid!"); in replaceAndRecursivelySimplify() 6796 assert(SimpleV && "Must provide a simplified value."); in replaceAndRecursivelySimplify() 6797 return replaceAndRecursivelySimplifyImpl(I, SimpleV, TLI, DT, AC, in replaceAndRecursivelySimplify()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | CloneFunction.cpp | 816 Value *SimpleV = simplifyInstruction(I, DL); in CloneAndPruneIntoFromInst() local 817 if (!SimpleV) in CloneAndPruneIntoFromInst() 827 I->replaceAllUsesWith(SimpleV); in CloneAndPruneIntoFromInst()
|
| H A D | Local.cpp | 696 if (Value *SimpleV = simplifyInstruction(I, DL)) { in simplifyAndDCEInstruction() local 708 I->replaceAllUsesWith(SimpleV); in simplifyAndDCEInstruction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 6119 std::optional<Value *> SimpleV = A.getAssumedSimplified( in reproduceValue() local 6121 if (!SimpleV.has_value()) in reproduceValue() 6124 if (*SimpleV) in reproduceValue() 6125 EffectiveV = *SimpleV; in reproduceValue() 6749 std::optional<Constant *> SimpleV = in getAPInt() local 6751 if (!SimpleV) in getAPInt() 6753 if (auto *CI = dyn_cast_or_null<ConstantInt>(*SimpleV)) in getAPInt() 6762 if (std::optional<Constant *> SimpleV = in getSize() local 6764 if (*SimpleV) in getSize() 6765 return *SimpleV; in getSize() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | InstructionSimplify.h | 350 Instruction *I, Value *SimpleV, const TargetLibraryInfo *TLI = nullptr,
|