Lines Matching defs:V
72 static bool ValueDominatesPHI(Value *V, PHINode *P, const DominatorTree *DT) { in ValueDominatesPHI()
120 if (Value *V = SimplifyBinOp(OpcodeToExpand, L, R, TD, DT, in ExpandBinOp() local
144 if (Value *V = SimplifyBinOp(OpcodeToExpand, L, R, TD, DT, in ExpandBinOp() local
185 if (Value *V = SimplifyBinOp(Opcode, B, DD, TD, DT, MaxRecurse)) { in FactorizeBinOp() local
208 if (Value *V = SimplifyBinOp(Opcode, A, CC, TD, DT, MaxRecurse)) { in FactorizeBinOp() local
250 if (Value *V = SimplifyBinOp(Opcode, B, C, TD, DT, MaxRecurse)) { in SimplifyAssociativeBinOp() local
269 if (Value *V = SimplifyBinOp(Opcode, A, B, TD, DT, MaxRecurse)) { in SimplifyAssociativeBinOp() local
292 if (Value *V = SimplifyBinOp(Opcode, C, A, TD, DT, MaxRecurse)) { in SimplifyAssociativeBinOp() local
311 if (Value *V = SimplifyBinOp(Opcode, C, A, TD, DT, MaxRecurse)) { in SimplifyAssociativeBinOp() local
436 if (Value *V = SimplifyAndInst(Cond, TCmp, TD, DT, MaxRecurse)) in ThreadCmpOverSelect() local
441 if (Value *V = SimplifyOrInst(Cond, FCmp, TD, DT, MaxRecurse)) in ThreadCmpOverSelect() local
446 if (Value *V = in ThreadCmpOverSelect() local
487 Value *V = PI == LHS ? in ThreadBinOpOverPHI() local
529 Value *V = SimplifyCmpInst(Pred, Incoming, RHS, TD, DT, MaxRecurse); in ThreadCmpOverPHI() local
579 if (Value *V = SimplifyXorInst(Op0, Op1, TD, DT, MaxRecurse-1)) in SimplifyAddInst() local
583 if (Value *V = SimplifyAssociativeBinOp(Instruction::Add, Op0, Op1, TD, DT, in SimplifyAddInst() local
588 if (Value *V = FactorizeBinOp(Instruction::Add, Op0, Op1, Instruction::Mul, in SimplifyAddInst() local
646 if (Value *V = SimplifyBinOp(Instruction::Sub, Y, Z, TD, DT, MaxRecurse-1)) in SimplifySubInst() local
655 if (Value *V = SimplifyBinOp(Instruction::Sub, X, Z, TD, DT, MaxRecurse-1)) in SimplifySubInst() local
670 if (Value *V = SimplifyBinOp(Instruction::Sub, X, Y, TD, DT, MaxRecurse-1)) in SimplifySubInst() local
679 if (Value *V = SimplifyBinOp(Instruction::Sub, X, Z, TD, DT, MaxRecurse-1)) in SimplifySubInst() local
694 if (Value *V = SimplifyBinOp(Instruction::Sub, Z, X, TD, DT, MaxRecurse-1)) in SimplifySubInst() local
704 if (Value *V = FactorizeBinOp(Instruction::Sub, Op0, Op1, Instruction::Mul, in SimplifySubInst() local
710 if (Value *V = SimplifyXorInst(Op0, Op1, TD, DT, MaxRecurse-1)) in SimplifySubInst() local
768 if (Value *V = SimplifyAndInst(Op0, Op1, TD, DT, MaxRecurse-1)) in SimplifyMulInst() local
772 if (Value *V = SimplifyAssociativeBinOp(Instruction::Mul, Op0, Op1, TD, DT, in SimplifyMulInst() local
777 if (Value *V = ExpandBinOp(Instruction::Mul, Op0, Op1, Instruction::Add, in SimplifyMulInst() local
784 if (Value *V = ThreadBinOpOverSelect(Instruction::Mul, Op0, Op1, TD, DT, in SimplifyMulInst() local
791 if (Value *V = ThreadBinOpOverPHI(Instruction::Mul, Op0, Op1, TD, DT, in SimplifyMulInst() local
864 if (Value *V = ThreadBinOpOverSelect(Opcode, Op0, Op1, TD, DT, MaxRecurse)) in SimplifyDiv() local
870 if (Value *V = ThreadBinOpOverPHI(Opcode, Op0, Op1, TD, DT, MaxRecurse)) in SimplifyDiv() local
880 if (Value *V = SimplifyDiv(Instruction::SDiv, Op0, Op1, TD, DT, MaxRecurse)) in SimplifySDivInst() local
895 if (Value *V = SimplifyDiv(Instruction::UDiv, Op0, Op1, TD, DT, MaxRecurse)) in SimplifyUDivInst() local
967 if (Value *V = ThreadBinOpOverSelect(Opcode, Op0, Op1, TD, DT, MaxRecurse)) in SimplifyRem() local
973 if (Value *V = ThreadBinOpOverPHI(Opcode, Op0, Op1, TD, DT, MaxRecurse)) in SimplifyRem() local
983 if (Value *V = SimplifyRem(Instruction::SRem, Op0, Op1, TD, DT, MaxRecurse)) in SimplifySRemInst() local
998 if (Value *V = SimplifyRem(Instruction::URem, Op0, Op1, TD, DT, MaxRecurse)) in SimplifyURemInst() local
1060 if (Value *V = ThreadBinOpOverSelect(Opcode, Op0, Op1, TD, DT, MaxRecurse)) in SimplifyShift() local
1066 if (Value *V = ThreadBinOpOverPHI(Opcode, Op0, Op1, TD, DT, MaxRecurse)) in SimplifyShift() local
1077 if (Value *V = SimplifyShift(Instruction::Shl, Op0, Op1, TD, DT, MaxRecurse)) in SimplifyShlInst() local
1102 if (Value *V = SimplifyShift(Instruction::LShr, Op0, Op1, TD, DT, MaxRecurse)) in SimplifyLShrInst() local
1128 if (Value *V = SimplifyShift(Instruction::AShr, Op0, Op1, TD, DT, MaxRecurse)) in SimplifyAShrInst() local
1201 if (Value *V = SimplifyAssociativeBinOp(Instruction::And, Op0, Op1, TD, DT, in SimplifyAndInst() local
1206 if (Value *V = ExpandBinOp(Instruction::And, Op0, Op1, Instruction::Or, in SimplifyAndInst() local
1211 if (Value *V = ExpandBinOp(Instruction::And, Op0, Op1, Instruction::Xor, in SimplifyAndInst() local
1216 if (Value *V = FactorizeBinOp(Instruction::And, Op0, Op1, Instruction::Or, in SimplifyAndInst() local
1223 if (Value *V = ThreadBinOpOverSelect(Instruction::And, Op0, Op1, TD, DT, in SimplifyAndInst() local
1230 if (Value *V = ThreadBinOpOverPHI(Instruction::And, Op0, Op1, TD, DT, in SimplifyAndInst() local
1300 if (Value *V = SimplifyAssociativeBinOp(Instruction::Or, Op0, Op1, TD, DT, in SimplifyOrInst() local
1305 if (Value *V = ExpandBinOp(Instruction::Or, Op0, Op1, Instruction::And, in SimplifyOrInst() local
1310 if (Value *V = FactorizeBinOp(Instruction::Or, Op0, Op1, Instruction::And, in SimplifyOrInst() local
1317 if (Value *V = ThreadBinOpOverSelect(Instruction::Or, Op0, Op1, TD, DT, in SimplifyOrInst() local
1324 if (Value *V = ThreadBinOpOverPHI(Instruction::Or, Op0, Op1, TD, DT, in SimplifyOrInst() local
1369 if (Value *V = SimplifyAssociativeBinOp(Instruction::Xor, Op0, Op1, TD, DT, in SimplifyXorInst() local
1374 if (Value *V = FactorizeBinOp(Instruction::Xor, Op0, Op1, Instruction::And, in SimplifyXorInst() local
1402 static Value *ExtractEquivalentCondition(Value *V, CmpInst::Predicate Pred, in ExtractEquivalentCondition()
1623 if (Value *V = SimplifyICmpInst(Pred, SrcOp, in SimplifyICmpInst() local
1630 if (Value *V = SimplifyICmpInst(Pred, SrcOp, RI->getOperand(0), in SimplifyICmpInst() local
1642 if (Value *V = SimplifyICmpInst(ICmpInst::getUnsignedPredicate(Pred), in SimplifyICmpInst() local
1658 if (Value *V = SimplifyICmpInst(ICmpInst::getUnsignedPredicate(Pred), in SimplifyICmpInst() local
1703 if (Value *V = SimplifyICmpInst(Pred, SrcOp, RI->getOperand(0), in SimplifyICmpInst() local
1718 if (Value *V = SimplifyICmpInst(Pred, SrcOp, Trunc, TD, DT, in SimplifyICmpInst() local
1752 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SLT, SrcOp, in SimplifyICmpInst() local
1761 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SGE, SrcOp, in SimplifyICmpInst() local
1795 if (Value *V = SimplifyICmpInst(Pred, A == RHS ? B : A, in SimplifyICmpInst() local
1802 if (Value *V = SimplifyICmpInst(Pred, in SimplifyICmpInst() local
1813 if (Value *V = SimplifyICmpInst(Pred, Y, Z, TD, DT, MaxRecurse-1)) in SimplifyICmpInst() local
1886 if (Value *V = SimplifyICmpInst(Pred, LBO->getOperand(0), in SimplifyICmpInst() local
1897 if (Value *V = SimplifyICmpInst(Pred, LBO->getOperand(0), in SimplifyICmpInst() local
1946 if (Value *V = ExtractEquivalentCondition(LHS, EqP, A, B)) in SimplifyICmpInst() local
1948 if (Value *V = ExtractEquivalentCondition(RHS, EqP, A, B)) in SimplifyICmpInst() local
1952 if (Value *V = SimplifyICmpInst(EqP, A, B, TD, DT, MaxRecurse-1)) in SimplifyICmpInst() local
1960 if (Value *V = ExtractEquivalentCondition(LHS, InvEqP, A, B)) in SimplifyICmpInst() local
1962 if (Value *V = ExtractEquivalentCondition(RHS, InvEqP, A, B)) in SimplifyICmpInst() local
1966 if (Value *V = SimplifyICmpInst(InvEqP, A, B, TD, DT, MaxRecurse-1)) in SimplifyICmpInst() local
2016 if (Value *V = ExtractEquivalentCondition(LHS, EqP, A, B)) in SimplifyICmpInst() local
2018 if (Value *V = ExtractEquivalentCondition(RHS, EqP, A, B)) in SimplifyICmpInst() local
2022 if (Value *V = SimplifyICmpInst(EqP, A, B, TD, DT, MaxRecurse-1)) in SimplifyICmpInst() local
2030 if (Value *V = ExtractEquivalentCondition(LHS, InvEqP, A, B)) in SimplifyICmpInst() local
2032 if (Value *V = ExtractEquivalentCondition(RHS, InvEqP, A, B)) in SimplifyICmpInst() local
2036 if (Value *V = SimplifyICmpInst(InvEqP, A, B, TD, DT, MaxRecurse-1)) in SimplifyICmpInst() local
2096 if (Value *V = ThreadCmpOverSelect(Pred, LHS, RHS, TD, DT, MaxRecurse)) in SimplifyICmpInst() local
2102 if (Value *V = ThreadCmpOverPHI(Pred, LHS, RHS, TD, DT, MaxRecurse)) in SimplifyICmpInst() local
2191 if (Value *V = ThreadCmpOverSelect(Pred, LHS, RHS, TD, DT, MaxRecurse)) in SimplifyFCmpInst() local
2197 if (Value *V = ThreadCmpOverPHI(Pred, LHS, RHS, TD, DT, MaxRecurse)) in SimplifyFCmpInst() local
2378 if (Value *V = SimplifyAssociativeBinOp(Opcode, LHS, RHS, TD, DT, in SimplifyBinOp() local
2385 if (Value *V = ThreadBinOpOverSelect(Opcode, LHS, RHS, TD, DT, in SimplifyBinOp() local
2392 if (Value *V = ThreadBinOpOverPHI(Opcode, LHS, RHS, TD, DT, MaxRecurse)) in SimplifyBinOp() local