Searched refs:NegVal (Results 1 – 6 of 6) sorted by relevance
/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/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()
|