Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1109 Value *NegVal; // Compute -Z in visitSelectInst() local
1111 NegVal = Builder->CreateFNeg(SubOp->getOperand(1)); in visitSelectInst()
1112 if (Instruction *NegInst = dyn_cast<Instruction>(NegVal)) { in visitSelectInst()
1118 NegVal = Builder->CreateNeg(SubOp->getOperand(1)); in visitSelectInst()
1122 Value *NewFalseOp = NegVal; in visitSelectInst()
DInstCombineCompares.cpp1780 if (Value *NegVal = dyn_castNegVal(BOp1)) in visitICmpInstWithInstAndIntCst() local
1781 return new ICmpInst(ICI.getPredicate(), BOp0, NegVal); in visitICmpInstWithInstAndIntCst()
1782 if (Value *NegVal = dyn_castNegVal(BOp0)) in visitICmpInstWithInstAndIntCst() local
1783 return new ICmpInst(ICI.getPredicate(), NegVal, BOp1); in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp1028 Value *NegVal = NegateValue(Sub->getOperand(1), Sub); in BreakUpSubtract() local
1029 BinaryOperator *New = CreateAdd(Sub->getOperand(0), NegVal, "", Sub, Sub); in BreakUpSubtract()