Home
last modified time | relevance | path

Searched refs:V2State (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSCCP.cpp910 LatticeVal V2State = getValueState(I.getOperand(1)); in visitBinaryOperator() local
915 if (V1State.isConstant() && V2State.isConstant()) in visitBinaryOperator()
918 V2State.getConstant())); in visitBinaryOperator()
921 if (!V1State.isOverdefined() && !V2State.isOverdefined()) in visitBinaryOperator()
933 else if (!V2State.isOverdefined()) in visitBinaryOperator()
934 NonOverdefVal = &V2State; in visitBinaryOperator()
1026 LatticeVal V2State = getValueState(I.getOperand(1)); in visitCmpInst() local
1031 if (V1State.isConstant() && V2State.isConstant()) in visitCmpInst()
1034 V2State.getConstant())); in visitCmpInst()
1037 if (!V1State.isOverdefined() && !V2State.isOverdefined()) in visitCmpInst()
[all …]
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp878 LatticeVal V2State = getValueState(I.getOperand(1)); in visitBinaryOperator() local
883 if (V1State.isConstant() && V2State.isConstant()) { in visitBinaryOperator()
885 V2State.getConstant()); in visitBinaryOperator()
893 if (!V1State.isOverdefined() && !V2State.isOverdefined()) in visitBinaryOperator()
905 else if (!V2State.isOverdefined()) in visitBinaryOperator()
906 NonOverdefVal = &V2State; in visitBinaryOperator()
940 LatticeVal V2State = getValueState(I.getOperand(1)); 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSCCP.cpp923 LatticeVal V2State = getValueState(I.getOperand(1)); in visitBinaryOperator() local
928 if (V1State.isConstant() && V2State.isConstant()) { in visitBinaryOperator()
930 V2State.getConstant()); in visitBinaryOperator()
938 if (!V1State.isOverdefined() && !V2State.isOverdefined()) in visitBinaryOperator()
958 else if (!V2State.isOverdefined()) in visitBinaryOperator()
959 NonOverdefVal = &V2State; in visitBinaryOperator()
999 ValueLatticeElement V2State = V2Param != ParamState.end() in visitCmpInst() local
1003 Constant *C = V1State.getCompare(I.getPredicate(), I.getType(), V2State); in visitCmpInst()
1014 if (!V1State.isOverdefined() && !V2State.isOverdefined() && !IV.isConstant()) in visitCmpInst()