/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 810 Value *NegVal; // Compute -Z in visitSelectInst() local 812 NegVal = Builder->CreateFNeg(SubOp->getOperand(1)); in visitSelectInst() 814 NegVal = Builder->CreateNeg(SubOp->getOperand(1)); in visitSelectInst() 818 Value *NewFalseOp = NegVal; in visitSelectInst()
|
D | InstCombineCompares.cpp | 1394 if (Value *NegVal = dyn_castNegVal(BOp1)) in visitICmpInstWithInstAndIntCst() local 1395 return new ICmpInst(ICI.getPredicate(), BOp0, NegVal); in visitICmpInstWithInstAndIntCst() 1396 if (Value *NegVal = dyn_castNegVal(BOp0)) in visitICmpInstWithInstAndIntCst() local 1397 return new ICmpInst(ICI.getPredicate(), NegVal, BOp1); in visitICmpInstWithInstAndIntCst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 878 Value *NegVal; // Compute -Z in foldAddSubSelect() local 880 NegVal = Builder.CreateFNeg(SubOp->getOperand(1)); in foldAddSubSelect() 881 if (Instruction *NegInst = dyn_cast<Instruction>(NegVal)) { in foldAddSubSelect() 887 NegVal = Builder.CreateNeg(SubOp->getOperand(1)); in foldAddSubSelect() 891 Value *NewFalseOp = NegVal; in foldAddSubSelect()
|
D | InstCombineCompares.cpp | 2231 if (Value *NegVal = dyn_castNegVal(BOp1)) in visitICmpInstWithInstAndIntCst() local 2232 return new ICmpInst(ICI.getPredicate(), BOp0, NegVal); in visitICmpInstWithInstAndIntCst() 2233 if (Value *NegVal = dyn_castNegVal(BOp0)) in visitICmpInstWithInstAndIntCst() local 2234 return new ICmpInst(ICI.getPredicate(), NegVal, BOp1); in visitICmpInstWithInstAndIntCst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1197 Value *NegVal; // Compute -Z in foldAddSubSelect() local 1199 NegVal = Builder.CreateFNeg(SubOp->getOperand(1)); in foldAddSubSelect() 1200 if (Instruction *NegInst = dyn_cast<Instruction>(NegVal)) { in foldAddSubSelect() 1206 NegVal = Builder.CreateNeg(SubOp->getOperand(1)); in foldAddSubSelect() 1210 Value *NewFalseOp = NegVal; in foldAddSubSelect()
|
D | InstCombineCompares.cpp | 2622 if (Value *NegVal = dyn_castNegVal(BOp1)) in foldICmpBinOpEqualityWithConstant() local 2623 return new ICmpInst(Pred, BOp0, NegVal); in foldICmpBinOpEqualityWithConstant() 2624 if (Value *NegVal = dyn_castNegVal(BOp0)) in foldICmpBinOpEqualityWithConstant() local 2625 return new ICmpInst(Pred, NegVal, BOp1); in foldICmpBinOpEqualityWithConstant()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 502 Value *NegVal = NegateValue(Sub->getOperand(1), Sub); in BreakUpSubtract() local 504 BinaryOperator::CreateAdd(Sub->getOperand(0), NegVal, "", Sub); in BreakUpSubtract()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 913 Value *NegVal = NegateValue(Sub->getOperand(1), Sub, ToRedo); in BreakUpSubtract() local 914 BinaryOperator *New = CreateAdd(Sub->getOperand(0), NegVal, "", Sub, Sub); in BreakUpSubtract()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 937 Value *NegVal = NegateValue(Sub->getOperand(1), Sub, ToRedo); in BreakUpSubtract() local 938 BinaryOperator *New = CreateAdd(Sub->getOperand(0), NegVal, "", Sub, Sub); in BreakUpSubtract()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 37923 if (SDValue NegVal = isFNEG(V.getNode())) { in combineFMA() local 37924 V = DAG.getBitcast(V.getValueType(), NegVal); in combineFMA() 37931 if (SDValue NegVal = isFNEG(V.getOperand(0).getNode())) { in combineFMA() local 37932 NegVal = DAG.getBitcast(V.getOperand(0).getValueType(), NegVal); in combineFMA() 37934 NegVal, V.getOperand(1)); in combineFMA() 37964 SDValue NegVal = isFNEG(N->getOperand(2).getNode()); in combineFMADDSUB() local 37965 if (!NegVal) in combineFMADDSUB() 37979 NegVal, N->getOperand(3)); in combineFMADDSUB() 37981 NegVal); in combineFMADDSUB()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4368 int64_t NegVal = std::min(Val1, Val2); in isSaturatingConditional() local 4377 else if (NegVal == 0) in isSaturatingConditional()
|