Home
last modified time | relevance | path

Searched refs:V1State (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSCCP.cpp909 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/llvm/lib/Transforms/Scalar/
DSCCP.cpp877 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()