Searched refs:V1State (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SCCP.cpp | 909 LatticeVal V1State = getValueState(I.getOperand(0)); in visitBinaryOperator() local 915 if (V1State.isConstant() && V2State.isConstant()) in visitBinaryOperator() 917 ConstantExpr::get(I.getOpcode(), V1State.getConstant(), in visitBinaryOperator() 921 if (!V1State.isOverdefined() && !V2State.isOverdefined()) in visitBinaryOperator() 931 if (!V1State.isOverdefined()) in visitBinaryOperator() 932 NonOverdefVal = &V1State; in visitBinaryOperator() 1025 LatticeVal V1State = getValueState(I.getOperand(0)); in visitCmpInst() local 1031 if (V1State.isConstant() && V2State.isConstant()) in visitCmpInst() 1033 V1State.getConstant(), in visitCmpInst() 1037 if (!V1State.isOverdefined() && !V2State.isOverdefined()) in visitCmpInst() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 922 LatticeVal V1State = getValueState(I.getOperand(0)); in visitBinaryOperator() local 928 if (V1State.isConstant() && V2State.isConstant()) { in visitBinaryOperator() 929 Constant *C = ConstantExpr::get(I.getOpcode(), V1State.getConstant(), in visitBinaryOperator() 938 if (!V1State.isOverdefined() && !V2State.isOverdefined()) in visitBinaryOperator() 946 if (V1State.isConstant() && V1State.getConstant()->isNullValue()) in visitBinaryOperator() 947 return (void)markConstant(IV, &I, V1State.getConstant()); in visitBinaryOperator() 956 if (!V1State.isOverdefined()) in visitBinaryOperator() 957 NonOverdefVal = &V1State; in visitBinaryOperator() 994 ValueLatticeElement V1State = (V1Param != ParamState.end()) in visitCmpInst() local 1003 Constant *C = V1State.getCompare(I.getPredicate(), I.getType(), V2State); in visitCmpInst() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 877 LatticeVal V1State = getValueState(I.getOperand(0)); in visitBinaryOperator() local 883 if (V1State.isConstant() && V2State.isConstant()) { in visitBinaryOperator() 884 Constant *C = ConstantExpr::get(I.getOpcode(), V1State.getConstant(), in visitBinaryOperator() 893 if (!V1State.isOverdefined() && !V2State.isOverdefined()) in visitBinaryOperator() 903 if (!V1State.isOverdefined()) in visitBinaryOperator() 904 NonOverdefVal = &V1State; in visitBinaryOperator() 939 LatticeVal V1State = getValueState(I.getOperand(0)); in visitCmpInst() local 945 if (V1State.isConstant() && V2State.isConstant()) { in visitCmpInst() 947 I.getPredicate(), V1State.getConstant(), V2State.getConstant()); in visitCmpInst() 954 if (!V1State.isOverdefined() && !V2State.isOverdefined()) in visitCmpInst()
|